@atlaskit/renderer 92.0.0 → 93.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +75 -0
- package/dist/cjs/analytics/enums.js +1 -0
- package/dist/cjs/i18n/en.js +28 -0
- package/dist/cjs/i18n/en_GB.js +28 -0
- package/dist/cjs/i18n/pl.js +7 -1
- package/dist/cjs/i18n/pt_BR.js +1 -1
- package/dist/cjs/react/marks/alignment.js +11 -12
- package/dist/cjs/react/marks/breakout.js +7 -9
- package/dist/cjs/react/marks/link.js +13 -6
- package/dist/cjs/react/nodes/codeBlock.js +1 -1
- package/dist/cjs/react/nodes/codeBlockCopyButton.js +13 -11
- package/dist/cjs/react/nodes/embedCard.js +25 -33
- package/dist/cjs/react/nodes/heading-anchor.js +7 -6
- package/dist/cjs/react/nodes/mediaSingle/index.js +15 -4
- package/dist/cjs/react/nodes/mediaSingle/styles.js +7 -10
- package/dist/cjs/react/nodes/panel.js +36 -20
- package/dist/cjs/react/nodes/table/sticky.js +51 -54
- package/dist/cjs/react/nodes/table.js +2 -10
- package/dist/cjs/react/utils/performance/RenderTracking.js +52 -0
- package/dist/cjs/render-document.js +2 -2
- package/dist/cjs/text/index.js +2 -2
- package/dist/cjs/ui/Expand.js +40 -20
- package/dist/cjs/ui/MediaCard.js +4 -14
- package/dist/cjs/ui/Renderer/click-to-edit.js +4 -4
- package/dist/cjs/ui/Renderer/index.js +39 -50
- package/dist/cjs/ui/Renderer/style.js +58 -63
- package/dist/cjs/ui/Renderer/truncated-wrapper.js +19 -21
- package/dist/cjs/ui/SortingIcon.js +8 -9
- package/dist/cjs/ui/renderer-props.js +1 -3
- package/dist/cjs/utils.js +2 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/analytics/enums.js +1 -0
- package/dist/es2019/i18n/en.js +20 -0
- package/dist/es2019/i18n/en_GB.js +20 -0
- package/dist/es2019/i18n/pl.js +7 -1
- package/dist/es2019/i18n/pt_BR.js +1 -1
- package/dist/es2019/react/marks/alignment.js +15 -7
- package/dist/es2019/react/marks/breakout.js +6 -5
- package/dist/es2019/react/marks/link.js +8 -5
- package/dist/es2019/react/nodes/codeBlock.js +1 -1
- package/dist/es2019/react/nodes/codeBlockCopyButton.js +12 -9
- package/dist/es2019/react/nodes/embedCard.js +16 -16
- package/dist/es2019/react/nodes/heading-anchor.js +9 -6
- package/dist/es2019/react/nodes/mediaSingle/index.js +10 -6
- package/dist/es2019/react/nodes/mediaSingle/styles.js +6 -7
- package/dist/es2019/react/nodes/panel.js +38 -18
- package/dist/es2019/react/nodes/table/sticky.js +48 -41
- package/dist/es2019/react/nodes/table.js +2 -5
- package/dist/es2019/react/utils/performance/RenderTracking.js +37 -0
- package/dist/es2019/render-document.js +1 -1
- package/dist/es2019/text/index.js +1 -1
- package/dist/es2019/ui/Expand.js +52 -28
- package/dist/es2019/ui/MediaCard.js +3 -6
- package/dist/es2019/ui/Renderer/click-to-edit.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +38 -43
- package/dist/es2019/ui/Renderer/style.js +363 -337
- package/dist/es2019/ui/Renderer/truncated-wrapper.js +26 -15
- package/dist/es2019/ui/SortingIcon.js +9 -7
- package/dist/es2019/ui/renderer-props.js +1 -1
- package/dist/es2019/utils.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/analytics/enums.js +1 -0
- package/dist/esm/i18n/en.js +20 -0
- package/dist/esm/i18n/en_GB.js +20 -0
- package/dist/esm/i18n/pl.js +7 -1
- package/dist/esm/i18n/pt_BR.js +1 -1
- package/dist/esm/react/marks/alignment.js +13 -6
- package/dist/esm/react/marks/breakout.js +6 -5
- package/dist/esm/react/marks/link.js +7 -5
- package/dist/esm/react/nodes/codeBlock.js +1 -1
- package/dist/esm/react/nodes/codeBlockCopyButton.js +10 -7
- package/dist/esm/react/nodes/embedCard.js +19 -19
- package/dist/esm/react/nodes/heading-anchor.js +8 -6
- package/dist/esm/react/nodes/mediaSingle/index.js +11 -6
- package/dist/esm/react/nodes/mediaSingle/styles.js +5 -7
- package/dist/esm/react/nodes/panel.js +34 -17
- package/dist/esm/react/nodes/table/sticky.js +53 -52
- package/dist/esm/react/nodes/table.js +2 -8
- package/dist/esm/react/utils/performance/RenderTracking.js +39 -0
- package/dist/esm/render-document.js +1 -1
- package/dist/esm/text/index.js +1 -1
- package/dist/esm/ui/Expand.js +45 -21
- package/dist/esm/ui/MediaCard.js +3 -9
- package/dist/esm/ui/Renderer/click-to-edit.js +1 -1
- package/dist/esm/ui/Renderer/index.js +39 -47
- package/dist/esm/ui/Renderer/style.js +56 -57
- package/dist/esm/ui/Renderer/truncated-wrapper.js +20 -14
- package/dist/esm/ui/SortingIcon.js +9 -7
- package/dist/esm/ui/renderer-props.js +1 -1
- package/dist/esm/utils.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/analytics/enums.d.ts +1 -0
- package/dist/types/analytics/events.d.ts +7 -2
- package/dist/types/i18n/en.d.ts +20 -0
- package/dist/types/i18n/en_GB.d.ts +20 -0
- package/dist/types/i18n/pl.d.ts +6 -0
- package/dist/types/react/marks/alignment.d.ts +2 -2
- package/dist/types/react/marks/breakout.d.ts +4 -3
- package/dist/types/react/marks/link.d.ts +2 -2
- package/dist/types/react/nodes/embedCard.d.ts +3 -2
- package/dist/types/react/nodes/heading-anchor.d.ts +1 -0
- package/dist/types/react/nodes/media.d.ts +1 -1
- package/dist/types/react/nodes/mediaSingle/index.d.ts +1 -0
- package/dist/types/react/nodes/mediaSingle/styles.d.ts +2 -3
- package/dist/types/react/nodes/panel.d.ts +3 -1
- package/dist/types/react/nodes/table/sticky.d.ts +4 -2
- package/dist/types/react/utils/performance/RenderTracking.d.ts +15 -0
- package/dist/types/ui/Expand.d.ts +2 -2
- package/dist/types/ui/MediaCard.d.ts +1 -3
- package/dist/types/ui/Renderer/index.d.ts +0 -25
- package/dist/types/ui/Renderer/style.d.ts +1 -4
- package/dist/types/ui/Renderer/truncated-wrapper.d.ts +3 -1
- package/dist/types/ui/SortingIcon.d.ts +3 -3
- package/dist/types/ui/renderer-props.d.ts +14 -2
- package/package.json +22 -24
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
3
4
|
import { MarkProps } from '../types';
|
|
4
|
-
export declare const
|
|
5
|
-
export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): JSX.Element;
|
|
5
|
+
export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
|
|
6
|
+
export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): jsx.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
2
|
import { LinkAttributes } from '@atlaskit/adf-schema';
|
|
3
3
|
import { MarkProps } from '../types';
|
|
4
4
|
interface LinkProps extends LinkAttributes {
|
|
5
5
|
target?: string;
|
|
6
6
|
isMediaLink?: boolean;
|
|
7
7
|
}
|
|
8
|
-
export default function Link(props: MarkProps<LinkProps>): JSX.Element;
|
|
8
|
+
export default function Link(props: MarkProps<LinkProps>): jsx.JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
2
3
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
3
4
|
import { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
4
5
|
import { RendererAppearance } from '../../ui/Renderer/types';
|
|
@@ -14,4 +15,4 @@ export default function EmbedCard(props: {
|
|
|
14
15
|
rendererAppearance?: RendererAppearance;
|
|
15
16
|
isInsideOfBlockNode?: boolean;
|
|
16
17
|
allowDynamicTextSizing?: boolean;
|
|
17
|
-
}): JSX.Element;
|
|
18
|
+
}): jsx.JSX.Element;
|
|
@@ -6,7 +6,7 @@ import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
|
6
6
|
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import { MediaCardProps } from '../../ui/MediaCard';
|
|
8
8
|
import { LinkDefinition } from '@atlaskit/adf-schema';
|
|
9
|
-
import { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
9
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
10
10
|
import { AnalyticsEventPayload } from '../../analytics/events';
|
|
11
11
|
export declare type MediaProps = MediaCardProps & {
|
|
12
12
|
providers?: ProviderFactory;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
}>;
|
|
1
|
+
export declare const uiMediaSingleBaseStyles: import("@emotion/react").SerializedStyles;
|
|
2
|
+
export declare const uiMediaSingleLayoutStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import { PanelType } from '@atlaskit/adf-schema';
|
|
3
5
|
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
6
|
export interface Props {
|
|
@@ -11,5 +13,5 @@ export interface Props {
|
|
|
11
13
|
panelIconText?: string;
|
|
12
14
|
panelColor?: string;
|
|
13
15
|
}
|
|
14
|
-
declare const Panel: (props: Props) => JSX.Element;
|
|
16
|
+
declare const Panel: (props: Props) => jsx.JSX.Element;
|
|
15
17
|
export default Panel;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
1
2
|
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
2
4
|
import type { OverflowShadowProps } from '@atlaskit/editor-common/ui';
|
|
3
5
|
import { TableLayout } from '@atlaskit/adf-schema';
|
|
4
6
|
export declare type StickyMode = 'none' | 'stick' | 'pin-bottom';
|
|
@@ -8,7 +10,7 @@ interface FixedProps {
|
|
|
8
10
|
wrapperWidth: number;
|
|
9
11
|
mode: StickyMode;
|
|
10
12
|
}
|
|
11
|
-
export declare const FixedTableDiv:
|
|
13
|
+
export declare const FixedTableDiv: React.FC<FixedProps>;
|
|
12
14
|
export declare type StickyTableProps = {
|
|
13
15
|
left?: number;
|
|
14
16
|
top?: number;
|
|
@@ -24,7 +26,7 @@ export declare type StickyTableProps = {
|
|
|
24
26
|
renderWidth: number;
|
|
25
27
|
allowDynamicTextSizing?: boolean;
|
|
26
28
|
} & OverflowShadowProps;
|
|
27
|
-
export declare const StickyTable: ({ top, left, mode, shadowClassNames, innerRef, wrapperWidth, tableWidth, isNumberColumnEnabled, layout, children, columnWidths, renderWidth, allowDynamicTextSizing, rowHeight, }: StickyTableProps) => JSX.Element;
|
|
29
|
+
export declare const StickyTable: ({ top, left, mode, shadowClassNames, innerRef, wrapperWidth, tableWidth, isNumberColumnEnabled, layout, children, columnWidths, renderWidth, allowDynamicTextSizing, rowHeight, }: StickyTableProps) => jsx.JSX.Element;
|
|
28
30
|
export declare class OverflowParent {
|
|
29
31
|
private ref;
|
|
30
32
|
private constructor();
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '../../../analytics/events';
|
|
2
|
+
import { ACTION_SUBJECT, ACTION } from '../../../analytics/enums';
|
|
3
|
+
export declare type FireAnalyticsCallback = <T = void>(payload: AnalyticsEventPayload<T>) => void | undefined;
|
|
4
|
+
declare type RenderActions = ACTION.RE_RENDERED;
|
|
5
|
+
declare type RenderActionSubjects = ACTION_SUBJECT.RENDERER;
|
|
6
|
+
export declare type RenderTrackingProps<ComponentProps> = {
|
|
7
|
+
componentProps: ComponentProps;
|
|
8
|
+
action: RenderActions;
|
|
9
|
+
actionSubject: RenderActionSubjects;
|
|
10
|
+
handleAnalyticsEvent: FireAnalyticsCallback;
|
|
11
|
+
propsToIgnore?: Array<keyof ComponentProps>;
|
|
12
|
+
useShallow?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare function RenderTracking<Props>(props: RenderTrackingProps<Props>): null;
|
|
15
|
+
export {};
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { AnalyticsEventPayload } from '../analytics/events';
|
|
4
4
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
5
|
-
export
|
|
5
|
+
export declare type StyleProps = {
|
|
6
6
|
expanded?: boolean;
|
|
7
7
|
focused?: boolean;
|
|
8
8
|
'data-node-type'?: 'expand' | 'nestedExpand';
|
|
9
9
|
'data-title'?: string;
|
|
10
|
-
}
|
|
10
|
+
};
|
|
11
11
|
export interface ExpandProps {
|
|
12
12
|
title: string;
|
|
13
13
|
nodeType: 'expand' | 'nestedExpand';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Component } from 'react';
|
|
1
|
+
import React, { Component } from 'react';
|
|
3
2
|
import { ADFEntity } from '@atlaskit/adf-utils';
|
|
4
3
|
import { CardAppearance, CardDimensions, CardOnClickCallback, NumericalCardDimensions } from '@atlaskit/media-card';
|
|
5
4
|
import { MediaClientConfig } from '@atlaskit/media-core';
|
|
@@ -65,7 +64,6 @@ export declare class MediaCardInternal extends Component<MediaCardProps, State>
|
|
|
65
64
|
private getOnCardClickCallback;
|
|
66
65
|
render(): JSX.Element | null;
|
|
67
66
|
}
|
|
68
|
-
export declare const CardWrapper: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
69
67
|
export declare const getClipboardAttrs: ({ id, alt, collection, contextIdentifierProvider, originalDimensions, fileState, }: {
|
|
70
68
|
id: string;
|
|
71
69
|
alt?: string | undefined;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
1
|
import { jsx } from '@emotion/react';
|
|
4
2
|
import { PureComponent } from 'react';
|
|
5
|
-
import { RendererAppearance } from './types';
|
|
6
3
|
import { RendererProps } from '../renderer-props';
|
|
7
4
|
export declare const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
8
5
|
export declare const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
@@ -31,27 +28,5 @@ export declare class Renderer extends PureComponent<RendererProps> {
|
|
|
31
28
|
render(): jsx.JSX.Element;
|
|
32
29
|
componentWillUnmount(): void;
|
|
33
30
|
}
|
|
34
|
-
declare type RendererWrapperProps = {
|
|
35
|
-
appearance: RendererAppearance;
|
|
36
|
-
dynamicTextSizing: boolean;
|
|
37
|
-
innerRef?: React.RefObject<HTMLDivElement>;
|
|
38
|
-
allowColumnSorting?: boolean;
|
|
39
|
-
allowCopyToClipboard?: boolean;
|
|
40
|
-
allowPlaceholderText?: boolean;
|
|
41
|
-
allowCustomPanels?: boolean;
|
|
42
|
-
allowNestedHeaderLinks: boolean;
|
|
43
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
44
|
-
onMouseDown?: (event: React.MouseEvent) => void;
|
|
45
|
-
} & {
|
|
46
|
-
children?: React.ReactNode;
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* When the product doesn't provide a IframeWidthObserverFallbackWrapper,
|
|
50
|
-
* we will give one to the renderer,
|
|
51
|
-
*
|
|
52
|
-
* so if we have more than one `WidthProvider` on the content,
|
|
53
|
-
* only one iframe will be created on the older browsers.
|
|
54
|
-
*/
|
|
55
|
-
export declare function RendererWrapper(props: RendererWrapperProps): jsx.JSX.Element;
|
|
56
31
|
declare const RendererWithAnnotationSelection: (props: RendererProps) => jsx.JSX.Element;
|
|
57
32
|
export default RendererWithAnnotationSelection;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { HTMLAttributes } from 'react';
|
|
2
1
|
import { Theme } from '@emotion/react';
|
|
3
2
|
import { RendererAppearance } from './types';
|
|
4
3
|
export declare const FullPagePadding = 32;
|
|
5
4
|
export declare type RendererWrapperProps = {
|
|
6
5
|
appearance?: RendererAppearance;
|
|
7
|
-
theme?: any;
|
|
8
6
|
allowNestedHeaderLinks: boolean;
|
|
9
7
|
allowColumnSorting: boolean;
|
|
10
8
|
};
|
|
@@ -13,5 +11,4 @@ export declare const headingSizes: {
|
|
|
13
11
|
[key: string]: number;
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
export declare const rendererStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
17
|
-
export declare const DeprecatedWrapper: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & RendererWrapperProps & HTMLAttributes<{}>, any, import("react").ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & RendererWrapperProps & HTMLAttributes<{}>>;
|
|
14
|
+
export declare const rendererStyles: (wrapperProps: RendererWrapperProps) => (theme: Theme) => import("@emotion/react").SerializedStyles;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import { jsx } from '@emotion/react';
|
|
1
3
|
import { Component } from 'react';
|
|
2
4
|
export interface TruncatedWrapperProps {
|
|
3
5
|
height?: number;
|
|
@@ -6,5 +8,5 @@ export interface TruncatedWrapperProps {
|
|
|
6
8
|
}
|
|
7
9
|
export declare class TruncatedWrapper extends Component<TruncatedWrapperProps, {}> {
|
|
8
10
|
constructor(props: TruncatedWrapperProps);
|
|
9
|
-
render(): JSX.Element;
|
|
11
|
+
render(): jsx.JSX.Element;
|
|
10
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
3
3
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export declare const TableSortIconDataUrl: string;
|
|
@@ -12,7 +12,7 @@ declare type Props = {
|
|
|
12
12
|
isSortingAllowed: boolean;
|
|
13
13
|
sortOrdered?: SortOrder;
|
|
14
14
|
} & WrappedComponentProps;
|
|
15
|
-
declare const _default:
|
|
16
|
-
WrappedComponent:
|
|
15
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props>> & {
|
|
16
|
+
WrappedComponent: import("react").ComponentType<Props>;
|
|
17
17
|
};
|
|
18
18
|
export default _default;
|
|
@@ -12,6 +12,18 @@ import { RenderOutputStat } from '../render-document';
|
|
|
12
12
|
import { RendererAppearance, StickyHeaderProps, HeadingAnchorLinksProps } from './Renderer/types';
|
|
13
13
|
import { MediaOptions } from '../types/mediaOptions';
|
|
14
14
|
import { SmartLinksOptions } from '../types/smartLinksOptions';
|
|
15
|
+
import { ACTION_SUBJECT } from '../analytics/enums';
|
|
16
|
+
export interface RawObjectFeatureFlags {
|
|
17
|
+
['renderer-render-tracking']: string;
|
|
18
|
+
}
|
|
19
|
+
export interface NormalizedObjectFeatureFlags {
|
|
20
|
+
rendererRenderTracking: {
|
|
21
|
+
[ACTION_SUBJECT.RENDERER]: {
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
useShallow: boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}
|
|
15
27
|
export interface RendererProps {
|
|
16
28
|
document: any;
|
|
17
29
|
dataProviders?: ProviderFactory;
|
|
@@ -61,7 +73,7 @@ export interface RendererProps {
|
|
|
61
73
|
* Flags are expected to follow these rules or they are filtered out
|
|
62
74
|
*
|
|
63
75
|
* 1. cased in kebab-case (match [a-z-])
|
|
64
|
-
* 2. have boolean values
|
|
76
|
+
* 2. have boolean values or object {} values
|
|
65
77
|
*
|
|
66
78
|
* @example
|
|
67
79
|
* ```tsx
|
|
@@ -84,5 +96,5 @@ export interface RendererProps {
|
|
|
84
96
|
*/
|
|
85
97
|
featureFlags?: {
|
|
86
98
|
[featureFlag: string]: boolean;
|
|
87
|
-
}
|
|
99
|
+
} | Partial<RawObjectFeatureFlags>;
|
|
88
100
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "93.0.1",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,27 +24,26 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-schema": "^
|
|
27
|
+
"@atlaskit/adf-schema": "^23.0.0",
|
|
28
28
|
"@atlaskit/adf-utils": "^16.0.0",
|
|
29
29
|
"@atlaskit/analytics-listeners": "^8.2.0",
|
|
30
30
|
"@atlaskit/analytics-namespaced-context": "^6.4.0",
|
|
31
31
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
32
32
|
"@atlaskit/button": "^16.2.0",
|
|
33
33
|
"@atlaskit/code": "^14.3.0",
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/editor-common": "^66.0.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.7.0",
|
|
36
36
|
"@atlaskit/editor-shared-styles": "^2.0.0",
|
|
37
37
|
"@atlaskit/icon": "^21.10.0",
|
|
38
|
-
"@atlaskit/media-card": "^73.
|
|
39
|
-
"@atlaskit/media-client": "^
|
|
40
|
-
"@atlaskit/media-common": "^2.
|
|
41
|
-
"@atlaskit/media-filmstrip": "^
|
|
42
|
-
"@atlaskit/media-viewer": "^46.
|
|
43
|
-
"@atlaskit/status": "^1.
|
|
44
|
-
"@atlaskit/task-decision": "^17.
|
|
38
|
+
"@atlaskit/media-card": "^73.5.0",
|
|
39
|
+
"@atlaskit/media-client": "^15.0.0",
|
|
40
|
+
"@atlaskit/media-common": "^2.12.0",
|
|
41
|
+
"@atlaskit/media-filmstrip": "^43.0.0",
|
|
42
|
+
"@atlaskit/media-viewer": "^46.2.0",
|
|
43
|
+
"@atlaskit/status": "^1.1.0",
|
|
44
|
+
"@atlaskit/task-decision": "^17.4.0",
|
|
45
45
|
"@atlaskit/theme": "^12.1.0",
|
|
46
46
|
"@atlaskit/tooltip": "^17.5.0",
|
|
47
|
-
"@atlaskit/width-detector": "^3.0.0",
|
|
48
47
|
"@babel/runtime": "^7.0.0",
|
|
49
48
|
"@emotion/react": "^11.7.1",
|
|
50
49
|
"lodash": "^4.17.21",
|
|
@@ -52,35 +51,33 @@
|
|
|
52
51
|
"prosemirror-model": "1.14.3",
|
|
53
52
|
"prosemirror-transform": "1.3.2",
|
|
54
53
|
"prosemirror-utils": "^1.0.0-0",
|
|
55
|
-
"react-intl": "^2.6.0",
|
|
56
54
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
57
55
|
"react-loadable": "^5.1.0",
|
|
58
56
|
"uuid": "^3.1.0"
|
|
59
57
|
},
|
|
60
58
|
"peerDependencies": {
|
|
61
|
-
"@atlaskit/media-core": "^32.
|
|
62
|
-
"@atlaskit/smart-card": "^
|
|
59
|
+
"@atlaskit/media-core": "^32.3.0",
|
|
60
|
+
"@atlaskit/smart-card": "^18.0.13",
|
|
63
61
|
"react": "^16.8.0",
|
|
64
|
-
"react-dom": "^16.8.0"
|
|
65
|
-
"styled-components": "^3.2.6"
|
|
62
|
+
"react-dom": "^16.8.0"
|
|
66
63
|
},
|
|
67
64
|
"devDependencies": {
|
|
68
65
|
"@atlaskit/analytics-gas-types": "^5.0.5",
|
|
69
66
|
"@atlaskit/avatar": "^20.5.0",
|
|
70
67
|
"@atlaskit/css-reset": "^6.3.0",
|
|
71
68
|
"@atlaskit/docs": "*",
|
|
72
|
-
"@atlaskit/editor-core": "^
|
|
73
|
-
"@atlaskit/editor-test-helpers": "^
|
|
69
|
+
"@atlaskit/editor-core": "^164.0.0",
|
|
70
|
+
"@atlaskit/editor-test-helpers": "^17.0.0",
|
|
74
71
|
"@atlaskit/logo": "^13.5.0",
|
|
75
|
-
"@atlaskit/media-core": "^32.
|
|
76
|
-
"@atlaskit/media-integration-test-helpers": "^2.
|
|
77
|
-
"@atlaskit/media-test-helpers": "^29.
|
|
72
|
+
"@atlaskit/media-core": "^32.3.0",
|
|
73
|
+
"@atlaskit/media-integration-test-helpers": "^2.6.0",
|
|
74
|
+
"@atlaskit/media-test-helpers": "^29.4.0",
|
|
78
75
|
"@atlaskit/mention": "^21.0.0",
|
|
79
76
|
"@atlaskit/navigation-next": "^9.0.0",
|
|
80
|
-
"@atlaskit/profilecard": "^16.
|
|
77
|
+
"@atlaskit/profilecard": "^16.4.0",
|
|
81
78
|
"@atlaskit/radio": "^5.3.0",
|
|
82
79
|
"@atlaskit/range": "^6.0.0",
|
|
83
|
-
"@atlaskit/smart-card": "^
|
|
80
|
+
"@atlaskit/smart-card": "^18.0.0",
|
|
84
81
|
"@atlaskit/ssr": "*",
|
|
85
82
|
"@atlaskit/util-data-test": "^17.2.0",
|
|
86
83
|
"@atlaskit/visual-regression": "*",
|
|
@@ -93,6 +90,7 @@
|
|
|
93
90
|
"ajv": "^6.12.6",
|
|
94
91
|
"enzyme": "^3.10.0",
|
|
95
92
|
"jsdom": "^16.2.2",
|
|
93
|
+
"mockdate": "^3.0.2",
|
|
96
94
|
"puppeteer": "10.1.0",
|
|
97
95
|
"react": "^16.8.0",
|
|
98
96
|
"react-dom": "^16.8.0",
|
|
@@ -100,7 +98,7 @@
|
|
|
100
98
|
"react-test-renderer": "^16.8.0",
|
|
101
99
|
"rxjs": "^5.5.0",
|
|
102
100
|
"sinon": "^2.2.0",
|
|
103
|
-
"typescript": "3.9.
|
|
101
|
+
"typescript": "3.9.10",
|
|
104
102
|
"worker-plugin": "^4.0.2"
|
|
105
103
|
},
|
|
106
104
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|