@atlaskit/renderer 130.2.17 → 130.3.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 (71) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/react/marks/link-compiled.compiled.css +6 -0
  3. package/dist/cjs/react/marks/link-compiled.js +27 -0
  4. package/dist/cjs/react/marks/link-emotion.js +42 -0
  5. package/dist/cjs/react/marks/link.js +13 -23
  6. package/dist/cjs/react/nodes/bodiedExtension.js +6 -3
  7. package/dist/cjs/react/nodes/extension.js +41 -11
  8. package/dist/cjs/react/nodes/layoutColumn-compiled.compiled.css +10 -0
  9. package/dist/cjs/react/nodes/layoutColumn-compiled.js +37 -0
  10. package/dist/cjs/react/nodes/layoutColumn-emotion.js +59 -0
  11. package/dist/cjs/react/nodes/layoutColumn.js +11 -41
  12. package/dist/cjs/react/nodes/panel-compiled.compiled.css +54 -0
  13. package/dist/cjs/react/nodes/panel-compiled.js +60 -0
  14. package/dist/cjs/react/nodes/panel-emotion.js +185 -0
  15. package/dist/cjs/react/nodes/panel.js +14 -181
  16. package/dist/cjs/ui/Renderer/index.js +1 -1
  17. package/dist/es2019/react/marks/link-compiled.compiled.css +6 -0
  18. package/dist/es2019/react/marks/link-compiled.js +17 -0
  19. package/dist/es2019/react/marks/link-emotion.js +31 -0
  20. package/dist/es2019/react/marks/link.js +13 -23
  21. package/dist/es2019/react/nodes/bodiedExtension.js +6 -3
  22. package/dist/es2019/react/nodes/extension.js +33 -4
  23. package/dist/es2019/react/nodes/layoutColumn-compiled.compiled.css +10 -0
  24. package/dist/es2019/react/nodes/layoutColumn-compiled.js +31 -0
  25. package/dist/es2019/react/nodes/layoutColumn-emotion.js +61 -0
  26. package/dist/es2019/react/nodes/layoutColumn.js +10 -50
  27. package/dist/es2019/react/nodes/panel-compiled.compiled.css +57 -0
  28. package/dist/es2019/react/nodes/panel-compiled.js +44 -0
  29. package/dist/es2019/react/nodes/panel-emotion.js +178 -0
  30. package/dist/es2019/react/nodes/panel.js +12 -180
  31. package/dist/es2019/ui/Renderer/index.js +1 -1
  32. package/dist/esm/react/marks/link-compiled.compiled.css +6 -0
  33. package/dist/esm/react/marks/link-compiled.js +19 -0
  34. package/dist/esm/react/marks/link-emotion.js +34 -0
  35. package/dist/esm/react/marks/link.js +15 -23
  36. package/dist/esm/react/nodes/bodiedExtension.js +6 -3
  37. package/dist/esm/react/nodes/extension.js +39 -11
  38. package/dist/esm/react/nodes/layoutColumn-compiled.compiled.css +10 -0
  39. package/dist/esm/react/nodes/layoutColumn-compiled.js +31 -0
  40. package/dist/esm/react/nodes/layoutColumn-emotion.js +52 -0
  41. package/dist/esm/react/nodes/layoutColumn.js +12 -41
  42. package/dist/esm/react/nodes/panel-compiled.compiled.css +54 -0
  43. package/dist/esm/react/nodes/panel-compiled.js +53 -0
  44. package/dist/esm/react/nodes/panel-emotion.js +179 -0
  45. package/dist/esm/react/nodes/panel.js +14 -181
  46. package/dist/esm/ui/Renderer/index.js +1 -1
  47. package/dist/types/analytics/events.d.ts +6 -2
  48. package/dist/types/react/marks/link-compiled.d.ts +13 -0
  49. package/dist/types/react/marks/link-emotion.d.ts +14 -0
  50. package/dist/types/react/marks/link.d.ts +5 -2
  51. package/dist/types/react/nodes/bodiedExtension.d.ts +2 -0
  52. package/dist/types/react/nodes/extension.d.ts +2 -0
  53. package/dist/types/react/nodes/layoutColumn-compiled.d.ts +14 -0
  54. package/dist/types/react/nodes/layoutColumn-emotion.d.ts +14 -0
  55. package/dist/types/react/nodes/layoutColumn.d.ts +3 -5
  56. package/dist/types/react/nodes/panel-compiled.d.ts +22 -0
  57. package/dist/types/react/nodes/panel-emotion.d.ts +23 -0
  58. package/dist/types/react/nodes/panel.d.ts +1 -6
  59. package/dist/types-ts4.5/analytics/events.d.ts +6 -2
  60. package/dist/types-ts4.5/react/marks/link-compiled.d.ts +13 -0
  61. package/dist/types-ts4.5/react/marks/link-emotion.d.ts +14 -0
  62. package/dist/types-ts4.5/react/marks/link.d.ts +5 -2
  63. package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +2 -0
  64. package/dist/types-ts4.5/react/nodes/extension.d.ts +2 -0
  65. package/dist/types-ts4.5/react/nodes/layoutColumn-compiled.d.ts +14 -0
  66. package/dist/types-ts4.5/react/nodes/layoutColumn-emotion.d.ts +14 -0
  67. package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +3 -5
  68. package/dist/types-ts4.5/react/nodes/panel-compiled.d.ts +22 -0
  69. package/dist/types-ts4.5/react/nodes/panel-emotion.d.ts +23 -0
  70. package/dist/types-ts4.5/react/nodes/panel.d.ts +1 -6
  71. package/package.json +14 -9
