@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,172 +0,0 @@
|
|
|
1
|
-
import type { DocNode } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
|
-
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
4
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { AnnotationProviders } from '@atlaskit/editor-common/types';
|
|
6
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
7
|
-
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
8
|
-
import type { ADFStage } from '@atlaskit/editor-common/validator';
|
|
9
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
10
|
-
import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
11
|
-
import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility';
|
|
12
|
-
import type { ReactSerializerInit, RendererContext, Serializer } from '../';
|
|
13
|
-
import type { TextHighlighter, ExtensionViewportSize } from '../react/types';
|
|
14
|
-
import type { RenderOutputStat } from '../render-document';
|
|
15
|
-
import type { MediaOptions } from '../types/mediaOptions';
|
|
16
|
-
import type { SmartLinksOptions } from '../types/smartLinksOptions';
|
|
17
|
-
import type { HeadingAnchorLinksProps, NodeComponentsProps, RendererAppearance, RendererContentMode, StickyHeaderProps } from './Renderer/types';
|
|
18
|
-
interface RawObjectFeatureFlags {
|
|
19
|
-
['renderer-render-tracking']: string;
|
|
20
|
-
}
|
|
21
|
-
export interface RendererProps {
|
|
22
|
-
/**
|
|
23
|
-
* When enabled a trailing telepointer will be added to the rendered document
|
|
24
|
-
* following content updates.
|
|
25
|
-
*
|
|
26
|
-
* Content is updated by passing a new value prop to the renderer.
|
|
27
|
-
*
|
|
28
|
-
* The trailing pointer is updated by dom injection to the last text node which
|
|
29
|
-
* is updated as a result of a content update.
|
|
30
|
-
*/
|
|
31
|
-
addTelepointer?: boolean;
|
|
32
|
-
adfStage?: ADFStage;
|
|
33
|
-
allowAltTextOnImages?: boolean;
|
|
34
|
-
allowAnnotations?: boolean;
|
|
35
|
-
allowColumnSorting?: boolean;
|
|
36
|
-
allowCopyToClipboard?: boolean;
|
|
37
|
-
allowCustomPanels?: boolean;
|
|
38
|
-
allowFixedColumnWidthOption?: boolean;
|
|
39
|
-
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
40
|
-
allowPlaceholderText?: boolean;
|
|
41
|
-
allowRendererContainerStyles?: boolean;
|
|
42
|
-
allowSelectAllTrap?: boolean;
|
|
43
|
-
allowUgcScrubber?: boolean;
|
|
44
|
-
allowWrapCodeBlock?: boolean;
|
|
45
|
-
analyticsEventSeverityTracking?: {
|
|
46
|
-
enabled: boolean;
|
|
47
|
-
severityDegradedThreshold: number;
|
|
48
|
-
severityNormalThreshold: number;
|
|
49
|
-
};
|
|
50
|
-
annotationProvider?: AnnotationProviders | null;
|
|
51
|
-
appearance?: RendererAppearance;
|
|
52
|
-
/**
|
|
53
|
-
* **WARNING** this attribute is not supported outside of Confluence Full Page editors
|
|
54
|
-
*
|
|
55
|
-
* Configures the content mode of the editor.
|
|
56
|
-
*
|
|
57
|
-
* - `"standard"` | `undefined` - normal content mode <- Default
|
|
58
|
-
* - `"compact"` - content in editor has reduced size
|
|
59
|
-
*
|
|
60
|
-
* @private
|
|
61
|
-
* @deprecated this attribute is not supported outside of Confluence Full Page editors
|
|
62
|
-
*/
|
|
63
|
-
contentMode?: RendererContentMode;
|
|
64
|
-
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
65
|
-
/**
|
|
66
|
-
* Creates a new `Serializer` to transform the ADF `document` into `JSX.Element`.
|
|
67
|
-
* Allows Confluence to implement {@link https://hello.atlassian.net/wiki/spaces/~lmarinov/pages/5177285037/COMPLEXIT+Progressive+rendering+of+ADF progressive rendering}.
|
|
68
|
-
*/
|
|
69
|
-
createSerializer?(init: ReactSerializerInit): Serializer<JSX.Element> | null;
|
|
70
|
-
dataProviders?: ProviderFactory;
|
|
71
|
-
disableActions?: boolean;
|
|
72
|
-
disableHeadingIDs?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* When true, disables the overflow shadow (visual indication) on the edges
|
|
75
|
-
* of tables.
|
|
76
|
-
*/
|
|
77
|
-
disableTableOverflowShadow?: boolean;
|
|
78
|
-
document: DocNode;
|
|
79
|
-
emojiResourceConfig?: EmojiResourceConfig;
|
|
80
|
-
enableSsrInlineScripts?: boolean;
|
|
81
|
-
eventHandlers?: EventHandlers;
|
|
82
|
-
extensionHandlers?: ExtensionHandlers;
|
|
83
|
-
extensionViewportSizes?: ExtensionViewportSize[];
|
|
84
|
-
fadeOutHeight?: number;
|
|
85
|
-
/**
|
|
86
|
-
* @default undefined
|
|
87
|
-
* @description
|
|
88
|
-
* Short lived feature flags for experiments and gradual rollouts
|
|
89
|
-
* Flags are expected to follow these rules or they are filtered out
|
|
90
|
-
*
|
|
91
|
-
* 1. cased in kebab-case (match [a-z-])
|
|
92
|
-
* 2. have boolean values or object {} values
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* ```tsx
|
|
96
|
-
* (<Renderer featureFlags={{ 'my-feature': true }} />);
|
|
97
|
-
* getFeatureFlags()?.myFeature === true;
|
|
98
|
-
* ```
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* ```tsx
|
|
102
|
-
* (<Renderer featureFlags={{ 'my-feature': 'thing' }} />);
|
|
103
|
-
* getFeatureFlags()?.myFeature === undefined;
|
|
104
|
-
* ```
|
|
105
|
-
*
|
|
106
|
-
* @example
|
|
107
|
-
* ```tsx
|
|
108
|
-
* (<Renderer featureFlags={{ 'product.my-feature': false }} />);
|
|
109
|
-
* getFeatureFlags()?.myFeature === undefined;
|
|
110
|
-
* getFeatureFlags()?.productMyFeature === undefined;
|
|
111
|
-
* ```
|
|
112
|
-
*/
|
|
113
|
-
featureFlags?: {
|
|
114
|
-
[featureFlag: string]: boolean;
|
|
115
|
-
} | Partial<RawObjectFeatureFlags>;
|
|
116
|
-
getExtensionHeight?: GetPMNodeHeight;
|
|
117
|
-
includeNodesCountInStats?: boolean;
|
|
118
|
-
innerRef?: React.RefObject<HTMLDivElement>;
|
|
119
|
-
isInsideOfInlineExtension?: boolean;
|
|
120
|
-
isTopLevelRenderer?: boolean;
|
|
121
|
-
maxHeight?: number;
|
|
122
|
-
media?: MediaOptions;
|
|
123
|
-
nodeComponents?: NodeComponentsProps;
|
|
124
|
-
noOpSSRInlineScript?: boolean;
|
|
125
|
-
onComplete?: (stat: RenderOutputStat) => void;
|
|
126
|
-
onError?: (error: any) => void;
|
|
127
|
-
/**
|
|
128
|
-
* Optional callback to programatically determine the link target for rendered links. Controls whether a link should render as external or not.
|
|
129
|
-
* Return _blank if the url should render as an external link.
|
|
130
|
-
* Return undefined to use the links default behavior and target.
|
|
131
|
-
*
|
|
132
|
-
* @param url - The URL of the link being rendered
|
|
133
|
-
* @returns '_blank' to render as an external link or undefined to not change the link
|
|
134
|
-
*/
|
|
135
|
-
onSetLinkTarget?: (url: string) => '_blank' | undefined;
|
|
136
|
-
portal?: HTMLElement;
|
|
137
|
-
rendererContext?: RendererContext;
|
|
138
|
-
schema?: Schema;
|
|
139
|
-
/**
|
|
140
|
-
* Optional callback to scroll an element into view when using block links (#block-xxx).
|
|
141
|
-
* When provided, this is used instead of the default scrollIntoView for accurate positioning
|
|
142
|
-
* in product-specific scroll containers (e.g. Confluence view page).
|
|
143
|
-
*/
|
|
144
|
-
scrollToBlock?: (element: HTMLElement) => void;
|
|
145
|
-
/**
|
|
146
|
-
* Determines if the extension should be displayed as inline based on the extension parameters.
|
|
147
|
-
* @param extensionParams - The extension parameters.
|
|
148
|
-
* @returns True if the extension should be displayed as inline, false otherwise.
|
|
149
|
-
*/
|
|
150
|
-
shouldDisplayExtensionAsInline?: (extensionParams: ExtensionParams<Parameters>) => boolean;
|
|
151
|
-
shouldOpenMediaViewer?: boolean;
|
|
152
|
-
shouldRemoveEmptySpaceAroundContent?: boolean;
|
|
153
|
-
smartLinks?: SmartLinksOptions;
|
|
154
|
-
stickyHeaders?: StickyHeaderProps;
|
|
155
|
-
textHighlighter?: TextHighlighter;
|
|
156
|
-
timeZone?: string;
|
|
157
|
-
truncated?: boolean;
|
|
158
|
-
UNSTABLE_allowTableAlignment?: boolean;
|
|
159
|
-
UNSTABLE_allowTableResizing?: boolean;
|
|
160
|
-
/**
|
|
161
|
-
* When true, elements may render without their default semantic roles
|
|
162
|
-
* (e.g., using role="presentation"), indicating that they are used solely for layout or styling purposes.
|
|
163
|
-
* Elements currently affected: Tables.
|
|
164
|
-
*/
|
|
165
|
-
UNSTABLE_isPresentational?: boolean;
|
|
166
|
-
/** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-26490 Internal documentation for deprecation (no external access)} This prop has been marked stable and therefore replaced by the `textHighlighter` prop. Please use `textHighlighter` prop instead. */
|
|
167
|
-
UNSTABLE_textHighlighter?: TextHighlighter;
|
|
168
|
-
unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking;
|
|
169
|
-
/** @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-3649 Internal documentation for deprecation (no external access)} This prop will be removed and set as default enabled, as the same flag on the Editor is also now default enabled. */
|
|
170
|
-
useSpecBasedValidator?: boolean;
|
|
171
|
-
}
|
|
172
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { ADNode } from '@atlaskit/editor-common/validator';
|
|
3
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
|
-
import type { Transformer } from '@atlaskit/editor-common/types';
|
|
5
|
-
export type TransformerProvider<T> = (schema: Schema) => Transformer<T>;
|
|
6
|
-
export declare class ADFEncoder<T> {
|
|
7
|
-
encode: (value: T) => any;
|
|
8
|
-
constructor(createTransformerWithSchema: TransformerProvider<T>);
|
|
9
|
-
}
|
|
10
|
-
export declare const getText: (node: PMNode | ADNode) => string;
|
|
11
|
-
export declare const getEventHandler: (eventHandlers?: EventHandlers, type?: keyof EventHandlers, eventName?: string) => any;
|
|
12
|
-
/**
|
|
13
|
-
* Traverse through parent elements of element. Return element for which evaluate(element) returns
|
|
14
|
-
* true. If topElement is reached before evaluate returns true, return false. Does not run evaluate
|
|
15
|
-
* on topElement.
|
|
16
|
-
* @param element Starting HTMLElement
|
|
17
|
-
* @param topElement HTMLElement to end search at. evaluate is not called on this element
|
|
18
|
-
* @param evaluate Function which returns true or false based on the given element. eg: Checks if
|
|
19
|
-
* element has desired classname.
|
|
20
|
-
*/
|
|
21
|
-
export declare function findInTree(element: HTMLElement, topElement: HTMLElement, evaluate: (element: HTMLElement) => boolean): boolean;
|