@atlaskit/renderer 83.0.0 → 84.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/dist/cjs/actions/matches-utils.js +1 -1
  3. package/dist/cjs/analytics/enums.js +1 -1
  4. package/dist/cjs/analytics/events.js +1 -1
  5. package/dist/cjs/i18n/index.js +26 -26
  6. package/dist/cjs/index.js +8 -8
  7. package/dist/cjs/messages.js +4 -4
  8. package/dist/cjs/react/marks/annotation.js +1 -1
  9. package/dist/cjs/react/marks/breakout.js +1 -1
  10. package/dist/cjs/react/marks/code.js +3 -3
  11. package/dist/cjs/react/marks/index.js +24 -24
  12. package/dist/cjs/react/nodes/codeBlock.js +2 -2
  13. package/dist/cjs/react/nodes/codeBlockCopyButton.js +2 -2
  14. package/dist/cjs/react/nodes/copy-text-provider.js +1 -1
  15. package/dist/cjs/react/nodes/date.js +2 -2
  16. package/dist/cjs/react/nodes/doc.js +1 -1
  17. package/dist/cjs/react/nodes/extension.js +1 -1
  18. package/dist/cjs/react/nodes/heading-anchor.js +2 -2
  19. package/dist/cjs/react/nodes/index.js +31 -22
  20. package/dist/cjs/react/nodes/mediaSingle/index.js +3 -3
  21. package/dist/cjs/react/nodes/table/colgroup.js +1 -1
  22. package/dist/cjs/react/nodes/table/sticky.js +1 -1
  23. package/dist/cjs/react/nodes/tableCell.js +1 -1
  24. package/dist/cjs/react/renderer-node.js +1 -1
  25. package/dist/cjs/react/utils/links.js +1 -1
  26. package/dist/cjs/renderer-context.js +1 -1
  27. package/dist/cjs/steps/index.js +2 -2
  28. package/dist/cjs/text/nodes/index.js +1 -1
  29. package/dist/cjs/ui/Expand.js +2 -2
  30. package/dist/cjs/ui/MediaCard.js +1 -1
  31. package/dist/cjs/ui/Renderer/breakout-ssr.js +1 -1
  32. package/dist/cjs/ui/Renderer/index.js +7 -7
  33. package/dist/cjs/ui/Renderer/style.js +1 -1
  34. package/dist/cjs/ui/RendererActionsContext/index.js +1 -1
  35. package/dist/cjs/ui/SortingIcon.js +1 -1
  36. package/dist/cjs/ui/active-header-id-provider.js +1 -1
  37. package/dist/cjs/ui/annotations/context.js +1 -1
  38. package/dist/cjs/ui/annotations/draft/component.js +1 -1
  39. package/dist/cjs/ui/annotations/draft/index.js +4 -4
  40. package/dist/cjs/ui/annotations/draft/text.js +1 -1
  41. package/dist/cjs/ui/annotations/hooks/index.js +8 -8
  42. package/dist/cjs/ui/annotations/hooks/use-events.js +1 -1
  43. package/dist/cjs/ui/annotations/index.js +5 -5
  44. package/dist/cjs/utils.js +2 -1
  45. package/dist/cjs/version.json +1 -1
  46. package/dist/es2019/messages.js +1 -1
  47. package/dist/es2019/react/marks/code.js +1 -1
  48. package/dist/es2019/react/nodes/codeBlock.js +1 -1
  49. package/dist/es2019/react/nodes/codeBlockCopyButton.js +1 -1
  50. package/dist/es2019/react/nodes/date.js +1 -1
  51. package/dist/es2019/react/nodes/heading-anchor.js +1 -1
  52. package/dist/es2019/react/nodes/mediaSingle/index.js +1 -1
  53. package/dist/es2019/ui/Expand.js +1 -1
  54. package/dist/es2019/ui/Renderer/index.js +6 -6
  55. package/dist/es2019/version.json +1 -1
  56. package/dist/esm/messages.js +1 -1
  57. package/dist/esm/react/marks/code.js +1 -1
  58. package/dist/esm/react/nodes/codeBlock.js +1 -1
  59. package/dist/esm/react/nodes/codeBlockCopyButton.js +1 -1
  60. package/dist/esm/react/nodes/date.js +1 -1
  61. package/dist/esm/react/nodes/heading-anchor.js +1 -1
  62. package/dist/esm/react/nodes/mediaSingle/index.js +1 -1
  63. package/dist/esm/ui/Expand.js +1 -1
  64. package/dist/esm/ui/Renderer/index.js +6 -6
  65. package/dist/esm/version.json +1 -1
  66. package/dist/types/react/index.d.ts +1 -0
  67. package/dist/types/react/marks/alignment.d.ts +1 -0
  68. package/dist/types/react/marks/annotation.d.ts +1 -0
  69. package/dist/types/react/marks/code.d.ts +6 -6
  70. package/dist/types/react/marks/data-consumer.d.ts +1 -0
  71. package/dist/types/react/marks/em.d.ts +1 -0
  72. package/dist/types/react/marks/fragment.d.ts +1 -0
  73. package/dist/types/react/marks/indentation.d.ts +1 -0
  74. package/dist/types/react/marks/link.d.ts +1 -0
  75. package/dist/types/react/marks/strike.d.ts +1 -0
  76. package/dist/types/react/marks/strong.d.ts +1 -0
  77. package/dist/types/react/marks/subsup.d.ts +1 -0
  78. package/dist/types/react/marks/textColor.d.ts +1 -0
  79. package/dist/types/react/marks/underline.d.ts +1 -0
  80. package/dist/types/react/marks/unsupportedMark.d.ts +1 -0
  81. package/dist/types/react/marks/unsupportedNodeAttribute.d.ts +1 -0
  82. package/dist/types/react/nodes/blockCard.d.ts +1 -0
  83. package/dist/types/react/nodes/caption.d.ts +1 -0
  84. package/dist/types/react/nodes/codeBlock.d.ts +11 -3
  85. package/dist/types/react/nodes/codeBlockCopyButton.d.ts +3 -3
  86. package/dist/types/react/nodes/date.d.ts +3 -3
  87. package/dist/types/react/nodes/decisionItem.d.ts +1 -0
  88. package/dist/types/react/nodes/doc.d.ts +1 -0
  89. package/dist/types/react/nodes/embedCard.d.ts +1 -0
  90. package/dist/types/react/nodes/heading-anchor.d.ts +4 -4
  91. package/dist/types/react/nodes/heading.d.ts +1 -0
  92. package/dist/types/react/nodes/index.d.ts +8 -8
  93. package/dist/types/react/nodes/mediaSingle/index.d.ts +3 -3
  94. package/dist/types/react/nodes/paragraph.d.ts +1 -0
  95. package/dist/types/react/nodes/placeholder.d.ts +1 -0
  96. package/dist/types/react/nodes/rule.d.ts +1 -0
  97. package/dist/types/react/nodes/table/colgroup.d.ts +1 -0
  98. package/dist/types/react/nodes/text-wrapper.d.ts +1 -0
  99. package/dist/types/ui/Expand.d.ts +3 -3
  100. package/dist/types/ui/Renderer/breakout-ssr.d.ts +1 -0
  101. package/dist/types/ui/SortingIcon.d.ts +1 -0
  102. package/package.json +12 -11