@@ -1,4 +1,4 @@
1
- import { jsx } from '@emotion/react';
1
+ import React from 'react';
2
2
  import type { LinkAttributes } from '@atlaskit/adf-schema';
3
3
  import type { MarkProps } from '../types';
4
4
  interface LinkProps extends LinkAttributes {
@@ -6,5 +6,8 @@ interface LinkProps extends LinkAttributes {
6
6
  onSetLinkTarget?: (url: string) => '_blank' | undefined;
7
7
  target?: string;
8
8
  }
9
- export default function Link(props: MarkProps<LinkProps>): jsx.JSX.Element;
9
+ /**
10
+ * Render an ADF link mark in renderer.
11
+ */
12
+ export default function Link(props: MarkProps<LinkProps>): React.JSX.Element;
10
13
  export {};
@@ -6,12 +6,14 @@ import type { ExtensionLayout } from '@atlaskit/adf-schema';
6
6
  import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
7
7
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
8
8
  import type { RendererAppearance } from '../../ui/Renderer/types';
9
+ import type { AnalyticsEventPayload } from '../../analytics/events';
9
10
  interface Props {
10
11
  content?: any;
11
12
  extensionHandlers?: ExtensionHandlers;
12
13
  extensionKey: string;
13
14
  extensionType: string;
14
15
  extensionViewportSizes?: ExtensionViewportSize[];
16
+ fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
15
17
  layout?: ExtensionLayout;
16
18
  localId?: string;
17
19
  marks?: PMMark[];
@@ -10,6 +10,7 @@ import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/e
10
10
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
11
11
  import type { OverflowShadowProps, OverflowShadowState, ShadowObserver } from '@atlaskit/editor-common/ui';
12
12
  import type { RendererAppearance } from '../../ui/Renderer/types';
13
+ import type { AnalyticsEventPayload } from '../../analytics/events';
13
14
  interface Props {
14
15
  extensionHandlers?: ExtensionHandlers;
15
16
  extensionKey: string;
@@ -32,6 +33,7 @@ type AllOrNone<T> = T | {
32
33
  [K in keyof T]?: never;
33
34
  };
34
35
  type RenderExtensionOptions = {
36
+ fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
35
37
  isTopLevel?: boolean;
36
38
  rendererAppearance?: RendererAppearance;
37
39
  } & AllOrNone<OverflowShadowProps>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `layoutColumn.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ export declare const LayoutSectionCompiled: (props: React.PropsWithChildren<{
13
+ width?: number;
14
+ }>) => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `layoutColumn.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ export declare const LayoutSectionEmotion: (props: React.PropsWithChildren<{
13
+ width?: number;
14
+ }>) => React.JSX.Element;
@@ -1,9 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
3
+ * Render a layout column in renderer.
4
4
  */
5
- import React from 'react';
6
- import { jsx } from '@emotion/react';
7
5
  export default function LayoutSection(props: React.PropsWithChildren<{
8
6
  width?: number;
9
- }>): jsx.JSX.Element;
7
+ }>): React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `panel.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ import { PanelType } from '@atlaskit/adf-schema';
13
+ interface PanelStyledProps {
14
+ backgroundColor?: string;
15
+ 'data-panel-type': PanelType;
16
+ hasIcon?: boolean;
17
+ }
18
+ export declare const PanelStyledCompiled: {
19
+ ({ backgroundColor, children, className, hasIcon, ...props }: React.PropsWithChildren<PanelStyledProps & React.HTMLAttributes<HTMLDivElement>>): JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `panel.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ import { jsx } from '@emotion/react';
13
+ import { PanelType } from '@atlaskit/adf-schema';
14
+ interface PanelStyledProps {
15
+ backgroundColor?: string;
16
+ 'data-panel-type': PanelType;
17
+ hasIcon?: boolean;
18
+ }
19
+ export declare const PanelStyledEmotion: {
20
+ ({ backgroundColor, hasIcon, ...props }: React.PropsWithChildren<PanelStyledProps & React.HTMLAttributes<HTMLDivElement>>): jsx.JSX.Element;
21
+ displayName: string;
22
+ };
23
+ export {};
@@ -1,9 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  import React from 'react';
6
- import { jsx } from '@emotion/react';
7
2
  import { PanelType } from '@atlaskit/adf-schema';
8
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
9
4
  export interface Props {
@@ -17,5 +12,5 @@ export interface Props {
17
12
  panelType: PanelType;
18
13
  providers?: ProviderFactory;
19
14
  }
20
- declare const Panel: (props: Props) => jsx.JSX.Element;
15
+ declare const Panel: (props: Props) => React.JSX.Element;
21
16
  export default Panel;
@@ -1,4 +1,4 @@
1
- import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, OperationalAEP, ExperienceEventPayload, TABLE_ACTION, SyncedBlockSSRErrorAEP } from '@atlaskit/editor-common/analytics';
1
+ import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, OperationalAEP, ExperienceEventPayload, TABLE_ACTION, SyncedBlockSSRErrorAEP, ExtensionType } from '@atlaskit/editor-common/analytics';
2
2
  import type { AEP } from './enums';
