@atlaskit/renderer 109.7.0 → 109.7.2
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/.eslintrc.js +8 -0
- package/CHANGELOG.md +12 -0
- package/dist/cjs/react/nodes/blockCard.js +1 -0
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockButtonContainer.js +5 -5
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -4
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +0 -1
- package/dist/cjs/react/nodes/embedCard.js +1 -0
- package/dist/cjs/react/nodes/table/sticky.js +32 -6
- package/dist/cjs/react/nodes/table.js +2 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/ui/Renderer/style.js +6 -1
- package/dist/es2019/react/nodes/blockCard.js +1 -0
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockButtonContainer.js +5 -5
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +0 -1
- package/dist/es2019/react/nodes/embedCard.js +1 -0
- package/dist/es2019/react/nodes/table/sticky.js +34 -44
- package/dist/es2019/react/nodes/table.js +2 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/style.js +7 -1
- package/dist/esm/react/nodes/blockCard.js +1 -0
- package/dist/esm/react/nodes/codeBlock/components/codeBlockButtonContainer.js +5 -5
- package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +0 -1
- package/dist/esm/react/nodes/embedCard.js +1 -0
- package/dist/esm/react/nodes/table/sticky.js +31 -6
- package/dist/esm/react/nodes/table.js +2 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/style.js +6 -1
- package/dist/types/react/marks/index.d.ts +2 -2
- package/dist/types/react/nodes/blockquote.d.ts +1 -1
- package/dist/types/react/nodes/bodiedExtension.d.ts +1 -1
- package/dist/types/react/nodes/bulletList.d.ts +3 -3
- package/dist/types/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +3 -3
- package/dist/types/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +2 -3
- package/dist/types/react/nodes/extensionFrame.d.ts +2 -1
- package/dist/types/react/nodes/fallback.d.ts +1 -1
- package/dist/types/react/nodes/hardBreak.d.ts +2 -2
- package/dist/types/react/nodes/heading-anchor.d.ts +2 -9
- package/dist/types/react/nodes/index.d.ts +2 -2
- package/dist/types/react/nodes/inlineExtension.d.ts +2 -2
- package/dist/types/react/nodes/layoutColumn.d.ts +2 -2
- package/dist/types/react/nodes/layoutSection.d.ts +1 -1
- package/dist/types/react/nodes/listItem.d.ts +1 -1
- package/dist/types/react/nodes/mediaInline.d.ts +2 -3
- package/dist/types/react/nodes/multiBodiedExtension.d.ts +2 -1
- package/dist/types/react/nodes/table/sticky.d.ts +1 -1
- package/dist/types/react/nodes/unknownBlock.d.ts +1 -1
- package/dist/types/react/utils/EditorMediaClientProvider.d.ts +4 -4
- package/dist/types/ui/Renderer/ErrorBoundary.d.ts +1 -0
- package/dist/types/ui/Renderer/truncated-wrapper.d.ts +2 -1
- package/dist/types/ui/Renderer/types.d.ts +1 -1
- package/dist/types/ui/SmartCardStorage.d.ts +2 -2
- package/dist/types/ui/annotations/context.d.ts +4 -4
- package/dist/types/ui/annotations/draft/component.d.ts +4 -3
- package/dist/types/ui/annotations/element/index.d.ts +1 -1
- package/dist/types/ui/annotations/element/mark.d.ts +2 -1
- package/dist/types/ui/annotations/index.d.ts +1 -1
- package/dist/types/ui/annotations/selection/mounter.d.ts +2 -2
- package/dist/types/ui/annotations/selection/range-validator.d.ts +2 -2
- package/dist/types/ui/annotations/selection/wrapper.d.ts +1 -1
- package/dist/types/ui/annotations/view/index.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/index.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/blockquote.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/bulletList.d.ts +3 -3
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +3 -3
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +2 -3
- package/dist/types-ts4.5/react/nodes/extensionFrame.d.ts +2 -1
- package/dist/types-ts4.5/react/nodes/fallback.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +2 -9
- package/dist/types-ts4.5/react/nodes/index.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/listItem.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +2 -3
- package/dist/types-ts4.5/react/nodes/multiBodiedExtension.d.ts +2 -1
- package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +1 -1
- package/dist/types-ts4.5/react/utils/EditorMediaClientProvider.d.ts +4 -4
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +1 -0
- package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +2 -1
- package/dist/types-ts4.5/ui/Renderer/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +2 -2
- package/dist/types-ts4.5/ui/annotations/context.d.ts +4 -4
- package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +4 -3
- package/dist/types-ts4.5/ui/annotations/element/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +2 -1
- package/dist/types-ts4.5/ui/annotations/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +2 -2
- package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +2 -2
- package/dist/types-ts4.5/ui/annotations/selection/wrapper.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/view/index.d.ts +2 -2
- package/package.json +8 -7
|
@@ -71,13 +71,13 @@ declare const MediaSingle: React.ComponentType<import("react-intl-next").WithInt
|
|
|
71
71
|
declare const Mention: React.ComponentType<import("./mention").Props> & Loadable.LoadableComponent;
|
|
72
72
|
declare const Expand: React.ComponentType<import("react-intl-next").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent;
|
|
73
73
|
export declare const nodeToReact: {
|
|
74
|
-
[key: string]: React.ComponentType<any
|
|
74
|
+
[key: string]: React.ComponentType<React.PropsWithChildren<any>>;
|
|
75
75
|
};
|
|
76
76
|
export interface ToReactFlags {
|
|
77
77
|
allowSelectAllTrap?: boolean;
|
|
78
78
|
allowWindowedCodeBlock?: boolean;
|
|
79
79
|
}
|
|
80
|
-
export declare const toReact: (node: Node, flags?: ToReactFlags, nodeComponents?: NodeComponentsProps) => React.ComponentType<any
|
|
80
|
+
export declare const toReact: (node: Node, flags?: ToReactFlags, nodeComponents?: NodeComponentsProps) => React.ComponentType<React.PropsWithChildren<any>>;
|
|
81
81
|
export interface TextWrapper {
|
|
82
82
|
type: {
|
|
83
83
|
name: 'textWrapper';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { RendererContext } from '../types';
|
|
3
3
|
import type { Mark as PMMark } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
@@ -14,5 +14,5 @@ export interface Props {
|
|
|
14
14
|
localId?: string;
|
|
15
15
|
marks?: PMMark[];
|
|
16
16
|
}
|
|
17
|
-
declare const InlineExtension:
|
|
17
|
+
declare const InlineExtension: (props: Props) => JSX.Element;
|
|
18
18
|
export default InlineExtension;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
export default function LayoutSection(props: {
|
|
4
|
+
export default function LayoutSection(props: React.PropsWithChildren<{
|
|
5
5
|
width?: number;
|
|
6
|
-
}
|
|
6
|
+
}>): jsx.JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export default function LayoutSection(props: React.
|
|
2
|
+
export default function LayoutSection(props: React.PropsWithChildren<unknown>): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export default function ListItem(props: React.
|
|
2
|
+
export default function ListItem(props: React.PropsWithChildren<unknown>): JSX.Element;
|
|
@@ -3,7 +3,6 @@ import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
|
3
3
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
4
|
import type { FileIdentifier } from '@atlaskit/media-client';
|
|
5
5
|
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
6
|
-
import type { FC } from 'react';
|
|
7
6
|
import React from 'react';
|
|
8
7
|
import type { IntlShape, WrappedComponentProps } from 'react-intl-next';
|
|
9
8
|
import type { ClipboardAttrs } from '../../ui/MediaCard';
|
|
@@ -32,8 +31,8 @@ export type MediaInlineProps = {
|
|
|
32
31
|
marks?: Array<Mark>;
|
|
33
32
|
ssr?: MediaSSR;
|
|
34
33
|
};
|
|
35
|
-
export declare const RenderMediaInline:
|
|
36
|
-
declare const _default: FC<import("react-intl-next").WithIntlProps<MediaInlineProps & WrappedComponentProps<"intl"> & MediaInlineAttrs>> & {
|
|
34
|
+
export declare const RenderMediaInline: ({ rendererAppearance, clipboardAttrs, collection: collectionName, eventHandlers, identifier, }: RenderMediaInlineProps) => JSX.Element;
|
|
35
|
+
declare const _default: React.FC<import("react-intl-next").WithIntlProps<MediaInlineProps & WrappedComponentProps<"intl"> & MediaInlineAttrs>> & {
|
|
37
36
|
WrappedComponent: React.ComponentType<MediaInlineProps & WrappedComponentProps<"intl"> & MediaInlineAttrs>;
|
|
38
37
|
};
|
|
39
38
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import React from 'react';
|
|
3
4
|
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
import type { RendererContext } from '../types';
|
|
@@ -21,5 +22,5 @@ export interface Props {
|
|
|
21
22
|
localId?: string;
|
|
22
23
|
marks?: PMMark[];
|
|
23
24
|
}
|
|
24
|
-
declare const MultiBodiedExtension: React.
|
|
25
|
+
declare const MultiBodiedExtension: (props: React.PropsWithChildren<Props>) => jsx.JSX.Element;
|
|
25
26
|
export default MultiBodiedExtension;
|
|
@@ -13,7 +13,7 @@ interface FixedProps {
|
|
|
13
13
|
mode: StickyMode;
|
|
14
14
|
rendererAppearance: RendererAppearance;
|
|
15
15
|
}
|
|
16
|
-
export declare const FixedTableDiv: React.
|
|
16
|
+
export declare const FixedTableDiv: (props: React.PropsWithChildren<FixedProps>) => jsx.JSX.Element;
|
|
17
17
|
export type StickyTableProps = {
|
|
18
18
|
left?: number;
|
|
19
19
|
top?: number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export default function UnknownBlock(props: React.
|
|
2
|
+
export default function UnknownBlock(props: React.PropsWithChildren<unknown>): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { MediaSSR } from '../../types/mediaOptions';
|
|
3
|
-
export declare const EditorMediaClientProvider:
|
|
4
|
-
ssr?: MediaSSR;
|
|
5
|
-
}
|
|
3
|
+
export declare const EditorMediaClientProvider: ({ children, ssr, }: React.PropsWithChildren<{
|
|
4
|
+
ssr?: MediaSSR | undefined;
|
|
5
|
+
}>) => JSX.Element;
|
|
@@ -3,6 +3,7 @@ import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
|
3
3
|
import type { ComponentCrashErrorAEP } from '../../analytics/events';
|
|
4
4
|
interface ErrorBoundaryProps {
|
|
5
5
|
component: ComponentCrashErrorAEP['actionSubject'];
|
|
6
|
+
children: React.ReactNode;
|
|
6
7
|
componentId?: ComponentCrashErrorAEP['actionSubjectId'];
|
|
7
8
|
fallbackComponent?: React.ReactNode;
|
|
8
9
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
@@ -5,8 +5,9 @@ export interface TruncatedWrapperProps {
|
|
|
5
5
|
height?: number;
|
|
6
6
|
fadeHeight?: number;
|
|
7
7
|
backgroundColor?: string;
|
|
8
|
+
children?: React.ReactNode;
|
|
8
9
|
}
|
|
9
|
-
export declare class TruncatedWrapper extends Component<TruncatedWrapperProps,
|
|
10
|
+
export declare class TruncatedWrapper extends Component<TruncatedWrapperProps, unknown> {
|
|
10
11
|
constructor(props: TruncatedWrapperProps);
|
|
11
12
|
render(): jsx.JSX.Element;
|
|
12
13
|
}
|
|
@@ -11,6 +11,6 @@ export type HeadingAnchorLinksConfig = {
|
|
|
11
11
|
allowNestedHeaderLinks?: boolean;
|
|
12
12
|
};
|
|
13
13
|
export type NodeComponentsProps = {
|
|
14
|
-
[key: string]: React.ComponentType<any
|
|
14
|
+
[key: string]: React.ComponentType<React.PropsWithChildren<any>>;
|
|
15
15
|
};
|
|
16
16
|
export type HeadingAnchorLinksProps = boolean | HeadingAnchorLinksConfig;
|
|
@@ -4,8 +4,8 @@ export interface WithSmartCardStorageProps {
|
|
|
4
4
|
smartCardStorage: Map<string, string>;
|
|
5
5
|
}
|
|
6
6
|
export declare const Context: React.Context<Map<string, string>>;
|
|
7
|
-
export declare const Provider: React.
|
|
8
|
-
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<Props
|
|
7
|
+
export declare const Provider: ({ children, }: React.PropsWithChildren<unknown>) => JSX.Element;
|
|
8
|
+
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) => {
|
|
9
9
|
new (props: Diff<Props, WithSmartCardStorageProps> | Readonly<Diff<Props, WithSmartCardStorageProps>>): {
|
|
10
10
|
render(): JSX.Element;
|
|
11
11
|
context: any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Position } from './types';
|
|
2
|
+
import type { Position } from './types';
|
|
3
3
|
import type { AnnotationProviders } from '@atlaskit/editor-common/types';
|
|
4
|
-
import { AnnotationMarkStates } from '@atlaskit/adf-schema';
|
|
5
|
-
type
|
|
4
|
+
import type { AnnotationMarkStates } from '@atlaskit/adf-schema';
|
|
5
|
+
export type AnnotationsDraftContextWrapperChildrenProps = {
|
|
6
6
|
applyAnnotationDraftAt: (position: Position) => void;
|
|
7
7
|
clearAnnotationDraft: () => void;
|
|
8
8
|
};
|
|
9
|
-
export type RenderCallbackType = React.
|
|
9
|
+
export type RenderCallbackType = (props: React.PropsWithChildren<AnnotationsDraftContextWrapperChildrenProps>) => React.ReactNode;
|
|
10
10
|
type Props = {
|
|
11
11
|
children: RenderCallbackType;
|
|
12
12
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import type { ReactNode } from 'react';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { jsx } from '@emotion/react';
|
|
4
5
|
import type { Position } from '../types';
|
|
5
6
|
import { InsertDraftPosition } from '../types';
|
|
6
|
-
export declare const AnnotationDraft: React.
|
|
7
|
+
export declare const AnnotationDraft: ({ draftPosition, children, }: React.PropsWithChildren<{
|
|
7
8
|
draftPosition: Position;
|
|
8
|
-
}
|
|
9
|
+
}>) => jsx.JSX.Element;
|
|
9
10
|
type ApplyAnnotationsProps = {
|
|
10
11
|
texts: string[];
|
|
11
12
|
shouldApplyAnnotationAt: InsertDraftPosition.INSIDE | InsertDraftPosition.START | InsertDraftPosition.END;
|
|
@@ -18,5 +19,5 @@ type Props = {
|
|
|
18
19
|
endPos: number;
|
|
19
20
|
children: ReactNode;
|
|
20
21
|
};
|
|
21
|
-
export declare const TextWithAnnotationDraft:
|
|
22
|
+
export declare const TextWithAnnotationDraft: ({ startPos, endPos, children, }: Props) => jsx.JSX.Element;
|
|
22
23
|
export {};
|
|
@@ -6,5 +6,5 @@ type MarkElementProps = {
|
|
|
6
6
|
dataAttributes: AnnotationDataAttributes;
|
|
7
7
|
annotationType: AnnotationTypes;
|
|
8
8
|
};
|
|
9
|
-
declare const MarkElement: React.
|
|
9
|
+
declare const MarkElement: ({ annotationParentIds, children, dataAttributes, id, }: React.PropsWithChildren<MarkElementProps>) => JSX.Element;
|
|
10
10
|
export { MarkElement };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import type { OnAnnotationClickPayload } from '@atlaskit/editor-common/types';
|
|
3
4
|
import type { AnnotationId, AnnotationDataAttributes } from '@atlaskit/adf-schema';
|
|
4
5
|
import { AnnotationMarkStates } from '@atlaskit/adf-schema';
|
|
@@ -10,5 +11,5 @@ type MarkComponentProps = {
|
|
|
10
11
|
hasFocus: boolean;
|
|
11
12
|
onClick: (props: OnAnnotationClickPayload) => void;
|
|
12
13
|
};
|
|
13
|
-
export declare const MarkComponent: React.
|
|
14
|
+
export declare const MarkComponent: ({ annotationParentIds, children, dataAttributes, id, state, hasFocus, onClick, }: React.PropsWithChildren<MarkComponentProps>) => jsx.JSX.Element;
|
|
14
15
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AnnotationsWrapperProps } from './types';
|
|
3
|
-
export declare const AnnotationsWrapper: React.
|
|
3
|
+
export declare const AnnotationsWrapper: (props: React.PropsWithChildren<AnnotationsWrapperProps>) => JSX.Element;
|
|
4
4
|
export { TextWithAnnotationDraft } from './draft';
|
|
5
5
|
export { MarkElement as AnnotationMark } from './element';
|
|
@@ -5,7 +5,7 @@ import { Position } from '../types';
|
|
|
5
5
|
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
6
6
|
type Props = {
|
|
7
7
|
range: Range;
|
|
8
|
-
component: React.ComponentType<InlineCommentSelectionComponentProps
|
|
8
|
+
component: React.ComponentType<React.PropsWithChildren<InlineCommentSelectionComponentProps>>;
|
|
9
9
|
wrapperDOM: React.RefObject<HTMLDivElement>;
|
|
10
10
|
documentPosition: Position | false;
|
|
11
11
|
isAnnotationAllowed: boolean;
|
|
@@ -16,5 +16,5 @@ type Props = {
|
|
|
16
16
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
17
17
|
generateIndexMatch?: (pos: Position) => false | AnnotationByMatches;
|
|
18
18
|
};
|
|
19
|
-
export declare const SelectionInlineCommentMounter: React.
|
|
19
|
+
export declare const SelectionInlineCommentMounter: React.MemoExoticComponent<(props: React.PropsWithChildren<Props>) => JSX.Element>;
|
|
20
20
|
export {};
|
|
@@ -3,11 +3,11 @@ import { Position } from '../types';
|
|
|
3
3
|
import type { InlineCommentSelectionComponentProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
5
5
|
type Props = {
|
|
6
|
-
selectionComponent: React.ComponentType<InlineCommentSelectionComponentProps
|
|
6
|
+
selectionComponent: React.ComponentType<React.PropsWithChildren<InlineCommentSelectionComponentProps>>;
|
|
7
7
|
rendererRef: React.RefObject<HTMLDivElement>;
|
|
8
8
|
applyAnnotationDraftAt: (position: Position) => void;
|
|
9
9
|
clearAnnotationDraft: () => void;
|
|
10
10
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
11
11
|
};
|
|
12
|
-
export declare const SelectionRangeValidator:
|
|
12
|
+
export declare const SelectionRangeValidator: (props: Props) => JSX.Element | null;
|
|
13
13
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
type Props = {
|
|
4
4
|
rendererRef: React.RefObject<HTMLDivElement>;
|
|
5
5
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
type Props = {
|
|
4
4
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
5
5
|
};
|
|
6
|
-
declare const AnnotationView:
|
|
6
|
+
declare const AnnotationView: (props: Props) => JSX.Element | null;
|
|
7
7
|
export { AnnotationView };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "109.7.
|
|
3
|
+
"version": "109.7.2",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
30
30
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
31
31
|
"@atlaskit/analytics-next": "^9.2.0",
|
|
32
|
-
"@atlaskit/button": "^17.
|
|
32
|
+
"@atlaskit/button": "^17.7.0",
|
|
33
33
|
"@atlaskit/code": "^15.1.0",
|
|
34
34
|
"@atlaskit/editor-common": "^78.11.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/media-client-react": "^2.0.0",
|
|
45
45
|
"@atlaskit/media-common": "^11.0.0",
|
|
46
46
|
"@atlaskit/media-filmstrip": "^47.0.0",
|
|
47
|
-
"@atlaskit/media-ui": "^25.
|
|
47
|
+
"@atlaskit/media-ui": "^25.4.0",
|
|
48
48
|
"@atlaskit/media-viewer": "^48.3.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
50
50
|
"@atlaskit/smart-card": "^26.48.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"uuid": "^3.1.0"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@atlaskit/link-provider": "^1.
|
|
65
|
+
"@atlaskit/link-provider": "^1.8.0",
|
|
66
66
|
"@atlaskit/media-core": "^34.2.0",
|
|
67
67
|
"react": "^16.8.0",
|
|
68
68
|
"react-dom": "^16.8.0"
|
|
@@ -72,9 +72,10 @@
|
|
|
72
72
|
"@af/visual-regression": "*",
|
|
73
73
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
74
74
|
"@atlaskit/css-reset": "^6.6.0",
|
|
75
|
-
"@atlaskit/
|
|
75
|
+
"@atlaskit/editor-test-helpers": "^18.14.0",
|
|
76
|
+
"@atlaskit/link-provider": "^1.8.0",
|
|
76
77
|
"@atlaskit/link-test-helpers": "^6.2.0",
|
|
77
|
-
"@atlaskit/linking-common": "^5.
|
|
78
|
+
"@atlaskit/linking-common": "^5.4.0",
|
|
78
79
|
"@atlaskit/media-core": "^34.2.0",
|
|
79
80
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
80
81
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
@@ -145,4 +146,4 @@
|
|
|
145
146
|
"./use-feature-flags": "./src/use-feature-flags.ts",
|
|
146
147
|
"./utils": "./src/utils.ts"
|
|
147
148
|
}
|
|
148
|
-
}
|
|
149
|
+
}
|