@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
package/serializer/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/serializer.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/serializer.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/serializer.d.ts"
|
|
17
10
|
}
|
package/text/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/text.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/text.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/text.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/text-serializer.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/text-serializer.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/text-serializer.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../../dist/types/entry-points/text-serializer-text.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../../dist/types-ts4.5/entry-points/text-serializer-text.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../../dist/types/entry-points/text-serializer-text.d.ts"
|
|
17
10
|
}
|
package/types/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/types.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/types.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/types.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/use-feature-flags.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/use-feature-flags.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/use-feature-flags.d.ts"
|
|
17
10
|
}
|
package/utils/package.json
CHANGED
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/utils.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/utils.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/utils.d.ts"
|
|
17
10
|
}
|
|
@@ -6,12 +6,5 @@
|
|
|
6
6
|
"sideEffects": [
|
|
7
7
|
"*.compiled.css"
|
|
8
8
|
],
|
|
9
|
-
"types": "../dist/types/entry-points/validation-context.d.ts"
|
|
10
|
-
"typesVersions": {
|
|
11
|
-
">=4.5 <5.9": {
|
|
12
|
-
"*": [
|
|
13
|
-
"../dist/types-ts4.5/entry-points/validation-context.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
16
|
-
}
|
|
9
|
+
"types": "../dist/types/entry-points/validation-context.d.ts"
|
|
17
10
|
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type RendererActions from './index';
|
|
2
|
-
export declare function getRendererRangeInlineNodeNames({ actions, pos, }: {
|
|
3
|
-
actions: RendererActions;
|
|
4
|
-
/**
|
|
5
|
-
* documentPosition is caclulated by `actions.getPositionFromRange`
|
|
6
|
-
* where `false` means that the selection is not able to be calculated.
|
|
7
|
-
*/
|
|
8
|
-
pos?: {
|
|
9
|
-
from: number;
|
|
10
|
-
to: number;
|
|
11
|
-
} | false;
|
|
12
|
-
}): string[] | undefined;
|
|
13
|
-
export declare function getRendererRangeAncestorNodeNames({ actions, pos, }: {
|
|
14
|
-
actions: RendererActions;
|
|
15
|
-
/**
|
|
16
|
-
* documentPosition is caclulated by `actions.getPositionFromRange`
|
|
17
|
-
* where `false` means that the selection is not able to be calculated.
|
|
18
|
-
*/
|
|
19
|
-
pos?: {
|
|
20
|
-
from: number;
|
|
21
|
-
to: number;
|
|
22
|
-
} | false;
|
|
23
|
-
}): string[] | undefined;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { AnnotationActionResult, AnnotationByMatches, SelectionContext } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
-
import type { Mark, Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
5
|
-
import type { Step } from '@atlaskit/editor-prosemirror/transform';
|
|
6
|
-
import { RemoveMarkStep, RemoveNodeMarkStep } from '@atlaskit/editor-prosemirror/transform';
|
|
7
|
-
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
8
|
-
type ActionResult = {
|
|
9
|
-
doc: JSONDocNode;
|
|
10
|
-
step: Step;
|
|
11
|
-
} | false;
|
|
12
|
-
type Position = {
|
|
13
|
-
from: number;
|
|
14
|
-
to: number;
|
|
15
|
-
};
|
|
16
|
-
type Annotation = {
|
|
17
|
-
annotationId: string;
|
|
18
|
-
annotationType: AnnotationTypes;
|
|
19
|
-
};
|
|
20
|
-
interface RendererActionsOptions {
|
|
21
|
-
annotate: (range: Range, annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
22
|
-
deleteAnnotation: (annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
23
|
-
isValidAnnotationRange: (range: Range) => boolean;
|
|
24
|
-
}
|
|
25
|
-
export type ApplyAnnotation = (pos: Position, annotation: Annotation) => AnnotationActionResult;
|
|
26
|
-
interface AnnotationsRendererActionsOptions {
|
|
27
|
-
applyAnnotation: ApplyAnnotation;
|
|
28
|
-
getAnnotationMarks: () => Mark[];
|
|
29
|
-
isValidAnnotationPosition: (pos: Position) => boolean;
|
|
30
|
-
}
|
|
31
|
-
interface PositionRendererActionsOptions {
|
|
32
|
-
getPositionFromRange: (range: Range) => Position | false;
|
|
33
|
-
}
|
|
34
|
-
interface SelectionRendererActionsOptions {
|
|
35
|
-
getSelectionContext: () => SelectionContext | null;
|
|
36
|
-
}
|
|
37
|
-
export default class RendererActions implements RendererActionsOptions, AnnotationsRendererActionsOptions, PositionRendererActionsOptions, SelectionRendererActionsOptions {
|
|
38
|
-
private initFromContext;
|
|
39
|
-
private transformer;
|
|
40
|
-
doc?: Node;
|
|
41
|
-
private schema?;
|
|
42
|
-
private ref?;
|
|
43
|
-
private onAnalyticsEvent?;
|
|
44
|
-
constructor(initFromContext?: boolean);
|
|
45
|
-
_privateRegisterRenderer(ref: React.MutableRefObject<null>, doc: Node, schema: Schema, onAnalyticsEvent?: (event: AnalyticsEventPayload) => void): void;
|
|
46
|
-
_privateUnregisterRenderer(): void;
|
|
47
|
-
/**
|
|
48
|
-
* Validate whether we can create an annotation between two positions
|
|
49
|
-
*/
|
|
50
|
-
_privateValidatePositionsForAnnotation(from: number, to: number): boolean;
|
|
51
|
-
deleteAnnotation(annotationId: string, annotationType: 'inlineComment'): false | {
|
|
52
|
-
doc: JSONDocNode;
|
|
53
|
-
step: RemoveNodeMarkStep | RemoveMarkStep;
|
|
54
|
-
};
|
|
55
|
-
annotate(range: Range, annotationId: string, _annotationType: 'inlineComment'): AnnotationActionResult;
|
|
56
|
-
isValidAnnotationRange(range: Range | null): boolean;
|
|
57
|
-
isRangeAnnotatable(range: Range | null): boolean;
|
|
58
|
-
/**
|
|
59
|
-
* This is replaced by `isRangeAnnotatable`.
|
|
60
|
-
*
|
|
61
|
-
* @deprecated
|
|
62
|
-
**/
|
|
63
|
-
isRendererWithinRange(range: Range): boolean;
|
|
64
|
-
isValidAnnotationPosition(pos: Position): boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Note: False indicates that the selection not able to be calculated.
|
|
67
|
-
*/
|
|
68
|
-
getPositionFromRange(range: Range | null): Position | false;
|
|
69
|
-
getSelectionContext(): SelectionContext | null;
|
|
70
|
-
getAnnotationMarks(): Mark[];
|
|
71
|
-
getAnnotationsByPosition(range: Range): string[];
|
|
72
|
-
applyAnnotation(pos: Position, annotation: Annotation): AnnotationActionResult;
|
|
73
|
-
generateAnnotationIndexMatch(pos: Position): AnnotationByMatches | false;
|
|
74
|
-
getInlineNodeTypes(annotationId: string): string[] | undefined;
|
|
75
|
-
}
|
|
76
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
export declare function getIndexMatch(doc: Node, schema: Schema, selectedText: string, startIndex: number): {
|
|
3
|
-
blockNodePos?: number;
|
|
4
|
-
matchIndex: number;
|
|
5
|
-
numMatches: number;
|
|
6
|
-
textContent: string;
|
|
7
|
-
};
|
|
8
|
-
export declare function countMatches(searchString: string, query: string): number;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { SelectionContext } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
type GetSelectionContextOptions = {
|
|
4
|
-
doc?: PMNode;
|
|
5
|
-
schema?: Schema;
|
|
6
|
-
};
|
|
7
|
-
export declare const getSelectionContext: ({ doc, schema, }: GetSelectionContextOptions) => SelectionContext | null;
|
|
8
|
-
export {};
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export declare enum EVENT_TYPE {
|
|
2
|
-
OPERATIONAL = "operational",
|
|
3
|
-
SCREEN = "screen",
|
|
4
|
-
TRACK = "track",
|
|
5
|
-
UI = "ui"
|
|
6
|
-
}
|
|
7
|
-
export declare enum ACTION {
|
|
8
|
-
STARTED = "started",
|
|
9
|
-
RENDERED = "rendered",
|
|
10
|
-
CRASHED = "unhandledErrorCaught",
|
|
11
|
-
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
|
12
|
-
SELECT_ALL_CAUGHT = "selectAllCaught",
|
|
13
|
-
SELECT_ALL_ESCAPED = "selectAllEscaped",
|
|
14
|
-
CLICKED = "clicked",
|
|
15
|
-
VIEWED = "viewed",
|
|
16
|
-
VISITED = "visited",
|
|
17
|
-
SORT_COLUMN = "sortedColumn",
|
|
18
|
-
SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
|
|
19
|
-
TOGGLE_EXPAND = "toggleExpand",
|
|
20
|
-
INSERTED = "inserted",
|
|
21
|
-
OPENED = "opened",
|
|
22
|
-
CLOSED = "closed",
|
|
23
|
-
DELETED = "deleted",
|
|
24
|
-
EDITED = "edited",
|
|
25
|
-
RESOLVED = "resolved",
|
|
26
|
-
CREATE_NOT_ALLOWED = "createNotAllowed",
|
|
27
|
-
UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = "unsupportedContentLevelsTrackingSucceeded",
|
|
28
|
-
UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED = "unsupportedContentLevelsTrackingErrored",
|
|
29
|
-
MEDIA_LINK_TRANSFORMED = "mediaLinkTransformed",
|
|
30
|
-
TABLE_WIDTH_INFO = "tableWidthInfo"
|
|
31
|
-
}
|
|
32
|
-
export declare enum ACTION_SUBJECT {
|
|
33
|
-
RENDERER = "renderer",
|
|
34
|
-
BUTTON = "button",
|
|
35
|
-
ANCHOR_LINK = "anchorLink",
|
|
36
|
-
TABLE = "table",
|
|
37
|
-
EXPAND = "expand",
|
|
38
|
-
NESTED_EXPAND = "nestedExpand",
|
|
39
|
-
MEDIA_SINGLE = "mediaSingle",
|
|
40
|
-
LINK = "link",
|
|
41
|
-
ANNOTATION = "annotation",
|
|
42
|
-
MEDIA = "media",
|
|
43
|
-
SMART_LINK = "smartLink"
|
|
44
|
-
}
|
|
45
|
-
export declare enum ACTION_SUBJECT_ID {
|
|
46
|
-
HEADING_ANCHOR_LINK = "headingAnchorLink",
|
|
47
|
-
LINK = "link",
|
|
48
|
-
HOVER_LABEL = "hoverLabel",
|
|
49
|
-
INLINE_COMMENT = "inlineComment",
|
|
50
|
-
CODEBLOCK_COPY = "codeBlockCopy",
|
|
51
|
-
CODEBLOCK_WRAP = "codeBlockWrap"
|
|
52
|
-
}
|
|
53
|
-
export type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
54
|
-
action: Action;
|
|
55
|
-
actionSubject: ActionSubject;
|
|
56
|
-
actionSubjectId?: ActionSubjectID;
|
|
57
|
-
attributes?: Attributes;
|
|
58
|
-
eventType: EventType;
|
|
59
|
-
};
|
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, OperationalAEP, ExperienceEventPayload, TABLE_ACTION, SyncedBlockSSRErrorAEP, ExtensionType } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import type { AEP } from './enums';
|
|
3
|
-
import type { SortOrder } from '@atlaskit/editor-common/types';
|
|
4
|
-
import type { SEVERITY, UNSUPPORTED_CONTENT_LEVEL_SEVERITY, UnsupportedContentPayload, UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
|
|
5
|
-
import type { EditorBreakpointKey } from '@atlaskit/editor-common/utils/analytics';
|
|
6
|
-
import type { NestedRendererType } from '../ui/Renderer/types';
|
|
7
|
-
export declare enum PLATFORM {
|
|
8
|
-
NATIVE = "mobileNative",
|
|
9
|
-
HYBRID = "mobileHybrid",
|
|
10
|
-
WEB = "web"
|
|
11
|
-
}
|
|
12
|
-
export declare enum MODE {
|
|
13
|
-
RENDERER = "renderer",
|
|
14
|
-
EDITOR = "editor"
|
|
15
|
-
}
|
|
16
|
-
type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
17
|
-
platform: PLATFORM.WEB;
|
|
18
|
-
}, EVENT_TYPE.UI>;
|
|
19
|
-
type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
20
|
-
distortedDuration: boolean;
|
|
21
|
-
duration: number;
|
|
22
|
-
nestedRendererType?: NestedRendererType;
|
|
23
|
-
nodes: Record<string, number>;
|
|
24
|
-
platform: PLATFORM.WEB;
|
|
25
|
-
severity?: SEVERITY;
|
|
26
|
-
ttfb?: number;
|
|
27
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
28
|
-
type RendererRenderedSampledAEP = AEP<ACTION.RENDERED_SAMPLED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
29
|
-
distortedDuration: boolean;
|
|
30
|
-
duration: number;
|
|
31
|
-
nestedRendererType?: NestedRendererType;
|
|
32
|
-
nodes: Record<string, number>;
|
|
33
|
-
platform: PLATFORM.WEB;
|
|
34
|
-
severity?: SEVERITY;
|
|
35
|
-
ttfb?: number;
|
|
36
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
37
|
-
export type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
38
|
-
componentStack?: string;
|
|
39
|
-
errorMessage?: string;
|
|
40
|
-
errorRethrown?: boolean;
|
|
41
|
-
errorStack?: string;
|
|
42
|
-
platform: PLATFORM.WEB;
|
|
43
|
-
}>;
|
|
44
|
-
export type ComponentCaughtDomErrorAEP = OperationalAEP<ACTION.CAUGHT_DOM_ERROR, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
45
|
-
errorMessage: string;
|
|
46
|
-
platform: PLATFORM.WEB;
|
|
47
|
-
}>;
|
|
48
|
-
type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
49
|
-
errorStack?: string;
|
|
50
|
-
platform: PLATFORM.WEB;
|
|
51
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
52
|
-
type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
53
|
-
appearance?: string;
|
|
54
|
-
platform: PLATFORM.WEB;
|
|
55
|
-
supportedNodesCount: number;
|
|
56
|
-
unsupportedContentLevelPercentage: number;
|
|
57
|
-
unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
|
|
58
|
-
unsupportedNodesCount: number;
|
|
59
|
-
unsupportedNodeTypeCount: Record<string, number>;
|
|
60
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
61
|
-
type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
62
|
-
error: string;
|
|
63
|
-
platform: PLATFORM.WEB;
|
|
64
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
65
|
-
type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
|
|
66
|
-
platform: PLATFORM.WEB;
|
|
67
|
-
}, EVENT_TYPE.TRACK>;
|
|
68
|
-
type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
69
|
-
platform: PLATFORM.WEB;
|
|
70
|
-
}, EVENT_TYPE.TRACK>;
|
|
71
|
-
type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
|
|
72
|
-
type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
|
|
73
|
-
type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
|
|
74
|
-
mode: MODE.RENDERER;
|
|
75
|
-
platform: PLATFORM.WEB;
|
|
76
|
-
}>;
|
|
77
|
-
type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
|
|
78
|
-
type CodeBlockWrapAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_WRAP, {
|
|
79
|
-
wrapped: boolean;
|
|
80
|
-
}>;
|
|
81
|
-
type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
|
|
82
|
-
type HoverLabelAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.SMART_LINK, ACTION_SUBJECT_ID.HOVER_LABEL, {
|
|
83
|
-
destinationProduct: string | null;
|
|
84
|
-
destinationSubproduct: string | null;
|
|
85
|
-
previewType: 'panel' | 'modal';
|
|
86
|
-
}>;
|
|
87
|
-
type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
|
|
88
|
-
mode: MODE.RENDERER;
|
|
89
|
-
platform: PLATFORM.WEB;
|
|
90
|
-
}, EVENT_TYPE.TRACK>;
|
|
91
|
-
type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
|
|
92
|
-
columnIndex: number;
|
|
93
|
-
mode: MODE.RENDERER;
|
|
94
|
-
platform: PLATFORM.WEB;
|
|
95
|
-
sortOrder: SortOrder;
|
|
96
|
-
}, EVENT_TYPE.TRACK>;
|
|
97
|
-
type TableWidthInfoAEP = AEP<TABLE_ACTION.TABLE_WIDTH_INFO, ACTION_SUBJECT.TABLE, undefined, {
|
|
98
|
-
editorWidth: number;
|
|
99
|
-
editorWidthBreakpoint: EditorBreakpointKey;
|
|
100
|
-
hasTableWiderThanEditor: boolean;
|
|
101
|
-
hasTableWithScrollbar: boolean;
|
|
102
|
-
maxTableWidthBreakpoint: EditorBreakpointKey;
|
|
103
|
-
mode: MODE.RENDERER;
|
|
104
|
-
tableWidthInfo: Array<{
|
|
105
|
-
hasScrollbar: boolean;
|
|
106
|
-
isNestedTable: boolean;
|
|
107
|
-
tableWidth: number;
|
|
108
|
-
}>;
|
|
109
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
110
|
-
type TableRendererHeightInfoAEP = AEP<TABLE_ACTION.TABLE_RENDERER_HEIGHT_INFO, ACTION_SUBJECT.TABLE, undefined, {
|
|
111
|
-
maxTableHeight: number;
|
|
112
|
-
maxTableToViewportHeightRatio: number;
|
|
113
|
-
rendererHeight: number;
|
|
114
|
-
tableHeightInfo: Array<{
|
|
115
|
-
isNestedTable: boolean;
|
|
116
|
-
tableHeight: number;
|
|
117
|
-
}>;
|
|
118
|
-
viewportHeight: number;
|
|
119
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
120
|
-
type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
121
|
-
mode: MODE.RENDERER;
|
|
122
|
-
platform: PLATFORM.WEB;
|
|
123
|
-
}, EVENT_TYPE.TRACK>;
|
|
124
|
-
type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
|
|
125
|
-
mode: MODE.RENDERER;
|
|
126
|
-
platform: PLATFORM.WEB;
|
|
127
|
-
}, EVENT_TYPE.TRACK>;
|
|
128
|
-
type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
129
|
-
expanded: boolean;
|
|
130
|
-
mode: MODE.RENDERER;
|
|
131
|
-
platform: PLATFORM.WEB;
|
|
132
|
-
}, EVENT_TYPE.TRACK>;
|
|
133
|
-
type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED | ACTION.CREATE_NOT_ALLOWED;
|
|
134
|
-
type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
135
|
-
type AnnotationDraftAEPAttributes = {
|
|
136
|
-
overlap?: number;
|
|
137
|
-
};
|
|
138
|
-
type AnnotationResolvedAEPAttributes = {
|
|
139
|
-
method?: RESOLVE_METHOD;
|
|
140
|
-
};
|
|
141
|
-
export type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, {
|
|
142
|
-
inlineNodeNames?: string[];
|
|
143
|
-
}, EVENT_TYPE.TRACK>;
|
|
144
|
-
declare enum RESOLVE_METHOD {
|
|
145
|
-
COMPONENT = "component",
|
|
146
|
-
CONSUMER = "consumer",
|
|
147
|
-
ORPHANED = "orphaned"
|
|
148
|
-
}
|
|
149
|
-
type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
|
|
150
|
-
type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
|
|
151
|
-
type NestedTableTransformedAEP = OperationalAEP<ACTION.NESTED_TABLE_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined>;
|
|
152
|
-
type ContainerNodeTransformedAEP = OperationalAEP<ACTION.CONTAINER_NODE_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
153
|
-
transformedNodeTypes: string[];
|
|
154
|
-
}>;
|
|
155
|
-
type NativeEmbedsTransformedAEP = OperationalAEP<ACTION.NATIVE_EMBEDS_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined>;
|
|
156
|
-
export type MediaRenderErrorEvent = UIAEP<ACTION.ERRORED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID.MEDIA, {
|
|
157
|
-
external?: boolean;
|
|
158
|
-
nestedUnder?: string;
|
|
159
|
-
reason: string;
|
|
160
|
-
}>;
|
|
161
|
-
type SyncedBlockFetchErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_FETCH, {
|
|
162
|
-
error: string;
|
|
163
|
-
resourceId?: string;
|
|
164
|
-
}>;
|
|
165
|
-
type SyncedBlockFetchSuccessAEP = OperationalAEP<ACTION.FETCHED, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_FETCH, {
|
|
166
|
-
blockInstanceId?: string;
|
|
167
|
-
resourceId?: string;
|
|
168
|
-
sourceProduct?: string;
|
|
169
|
-
}>;
|
|
170
|
-
type SyncedBlockGetSourceInfoErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.SYNCED_BLOCK_GET_SOURCE_INFO, {
|
|
171
|
-
error: string;
|
|
172
|
-
resourceId?: string;
|
|
173
|
-
}>;
|
|
174
|
-
type ReferenceSyncedBlockUpdateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SUBJECT.SYNCED_BLOCK, ACTION_SUBJECT_ID.REFERENCE_SYNCED_BLOCK_UPDATE, {
|
|
175
|
-
error: string;
|
|
176
|
-
resourceId?: string;
|
|
177
|
-
}>;
|
|
178
|
-
type ExtensionRenderedAsInlineAEP = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.EXTENSION_AS_INLINE, ExtensionType, {
|
|
179
|
-
extensionKey: string;
|
|
180
|
-
extensionType: string;
|
|
181
|
-
}>;
|
|
182
|
-
export type AnalyticsEventPayload<_T = void> = RendererStartAEP | RendererRenderedAEP | RendererRenderedSampledAEP | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | HoverLabelAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | TableWidthInfoAEP | TableRendererHeightInfoAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | NestedTableTransformedAEP | ContainerNodeTransformedAEP | NativeEmbedsTransformedAEP | MediaRenderErrorEvent | SyncedBlockFetchErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockSSRErrorAEP | ReferenceSyncedBlockUpdateErrorAEP | SyncedBlockFetchSuccessAEP | ExperienceEventPayload | ExtensionRenderedAsInlineAEP;
|
|
183
|
-
export type FireAnalyticsCallback = <T = void>(payload: AnalyticsEventPayload<T>) => void | undefined;
|
|
184
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
-
import type { AnalyticsEventPayload } from './events';
|
|
3
|
-
type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
4
|
-
type DocumentData = {
|
|
5
|
-
appearance?: string;
|
|
6
|
-
doc: any;
|
|
7
|
-
rendererId: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const trackUnsupportedContentLevels: (item: DocumentData, trackingOptions: UnsupportedContentLevelsTracking, dispatchAnalyticsEvent: DispatchAnalyticsEvent) => void;
|
|
10
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export declare const RendererCssClassName: {
|
|
2
|
-
FLEX_CENTER_WRAPPER: string;
|
|
3
|
-
DOCUMENT: string;
|
|
4
|
-
EXTENSION: string;
|
|
5
|
-
EXTENSION_AS_INLINE: string;
|
|
6
|
-
EXTENSION_CENTER_ALIGN: string;
|
|
7
|
-
EXTENSION_OVERFLOW_CONTAINER: string;
|
|
8
|
-
EXTENSION_INNER_WRAPPER: string;
|
|
9
|
-
/** Wrapper for center-aligned extensions/MBE; margin here so it participates in collapse */
|
|
10
|
-
STICKY_SAFE_CENTER_WRAPPER: string;
|
|
11
|
-
/** Wrapper for center-aligned embed card (wide/full-width); margin here so it participates in collapse */
|
|
12
|
-
EMBED_CARD_CENTER_WRAPPER: string;
|
|
13
|
-
/** Wrapper for center-aligned block card datasource (wide/full-width); margin here so it participates in collapse */
|
|
14
|
-
BLOCK_CARD_DATASOURCE_CENTER_WRAPPER: string;
|
|
15
|
-
/** Outer flex wrapper for sticky-safe breakout (has vertical margin); zero margin when first in doc */
|
|
16
|
-
STICKY_SAFE_BREAKOUT_WRAPPER: string;
|
|
17
|
-
/** Flex item in sticky-safe breakout; zero first/last child margin so flex container height matches legacy */
|
|
18
|
-
STICKY_SAFE_BREAKOUT_INNER: string;
|
|
19
|
-
NUMBER_COLUMN: string;
|
|
20
|
-
SORTABLE_COLUMN_WRAPPER: string;
|
|
21
|
-
SORTABLE_COLUMN: string;
|
|
22
|
-
SORTABLE_COLUMN_ICON_WRAPPER: string;
|
|
23
|
-
SORTABLE_COLUMN_NO_ORDER: string;
|
|
24
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { nodeToReact as defaultNodeComponentsWithLooselyLazy } from './react/nodes/loosely-lazy';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { default as RendererActions } from '../actions/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RendererActionsContext, RendererActionsContextConsumer, } from '../ui/RendererActionsContext/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { WithRendererActions } from '../ui/RendererActionsContext/WithRendererActions';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AnnotationsPositionContext, AnnotationsWrapper, AnnotationsWrapperInner, } from '../ui/annotations/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RendererCssClassName } from '../consts';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { nodeToReact as defaultNodeComponentsWithLooselyLazy } from '../react/nodes/loosely-lazy';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Synchronous renderer node mapping for card nodes
|
|
3
|
-
*
|
|
4
|
-
* WARNING: This is an EXPERIMENTAL entry point and may change without notice in the future. Use it only at your own risk!
|
|
5
|
-
*
|
|
6
|
-
* Context: https://hello.atlassian.net/wiki/spaces/JIE/pages/5342146338 (Atlassian-internal)
|
|
7
|
-
*/
|
|
8
|
-
declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
|
|
9
|
-
export default nodeToReact;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Synchronous renderer node mapping for media nodes
|
|
3
|
-
*
|
|
4
|
-
* WARNING: This is an EXPERIMENTAL entry point and may change without notice in the future. Use it only at your own risk!
|
|
5
|
-
*
|
|
6
|
-
* Context: https://hello.atlassian.net/wiki/spaces/JIE/pages/5342146338 (Atlassian-internal)
|
|
7
|
-
*/
|
|
8
|
-
declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
|
|
9
|
-
export default nodeToReact;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Synchronous renderer node mapping for "small" / simple nodes
|
|
3
|
-
*
|
|
4
|
-
* WARNING: This is an EXPERIMENTAL entry point and may change without notice in the future. Use it only at your own risk!
|
|
5
|
-
*
|
|
6
|
-
* Context: https://hello.atlassian.net/wiki/spaces/JIE/pages/5342146338 (Atlassian-internal)
|
|
7
|
-
*/
|
|
8
|
-
declare const nodeToReact: typeof import('../../react/nodes').nodeToReact;
|
|
9
|
-
export default nodeToReact;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { nodeToReact } from '../react/nodes/loosely-lazy';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { MediaOptions, MediaSSR } from '../types/mediaOptions';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { headingAnchorLinkMessages, inlineCommentMessages, tableCellMessages } from '../messages';
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export { BlockCard, Blockquote, BodiedExtension, BulletList, Caption, CodeBlock, Date, DecisionItem, DecisionList, Doc, DocWithSelectAllTrap, EmbedCard, Emoji, Expand, Extension, ExtensionFrame, HardBreak, Heading, InlineCard, InlineExtension, LayoutColumn, LayoutSection, ListItem, Media, MediaGroup, MediaInline, MediaSingle, Mention, MultiBodiedExtension, OrderedList, Panel, Paragraph, Placeholder, Rule, Status, Table, TableCell, TableRow, TaskItem, TaskList, UnknownBlock, WindowedCodeBlock, isEmojiDoc, isText, isTextNode, isTextWrapper, mergeTextNodes, nodeToReact, toReact, } from '../react/nodes/index';
|
|
2
|
-
export type { TextWrapper } from '../react/nodes/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { AnnotationMarkMeta, ExtensionViewportSize, MarkMeta, MarkProps, NodeMeta, NodeProps, RendererContext, TextHighlighter, } from '../react/types';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RendererActionsContext, RendererActionsContextConsumer, RendererContext, } from '../ui/RendererActionsContext/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { RendererProps } from '../ui/renderer-props';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { Serializer } from '../serializer';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TextSerializer } from '../text/index';
|