3
3
  import type { SortOrder } from '@atlaskit/editor-common/types';
4
4
  import type { SEVERITY, UNSUPPORTED_CONTENT_LEVEL_SEVERITY, UnsupportedContentPayload, UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
@@ -172,6 +172,10 @@ type ReferenceSyncedBlockUpdateErrorAEP = OperationalAEP<ACTION.ERROR, ACTION_SU
172
172
  error: string;
173
173
  resourceId?: string;
174
174
  }>;
175
- export type AnalyticsEventPayload<_T = void> = RendererStartAEP | RendererRenderedAEP | RendererRenderedSampledAEP | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | HoverLabelAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | TableWidthInfoAEP | TableRendererHeightInfoAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | NestedTableTransformedAEP | NativeEmbedsTransformedAEP | MediaRenderErrorEvent | SyncedBlockFetchErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockSSRErrorAEP | ReferenceSyncedBlockUpdateErrorAEP | SyncedBlockFetchSuccessAEP | ExperienceEventPayload;
175
+ type ExtensionRenderedAsInlineAEP = OperationalAEP<ACTION.RENDERED, ACTION_SUBJECT.EXTENSION_AS_INLINE, ExtensionType, {
176
+ extensionKey: string;
177
+ extensionType: string;
178
+ }>;
179
+ export type AnalyticsEventPayload<_T = void> = RendererStartAEP | RendererRenderedAEP | RendererRenderedSampledAEP | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | HoverLabelAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | TableWidthInfoAEP | TableRendererHeightInfoAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | NestedTableTransformedAEP | NativeEmbedsTransformedAEP | MediaRenderErrorEvent | SyncedBlockFetchErrorAEP | SyncedBlockGetSourceInfoErrorAEP | SyncedBlockSSRErrorAEP | ReferenceSyncedBlockUpdateErrorAEP | SyncedBlockFetchSuccessAEP | ExperienceEventPayload | ExtensionRenderedAsInlineAEP;
176
180
  export type FireAnalyticsCallback = <T = void>(payload: AnalyticsEventPayload<T>) => void | undefined;
177
181
  export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `link.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ComponentProps } from 'react';
12
+ import LinkUrl from '@atlaskit/smart-card/link-url';
13
+ export declare const LinkUrlCompiled: (props: ComponentProps<typeof LinkUrl>) => JSX.Element;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `link.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import type { ComponentProps } from 'react';
12
+ import { jsx } from '@emotion/react';
13
+ import LinkUrl from '@atlaskit/smart-card/link-url';
14
+ export declare const LinkUrlEmotion: (props: ComponentProps<typeof LinkUrl>) => jsx.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { jsx } from '@emotion/react';
1
+ import React from 'react';
2
2
  import type { LinkAttributes } from '@atlaskit/adf-schema';
