@atlaskit/renderer 130.2.14 → 130.2.16
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/codeBlock/components/codeBlockCopyButton.js +1 -2
- package/dist/cjs/react/nodes/heading-anchor.js +1 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -2
- package/dist/es2019/react/nodes/heading-anchor.js +1 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -2
- package/dist/esm/react/nodes/heading-anchor.js +1 -1
- package/dist/types/react/nodes/index.d.ts +57 -32
- package/dist/types-ts4.5/react/nodes/index.d.ts +57 -32
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 130.2.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d94df511393a9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d94df511393a9) -
|
|
8
|
+
Removing FG platform_editor_a11y_eslint_fix
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 130.2.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 130.2.14
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
9
9
|
var _customThemeButton = _interopRequireDefault(require("@atlaskit/button/custom-theme-button"));
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _copy = _interopRequireDefault(require("@atlaskit/icon/core/copy"));
|
|
12
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
13
12
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
14
13
|
var _react = require("@emotion/react");
|
|
15
14
|
var _react2 = require("react");
|
|
@@ -47,7 +46,7 @@ var CopyButton = function CopyButton(_ref) {
|
|
|
47
46
|
position: "top"
|
|
48
47
|
}, (0, _react.jsx)("div", {
|
|
49
48
|
onMouseLeave: onMouseLeave,
|
|
50
|
-
onBlur:
|
|
49
|
+
onBlur: onMouseLeave
|
|
51
50
|
}, (0, _react.jsx)(_customThemeButton.default, {
|
|
52
51
|
appearance: "subtle",
|
|
53
52
|
"aria-haspopup": true,
|
|
@@ -120,7 +120,7 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
120
120
|
id: _this.copyLinkId,
|
|
121
121
|
css: copyAnchorButtonStyles,
|
|
122
122
|
onMouseLeave: _this.resetMessage,
|
|
123
|
-
onBlur:
|
|
123
|
+
onBlur: _this.resetMessage,
|
|
124
124
|
onClick: _this.copyToClipboard,
|
|
125
125
|
"aria-hidden": hideFromScreenReader,
|
|
126
126
|
tabIndex: tabIndex,
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
6
6
|
import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
|
|
7
7
|
import CopyIcon from '@atlaskit/icon/core/copy';
|
|
8
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
10
|
import { jsx } from '@emotion/react';
|
|
@@ -32,7 +31,7 @@ const CopyButton = ({
|
|
|
32
31
|
position: "top"
|
|
33
32
|
}, jsx("div", {
|
|
34
33
|
onMouseLeave: onMouseLeave,
|
|
35
|
-
onBlur:
|
|
34
|
+
onBlur: onMouseLeave
|
|
36
35
|
}, jsx(Button, {
|
|
37
36
|
appearance: "subtle",
|
|
38
37
|
"aria-haspopup": true,
|
|
@@ -88,7 +88,7 @@ class HeadingAnchor extends React.PureComponent {
|
|
|
88
88
|
id: this.copyLinkId,
|
|
89
89
|
css: copyAnchorButtonStyles,
|
|
90
90
|
onMouseLeave: this.resetMessage,
|
|
91
|
-
onBlur:
|
|
91
|
+
onBlur: this.resetMessage,
|
|
92
92
|
onClick: this.copyToClipboard,
|
|
93
93
|
"aria-hidden": hideFromScreenReader,
|
|
94
94
|
tabIndex: tabIndex,
|
|
@@ -6,7 +6,6 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
7
7
|
import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages';
|
|
8
8
|
import CopyIcon from '@atlaskit/icon/core/copy';
|
|
9
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
9
|
import Tooltip from '@atlaskit/tooltip';
|
|
11
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
11
|
import { jsx } from '@emotion/react';
|
|
@@ -38,7 +37,7 @@ var CopyButton = function CopyButton(_ref) {
|
|
|
38
37
|
position: "top"
|
|
39
38
|
}, jsx("div", {
|
|
40
39
|
onMouseLeave: onMouseLeave,
|
|
41
|
-
onBlur:
|
|
40
|
+
onBlur: onMouseLeave
|
|
42
41
|
}, jsx(Button, {
|
|
43
42
|
appearance: "subtle",
|
|
44
43
|
"aria-haspopup": true,
|
|
@@ -114,7 +114,7 @@ var HeadingAnchor = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
114
114
|
id: _this.copyLinkId,
|
|
115
115
|
css: copyAnchorButtonStyles,
|
|
116
116
|
onMouseLeave: _this.resetMessage,
|
|
117
|
-
onBlur:
|
|
117
|
+
onBlur: _this.resetMessage,
|
|
118
118
|
onClick: _this.copyToClipboard,
|
|
119
119
|
"aria-hidden": hideFromScreenReader,
|
|
120
120
|
tabIndex: tabIndex,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import Loadable from 'react-loadable';
|
|
3
3
|
import type { Fragment, Node, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
+
import { type EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
5
|
import Blockquote from './blockquote';
|
|
5
6
|
import BodiedExtension from './bodiedExtension';
|
|
6
7
|
import MultiBodiedExtension from './multiBodiedExtension';
|
|
@@ -23,62 +24,86 @@ import Table from './table';
|
|
|
23
24
|
import { TableCell } from './tableCell';
|
|
24
25
|
import TableRow from './tableRow';
|
|
25
26
|
import UnknownBlock from './unknownBlock';
|
|
26
|
-
import type { NodeComponentsProps } from '../../ui/Renderer/types';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
import type { NodeComponentsProps, RendererAppearance } from '../../ui/Renderer/types';
|
|
28
|
+
import type { RichMediaLayout, DatasourceAttributeProperties } from '@atlaskit/adf-schema';
|
|
29
|
+
import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline';
|
|
30
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
31
|
+
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
32
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
33
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
34
|
+
import type { MediaSSR } from '../../types/mediaOptions';
|
|
35
|
+
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
36
|
+
import type { ExpandProps } from '../../ui/Expand';
|
|
37
|
+
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
38
|
+
import type { NodeProps } from '../types';
|
|
39
|
+
import type { Props as CodeBlockNodeProps } from './codeBlock/codeBlock';
|
|
40
|
+
import type { Props as DateNodeProps } from './date';
|
|
41
|
+
import type { Props as DecisionListNodeProps } from './decisionList';
|
|
42
|
+
import type { EmojiProps } from './emoji';
|
|
43
|
+
import type { InlineCardProps } from './inlineCard';
|
|
44
|
+
import type { MediaProps } from './media';
|
|
45
|
+
import type { MediaGroupProps } from './mediaGroup';
|
|
46
|
+
import type { Props as MediaSingleNodeProps } from './mediaSingle';
|
|
47
|
+
import type { Props as MentionNodeProps } from './mention';
|
|
48
|
+
import type { Props as PanelNodeProps } from './panel';
|
|
49
|
+
import type { Props as StatusNodeProps } from './status';
|
|
50
|
+
import type { Props as TaskItemNodeProps } from './taskItem';
|
|
51
|
+
import type { Props as TaskListNodeProps } from './taskList';
|
|
52
|
+
declare const WindowedCodeBlock: React.ComponentType<CodeBlockNodeProps> & Loadable.LoadableComponent;
|
|
53
|
+
declare const CodeBlock: React.ComponentType<WithIntlProps<CodeBlockNodeProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
54
|
+
declare const TaskList: React.ComponentType<TaskListNodeProps> & Loadable.LoadableComponent;
|
|
55
|
+
declare const TaskItem: React.ComponentType<NodeProps<TaskItemNodeProps>> & Loadable.LoadableComponent;
|
|
56
|
+
declare const DecisionList: React.ComponentType<DecisionListNodeProps> & Loadable.LoadableComponent;
|
|
57
|
+
declare const DecisionItem: React.ComponentType<NodeProps> & Loadable.LoadableComponent;
|
|
58
|
+
declare const Date: React.ComponentType<DateNodeProps> & Loadable.LoadableComponent;
|
|
59
|
+
declare const Status: React.ComponentType<StatusNodeProps> & Loadable.LoadableComponent;
|
|
60
|
+
declare const Emoji: React.ComponentType<EmojiProps> & Loadable.LoadableComponent;
|
|
61
|
+
declare const Panel: React.ComponentType<PanelNodeProps> & Loadable.LoadableComponent;
|
|
37
62
|
declare const EmbedCard: React.ComponentType<{
|
|
38
63
|
data?: object;
|
|
39
|
-
eventHandlers?:
|
|
64
|
+
eventHandlers?: EventHandlers;
|
|
40
65
|
isInsideOfBlockNode?: boolean;
|
|
41
66
|
isInsideOfInlineExtension?: boolean;
|
|
42
|
-
layout:
|
|
67
|
+
layout: RichMediaLayout;
|
|
43
68
|
onSetLinkTarget?: (url: string) => "_blank" | undefined;
|
|
44
69
|
originalHeight?: number;
|
|
45
70
|
originalWidth?: number;
|
|
46
71
|
portal?: HTMLElement;
|
|
47
|
-
rendererAppearance?:
|
|
48
|
-
smartLinks?:
|
|
72
|
+
rendererAppearance?: RendererAppearance;
|
|
73
|
+
smartLinks?: SmartLinksOptions;
|
|
49
74
|
url?: string;
|
|
50
75
|
width?: number;
|
|
51
76
|
}> & Loadable.LoadableComponent;
|
|
52
|
-
declare const InlineCard: React.ComponentType<
|
|
77
|
+
declare const InlineCard: React.ComponentType<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>> & Loadable.LoadableComponent;
|
|
53
78
|
declare const BlockCard: React.ComponentType<{
|
|
54
79
|
data?: object;
|
|
55
|
-
datasource?:
|
|
56
|
-
eventHandlers?:
|
|
80
|
+
datasource?: DatasourceAttributeProperties;
|
|
81
|
+
eventHandlers?: EventHandlers;
|
|
57
82
|
isNodeNested?: boolean;
|
|
58
83
|
layout?: string;
|
|
59
84
|
localId?: string;
|
|
60
85
|
onSetLinkTarget?: (url: string) => "_blank" | undefined;
|
|
61
86
|
portal?: HTMLElement;
|
|
62
|
-
rendererAppearance?:
|
|
63
|
-
smartLinks?:
|
|
87
|
+
rendererAppearance?: RendererAppearance;
|
|
88
|
+
smartLinks?: SmartLinksOptions;
|
|
64
89
|
url?: string;
|
|
65
90
|
}> & Loadable.LoadableComponent;
|
|
66
|
-
declare const Media: React.ComponentType<React.PropsWithChildren<
|
|
67
|
-
declare const MediaGroup: React.ComponentType<
|
|
68
|
-
declare const MediaInline: React.ComponentType<
|
|
91
|
+
declare const Media: React.ComponentType<React.PropsWithChildren<MediaProps>> & Loadable.LoadableComponent;
|
|
92
|
+
declare const MediaGroup: React.ComponentType<MediaGroupProps> & Loadable.LoadableComponent;
|
|
93
|
+
declare const MediaInline: React.ComponentType<WithIntlProps<{
|
|
69
94
|
collection?: string;
|
|
70
|
-
eventHandlers?:
|
|
95
|
+
eventHandlers?: EventHandlers;
|
|
71
96
|
fallbackMediaNameFetcher?: (id: string) => Promise<string>;
|
|
72
|
-
featureFlags?:
|
|
97
|
+
featureFlags?: MediaFeatureFlags;
|
|
73
98
|
id: string;
|
|
74
99
|
marks?: Array<Mark>;
|
|
75
|
-
providers:
|
|
76
|
-
rendererAppearance?:
|
|
77
|
-
ssr?:
|
|
78
|
-
} &
|
|
79
|
-
declare const MediaSingle: React.ComponentType<
|
|
80
|
-
declare const Mention: React.ComponentType<
|
|
81
|
-
declare const Expand: React.ComponentType<
|
|
100
|
+
providers: ProviderFactory;
|
|
101
|
+
rendererAppearance?: RendererAppearance;
|
|
102
|
+
ssr?: MediaSSR;
|
|
103
|
+
} & WrappedComponentProps & MediaInlineAttrs>> & Loadable.LoadableComponent;
|
|
104
|
+
declare const MediaSingle: React.ComponentType<WithIntlProps<MediaSingleNodeProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
105
|
+
declare const Mention: React.ComponentType<MentionNodeProps> & Loadable.LoadableComponent;
|
|
106
|
+
declare const Expand: React.ComponentType<WithIntlProps<ExpandProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
82
107
|
export declare const nodeToReact: {
|
|
83
108
|
[key: string]: React.ComponentType<React.PropsWithChildren<any>>;
|
|
84
109
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import Loadable from 'react-loadable';
|
|
3
3
|
import type { Fragment, Node, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
+
import { type EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
5
|
import Blockquote from './blockquote';
|
|
5
6
|
import BodiedExtension from './bodiedExtension';
|
|
6
7
|
import MultiBodiedExtension from './multiBodiedExtension';
|
|
@@ -23,62 +24,86 @@ import Table from './table';
|
|
|
23
24
|
import { TableCell } from './tableCell';
|
|
24
25
|
import TableRow from './tableRow';
|
|
25
26
|
import UnknownBlock from './unknownBlock';
|
|
26
|
-
import type { NodeComponentsProps } from '../../ui/Renderer/types';
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
27
|
+
import type { NodeComponentsProps, RendererAppearance } from '../../ui/Renderer/types';
|
|
28
|
+
import type { RichMediaLayout, DatasourceAttributeProperties } from '@atlaskit/adf-schema';
|
|
29
|
+
import type { MediaInlineAttrs } from '@atlaskit/editor-common/media-inline';
|
|
30
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
31
|
+
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
32
|
+
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
33
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
34
|
+
import type { MediaSSR } from '../../types/mediaOptions';
|
|
35
|
+
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
36
|
+
import type { ExpandProps } from '../../ui/Expand';
|
|
37
|
+
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
38
|
+
import type { NodeProps } from '../types';
|
|
39
|
+
import type { Props as CodeBlockNodeProps } from './codeBlock/codeBlock';
|
|
40
|
+
import type { Props as DateNodeProps } from './date';
|
|
41
|
+
import type { Props as DecisionListNodeProps } from './decisionList';
|
|
42
|
+
import type { EmojiProps } from './emoji';
|
|
43
|
+
import type { InlineCardProps } from './inlineCard';
|
|
44
|
+
import type { MediaProps } from './media';
|
|
45
|
+
import type { MediaGroupProps } from './mediaGroup';
|
|
46
|
+
import type { Props as MediaSingleNodeProps } from './mediaSingle';
|
|
47
|
+
import type { Props as MentionNodeProps } from './mention';
|
|
48
|
+
import type { Props as PanelNodeProps } from './panel';
|
|
49
|
+
import type { Props as StatusNodeProps } from './status';
|
|
50
|
+
import type { Props as TaskItemNodeProps } from './taskItem';
|
|
51
|
+
import type { Props as TaskListNodeProps } from './taskList';
|
|
52
|
+
declare const WindowedCodeBlock: React.ComponentType<CodeBlockNodeProps> & Loadable.LoadableComponent;
|
|
53
|
+
declare const CodeBlock: React.ComponentType<WithIntlProps<CodeBlockNodeProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
54
|
+
declare const TaskList: React.ComponentType<TaskListNodeProps> & Loadable.LoadableComponent;
|
|
55
|
+
declare const TaskItem: React.ComponentType<NodeProps<TaskItemNodeProps>> & Loadable.LoadableComponent;
|
|
56
|
+
declare const DecisionList: React.ComponentType<DecisionListNodeProps> & Loadable.LoadableComponent;
|
|
57
|
+
declare const DecisionItem: React.ComponentType<NodeProps> & Loadable.LoadableComponent;
|
|
58
|
+
declare const Date: React.ComponentType<DateNodeProps> & Loadable.LoadableComponent;
|
|
59
|
+
declare const Status: React.ComponentType<StatusNodeProps> & Loadable.LoadableComponent;
|
|
60
|
+
declare const Emoji: React.ComponentType<EmojiProps> & Loadable.LoadableComponent;
|
|
61
|
+
declare const Panel: React.ComponentType<PanelNodeProps> & Loadable.LoadableComponent;
|
|
37
62
|
declare const EmbedCard: React.ComponentType<{
|
|
38
63
|
data?: object;
|
|
39
|
-
eventHandlers?:
|
|
64
|
+
eventHandlers?: EventHandlers;
|
|
40
65
|
isInsideOfBlockNode?: boolean;
|
|
41
66
|
isInsideOfInlineExtension?: boolean;
|
|
42
|
-
layout:
|
|
67
|
+
layout: RichMediaLayout;
|
|
43
68
|
onSetLinkTarget?: (url: string) => "_blank" | undefined;
|
|
44
69
|
originalHeight?: number;
|
|
45
70
|
originalWidth?: number;
|
|
46
71
|
portal?: HTMLElement;
|
|
47
|
-
rendererAppearance?:
|
|
48
|
-
smartLinks?:
|
|
72
|
+
rendererAppearance?: RendererAppearance;
|
|
73
|
+
smartLinks?: SmartLinksOptions;
|
|
49
74
|
url?: string;
|
|
50
75
|
width?: number;
|
|
51
76
|
}> & Loadable.LoadableComponent;
|
|
52
|
-
declare const InlineCard: React.ComponentType<
|
|
77
|
+
declare const InlineCard: React.ComponentType<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>> & Loadable.LoadableComponent;
|
|
53
78
|
declare const BlockCard: React.ComponentType<{
|
|
54
79
|
data?: object;
|
|
55
|
-
datasource?:
|
|
56
|
-
eventHandlers?:
|
|
80
|
+
datasource?: DatasourceAttributeProperties;
|
|
81
|
+
eventHandlers?: EventHandlers;
|
|
57
82
|
isNodeNested?: boolean;
|
|
58
83
|
layout?: string;
|
|
59
84
|
localId?: string;
|
|
60
85
|
onSetLinkTarget?: (url: string) => "_blank" | undefined;
|
|
61
86
|
portal?: HTMLElement;
|
|
62
|
-
rendererAppearance?:
|
|
63
|
-
smartLinks?:
|
|
87
|
+
rendererAppearance?: RendererAppearance;
|
|
88
|
+
smartLinks?: SmartLinksOptions;
|
|
64
89
|
url?: string;
|
|
65
90
|
}> & Loadable.LoadableComponent;
|
|
66
|
-
declare const Media: React.ComponentType<React.PropsWithChildren<
|
|
67
|
-
declare const MediaGroup: React.ComponentType<
|
|
68
|
-
declare const MediaInline: React.ComponentType<
|
|
91
|
+
declare const Media: React.ComponentType<React.PropsWithChildren<MediaProps>> & Loadable.LoadableComponent;
|
|
92
|
+
declare const MediaGroup: React.ComponentType<MediaGroupProps> & Loadable.LoadableComponent;
|
|
93
|
+
declare const MediaInline: React.ComponentType<WithIntlProps<{
|
|
69
94
|
collection?: string;
|
|
70
|
-
eventHandlers?:
|
|
95
|
+
eventHandlers?: EventHandlers;
|
|
71
96
|
fallbackMediaNameFetcher?: (id: string) => Promise<string>;
|
|
72
|
-
featureFlags?:
|
|
97
|
+
featureFlags?: MediaFeatureFlags;
|
|
73
98
|
id: string;
|
|
74
99
|
marks?: Array<Mark>;
|
|
75
|
-
providers:
|
|
76
|
-
rendererAppearance?:
|
|
77
|
-
ssr?:
|
|
78
|
-
} &
|
|
79
|
-
declare const MediaSingle: React.ComponentType<
|
|
80
|
-
declare const Mention: React.ComponentType<
|
|
81
|
-
declare const Expand: React.ComponentType<
|
|
100
|
+
providers: ProviderFactory;
|
|
101
|
+
rendererAppearance?: RendererAppearance;
|
|
102
|
+
ssr?: MediaSSR;
|
|
103
|
+
} & WrappedComponentProps & MediaInlineAttrs>> & Loadable.LoadableComponent;
|
|
104
|
+
declare const MediaSingle: React.ComponentType<WithIntlProps<MediaSingleNodeProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
105
|
+
declare const Mention: React.ComponentType<MentionNodeProps> & Loadable.LoadableComponent;
|
|
106
|
+
declare const Expand: React.ComponentType<WithIntlProps<ExpandProps & WrappedComponentProps>> & Loadable.LoadableComponent;
|
|
82
107
|
export declare const nodeToReact: {
|
|
83
108
|
[key: string]: React.ComponentType<React.PropsWithChildren<any>>;
|
|
84
109
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "130.2.
|
|
3
|
+
"version": "130.2.16",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,13 +51,13 @@
|
|
|
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.
|
|
54
|
+
"@atlaskit/media-card": "^80.3.0",
|
|
55
55
|
"@atlaskit/media-client": "^36.0.0",
|
|
56
|
-
"@atlaskit/media-client-react": "^5.
|
|
57
|
-
"@atlaskit/media-common": "^13.
|
|
58
|
-
"@atlaskit/media-filmstrip": "^51.
|
|
59
|
-
"@atlaskit/media-ui": "^29.
|
|
60
|
-
"@atlaskit/media-viewer": "^53.
|
|
56
|
+
"@atlaskit/media-client-react": "^5.1.0",
|
|
57
|
+
"@atlaskit/media-common": "^13.1.0",
|
|
58
|
+
"@atlaskit/media-filmstrip": "^51.3.0",
|
|
59
|
+
"@atlaskit/media-ui": "^29.1.0",
|
|
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",
|
|
@@ -66,7 +66,7 @@
|
|
|
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": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^72.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^13.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^21.2.0",
|
|
72
72
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"uuid": "^3.1.0"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@atlaskit/editor-common": "^114.
|
|
82
|
+
"@atlaskit/editor-common": "^114.13.0",
|
|
83
83
|
"@atlaskit/link-provider": "^4.3.0",
|
|
84
84
|
"@atlaskit/media-core": "^37.0.0",
|
|
85
85
|
"react": "^18.2.0",
|