@atlaskit/renderer 149.0.4 → 149.0.6
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 +28 -1
- package/dist/cjs/actions/get-renderer-range-inline-node-names.js +3 -3
- package/dist/cjs/actions/index.js +10 -10
- package/dist/cjs/analytics/unsupported-content.js +9 -8
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/media.js +1 -1
- package/dist/cjs/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
- package/dist/cjs/entry-points/react.js +2 -2
- package/dist/cjs/entry-points/renderer.js +7 -7
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/react/index.js +9 -8
- package/dist/cjs/react/marks/backgroundColor.js +2 -2
- package/dist/cjs/react/marks/breakout.js +5 -5
- package/dist/cjs/react/marks/code.js +2 -2
- package/dist/cjs/react/marks/link-compiled.js +2 -2
- package/dist/cjs/react/marks/link-emotion.js +2 -2
- package/dist/cjs/react/marks/link.js +4 -4
- package/dist/cjs/react/marks/textColor.js +3 -3
- package/dist/cjs/react/nodes/blockCard.js +14 -11
- package/dist/cjs/react/nodes/bodiedExtension.js +4 -4
- package/dist/cjs/react/nodes/bodiedSyncBlock.js +1 -1
- package/dist/cjs/react/nodes/caption.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/codeBlock.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +3 -3
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -3
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockDownloadButton.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +2 -2
- package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +22 -21
- package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +2 -2
- package/dist/cjs/react/nodes/date.js +5 -5
- package/dist/cjs/react/nodes/embedCard.js +19 -16
- package/dist/cjs/react/nodes/emoji.js +6 -5
- package/dist/cjs/react/nodes/extension.js +63 -34
- package/dist/cjs/react/nodes/heading.js +8 -8
- package/dist/cjs/react/nodes/index.js +7 -5
- package/dist/cjs/react/nodes/inlineCard.js +15 -13
- package/dist/cjs/react/nodes/layoutColumn-compiled.js +2 -2
- package/dist/cjs/react/nodes/layoutColumn-emotion.js +2 -2
- package/dist/cjs/react/nodes/media/index.js +24 -21
- package/dist/cjs/react/nodes/mediaGroup.js +2 -2
- package/dist/cjs/react/nodes/mediaInline.js +8 -8
- package/dist/cjs/react/nodes/mediaSingle/index.js +13 -12
- package/dist/cjs/react/nodes/mention.js +4 -3
- package/dist/cjs/react/nodes/multiBodiedExtension/actions.js +4 -4
- package/dist/cjs/react/nodes/multiBodiedExtension/context.js +7 -7
- package/dist/cjs/react/nodes/nodes.js +4 -3
- package/dist/cjs/react/nodes/orderedList.js +6 -5
- package/dist/cjs/react/nodes/panel-compiled.js +2 -2
- package/dist/cjs/react/nodes/panel-emotion.js +2 -2
- package/dist/cjs/react/nodes/panel.js +11 -7
- package/dist/cjs/react/nodes/table/colgroup.js +24 -24
- package/dist/cjs/react/nodes/table/sticky.js +2 -2
- package/dist/cjs/react/nodes/table/table.js +6 -6
- package/dist/cjs/react/nodes/table.js +19 -16
- package/dist/cjs/react/nodes/tableCell.js +11 -11
- package/dist/cjs/react/nodes/taskItem.js +4 -3
- package/dist/cjs/react/utils/EditorMediaClientProvider.js +3 -3
- package/dist/cjs/react/utils/use-select-all-trap.js +7 -7
- package/dist/cjs/render-document.js +32 -28
- package/dist/cjs/text/nodes/date.js +3 -3
- package/dist/cjs/text/nodes/orderedList.js +2 -2
- package/dist/cjs/ui/Expand.js +17 -16
- package/dist/cjs/ui/ExtensionRenderer.js +6 -6
- package/dist/cjs/ui/MediaCard.js +9 -9
- package/dist/cjs/ui/Renderer/ErrorBoundary.js +7 -7
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +271 -262
- package/dist/cjs/ui/Renderer/analytics-utils.js +13 -11
- package/dist/cjs/ui/Renderer/breakout-ssr.js +3 -3
- package/dist/cjs/ui/Renderer/count-nodes.js +2 -2
- package/dist/cjs/ui/Renderer/get-base-font-size.js +3 -3
- package/dist/cjs/ui/Renderer/index.js +30 -23
- package/dist/cjs/ui/RendererActionsContext/index.js +2 -2
- package/dist/cjs/ui/annotations/contexts/AnnotationManagerContext.js +15 -15
- package/dist/cjs/ui/annotations/element/index.js +2 -2
- package/dist/cjs/ui/annotations/hooks/use-events.js +20 -20
- package/dist/cjs/ui/annotations/hooks/use-load-annotations.js +2 -2
- package/dist/cjs/ui/annotations/hover/mounter.js +21 -21
- package/dist/cjs/ui/annotations/selection/mounter.js +21 -21
- package/dist/cjs/ui/hooks/useScrollToBlock.js +6 -4
- package/dist/es2019/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/es2019/actions/index.js +2 -2
- package/dist/es2019/analytics/unsupported-content.js +3 -2
- package/dist/es2019/custom-nodes.js +1 -1
- package/dist/es2019/entry-points/custom-nodes-loosely-lazy.js +1 -1
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/media.js +1 -1
- package/dist/es2019/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
- package/dist/es2019/entry-points/loosely-lazy.js +1 -1
- package/dist/es2019/entry-points/nodes.js +2 -2
- package/dist/es2019/entry-points/react.js +2 -2
- package/dist/es2019/entry-points/renderer.js +7 -7
- package/dist/es2019/entry-points/text-serializer-text.js +1 -1
- package/dist/es2019/entry-points/text.js +1 -1
- package/dist/es2019/index.js +7 -7
- package/dist/es2019/react/index.js +3 -2
- package/dist/es2019/react/marks/backgroundColor.js +1 -1
- package/dist/es2019/react/marks/breakout.js +1 -1
- package/dist/es2019/react/marks/code.js +1 -1
- package/dist/es2019/react/marks/link-compiled.js +1 -1
- package/dist/es2019/react/marks/link-emotion.js +1 -1
- package/dist/es2019/react/marks/link.js +1 -1
- package/dist/es2019/react/marks/textColor.js +1 -1
- package/dist/es2019/react/nodes/blockCard.js +6 -3
- package/dist/es2019/react/nodes/bodiedExtension.js +1 -1
- package/dist/es2019/react/nodes/bodiedSyncBlock.js +1 -1
- package/dist/es2019/react/nodes/caption.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/codeBlock.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockDownloadButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -2
- package/dist/es2019/react/nodes/codeBlock/windowedCodeBlock.js +1 -1
- package/dist/es2019/react/nodes/date.js +2 -2
- package/dist/es2019/react/nodes/embedCard.js +6 -3
- package/dist/es2019/react/nodes/emoji.js +3 -2
- package/dist/es2019/react/nodes/extension.js +43 -20
- package/dist/es2019/react/nodes/heading.js +1 -1
- package/dist/es2019/react/nodes/index.js +5 -3
- package/dist/es2019/react/nodes/inlineCard.js +7 -5
- package/dist/es2019/react/nodes/layoutColumn-compiled.js +1 -1
- package/dist/es2019/react/nodes/layoutColumn-emotion.js +1 -1
- package/dist/es2019/react/nodes/media/index.js +9 -6
- package/dist/es2019/react/nodes/mediaGroup.js +1 -1
- package/dist/es2019/react/nodes/mediaInline.js +3 -3
- package/dist/es2019/react/nodes/mediaSingle/index.js +4 -3
- package/dist/es2019/react/nodes/mention.js +1 -1
- package/dist/es2019/react/nodes/multiBodiedExtension/actions.js +1 -1
- package/dist/es2019/react/nodes/multiBodiedExtension/context.js +3 -3
- package/dist/es2019/react/nodes/nodes.js +2 -1
- package/dist/es2019/react/nodes/orderedList.js +3 -2
- package/dist/es2019/react/nodes/panel-compiled.js +1 -1
- package/dist/es2019/react/nodes/panel-emotion.js +1 -1
- package/dist/es2019/react/nodes/panel.js +6 -2
- package/dist/es2019/react/nodes/table/colgroup.js +3 -3
- package/dist/es2019/react/nodes/table/sticky.js +1 -1
- package/dist/es2019/react/nodes/table/table.js +2 -2
- package/dist/es2019/react/nodes/table.js +8 -5
- package/dist/es2019/react/nodes/tableCell.js +3 -3
- package/dist/es2019/react/nodes/taskItem.js +2 -1
- package/dist/es2019/react/utils/EditorMediaClientProvider.js +1 -1
- package/dist/es2019/react/utils/use-select-all-trap.js +1 -1
- package/dist/es2019/render-document.js +7 -3
- package/dist/es2019/text/nodes/date.js +1 -1
- package/dist/es2019/text/nodes/orderedList.js +1 -1
- package/dist/es2019/ui/Expand.js +4 -3
- package/dist/es2019/ui/ExtensionRenderer.js +3 -3
- package/dist/es2019/ui/MediaCard.js +3 -3
- package/dist/es2019/ui/Renderer/ErrorBoundary.js +2 -2
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +18 -9
- package/dist/es2019/ui/Renderer/analytics-utils.js +3 -1
- package/dist/es2019/ui/Renderer/breakout-ssr.js +1 -1
- package/dist/es2019/ui/Renderer/count-nodes.js +1 -1
- package/dist/es2019/ui/Renderer/get-base-font-size.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +12 -5
- package/dist/es2019/ui/RendererActionsContext/index.js +1 -1
- package/dist/es2019/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
- package/dist/es2019/ui/annotations/element/index.js +1 -1
- package/dist/es2019/ui/annotations/hooks/use-events.js +2 -2
- package/dist/es2019/ui/annotations/hooks/use-load-annotations.js +1 -1
- package/dist/es2019/ui/annotations/hover/mounter.js +1 -1
- package/dist/es2019/ui/annotations/selection/mounter.js +1 -1
- package/dist/es2019/ui/hooks/useScrollToBlock.js +3 -1
- package/dist/esm/actions/get-renderer-range-inline-node-names.js +1 -1
- package/dist/esm/actions/index.js +2 -2
- package/dist/esm/analytics/unsupported-content.js +3 -2
- package/dist/esm/custom-nodes.js +1 -1
- package/dist/esm/entry-points/custom-nodes-loosely-lazy.js +1 -1
- package/dist/esm/entry-points/experimental-sync-custom-nodes/cards.js +1 -1
- package/dist/esm/entry-points/experimental-sync-custom-nodes/media.js +1 -1
- package/dist/esm/entry-points/experimental-sync-custom-nodes/small-nodes.js +1 -1
- package/dist/esm/entry-points/loosely-lazy.js +1 -1
- package/dist/esm/entry-points/nodes.js +2 -2
- package/dist/esm/entry-points/react.js +2 -2
- package/dist/esm/entry-points/renderer.js +7 -7
- package/dist/esm/entry-points/text-serializer-text.js +1 -1
- package/dist/esm/entry-points/text.js +1 -1
- package/dist/esm/index.js +7 -7
- package/dist/esm/react/index.js +3 -2
- package/dist/esm/react/marks/backgroundColor.js +1 -1
- package/dist/esm/react/marks/breakout.js +1 -1
- package/dist/esm/react/marks/code.js +1 -1
- package/dist/esm/react/marks/link-compiled.js +1 -1
- package/dist/esm/react/marks/link-emotion.js +1 -1
- package/dist/esm/react/marks/link.js +1 -1
- package/dist/esm/react/marks/textColor.js +1 -1
- package/dist/esm/react/nodes/blockCard.js +6 -3
- package/dist/esm/react/nodes/bodiedExtension.js +1 -1
- package/dist/esm/react/nodes/bodiedSyncBlock.js +1 -1
- package/dist/esm/react/nodes/caption.js +1 -1
- package/dist/esm/react/nodes/codeBlock/codeBlock.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockDownloadButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -2
- package/dist/esm/react/nodes/codeBlock/windowedCodeBlock.js +1 -1
- package/dist/esm/react/nodes/date.js +2 -2
- package/dist/esm/react/nodes/embedCard.js +6 -3
- package/dist/esm/react/nodes/emoji.js +3 -2
- package/dist/esm/react/nodes/extension.js +52 -25
- package/dist/esm/react/nodes/heading.js +1 -1
- package/dist/esm/react/nodes/index.js +5 -3
- package/dist/esm/react/nodes/inlineCard.js +7 -5
- package/dist/esm/react/nodes/layoutColumn-compiled.js +1 -1
- package/dist/esm/react/nodes/layoutColumn-emotion.js +1 -1
- package/dist/esm/react/nodes/media/index.js +9 -6
- package/dist/esm/react/nodes/mediaGroup.js +1 -1
- package/dist/esm/react/nodes/mediaInline.js +3 -3
- package/dist/esm/react/nodes/mediaSingle/index.js +4 -3
- package/dist/esm/react/nodes/mention.js +1 -1
- package/dist/esm/react/nodes/multiBodiedExtension/actions.js +1 -1
- package/dist/esm/react/nodes/multiBodiedExtension/context.js +3 -3
- package/dist/esm/react/nodes/nodes.js +2 -1
- package/dist/esm/react/nodes/orderedList.js +3 -2
- package/dist/esm/react/nodes/panel-compiled.js +1 -1
- package/dist/esm/react/nodes/panel-emotion.js +1 -1
- package/dist/esm/react/nodes/panel.js +6 -2
- package/dist/esm/react/nodes/table/colgroup.js +3 -3
- package/dist/esm/react/nodes/table/sticky.js +1 -1
- package/dist/esm/react/nodes/table/table.js +2 -2
- package/dist/esm/react/nodes/table.js +8 -5
- package/dist/esm/react/nodes/tableCell.js +3 -3
- package/dist/esm/react/nodes/taskItem.js +2 -1
- package/dist/esm/react/utils/EditorMediaClientProvider.js +1 -1
- package/dist/esm/react/utils/use-select-all-trap.js +1 -1
- package/dist/esm/render-document.js +7 -3
- package/dist/esm/text/nodes/date.js +1 -1
- package/dist/esm/text/nodes/orderedList.js +1 -1
- package/dist/esm/ui/Expand.js +4 -3
- package/dist/esm/ui/ExtensionRenderer.js +3 -3
- package/dist/esm/ui/MediaCard.js +3 -3
- package/dist/esm/ui/Renderer/ErrorBoundary.js +2 -2
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +18 -9
- package/dist/esm/ui/Renderer/analytics-utils.js +3 -1
- package/dist/esm/ui/Renderer/breakout-ssr.js +1 -1
- package/dist/esm/ui/Renderer/count-nodes.js +1 -1
- package/dist/esm/ui/Renderer/get-base-font-size.js +1 -1
- package/dist/esm/ui/Renderer/index.js +12 -5
- package/dist/esm/ui/RendererActionsContext/index.js +1 -1
- package/dist/esm/ui/annotations/contexts/AnnotationManagerContext.js +1 -1
- package/dist/esm/ui/annotations/element/index.js +1 -1
- package/dist/esm/ui/annotations/hooks/use-events.js +2 -2
- package/dist/esm/ui/annotations/hooks/use-load-annotations.js +1 -1
- package/dist/esm/ui/annotations/hover/mounter.js +1 -1
- package/dist/esm/ui/annotations/selection/mounter.js +1 -1
- package/dist/esm/ui/hooks/useScrollToBlock.js +3 -1
- package/dist/types/actions/index.d.ts +2 -1
- package/dist/types/actions/selection.d.ts +1 -1
- package/dist/types/analytics/events.d.ts +9 -2
- package/dist/types/analytics/unsupported-content.d.ts +1 -1
- package/dist/types/custom-nodes.d.ts +1 -1
- package/dist/types/entry-points/custom-nodes-loosely-lazy.d.ts +1 -1
- package/dist/types/entry-points/experimental-sync-custom-nodes/cards.d.ts +1 -1
- package/dist/types/entry-points/experimental-sync-custom-nodes/media.d.ts +1 -1
- package/dist/types/entry-points/experimental-sync-custom-nodes/small-nodes.d.ts +1 -1
- package/dist/types/entry-points/loosely-lazy.d.ts +1 -1
- package/dist/types/entry-points/nodes.d.ts +2 -2
- package/dist/types/entry-points/react.d.ts +2 -2
- package/dist/types/entry-points/renderer.d.ts +7 -7
- package/dist/types/entry-points/serializer.d.ts +1 -1
- package/dist/types/entry-points/text-serializer-text.d.ts +1 -1
- package/dist/types/entry-points/text.d.ts +1 -1
- package/dist/types/index.d.ts +7 -7
- package/dist/types/react/index.d.ts +5 -4
- package/dist/types/react/marks/link-compiled.d.ts +1 -1
- package/dist/types/react/marks/link-emotion.d.ts +1 -1
- package/dist/types/react/nodes/blockCard.d.ts +1 -1
- package/dist/types/react/nodes/bodiedExtension.d.ts +3 -2
- package/dist/types/react/nodes/embedCard.d.ts +1 -1
- package/dist/types/react/nodes/emoji.d.ts +1 -1
- package/dist/types/react/nodes/extension.d.ts +4 -3
- package/dist/types/react/nodes/extensionFrame.d.ts +2 -2
- package/dist/types/react/nodes/index.d.ts +5 -5
- package/dist/types/react/nodes/inlineCard.d.ts +2 -2
- package/dist/types/react/nodes/inlineExtension.d.ts +2 -2
- package/dist/types/react/nodes/media/index.d.ts +3 -3
- package/dist/types/react/nodes/mediaGroup.d.ts +3 -3
- package/dist/types/react/nodes/mediaInline.d.ts +4 -4
- package/dist/types/react/nodes/mediaSingle/index.d.ts +4 -3
- package/dist/types/react/nodes/mention.d.ts +3 -3
- package/dist/types/react/nodes/multiBodiedExtension/actions.d.ts +1 -1
- package/dist/types/react/nodes/multiBodiedExtension/context.d.ts +1 -1
- package/dist/types/react/nodes/multiBodiedExtension.d.ts +2 -2
- package/dist/types/react/nodes/panel.d.ts +1 -1
- package/dist/types/react/nodes/table/sticky.d.ts +1 -1
- package/dist/types/react/nodes/table.d.ts +2 -2
- package/dist/types/react/nodes/task-item-with-providers.d.ts +1 -1
- package/dist/types/react/nodes/taskItem.d.ts +1 -1
- package/dist/types/react/types.d.ts +3 -3
- package/dist/types/react/utils/getCardClickHandler.d.ts +2 -2
- package/dist/types/react/utils/markBlockAsInline.d.ts +2 -1
- package/dist/types/render-document.d.ts +2 -2
- package/dist/types/renderer-context.d.ts +1 -1
- package/dist/types/types/mediaOptions.d.ts +3 -2
- package/dist/types/types/smartLinksOptions.d.ts +1 -1
- package/dist/types/ui/ExtensionRenderer.d.ts +3 -2
- package/dist/types/ui/MediaCard.d.ts +8 -5
- package/dist/types/ui/SmartCardStorage.d.ts +1 -1
- package/dist/types/ui/annotations/context.d.ts +1 -1
- package/dist/types/ui/annotations/contexts/AnnotationManagerContext.d.ts +1 -1
- package/dist/types/ui/annotations/element/mark.d.ts +1 -1
- package/dist/types/ui/annotations/hooks/use-events.d.ts +2 -1
- package/dist/types/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -1
- package/dist/types/ui/annotations/hover/mounter.d.ts +1 -1
- package/dist/types/ui/annotations/hover/range-validator.d.ts +1 -1
- package/dist/types/ui/annotations/selection/mounter.d.ts +1 -1
- package/dist/types/ui/annotations/selection/range-validator.d.ts +1 -1
- package/dist/types/ui/annotations/types.d.ts +1 -1
- package/dist/types/ui/renderer-props.d.ts +8 -7
- package/dist/types/utils.d.ts +3 -3
- package/package.json +3 -3
package/dist/types/index.d.ts
CHANGED
|
@@ -4,13 +4,13 @@ import { default as ReactSerializerLegacy } from './react';
|
|
|
4
4
|
import RendererWithAnnotationSelectionLegacy, { RendererWithAnalytics as RendererWithAnalyticsLegacy } from './ui/Renderer';
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated Use `ReactSerializerInit` from `@atlaskit/renderer/serializer/default` instead.
|
|
7
|
-
* This export will be removed in
|
|
7
|
+
* This export will be removed in December 2026.
|
|
8
8
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
9
9
|
*/
|
|
10
10
|
export type { ReactSerializerInit } from './react';
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated Use `ReactSerializer` from `@atlaskit/renderer/serializer/default` instead.
|
|
13
|
-
* This export will be removed in
|
|
13
|
+
* This export will be removed in December 2026.
|
|
14
14
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
15
15
|
*/
|
|
16
16
|
export declare class ReactSerializer extends ReactSerializerLegacy {
|
|
@@ -19,25 +19,25 @@ export declare class ReactSerializer extends ReactSerializerLegacy {
|
|
|
19
19
|
/**
|
|
20
20
|
* @private
|
|
21
21
|
* @deprecated Use `TextSerializer` from `@atlaskit/renderer/serializer/text` instead.
|
|
22
|
-
* This export will be removed in
|
|
22
|
+
* This export will be removed in December 2026.
|
|
23
23
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
24
24
|
*/
|
|
25
25
|
export { default as TextSerializer } from './text';
|
|
26
26
|
/**
|
|
27
27
|
* @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
|
|
28
|
-
* This export will be removed in
|
|
28
|
+
* This export will be removed in December 2026.
|
|
29
29
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
30
30
|
*/
|
|
31
31
|
export declare const ReactRenderer: typeof RendererWithAnnotationSelectionLegacy;
|
|
32
32
|
/**
|
|
33
33
|
* @deprecated Use `Renderer` from `@atlaskit/renderer/default` instead.
|
|
34
|
-
* This export will be removed in
|
|
34
|
+
* This export will be removed in December 2026.
|
|
35
35
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
36
36
|
*/
|
|
37
37
|
export declare const RendererWithAnalytics: (props: ComponentProps<typeof RendererWithAnalyticsLegacy>) => JSX.Element;
|
|
38
38
|
/**
|
|
39
39
|
* @deprecated Use `nodes` from `@atlaskit/renderer/nodes/default` instead.
|
|
40
|
-
* This export will be removed in
|
|
40
|
+
* This export will be removed in December 2026.
|
|
41
41
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
42
42
|
*/
|
|
43
43
|
export { nodeToReact as defaultNodeComponents } from './react/nodes';
|
|
@@ -46,7 +46,7 @@ export { AnnotationsWrapper } from './ui/annotations';
|
|
|
46
46
|
export { ValidationContextProvider } from './ui/Renderer/ValidationContext';
|
|
47
47
|
/**
|
|
48
48
|
* @deprecated Use `Serializer` from `@atlaskit/renderer/serializer/default` instead.
|
|
49
|
-
* This export will be removed in
|
|
49
|
+
* This export will be removed in December 2026.
|
|
50
50
|
* @see https://hello.atlassian.net/wiki/spaces/EDITOR/pages/7650942996/Moving+to+Synchronous+Rendering+in+Editor+Renderer for more.
|
|
51
51
|
*/
|
|
52
52
|
export type { Serializer } from './serializer';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
2
|
+
import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility/types';
|
|
3
|
+
import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
4
|
+
import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
|
|
3
5
|
import type { MentionNodeDataProvider } from '@atlaskit/editor-common/mention';
|
|
4
|
-
import type
|
|
5
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
6
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
6
7
|
import type { Fragment, Mark, Node } from '@atlaskit/editor-prosemirror/model';
|
|
7
8
|
import type { EmojiProviderLookupOrder, EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
8
9
|
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
* Cleanup: delete this file once the experiment has shipped.
|
|
10
10
|
*/
|
|
11
11
|
import type { ComponentProps } from 'react';
|
|
12
|
-
import LinkUrl from '@atlaskit/smart-card/link
|
|
12
|
+
import { LinkUrl } from '@atlaskit/smart-card/link';
|
|
13
13
|
export declare const LinkUrlCompiled: (props: ComponentProps<typeof LinkUrl>) => JSX.Element;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { ComponentProps } from 'react';
|
|
12
12
|
import { jsx } from '@emotion/react';
|
|
13
|
-
import LinkUrl from '@atlaskit/smart-card/link
|
|
13
|
+
import { LinkUrl } from '@atlaskit/smart-card/link';
|
|
14
14
|
export declare const LinkUrlEmotion: (props: ComponentProps<typeof LinkUrl>) => jsx.JSX.Element;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/block-card';
|
|
7
|
-
import type { EventHandlers } from '@atlaskit/editor-common/
|
|
7
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
8
8
|
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
9
9
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
10
10
|
export default function BlockCard(props: {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
|
|
3
|
-
import type { ExtensionHandlers, ExtensionParams
|
|
4
|
-
import type {
|
|
3
|
+
import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
4
|
+
import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
|
|
5
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
5
6
|
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
6
7
|
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
7
8
|
import type { Serializer } from '../../serializer';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { Layout as RichMediaLayout } from '@atlaskit/adf-schema/rich-media-common';
|
|
8
|
-
import type { EventHandlers } from '@atlaskit/editor-common/
|
|
8
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
9
9
|
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
10
10
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
11
11
|
type EmbedCardInternalProps = {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { FC, NamedExoticComponent } from 'react';
|
|
6
6
|
import type { EmojiAttributes } from '@atlaskit/adf-schema/emoji';
|
|
7
|
-
import
|
|
7
|
+
import ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
8
8
|
import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
9
9
|
import type { EmojiId, EmojiProviderLookupOrder } from '@atlaskit/emoji/types';
|
|
10
10
|
import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
|
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
|
|
7
|
-
import type { ExtensionHandlers, ExtensionParams
|
|
8
|
-
import type {
|
|
9
|
-
import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/
|
|
7
|
+
import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
8
|
+
import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
|
|
9
|
+
import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/OverflowShadow';
|
|
10
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
10
11
|
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
12
13
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { jsx } from '@emotion/react';
|
|
6
6
|
import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
|
|
7
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
8
|
-
import type
|
|
7
|
+
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
8
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
9
9
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
10
10
|
import type { Serializer } from '../../serializer';
|
|
11
11
|
import type { RendererContext } from '../types';
|
|
@@ -3,12 +3,12 @@ import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
|
3
3
|
import Loadable from 'react-loadable';
|
|
4
4
|
import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/block-card';
|
|
5
5
|
import type { Layout as RichMediaLayout } from '@atlaskit/adf-schema/rich-media-common';
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import
|
|
9
|
-
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
6
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
7
|
+
import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline/types';
|
|
8
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
9
|
+
import type { Diff } from '@atlaskit/editor-common/utils/types';
|
|
10
10
|
import type { Fragment, Node, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
11
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
11
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
12
12
|
import type { MediaSSR } from '../../types/mediaOptions';
|
|
13
13
|
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
14
14
|
import type { ExpandProps } from '../../ui/Expand';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ComponentClass } from 'react';
|
|
2
|
-
import type { EventHandlers } from '@atlaskit/editor-common/
|
|
3
|
-
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
2
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
3
|
+
import type { Diff } from '@atlaskit/editor-common/utils/types';
|
|
4
4
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
6
6
|
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
3
|
-
import type
|
|
2
|
+
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
3
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
4
4
|
import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import type { RendererContext } from '../types';
|
|
6
6
|
interface Props {
|
|
@@ -9,9 +9,9 @@ import type { AnnotationMarkDefinition } from '@atlaskit/adf-schema/annotation';
|
|
|
9
9
|
import type { BorderMarkDefinition } from '@atlaskit/adf-schema/border';
|
|
10
10
|
import type { DataConsumerDefinition } from '@atlaskit/adf-schema/data-consumer';
|
|
11
11
|
import type { LinkDefinition } from '@atlaskit/adf-schema/link';
|
|
12
|
-
import type {
|
|
13
|
-
import type
|
|
14
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
12
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
13
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
14
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
15
15
|
import type { MediaViewerExtensions } from '@atlaskit/media-viewer/types';
|
|
16
16
|
import type { AnalyticsEventPayload } from '../../../analytics/events';
|
|
17
17
|
import type { MediaRenderEvent } from '../../../types/mediaOptions';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
|
-
import type { EventHandlers, CardEventClickHandler } from '@atlaskit/editor-common/
|
|
3
|
+
import type { EventHandlers, CardEventClickHandler } from '@atlaskit/editor-common/EventHandlers';
|
|
4
4
|
import type { CardEvent } from '@atlaskit/media-card/types';
|
|
5
|
-
import type { Identifier } from '@atlaskit/media-client';
|
|
6
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
5
|
+
import type { Identifier } from '@atlaskit/media-client/identifier';
|
|
6
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
7
7
|
import type { MediaProps } from './media';
|
|
8
8
|
export interface MediaGroupProps {
|
|
9
9
|
children?: React.ReactNode;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type
|
|
3
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
4
|
+
import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline/types';
|
|
5
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
6
6
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
7
|
-
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
7
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
8
8
|
import type { MediaSSR } from '../../types/mediaOptions';
|
|
9
9
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
10
10
|
type MediaInlineProps = {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
3
3
|
import type { Layout as MediaSingleLayout } from '@atlaskit/adf-schema/rich-media-common';
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
4
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
5
|
+
import type { MediaSingleWidthType } from '@atlaskit/editor-common/MediaSingle/types';
|
|
6
|
+
import type { EditorAppearance } from '@atlaskit/editor-common/types/editor-appearance';
|
|
7
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
7
8
|
import type { AnalyticsEventPayload } from '../../../analytics/events';
|
|
8
9
|
import type { RendererAppearance } from '../../../ui/Renderer/types';
|
|
9
10
|
export interface Props {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { UserType as MentionUserType } from '@atlaskit/adf-schema/mention';
|
|
3
|
-
import {
|
|
4
|
-
import type {
|
|
5
|
-
import type
|
|
3
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
4
|
+
import type { MentionNodeDataProvider } from '@atlaskit/editor-common/mention';
|
|
5
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
6
6
|
import type { MarkDataAttributes } from '../../ui/annotations/element/useInlineAnnotationProps';
|
|
7
7
|
export interface Props extends MarkDataAttributes {
|
|
8
8
|
accessLevel?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { MultiBodiedExtensionActions } from '@atlaskit/editor-common/extensions';
|
|
2
|
+
import type { MultiBodiedExtensionActions } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
3
3
|
import type { MBEChangeActiveAnalyticsEvent } from '../../../analytics/events';
|
|
4
4
|
type ActionsProps = {
|
|
5
5
|
allowBodiedOverride: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
2
|
+
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
3
3
|
type useMultiBodiedExtensionContextProps = {
|
|
4
4
|
extensionHandlers?: ExtensionHandlers;
|
|
5
5
|
extensionKey: string;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
|
|
8
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
9
|
-
import type
|
|
8
|
+
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
9
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
10
10
|
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
11
11
|
import type { Serializer } from '../../serializer';
|
|
12
12
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PanelType } from '@atlaskit/adf-schema/panel';
|
|
3
|
-
import type
|
|
3
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
4
4
|
export interface Props {
|
|
5
5
|
allowCustomPanels?: boolean;
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { Layout as TableLayout } from '@atlaskit/adf-schema/tableNodes';
|
|
8
|
-
import type { OverflowShadowProps } from '@atlaskit/editor-common/
|
|
8
|
+
import type { OverflowShadowProps } from '@atlaskit/editor-common/OverflowShadow';
|
|
9
9
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
10
10
|
import type { RendererAppearance } from '../../../ui/Renderer/types';
|
|
11
11
|
export type StickyMode = 'none' | 'stick' | 'pin-bottom';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { OverflowShadowProps } from '@atlaskit/editor-common/OverflowShadow';
|
|
2
3
|
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type {
|
|
4
|
-
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
4
|
+
import type { Diff } from '@atlaskit/editor-common/utils/types';
|
|
5
5
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import type { RendererAppearance, StickyHeaderConfig } from '../../ui/Renderer/types';
|
|
7
7
|
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
+
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory/context-identifier-provider';
|
|
4
4
|
import type { ContentRef, TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
5
5
|
interface Props {
|
|
6
6
|
children?: ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
4
4
|
import type { RendererContext, NodeProps } from '../types';
|
|
5
5
|
export interface Props {
|
|
6
6
|
children?: ReactNode;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
2
|
import type { AnnotationId, AnnotationTypes } from '@atlaskit/adf-schema/annotation';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type
|
|
3
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
4
|
+
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
5
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
6
6
|
import type { Node as PMNode, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
8
8
|
import type { Serializer } from '../serializer';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { EventHandlers } from '@atlaskit/editor-common/
|
|
2
|
-
import type { CardProps } from '@atlaskit/smart-card';
|
|
1
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
2
|
+
import type { CardProps } from '@atlaskit/smart-card/card/types';
|
|
3
3
|
export declare const getCardClickHandler: (eventHandlers?: EventHandlers, url?: string) => CardProps['onClick'] | undefined;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ExtensionParams
|
|
1
|
+
import type { ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
2
|
+
import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
|
|
2
3
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
4
|
export declare function markBlockAsInline({ nodes, onMark, parentPos, shouldDisplayExtensionAsInline, isTopLevel, }: {
|
|
4
5
|
isTopLevel?: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
-
import type { ADFStage } from '@atlaskit/editor-common/validator';
|
|
1
|
+
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils/get-unsupported-content-level-data';
|
|
2
|
+
import type { ADFStage } from '@atlaskit/editor-common/utils/validator';
|
|
3
3
|
import type { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { AnalyticsEventPayload } from './analytics/events';
|
|
5
5
|
import type { Serializer } from './serializer';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
2
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types/feature-flags';
|
|
3
3
|
import type { NestedRendererType } from './ui/Renderer/types';
|
|
4
4
|
export type RendererContextProps = {
|
|
5
5
|
featureFlags?: FeatureFlags;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { SSR } from '@atlaskit/media-common/main-types';
|
|
2
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
2
3
|
import type { MediaClientConfig } from '@atlaskit/media-core/auth';
|
|
3
|
-
import type { MediaViewerExtensions } from '@atlaskit/media-viewer';
|
|
4
|
+
import type { MediaViewerExtensions } from '@atlaskit/media-viewer/types';
|
|
4
5
|
export type MediaSSR = {
|
|
5
6
|
config: MediaClientConfig;
|
|
6
7
|
mode: SSR;
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import type { Layout as ExtensionLayout } from '@atlaskit/adf-schema/extensions';
|
|
8
|
-
import type { ExtensionHandlers, ExtensionParams, MultiBodiedExtensionActions
|
|
9
|
-
import type {
|
|
8
|
+
import type { ExtensionHandlers, ExtensionParams, MultiBodiedExtensionActions } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
9
|
+
import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
|
|
10
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
10
11
|
import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
|
|
11
12
|
import type { RendererContext } from '../react/types';
|
|
12
13
|
interface Props {
|
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import type { MediaType } from '@atlaskit/adf-schema/media';
|
|
3
3
|
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
4
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { ImageLoaderProps, ImageStatus } from '@atlaskit/editor-common/utils';
|
|
4
|
+
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory/context-identifier-provider';
|
|
5
|
+
import type { ImageLoaderProps, ImageStatus } from '@atlaskit/editor-common/utils/imageLoader';
|
|
6
6
|
import type { CardAppearance, CardDimensions, CardOnClickCallback, CardProps as AtlaskitMediaCardProps } from '@atlaskit/media-card/types';
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
7
|
+
import type { Identifier } from '@atlaskit/media-client/identifier';
|
|
8
|
+
import type { ImageResizeMode } from '@atlaskit/media-client/image-resize-mode-to-file-image-mode';
|
|
9
|
+
import type { MediaClient } from '@atlaskit/media-client/media-client';
|
|
9
10
|
import type { NumericalCardDimensions } from '@atlaskit/media-common/main-types';
|
|
11
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common/types';
|
|
10
12
|
import type { MediaClientConfig } from '@atlaskit/media-core/auth';
|
|
11
|
-
import type {
|
|
13
|
+
import type { FileState } from '@atlaskit/media-state/file-state';
|
|
14
|
+
import type { MediaViewerExtensions } from '@atlaskit/media-viewer/types';
|
|
12
15
|
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
13
16
|
import type { RendererContext } from '../react/types';
|
|
14
17
|
import type { MediaSSR } from '../types/mediaOptions';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Context } from 'react';
|
|
2
2
|
import type { AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
|
|
3
|
-
import type { AnnotationProviders } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { AnnotationProviders } from '@atlaskit/editor-common/types/annotation';
|
|
4
4
|
export declare const ProvidersContext: Context<AnnotationProviders | null | undefined>;
|
|
5
5
|
export declare const InlineCommentsStateContext: Context<Record<string, AnnotationMarkStates | null>>;
|
|
@@ -3,7 +3,7 @@ import type { ReactNode } from 'react';
|
|
|
3
3
|
import { AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
|
|
4
4
|
import type { AnnotationId } from '@atlaskit/adf-schema/annotation';
|
|
5
5
|
import type { AnnotationManager, ActionResult } from '@atlaskit/editor-common/annotation';
|
|
6
|
-
import type { AnnotationUpdateEmitter } from '@atlaskit/editor-common/types';
|
|
6
|
+
import type { AnnotationUpdateEmitter } from '@atlaskit/editor-common/types/emitter';
|
|
7
7
|
interface AnnotationState {
|
|
8
8
|
id: AnnotationId;
|
|
9
9
|
markState: AnnotationMarkStates;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import type React from 'react';
|
|
6
6
|
import type { AnnotationId, AnnotationDataAttributes } from '@atlaskit/adf-schema/annotation';
|
|
7
7
|
import { AnnotationMarkStates } from '@atlaskit/adf-schema/annotation';
|
|
8
|
-
import type { OnAnnotationClickPayload } from '@atlaskit/editor-common/types';
|
|
8
|
+
import type { OnAnnotationClickPayload } from '@atlaskit/editor-common/types/emitter';
|
|
9
9
|
type MarkComponentProps = {
|
|
10
10
|
annotationParentIds: AnnotationId[];
|
|
11
11
|
dataAttributes: AnnotationDataAttributes;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { AnnotationMarkStates, AnnotationId } from '@atlaskit/adf-schema/annotation';
|
|
2
2
|
import { AnnotationTypes } from '@atlaskit/adf-schema/annotation';
|
|
3
3
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
|
-
import type { InlineCommentViewComponentProps
|
|
4
|
+
import type { InlineCommentViewComponentProps } from '@atlaskit/editor-common/types/annotation';
|
|
5
|
+
import type { AnnotationUpdateEmitter } from '@atlaskit/editor-common/types/emitter';
|
|
5
6
|
type ListenEventProps = {
|
|
6
7
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
7
8
|
id: AnnotationId;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { AnnotationUpdateEmitter } from '@atlaskit/editor-common/types';
|
|
1
|
+
import type { AnnotationUpdateEmitter } from '@atlaskit/editor-common/types/emitter';
|
|
2
2
|
export declare const useInlineCommentSubscriberContext: () => AnnotationUpdateEmitter | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
|
-
import type { AnnotationByMatches, InlineCommentHoverComponentProps } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { AnnotationByMatches, InlineCommentHoverComponentProps } from '@atlaskit/editor-common/types/annotation';
|
|
4
4
|
import type { ApplyAnnotation } from '../../../actions/index';
|
|
5
5
|
import type { Position } from '../types';
|
|
6
6
|
type Props = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
|
-
import type { InlineCommentHoverComponentProps } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { InlineCommentHoverComponentProps } from '@atlaskit/editor-common/types/annotation';
|
|
4
4
|
type Props = {
|
|
5
5
|
component: React.ComponentType<InlineCommentHoverComponentProps>;
|
|
6
6
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
|
-
import type { AnnotationByMatches, InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { AnnotationByMatches, InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types/annotation';
|
|
4
4
|
import type { ApplyAnnotation } from '../../../actions/index';
|
|
5
5
|
import type { Position } from '../types';
|
|
6
6
|
type Props = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
|
-
import type { InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types/annotation';
|
|
4
4
|
type Props = {
|
|
5
5
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
6
6
|
rendererRef: React.RefObject<HTMLDivElement>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnnotationProviders } from '@atlaskit/editor-common/types';
|
|
1
|
+
import type { AnnotationProviders } from '@atlaskit/editor-common/types/annotation';
|
|
2
2
|
import type { JSONDocNode } from '@atlaskit/editor-json-transformer/types';
|
|
3
3
|
export declare enum InsertDraftPosition {
|
|
4
4
|
AROUND_TEXT = "AROUND_TEXT",
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { DocNode } from '@atlaskit/adf-schema/doc';
|
|
2
2
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
4
|
+
import type { GetPMNodeHeight } from '@atlaskit/editor-common/extensibility/types';
|
|
5
|
+
import type { ExtensionHandlers, ExtensionParams } from '@atlaskit/editor-common/extensions/extension-handler';
|
|
6
|
+
import type { Parameters } from '@atlaskit/editor-common/extensions/extension-parameters';
|
|
5
7
|
import type { MentionNodeDataProvider } from '@atlaskit/editor-common/mention';
|
|
6
|
-
import type
|
|
7
|
-
import type { AnnotationProviders } from '@atlaskit/editor-common/types';
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type { ADFStage } from '@atlaskit/editor-common/validator';
|
|
8
|
+
import type ProviderFactory from '@atlaskit/editor-common/provider-factory/provider-factory';
|
|
9
|
+
import type { AnnotationProviders } from '@atlaskit/editor-common/types/annotation';
|
|
10
|
+
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils/get-unsupported-content-level-data';
|
|
11
|
+
import type { ADFStage } from '@atlaskit/editor-common/utils/validator';
|
|
11
12
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
12
13
|
import type { EmojiProviderLookupOrder, EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
13
14
|
import type { ReactSerializerInit, RendererContext, Serializer } from '../';
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { ADNode } from '@atlaskit/editor-common/validator';
|
|
1
|
+
import type { EventHandlers } from '@atlaskit/editor-common/EventHandlers';
|
|
2
|
+
import type { Transformer } from '@atlaskit/editor-common/types/next-editor-plugin';
|
|
3
|
+
import type { ADNode } from '@atlaskit/editor-common/utils/validator';
|
|
4
4
|
import type { Schema, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
export type TransformerProvider<T> = (schema: Schema) => Transformer<T>;
|
|
6
6
|
export declare class ADFEncoder<T> {
|