3
3
  import type { MarkProps } from '../types';
4
4
  interface LinkProps extends LinkAttributes {
@@ -6,5 +6,8 @@ interface LinkProps extends LinkAttributes {
6
6
  onSetLinkTarget?: (url: string) => '_blank' | undefined;
7
7
  target?: string;
8
8
  }
9
- export default function Link(props: MarkProps<LinkProps>): jsx.JSX.Element;
9
+ /**
10
+ * Render an ADF link mark in renderer.
11
+ */
12
+ export default function Link(props: MarkProps<LinkProps>): React.JSX.Element;
10
13
  export {};
@@ -6,12 +6,14 @@ import type { ExtensionLayout } from '@atlaskit/adf-schema';
6
6
  import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
7
7
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
8
8
  import type { RendererAppearance } from '../../ui/Renderer/types';
9
+ import type { AnalyticsEventPayload } from '../../analytics/events';
9
10
  interface Props {
10
11
  content?: any;
11
12
  extensionHandlers?: ExtensionHandlers;
12
13
  extensionKey: string;
13
14
  extensionType: string;
14
15
  extensionViewportSizes?: ExtensionViewportSize[];
16
+ fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
15
17
  layout?: ExtensionLayout;
16
18
  localId?: string;
17
19
  marks?: PMMark[];
@@ -10,6 +10,7 @@ import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/e
10
10
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
11
11
  import type { OverflowShadowProps, OverflowShadowState, ShadowObserver } from '@atlaskit/editor-common/ui';
12
12
  import type { RendererAppearance } from '../../ui/Renderer/types';
13
+ import type { AnalyticsEventPayload } from '../../analytics/events';
13
14
  interface Props {
14
15
  extensionHandlers?: ExtensionHandlers;
15
16
  extensionKey: string;
@@ -32,6 +33,7 @@ type AllOrNone<T> = T | {
32
33
  [K in keyof T]?: never;
33
34
  };
34
35
  type RenderExtensionOptions = {
36
+ fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
35
37
  isTopLevel?: boolean;
36
38
  rendererAppearance?: RendererAppearance;
37
39
  } & AllOrNone<OverflowShadowProps>;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `layoutColumn.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ export declare const LayoutSectionCompiled: (props: React.PropsWithChildren<{
13
+ width?: number;
14
+ }>) => React.JSX.Element;
@@ -0,0 +1,14 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `layoutColumn.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ export declare const LayoutSectionEmotion: (props: React.PropsWithChildren<{
13
+ width?: number;
14
+ }>) => React.JSX.Element;
@@ -1,9 +1,7 @@
1
+ import React from 'react';
1
2
  /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
3
+ * Render a layout column in renderer.
4
4
  */
5
- import React from 'react';
6
- import { jsx } from '@emotion/react';
7
5
  export default function LayoutSection(props: React.PropsWithChildren<{
8
6
  width?: number;
9
- }>): jsx.JSX.Element;
7
+ }>): React.JSX.Element;
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Compiled branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `panel.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ import { PanelType } from '@atlaskit/adf-schema';
13
+ interface PanelStyledProps {
14
+ backgroundColor?: string;
15
+ 'data-panel-type': PanelType;
16
+ hasIcon?: boolean;
17
+ }
18
+ export declare const PanelStyledCompiled: {
19
+ ({ backgroundColor, children, className, hasIcon, ...props }: React.PropsWithChildren<PanelStyledProps & React.HTMLAttributes<HTMLDivElement>>): JSX.Element;
20
+ displayName: string;
21
+ };
22
+ export {};
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ /**
6
+ * Emotion branch of the `platform_editor_static_css` experiment.
7
+ * Used via `componentWithCondition` in `panel.tsx`.
8
+ *
9
+ * Cleanup: delete this file once the experiment has shipped.
10
+ */
11
+ import React from 'react';
12
+ import { jsx } from '@emotion/react';
13
+ import { PanelType } from '@atlaskit/adf-schema';
14
+ interface PanelStyledProps {
15
+ backgroundColor?: string;
16
+ 'data-panel-type': PanelType;
17
+ hasIcon?: boolean;
18
+ }
19
+ export declare const PanelStyledEmotion: {
20
+ ({ backgroundColor, hasIcon, ...props }: React.PropsWithChildren<PanelStyledProps & React.HTMLAttributes<HTMLDivElement>>): jsx.JSX.Element;
21
+ displayName: string;
22
+ };
23
+ export {};
@@ -1,9 +1,4 @@
1
- /**
2
- * @jsxRuntime classic
3
- * @jsx jsx
4
- */
5
1
  import React from 'react';
6
- import { jsx } from '@emotion/react';
7
2
  import { PanelType } from '@atlaskit/adf-schema';
8
3
  import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
9
4
  export interface Props {
@@ -17,5 +12,5 @@ export interface Props {
17
12
  panelType: PanelType;
18
13
  providers?: ProviderFactory;
19
14
  }
20
- declare const Panel: (props: Props) => jsx.JSX.Element;
15
+ declare const Panel: (props: Props) => React.JSX.Element;
21
16
  export default Panel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "130.2.17",
3
+ "version": "130.3.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,8 +30,8 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^52.6.0",
34
- "@atlaskit/adf-utils": "^19.27.0",
33
+ "@atlaskit/adf-schema": "^52.7.0",
34
+ "@atlaskit/adf-utils": "^19.28.0",
35
35
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.10.0",
36
36
  "@atlaskit/analytics-listeners": "^10.0.0",
37
37
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
@@ -51,26 +51,27 @@
51
51
  "@atlaskit/link-datasource": "^5.2.0",
52
52
  "@atlaskit/link-extractors": "^2.4.0",
53
53
  "@atlaskit/linking-common": "^9.11.0",
54
- "@atlaskit/media-card": "^80.3.0",
55
- "@atlaskit/media-client": "^36.0.0",
54
+ "@atlaskit/media-card": "^80.4.0",
55
+ "@atlaskit/media-client": "^36.1.0",
56
56
  "@atlaskit/media-client-react": "^5.1.0",
57
- "@atlaskit/media-common": "^13.1.0",
57
+ "@atlaskit/media-common": "^13.2.0",
58
58
  "@atlaskit/media-filmstrip": "^51.3.0",
59
59
  "@atlaskit/media-ui": "^29.1.0",
60
60
  "@atlaskit/media-viewer": "^53.1.0",
61
61
  "@atlaskit/platform-feature-flags": "^1.1.0",
62
62
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
63
63
  "@atlaskit/pragmatic-drag-and-drop": "^1.8.0",
64
- "@atlaskit/react-ufo": "^5.17.0",
64
+ "@atlaskit/react-ufo": "^5.18.0",
65
65
  "@atlaskit/smart-card": "^44.3.0",
66
66
  "@atlaskit/status": "^4.0.0",
67
67
  "@atlaskit/task-decision": "^20.0.0",
68
68
  "@atlaskit/theme": "^23.2.0",
69
- "@atlaskit/tmp-editor-statsig": "^73.0.0",
69
+ "@atlaskit/tmp-editor-statsig": "^74.0.0",
70
70
  "@atlaskit/tokens": "^13.0.0",
71
71
  "@atlaskit/tooltip": "^21.2.0",
72
72
  "@atlaskit/visually-hidden": "^3.0.0",
73
73
  "@babel/runtime": "^7.0.0",
74
+ "@compiled/react": "^0.20.0",
74
75
  "@emotion/react": "^11.7.1",
75
76
  "lodash": "^4.17.21",
76
77
  "memoize-one": "^6.0.0",
@@ -79,7 +80,7 @@
79
80
  "uuid": "^3.1.0"
80
81
  },
81
82
  "peerDependencies": {
82
- "@atlaskit/editor-common": "^114.13.0",
83
+ "@atlaskit/editor-common": "^114.16.0",
83
84
  "@atlaskit/link-provider": "^4.3.0",
84
85
  "@atlaskit/media-core": "^37.0.0",
85
86
  "react": "^18.2.0",
@@ -133,11 +134,15 @@
133
134
  ],
134
135
  "deprecation": "no-deprecated-imports",
135
136
  "styling": [
137
+ "compiled",
136
138
  "emotion"
137
139
  ]
138
140
  }
139
141
  },
140
142
  "platform-feature-flags": {
143
+ "platform_editor_render_inline_extension_analytics": {
144
+ "type": "boolean"
145
+ },
141
146
  "confluence_frontend_fix_date_hydration_error": {
142
147
  "type": "boolean"
143
148
  },