@@ -1,16 +1,16 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  import { Mark } from 'prosemirror-model';
4
4
  import type { MarkProps } from '../types';
5
5
  export declare const isCodeMark: (mark: Mark) => boolean;
6
6
  export declare function CodeWithIntl(props: MarkProps<{
7
7
  codeBidiWarningTooltipEnabled: boolean;
8
- }> & InjectedIntlProps): JSX.Element;
9
- declare const _default: React.ComponentClass<{
8
+ }> & WrappedComponentProps): JSX.Element;
9
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
10
10
  codeBidiWarningTooltipEnabled: boolean;
11
- } & import("../types").MarkMeta, any> & {
12
- WrappedComponent: ReactIntl.ComponentConstructor<{
11
+ } & import("../types").MarkMeta & WrappedComponentProps<"intl">>> & {
12
+ WrappedComponent: React.ComponentType<{
13
13
  codeBidiWarningTooltipEnabled: boolean;
14
- } & import("../types").MarkMeta & InjectedIntlProps>;
14
+ } & import("../types").MarkMeta & WrappedComponentProps<"intl">>;
15
15
  };
16
16
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataConsumerAttributes } from '@atlaskit/adf-schema';
2
3
  import { MarkProps } from '../types';
3
4
  export default function DataConsumer(props: MarkProps<DataConsumerAttributes>): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MarkProps } from '../types';
