@atlaskit/renderer 112.12.2 → 112.12.3
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 +14 -0
- package/dist/cjs/react/nodes/table.js +6 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/table.js +6 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/table.js +6 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/types/react/marks/annotation.d.ts +2 -2
- package/dist/types/react/marks/backgroundColor.d.ts +2 -2
- package/dist/types/react/marks/code.d.ts +1 -1
- package/dist/types/react/marks/confluence-inline-comment.d.ts +2 -2
- package/dist/types/react/marks/data-consumer.d.ts +2 -2
- package/dist/types/react/marks/em.d.ts +2 -2
- package/dist/types/react/marks/fragment.d.ts +2 -2
- package/dist/types/react/marks/indentation.d.ts +2 -2
- package/dist/types/react/marks/strike.d.ts +2 -2
- package/dist/types/react/marks/strong.d.ts +2 -2
- package/dist/types/react/marks/subsup.d.ts +2 -2
- package/dist/types/react/marks/textColor.d.ts +2 -2
- package/dist/types/react/marks/underline.d.ts +2 -2
- package/dist/types/react/marks/unsupportedMark.d.ts +2 -2
- package/dist/types/react/marks/unsupportedNodeAttribute.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 +1 -1
- package/dist/types/react/nodes/caption.d.ts +2 -2
- package/dist/types/react/nodes/date.d.ts +1 -1
- package/dist/types/react/nodes/decisionItem.d.ts +2 -2
- package/dist/types/react/nodes/decisionList.d.ts +2 -2
- package/dist/types/react/nodes/doc.d.ts +3 -3
- package/dist/types/react/nodes/extension.d.ts +5 -6
- 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.d.ts +2 -2
- 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/layoutSection.d.ts +1 -1
- package/dist/types/react/nodes/listItem.d.ts +1 -1
- package/dist/types/react/nodes/mediaGroup.d.ts +2 -2
- package/dist/types/react/nodes/orderedList.d.ts +1 -1
- package/dist/types/react/nodes/paragraph.d.ts +2 -2
- package/dist/types/react/nodes/placeholder.d.ts +2 -2
- package/dist/types/react/nodes/rule.d.ts +2 -2
- package/dist/types/react/nodes/table/colgroup.d.ts +2 -2
- package/dist/types/react/nodes/table/table.d.ts +1 -1
- package/dist/types/react/nodes/table.d.ts +4 -4
- package/dist/types/react/nodes/tableCell.d.ts +3 -3
- package/dist/types/react/nodes/tableRow.d.ts +1 -1
- package/dist/types/react/nodes/task-item-with-providers.d.ts +2 -2
- package/dist/types/react/nodes/taskItem.d.ts +2 -2
- package/dist/types/react/nodes/taskList.d.ts +2 -2
- package/dist/types/react/nodes/text-wrapper.d.ts +2 -1
- package/dist/types/react/nodes/unknownBlock.d.ts +1 -1
- package/dist/types/react/utils/EditorMediaClientProvider.d.ts +1 -1
- package/dist/types/react/utils/render-text-segments.d.ts +2 -2
- package/dist/types/ui/MediaCard.d.ts +2 -2
- package/dist/types/ui/Renderer/ErrorBoundary.d.ts +1 -1
- package/dist/types/ui/Renderer/breakout-ssr.d.ts +2 -2
- package/dist/types/ui/RendererActionsContext/WithRendererActions.d.ts +2 -2
- package/dist/types/ui/RendererActionsContext/index.d.ts +1 -1
- package/dist/types/ui/SmartCardStorage.d.ts +3 -3
- package/dist/types/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +2 -2
- package/dist/types/ui/active-header-id-provider.d.ts +1 -1
- package/dist/types/ui/annotations/context.d.ts +1 -1
- package/dist/types/ui/annotations/contexts/AnnotationHoverContext.d.ts +1 -1
- package/dist/types/ui/annotations/contexts/AnnotationRangeContext.d.ts +1 -1
- package/dist/types/ui/annotations/element/index.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/index.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/view/index.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/annotation.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/backgroundColor.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/code.d.ts +1 -1
- package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/data-consumer.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/em.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/fragment.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/indentation.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/strike.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/strong.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/subsup.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/textColor.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/underline.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +2 -2
- package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.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 +1 -1
- package/dist/types-ts4.5/react/nodes/caption.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/date.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/decisionList.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/doc.d.ts +3 -3
- package/dist/types-ts4.5/react/nodes/extension.d.ts +5 -6
- 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.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/inlineExtension.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/mediaGroup.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/orderedList.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/paragraph.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/placeholder.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/rule.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/table/table.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/table.d.ts +4 -4
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +3 -3
- package/dist/types-ts4.5/react/nodes/tableRow.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/taskItem.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/taskList.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +2 -1
- package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +1 -1
- package/dist/types-ts4.5/react/utils/EditorMediaClientProvider.d.ts +1 -1
- package/dist/types-ts4.5/react/utils/render-text-segments.d.ts +2 -2
- package/dist/types-ts4.5/ui/MediaCard.d.ts +2 -2
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +2 -2
- package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +2 -2
- package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +3 -3
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +2 -2
- package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/context.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/contexts/AnnotationHoverContext.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/contexts/AnnotationRangeContext.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/element/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/hover/mounter.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/hover/range-validator.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +1 -1
- package/dist/types-ts4.5/ui/annotations/view/index.d.ts +2 -2
- package/package.json +14 -6
|
@@ -50,7 +50,7 @@ export declare class TableContainer extends React.Component<TableProps & Overflo
|
|
|
50
50
|
get pinTop(): number | undefined;
|
|
51
51
|
get shouldAddOverflowParentOffsetTop_DO_NOT_USE(): boolean | null | undefined;
|
|
52
52
|
get stickyTop(): number | undefined;
|
|
53
|
-
render(): JSX.Element;
|
|
53
|
+
render(): React.JSX.Element;
|
|
54
54
|
private grabFirstRowRef;
|
|
55
55
|
}
|
|
56
56
|
type TableProcessorState = {
|
|
@@ -60,7 +60,7 @@ export declare class TableProcessor extends React.Component<TableProps & Overflo
|
|
|
60
60
|
state: {
|
|
61
61
|
tableOrderStatus: undefined;
|
|
62
62
|
};
|
|
63
|
-
render(): JSX.Element | null;
|
|
63
|
+
render(): React.JSX.Element | null;
|
|
64
64
|
private addSortableColumn;
|
|
65
65
|
private changeSortOrder;
|
|
66
66
|
private addNumberColumnIndexes;
|
|
@@ -87,7 +87,7 @@ declare const _default: {
|
|
|
87
87
|
allowTableAlignment?: boolean | undefined;
|
|
88
88
|
allowTableResizing?: boolean | undefined;
|
|
89
89
|
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>): {
|
|
90
|
-
render(): JSX.Element;
|
|
90
|
+
render(): React.JSX.Element;
|
|
91
91
|
context: unknown;
|
|
92
92
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
93
93
|
renderWidth?: number | undefined;
|
|
@@ -210,7 +210,7 @@ declare const _default: {
|
|
|
210
210
|
allowTableAlignment?: boolean | undefined;
|
|
211
211
|
allowTableResizing?: boolean | undefined;
|
|
212
212
|
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>, context: any): {
|
|
213
|
-
render(): JSX.Element;
|
|
213
|
+
render(): React.JSX.Element;
|
|
214
214
|
context: unknown;
|
|
215
215
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
216
216
|
renderWidth?: number | undefined;
|
|
@@ -18,7 +18,7 @@ export type CellWithSortingProps = CellProps & {
|
|
|
18
18
|
sortOrdered?: SortOrder;
|
|
19
19
|
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
20
20
|
};
|
|
21
|
-
export declare const withSortableColumn: (WrapperComponent: React.ElementType) => (props: CellWithSortingProps) => JSX.Element;
|
|
22
|
-
export declare const TableHeader: (props: CellWithSortingProps) => JSX.Element;
|
|
23
|
-
export declare const TableCell: (props: CellProps) => JSX.Element;
|
|
21
|
+
export declare const withSortableColumn: (WrapperComponent: React.ElementType) => (props: CellWithSortingProps) => React.JSX.Element;
|
|
22
|
+
export declare const TableHeader: (props: CellWithSortingProps) => React.JSX.Element;
|
|
23
|
+
export declare const TableCell: (props: CellProps) => React.JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -19,6 +19,6 @@ export default class TableRow extends React.Component<Props, State> {
|
|
|
19
19
|
state: State;
|
|
20
20
|
addSortableColumn: (childrenArray: React.ReactNode[]) => React.ReactNode[];
|
|
21
21
|
addColGroupWidth: (childrenArray: React.ReactNode[]) => React.ReactNode[];
|
|
22
|
-
render(): JSX.Element;
|
|
22
|
+
render(): React.JSX.Element;
|
|
23
23
|
}
|
|
24
24
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
3
|
import { type ContentRef, type TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
4
4
|
interface Props {
|
|
@@ -17,5 +17,5 @@ interface Props {
|
|
|
17
17
|
[key: string]: string | number;
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
export default function TaskItemWithProviders(props: Props): JSX.Element;
|
|
20
|
+
export default function TaskItemWithProviders(props: Props): React.JSX.Element;
|
|
21
21
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PureComponent, type ReactNode } from 'react';
|
|
1
|
+
import React, { PureComponent, type ReactNode } from 'react';
|
|
2
2
|
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
3
|
import { type RendererContext, type NodeProps } from '../types';
|
|
4
4
|
export interface Props {
|
|
@@ -14,5 +14,5 @@ export default class TaskItem extends PureComponent<NodeProps<Props>, Object> {
|
|
|
14
14
|
constructor(props: NodeProps<Props>);
|
|
15
15
|
componentWillUnmount(): void;
|
|
16
16
|
private renderWithProvider;
|
|
17
|
-
render(): JSX.Element;
|
|
17
|
+
render(): React.JSX.Element;
|
|
18
18
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PureComponent, type ReactNode } from 'react';
|
|
1
|
+
import React, { PureComponent, type ReactNode } from 'react';
|
|
2
2
|
export interface Props {
|
|
3
3
|
localId?: string;
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
}
|
|
6
6
|
export default class TaskList extends PureComponent<Props, Object> {
|
|
7
|
-
render(): JSX.Element | null;
|
|
7
|
+
render(): React.JSX.Element | null;
|
|
8
8
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import type { TextHighlighter } from '../types';
|
|
3
4
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
5
|
type Props = {
|
|
@@ -8,5 +9,5 @@ type Props = {
|
|
|
8
9
|
textHighlighter?: TextHighlighter;
|
|
9
10
|
marks?: readonly Mark[];
|
|
10
11
|
};
|
|
11
|
-
declare const TextWrapper: (props: Props) => JSX.Element | null;
|
|
12
|
+
declare const TextWrapper: (props: Props) => React.JSX.Element | null;
|
|
12
13
|
export default TextWrapper;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export default function UnknownBlock(props: React.PropsWithChildren<unknown>): JSX.Element;
|
|
2
|
+
export default function UnknownBlock(props: React.PropsWithChildren<unknown>): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { TextSegment } from './segment-text';
|
|
4
4
|
import type { TextHighlighter } from '../types';
|
|
5
|
-
export declare function renderTextSegments(segments: Array<TextSegment>, textHighlighter: TextHighlighter | undefined, marksList: readonly Mark[], startPos: number): string | JSX.Element;
|
|
5
|
+
export declare function renderTextSegments(segments: Array<TextSegment>, textHighlighter: TextHighlighter | undefined, marksList: readonly Mark[], startPos: number): string | React.JSX.Element;
|
|
@@ -64,7 +64,7 @@ export declare class MediaCardView extends Component<MediaCardProps & {
|
|
|
64
64
|
* we don't want that to happened described above text.
|
|
65
65
|
*/
|
|
66
66
|
private getOnCardClickCallback;
|
|
67
|
-
render(): JSX.Element | null;
|
|
67
|
+
render(): React.JSX.Element | null;
|
|
68
68
|
}
|
|
69
69
|
export type ClipboardAttrs = {
|
|
70
70
|
id: string;
|
|
@@ -77,6 +77,6 @@ export type ClipboardAttrs = {
|
|
|
77
77
|
export declare const getClipboardAttrs: ({ id, alt, collection, contextIdentifierProvider, originalDimensions, fileState, }: ClipboardAttrs) => {
|
|
78
78
|
[key: string]: string | number | undefined;
|
|
79
79
|
};
|
|
80
|
-
export declare const MediaCardInternal: (props: MediaCardProps) => JSX.Element;
|
|
80
|
+
export declare const MediaCardInternal: (props: MediaCardProps) => React.JSX.Element;
|
|
81
81
|
export declare const MediaCard: React.ComponentClass<MediaCardProps & import("@atlaskit/editor-common/utils").ImageLoaderProps, any>;
|
|
82
82
|
export {};
|
|
@@ -23,6 +23,6 @@ export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, E
|
|
|
23
23
|
private hasFallback;
|
|
24
24
|
private shouldRecover;
|
|
25
25
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
26
|
-
render(): string | number | boolean | React.
|
|
26
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
declare global {
|
|
3
3
|
interface Window {
|
|
4
4
|
__RENDERER_BYPASS_BREAKOUT_SSR__?: boolean;
|
|
@@ -12,7 +12,7 @@ declare global {
|
|
|
12
12
|
*/
|
|
13
13
|
export declare function BreakoutSSRInlineScript({ noOpSSRInlineScript }: {
|
|
14
14
|
noOpSSRInlineScript: Boolean;
|
|
15
|
-
}): JSX.Element | null;
|
|
15
|
+
}): React.JSX.Element | null;
|
|
16
16
|
export declare function createBreakoutInlineScript(id: number): string;
|
|
17
17
|
export declare const breakoutInlineScriptContext: string;
|
|
18
18
|
export declare const calcLineLength: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import type RendererActions from '../../actions/index';
|
|
3
3
|
interface WithRendererActionsProps {
|
|
4
4
|
render(actions: RendererActions): ReactNode | null;
|
|
5
5
|
}
|
|
6
|
-
export declare function WithRendererActions({ render }: WithRendererActionsProps): JSX.Element;
|
|
6
|
+
export declare function WithRendererActions({ render }: WithRendererActionsProps): React.JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -4,6 +4,6 @@ export declare const RendererContext: React.Context<RendererActions>;
|
|
|
4
4
|
type RendererActionsContextProps = PropsWithChildren<{
|
|
5
5
|
context?: RendererActions;
|
|
6
6
|
}>;
|
|
7
|
-
export declare function RendererActionsContext({ children, context }: RendererActionsContextProps): JSX.Element;
|
|
7
|
+
export declare function RendererActionsContext({ children, context }: RendererActionsContextProps): React.JSX.Element;
|
|
8
8
|
export declare const RendererActionsContextConsumer: React.Consumer<RendererActions>;
|
|
9
9
|
export {};
|
|
@@ -4,10 +4,10 @@ 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: ({ children }: React.PropsWithChildren<unknown>) => JSX.Element;
|
|
7
|
+
export declare const Provider: ({ children }: React.PropsWithChildren<unknown>) => React.JSX.Element;
|
|
8
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
|
-
render(): JSX.Element;
|
|
10
|
+
render(): React.JSX.Element;
|
|
11
11
|
context: unknown;
|
|
12
12
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
13
13
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -30,7 +30,7 @@ export declare const withSmartCardStorage: <Props extends WithSmartCardStoragePr
|
|
|
30
30
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
31
31
|
};
|
|
32
32
|
new (props: Diff<Props, WithSmartCardStorageProps>, context: any): {
|
|
33
|
-
render(): JSX.Element;
|
|
33
|
+
render(): React.JSX.Element;
|
|
34
34
|
context: unknown;
|
|
35
35
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
36
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
@@ -7,9 +7,9 @@ type TaskItemsStateContext = [
|
|
|
7
7
|
type TaskItemsFormatReducerAction = boolean | undefined;
|
|
8
8
|
export declare function TaskItemsFormatProvider({ children }: {
|
|
9
9
|
children: ReactNode;
|
|
10
|
-
}): JSX.Element;
|
|
10
|
+
}): React.JSX.Element;
|
|
11
11
|
export declare function useTaskItemsFormatContext(): TaskItemsStateContext;
|
|
12
12
|
export declare function TaskItemsFormatConsumer({ children, }: {
|
|
13
13
|
children: ([isChecked, dispatch]: TaskItemsStateContext) => ReactNode;
|
|
14
|
-
}): JSX.Element;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -14,5 +14,5 @@ type Props = {
|
|
|
14
14
|
* By exposing `onNestedHeaderIdMatch` here we can control when will consumers be notified:
|
|
15
15
|
* only when a `newActiveHeaderId` comes in from the Provider and the list of header ids includes it.
|
|
16
16
|
*/
|
|
17
|
-
declare const ActiveHeaderIdConsumer: ({ nestedHeaderIds, onNestedHeaderIdMatch }: Props) => JSX.Element;
|
|
17
|
+
declare const ActiveHeaderIdConsumer: ({ nestedHeaderIds, onNestedHeaderIdMatch }: Props) => React.JSX.Element;
|
|
18
18
|
export { Provider as ActiveHeaderIdProvider, ActiveHeaderIdConsumer };
|
|
@@ -22,7 +22,7 @@ export declare class AnnotationsDraftContextWrapper extends React.Component<Prop
|
|
|
22
22
|
state: {
|
|
23
23
|
position: null;
|
|
24
24
|
};
|
|
25
|
-
render(): JSX.Element;
|
|
25
|
+
render(): React.JSX.Element;
|
|
26
26
|
applyAnnotationDraftAt: (nextPosition: Position) => void;
|
|
27
27
|
clearAnnotationDraft: () => void;
|
|
28
28
|
}
|
|
@@ -12,7 +12,7 @@ declare const AnnotationHoverStateContext: React.Context<AnnotationHoverStateCon
|
|
|
12
12
|
declare const AnnotationHoverDispatchContext: React.Context<AnnotationHoverDispatchContext>;
|
|
13
13
|
export declare const AnnotationHoverContext: ({ children }: {
|
|
14
14
|
children?: ReactNode;
|
|
15
|
-
}) => JSX.Element;
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
16
|
export declare const useAnnotationHoverContext: () => AnnotationHoverStateContext;
|
|
17
17
|
export declare const useAnnotationHoverDispatch: () => AnnotationHoverDispatchContext;
|
|
18
18
|
export {};
|
|
@@ -20,7 +20,7 @@ declare const AnnotationRangeDispatchContext: React.Context<AnnotationRangeDispa
|
|
|
20
20
|
export declare const AnnotationRangeProvider: ({ children, allowCommentsOnMedia, }: {
|
|
21
21
|
children?: ReactNode;
|
|
22
22
|
allowCommentsOnMedia?: boolean | undefined;
|
|
23
|
-
}) => JSX.Element;
|
|
23
|
+
}) => React.JSX.Element;
|
|
24
24
|
export declare const useAnnotationRangeState: () => AnnotationRangeStateContext;
|
|
25
25
|
export declare const useAnnotationRangeDispatch: () => AnnotationRangeDispatchContext;
|
|
26
26
|
export {};
|
|
@@ -7,5 +7,5 @@ type MarkElementProps = React.PropsWithChildren<{
|
|
|
7
7
|
annotationType: AnnotationTypes;
|
|
8
8
|
useBlockLevel?: boolean;
|
|
9
9
|
}>;
|
|
10
|
-
declare const MarkElement: ({ annotationParentIds, children, dataAttributes, id, useBlockLevel, }: MarkElementProps) => JSX.Element;
|
|
10
|
+
declare const MarkElement: ({ annotationParentIds, children, dataAttributes, id, useBlockLevel, }: MarkElementProps) => React.JSX.Element;
|
|
11
11
|
export { MarkElement };
|
|
@@ -17,5 +17,5 @@ type Props = {
|
|
|
17
17
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
18
18
|
generateIndexMatch?: (pos: Position) => false | AnnotationByMatches;
|
|
19
19
|
};
|
|
20
|
-
export declare const Mounter: React.MemoExoticComponent<(props: Props) => JSX.Element>;
|
|
20
|
+
export declare const Mounter: React.MemoExoticComponent<(props: Props) => React.JSX.Element>;
|
|
21
21
|
export {};
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
clearAnnotationDraft: () => void;
|
|
10
10
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
11
11
|
};
|
|
12
|
-
export declare const RangeValidator: (props: Props) => JSX.Element | null;
|
|
12
|
+
export declare const RangeValidator: (props: Props) => React.JSX.Element | null;
|
|
13
13
|
export {};
|
|
@@ -3,4 +3,4 @@ import { type AnnotationsWrapperProps } from './types';
|
|
|
3
3
|
export declare const AnnotationsPositionContext: React.Context<{
|
|
4
4
|
startPos: number;
|
|
5
5
|
}>;
|
|
6
|
-
export declare const AnnotationsWrapper: (props: AnnotationsWrapperProps) => JSX.Element;
|
|
6
|
+
export declare const AnnotationsWrapper: (props: AnnotationsWrapperProps) => React.JSX.Element;
|
|
@@ -17,5 +17,5 @@ type Props = {
|
|
|
17
17
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
18
18
|
generateIndexMatch?: (pos: Position) => false | AnnotationByMatches;
|
|
19
19
|
};
|
|
20
|
-
export declare const SelectionInlineCommentMounter: React.MemoExoticComponent<(props: React.PropsWithChildren<Props>) => JSX.Element>;
|
|
20
|
+
export declare const SelectionInlineCommentMounter: React.MemoExoticComponent<(props: React.PropsWithChildren<Props>) => React.JSX.Element>;
|
|
21
21
|
export {};
|
|
@@ -9,5 +9,5 @@ type Props = {
|
|
|
9
9
|
clearAnnotationDraft: () => void;
|
|
10
10
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
11
11
|
};
|
|
12
|
-
export declare const SelectionRangeValidator: (props: Props) => JSX.Element | null;
|
|
12
|
+
export declare const SelectionRangeValidator: (props: Props) => React.JSX.Element | null;
|
|
13
13
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { type CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
type Props = {
|
|
4
4
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
5
5
|
isNestedRender: boolean;
|
|
6
6
|
};
|
|
7
|
-
declare const AnnotationView: (props: Props) => JSX.Element | null;
|
|
7
|
+
declare const AnnotationView: (props: Props) => React.JSX.Element | null;
|
|
8
8
|
export { AnnotationView };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "112.12.
|
|
3
|
+
"version": "112.12.3",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"@atlaskit/analytics-listeners": "^8.14.0",
|
|
28
28
|
"@atlaskit/analytics-namespaced-context": "^6.13.0",
|
|
29
29
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
30
|
-
"@atlaskit/button": "^20.
|
|
30
|
+
"@atlaskit/button": "^20.5.0",
|
|
31
31
|
"@atlaskit/code": "^15.7.0",
|
|
32
|
-
"@atlaskit/editor-common": "^99.
|
|
32
|
+
"@atlaskit/editor-common": "^99.9.0",
|
|
33
33
|
"@atlaskit/editor-json-transformer": "^8.22.0",
|
|
34
34
|
"@atlaskit/editor-palette": "1.7.0",
|
|
35
35
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
36
36
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
37
37
|
"@atlaskit/emoji": "^67.13.0",
|
|
38
38
|
"@atlaskit/feature-gate-js-client": "^4.23.0",
|
|
39
|
-
"@atlaskit/icon": "^23.
|
|
39
|
+
"@atlaskit/icon": "^23.7.0",
|
|
40
40
|
"@atlaskit/link-datasource": "^3.18.0",
|
|
41
41
|
"@atlaskit/media-card": "^78.19.0",
|
|
42
42
|
"@atlaskit/media-client": "^31.1.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/status": "^1.9.0",
|
|
51
51
|
"@atlaskit/task-decision": "^17.12.0",
|
|
52
52
|
"@atlaskit/theme": "^14.1.0",
|
|
53
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
53
|
+
"@atlaskit/tmp-editor-statsig": "^2.42.0",
|
|
54
54
|
"@atlaskit/tokens": "^3.3.0",
|
|
55
55
|
"@atlaskit/tooltip": "^19.1.0",
|
|
56
56
|
"@atlaskit/visually-hidden": "^1.6.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@atlaskit/css-reset": "^6.11.0",
|
|
77
77
|
"@atlaskit/link-provider": "^1.19.0",
|
|
78
78
|
"@atlaskit/link-test-helpers": "^7.6.0",
|
|
79
|
-
"@atlaskit/linking-common": "^6.
|
|
79
|
+
"@atlaskit/linking-common": "^6.3.0",
|
|
80
80
|
"@atlaskit/media-core": "^34.5.0",
|
|
81
81
|
"@atlaskit/media-integration-test-helpers": "^3.1.0",
|
|
82
82
|
"@atlaskit/media-test-helpers": "^34.8.0",
|
|
@@ -185,6 +185,14 @@
|
|
|
185
185
|
},
|
|
186
186
|
"platform_editor_renderer_table_header_styles": {
|
|
187
187
|
"type": "boolean"
|
|
188
|
+
},
|
|
189
|
+
"platform-linking-visual-refresh-v1": {
|
|
190
|
+
"type": "boolean",
|
|
191
|
+
"referenceOnly": true
|
|
192
|
+
},
|
|
193
|
+
"bandicoots-compiled-migration-smartcard": {
|
|
194
|
+
"type": "boolean",
|
|
195
|
+
"referenceOnly": true
|
|
188
196
|
}
|
|
189
197
|
},
|
|
190
198
|
"af:exports": {
|