2
3
  export default function Em(props: MarkProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FragmentAttributes } from '@atlaskit/adf-schema';
2
3
  import { MarkProps } from '../types';
3
4
  export default function FragmentMark(props: MarkProps<FragmentAttributes>): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IndentationMarkAttributes } from '@atlaskit/adf-schema';
2
3
  import { MarkProps } from '../types';
3
4
  export default function Indentation(props: MarkProps<IndentationMarkAttributes>): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { LinkAttributes } from '@atlaskit/adf-schema';
2
3
  import { MarkProps } from '../types';
3
4
  interface LinkProps extends LinkAttributes {
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MarkProps } from '../types';
2
3
  export default function Strike(props: MarkProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MarkProps } from '../types';
2
3
  export default function Strong(props: MarkProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SubSupAttributes } from '@atlaskit/adf-schema';
2
3
  import { MarkProps } from '../types';
3
4
  export default function SubSup(props: MarkProps<SubSupAttributes>): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextColorAttributes } from '@atlaskit/adf-schema';
2
3
  import { MarkProps } from '../types';
3
4
  export default function TextColor(props: MarkProps<TextColorAttributes>): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MarkProps } from '../types';
2
3
  export default function Underline(props: MarkProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MarkProps } from '../types';
2
3
  export default function UnsupportedMark(props: MarkProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { MarkProps } from '../types';
2
3
  export default function UnsupportedNodeAttribute(props: MarkProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EventHandlers } from '@atlaskit/editor-common';
2
3
  import { RendererAppearance } from '../../ui/Renderer/types';
3
4
  export default function BlockCard(props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NodeProps } from '../types';
2
3
  declare const RenderCaption: ({ children, dataAttributes }: NodeProps) => JSX.Element;
3
4
  export default RenderCaption;
@@ -1,3 +1,5 @@
1
+ import React from 'react';
2
+ import { WrappedComponentProps } from 'react-intl-next';
1
3
  import { SupportedLanguages } from '@atlaskit/code';
2
4
  export interface Props {
3
5
  text: string;
@@ -6,11 +8,17 @@ export interface Props {
6
8
  codeBidiWarningTooltipEnabled: boolean;
7
9
  className?: string;
8
10
  }
9
- declare const _default: import("styled-components").StyledComponentClass<(Props & import("@atlaskit/theme").AtlaskitThemeProps) | (Props & import("@atlaskit/theme").CustomThemeProps) | (Props & import("@atlaskit/theme").NoThemeProps), any, (Pick<Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
11
+ declare const _default: import("styled-components").StyledComponentClass<(Pick<Props & WrappedComponentProps<"intl">, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
12
+ forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
13
+ } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<Props & WrappedComponentProps<"intl">, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
14
+ forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
15
+ } & import("@atlaskit/theme").CustomThemeProps) | (Pick<Props & WrappedComponentProps<"intl">, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
16
+ forwardedRef?: ((instance: any) => void) | React.RefObject<any> | null | undefined;
17
+ } & import("@atlaskit/theme").NoThemeProps), any, (Pick<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
10
18
  theme?: any;
11
- } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
19
+ } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
12
20
  theme?: any;
13
- } & import("@atlaskit/theme").CustomThemeProps) | (Pick<Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
21
+ } & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
14
22
  theme?: any;
15
23
  } & import("@atlaskit/theme").NoThemeProps)>;
16
24
  export default _default;
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  declare type Props = {
4
4
  content: string;
5
5
  };
6
- declare const _default: React.ComponentClass<Props, any> & {
7
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
6
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
7
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
8
8
  };
9
9
  export default _default;
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  export interface Props {
4
4
  timestamp: string;
5
5
  parentIsIncompleteTask?: boolean;
6
6
  }
7
- declare const _default: React.ComponentClass<Props, any> & {
8
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
7
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
8
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
9
9
  };
10
10
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { NodeProps } from '../types';
2
3
  export default function DecisionItem({ children, dataAttributes }: NodeProps): JSX.Element;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  export default function Doc(props: any): JSX.Element;
2
3
  export declare function DocWithSelectAllTrap(props: any): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { EventHandlers } from '@atlaskit/editor-common';
2
3
  import { RichMediaLayout } from '@atlaskit/adf-schema';
3
4
  import { RendererAppearance } from '../../ui/Renderer/types';
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
- import { InjectedIntlProps } from 'react-intl';
2
+ import { WrappedComponentProps } from 'react-intl-next';
3
3
  export declare const HeadingAnchorWrapperClassName = "heading-anchor-wrapper";
4
4
  declare type Props = {
5
5
  onCopyText: () => Promise<void>;
6
6
  enableNestedHeaderLinks?: boolean;
7
7
  level: number;
8
8
  };
9
- declare type HeadingAnchorProps = Props & React.Props<any> & InjectedIntlProps;
10
- declare const _default: React.ComponentClass<Props & React.Props<any>, any> & {
11
- WrappedComponent: ReactIntl.ComponentConstructor<HeadingAnchorProps>;
9
+ declare type HeadingAnchorProps = Props & React.Props<any> & WrappedComponentProps;
10
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<HeadingAnchorProps>> & {
11
+ WrappedComponent: React.ComponentType<HeadingAnchorProps>;
12
12
  };
13
13
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { Node as PMNode } from 'prosemirror-model';
2
3
  import { NodeProps } from '../types';
3
4
  import { HeadingAnchorLinksProps } from '../../ui/Renderer/types';
@@ -26,22 +26,22 @@ import TableRow from './tableRow';
26
26
  import UnknownBlock from './unknownBlock';
27
27
  import Loadable from 'react-loadable';
28
28
  import EmbedCard from './embedCard';
29
- declare const CodeBlock: (React.ComponentClass<import("styled-components").ThemedOuterStyledProps<(Pick<import("./codeBlock").Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
29
+ declare const CodeBlock: (React.ComponentClass<import("styled-components").ThemedOuterStyledProps<(Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
30
30
  theme?: any;
31
- } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("./codeBlock").Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
31
+ } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
32
32
  theme?: any;
33
- } & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("./codeBlock").Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
33
+ } & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
34
34
  theme?: any;
35
- } & import("@atlaskit/theme").NoThemeProps), any>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("styled-components").ThemedOuterStyledProps<(Pick<import("./codeBlock").Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
35
+ } & import("@atlaskit/theme").NoThemeProps), any>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("styled-components").ThemedOuterStyledProps<(Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
36
36
  theme?: any;
37
- } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("./codeBlock").Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
37
+ } & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
38
38
  theme?: any;
39
- } & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("./codeBlock").Props, "text" | "className" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
39
+ } & import("@atlaskit/theme").CustomThemeProps) | (Pick<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>, "text" | "className" | "forwardedRef" | "language" | "allowCopyToClipboard" | "codeBidiWarningTooltipEnabled"> & {
40
40
  theme?: any;
41
41
  } & import("@atlaskit/theme").NoThemeProps), any>> & Loadable.LoadableComponent);
42
42
  declare const TaskItem: (React.ComponentClass<import("../types").NodeProps<import("./taskItem").Props>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent);
43
43
  declare const DecisionItem: (React.ComponentClass<import("../types").NodeMeta, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("../types").NodeMeta> & Loadable.LoadableComponent);
44
- declare const Date: (React.ComponentClass<import("./date").Props, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./date").Props> & Loadable.LoadableComponent);
44
+ declare const Date: (React.ComponentClass<import("react-intl-next").WithIntlProps<import("./date").Props & import("react-intl-next").WrappedComponentProps<"intl">>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("react-intl-next").WithIntlProps<import("./date").Props & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent);
45
45
  declare const Status: (React.ComponentClass<import("./status").Props, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./status").Props> & Loadable.LoadableComponent);
46
46
  declare const Emoji: (React.ComponentClass<import("./emoji").EmojiProps, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./emoji").EmojiProps> & Loadable.LoadableComponent);
47
47
  declare const InlineCard: (React.ComponentClass<Pick<import("./inlineCard").InlineCardProps & import("../../ui/SmartCardStorage").WithSmartCardStorageProps, "data" | "eventHandlers" | "url" | "portal">, any> & Loadable.LoadableComponent) | (React.FunctionComponent<Pick<import("./inlineCard").InlineCardProps & import("../../ui/SmartCardStorage").WithSmartCardStorageProps, "data" | "eventHandlers" | "url" | "portal">> & Loadable.LoadableComponent);
@@ -62,7 +62,7 @@ declare const Media: (React.ComponentClass<import("./media").MediaProps, any> &
62
62
  declare const MediaGroup: (React.ComponentClass<import("./mediaGroup").MediaGroupProps, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./mediaGroup").MediaGroupProps> & Loadable.LoadableComponent);
63
63
  declare const MediaInline: (React.ComponentClass<import("./mediaInline").MediaInlineProps, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./mediaInline").MediaInlineProps> & Loadable.LoadableComponent);
64
64
  declare const Mention: (React.ComponentClass<import("./mention").Props, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("./mention").Props> & Loadable.LoadableComponent);
65
- declare const Expand: (React.ComponentClass<import("../../ui/Expand").ExpandProps, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("../../ui/Expand").ExpandProps> & Loadable.LoadableComponent);
65
+ declare const Expand: (React.ComponentClass<import("react-intl-next").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl-next").WrappedComponentProps<"intl">>, any> & Loadable.LoadableComponent) | (React.FunctionComponent<import("react-intl-next").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent);
66
66
  export declare const nodeToReact: {
67
67
  [key: string]: React.ComponentType<any>;
68
68
  };
@@ -1,7 +1,7 @@
1
1
  import { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
2
2
  import { EventHandlers } from '@atlaskit/editor-common';
3
3
  import { default as React } from 'react';
4
- import { InjectedIntlProps } from 'react-intl';
4
+ import { WrappedComponentProps } from 'react-intl-next';
5
5
  import { AnalyticsEventPayload } from '../../../analytics/events';
6
6
  import { RendererAppearance } from '../../../ui/Renderer/types';
7
7
  import { MediaFeatureFlags } from '@atlaskit/media-common';
@@ -21,7 +21,7 @@ export interface State {
21
21
  height?: number;
22
22
  }
23
23
  export declare const getMediaContainerWidth: (currentContainerWidth: number, layout: MediaSingleLayout) => number;
24
- declare const _default: React.ComponentClass<Props, any> & {
25
- WrappedComponent: ReactIntl.ComponentConstructor<Props & InjectedIntlProps>;
24
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
25
+ WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
26
26
  };
27
27
  export default _default;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { NodeProps } from '../types';
2
3
  export default function Paragraph({ children, dataAttributes }: NodeProps): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface Props {
2
3
  text: string;
3
4
  allowPlaceholderText?: boolean;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export default function Rule(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SharedTableProps } from './types';
2
3
  export interface ScaleOptions {
3
4
  renderWidth: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type Props = {
2
3
  startPos: number;
3
4
  endPos: number;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { AnalyticsEventPayload } from '../analytics/events';
3
- import { InjectedIntlProps } from 'react-intl';
3
+ import { WrappedComponentProps } from 'react-intl-next';
4
4
  export interface StyleProps {
5
5
  expanded?: boolean;
6
6
  focused?: boolean;
@@ -14,7 +14,7 @@ export interface ExpandProps {
14
14
  fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
15
15
  nestedHeaderIds?: Array<string>;
16
16
  }
17
- declare const _default: React.ComponentClass<ExpandProps, any> & {
18
- WrappedComponent: ReactIntl.ComponentConstructor<ExpandProps & InjectedIntlProps>;
17
+ declare const _default: React.FC<import("react-intl-next").WithIntlProps<ExpandProps & WrappedComponentProps<"intl">>> & {
18
+ WrappedComponent: React.ComponentType<ExpandProps & WrappedComponentProps<"intl">>;
19
19
  };
20
20
  export default _default;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  /**
2
3
  * Inline Script that updates breakout node width on client side,
3
4
  * before main JavaScript bundle is ready.
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SortOrder } from '@atlaskit/editor-common';
2
3
  export declare const TableSortIconDataUrl: string;
3
4
  export declare enum StatusClassNames {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "83.0.0",
3
+ "version": "84.0.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,16 +31,16 @@
31
31
  "@atlaskit/analytics-next": "^8.2.0",
32
32
  "@atlaskit/button": "^16.1.0",
33
33
  "@atlaskit/code": "^14.3.0",
34
- "@atlaskit/editor-common": "^61.0.0",
34
+ "@atlaskit/editor-common": "^62.0.0",
35
35
  "@atlaskit/editor-json-transformer": "^8.7.0",
36
36
  "@atlaskit/editor-shared-styles": "^1.6.0",
37
37
  "@atlaskit/icon": "^21.9.0",
38
- "@atlaskit/media-card": "^72.1.0",
38
+ "@atlaskit/media-card": "^73.0.0",
39
39
  "@atlaskit/media-client": "^14.3.0",
40
40
  "@atlaskit/media-common": "^2.10.0",
41
41
  "@atlaskit/media-filmstrip": "^42.1.0",
42
- "@atlaskit/media-viewer": "^45.8.0",
43
- "@atlaskit/status": "^0.12.0",
42
+ "@atlaskit/media-viewer": "^46.0.0",
43
+ "@atlaskit/status": "^1.0.0",
44
44
  "@atlaskit/task-decision": "^17.2.0",
45
45
  "@atlaskit/theme": "^12.0.0",
46
46
  "@atlaskit/tooltip": "^17.5.0",
@@ -52,12 +52,13 @@
52
52
  "prosemirror-transform": "1.3.2",
53
53
  "prosemirror-utils": "^1.0.0-0",
54
54
  "react-intl": "^2.6.0",
55
+ "react-intl-next": "npm:react-intl@^5.18.1",
55
56
  "react-loadable": "^5.1.0",
56
57
  "uuid": "^3.1.0"
57
58
  },
58
59
  "peerDependencies": {
59
60
  "@atlaskit/media-core": "^32.2.0",
60
- "@atlaskit/smart-card": "^16.3.0",
61
+ "@atlaskit/smart-card": "^17.0.0",
61
62
  "react": "^16.8.0",
62
63
  "react-dom": "^16.8.0",
63
64
  "styled-components": "^3.2.6"
@@ -68,18 +69,18 @@
68
69
  "@atlaskit/build-utils": "^2.6.2",
69
70
  "@atlaskit/css-reset": "^6.3.0",
70
71
  "@atlaskit/docs": "*",
71
- "@atlaskit/editor-core": "^152.0.0",
72
- "@atlaskit/editor-test-helpers": "^15.6.0",
72
+ "@atlaskit/editor-core": "^153.0.0",
73
+ "@atlaskit/editor-test-helpers": "^16.0.0",
73
74
  "@atlaskit/logo": "^13.5.0",
74
75
  "@atlaskit/media-core": "^32.2.0",
75
76
  "@atlaskit/media-integration-test-helpers": "^2.5.0",
76
- "@atlaskit/media-test-helpers": "^28.9.0",
77
+ "@atlaskit/media-test-helpers": "^29.0.0",
77
78
  "@atlaskit/mention": "^19.7.0",
78
79
  "@atlaskit/navigation-next": "^9.0.0",
79
- "@atlaskit/profilecard": "^15.8.0",
80
+ "@atlaskit/profilecard": "^16.0.0",
80
81
  "@atlaskit/radio": "^5.3.0",
81
82
  "@atlaskit/range": "^5.0.11",
82
- "@atlaskit/smart-card": "^16.3.0",
83
+ "@atlaskit/smart-card": "^17.0.0",
83
84
  "@atlaskit/ssr": "*",
84
85
  "@atlaskit/util-data-test": "^17.0.0",
85
86
  "@atlaskit/visual-regression": "*",