@atlaskit/renderer 93.0.1 → 93.0.4
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 +20 -0
- package/actions/package.json +1 -0
- package/consts/package.json +1 -0
- package/dist/cjs/ui/Expand.js +9 -3
- package/dist/cjs/ui/annotations/element/mark.js +5 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/Expand.js +9 -3
- package/dist/es2019/ui/annotations/element/mark.js +6 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/Expand.js +9 -3
- package/dist/esm/ui/annotations/element/mark.js +5 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/actions/index.d.ts +1 -4
- package/dist/types/react/nodes/copy-text-provider.d.ts +1 -1
- package/dist/types/react/nodes/extension.d.ts +2 -2
- package/dist/types/react/nodes/fallback.d.ts +1 -1
- package/dist/types/react/nodes/index.d.ts +20 -38
- package/dist/types/react/nodes/inlineCard.d.ts +20 -20
- package/dist/types/react/nodes/mediaGroup.d.ts +3 -3
- package/dist/types/react/nodes/table.d.ts +80 -80
- package/dist/types/ui/MediaCard.d.ts +1 -1
- package/dist/types/ui/SmartCardStorage.d.ts +21 -20
- package/dist/types/ui/SortingIcon.d.ts +7 -5
- package/dist/types/utils.d.ts +1 -1
- package/messages/package.json +1 -0
- package/package.json +6 -6
- package/render-document/package.json +1 -0
- package/renderer-context/package.json +1 -0
- package/serializer/package.json +1 -0
- package/text-serializer/package.json +1 -0
- package/use-feature-flags/package.json +1 -0
- package/utils/package.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 93.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`42d1107698a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42d1107698a) - [ux] ED-14913 Fix expand text in renderer dark mode
|
|
8
|
+
|
|
9
|
+
## 93.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`dd0d549d232`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd0d549d232) - [ux] ED-14943 Fix dark theme colors for annotations (inline comments) in renderer
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 93.0.2
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 93.0.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/actions/package.json
CHANGED
package/consts/package.json
CHANGED
package/dist/cjs/ui/Expand.js
CHANGED
|
@@ -53,7 +53,9 @@ var Container = function Container(props) {
|
|
|
53
53
|
var sharedContainerStyles = _ui.sharedExpandStyles.containerStyles(props);
|
|
54
54
|
|
|
55
55
|
var styles = function styles(themeProps) {
|
|
56
|
-
return (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n padding: 0;\n padding-bottom: ", ";\n "])), sharedContainerStyles(
|
|
56
|
+
return (0, _react2.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n padding: 0;\n padding-bottom: ", ";\n "])), sharedContainerStyles({
|
|
57
|
+
theme: themeProps
|
|
58
|
+
}), paddingBottom);
|
|
57
59
|
};
|
|
58
60
|
|
|
59
61
|
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
@@ -65,7 +67,9 @@ var TitleContainer = function TitleContainer(props) {
|
|
|
65
67
|
var paddingBottom = "".concat(!props.expanded ? (0, _constants.gridSize)() : 0, "px");
|
|
66
68
|
|
|
67
69
|
var styles = function styles(themeProps) {
|
|
68
|
-
return (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n padding: ", "px;\n padding-bottom: ", ";\n "])), _ui.sharedExpandStyles.titleContainerStyles(
|
|
70
|
+
return (0, _react2.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n ", "\n padding: ", "px;\n padding-bottom: ", ";\n "])), _ui.sharedExpandStyles.titleContainerStyles({
|
|
71
|
+
theme: themeProps
|
|
72
|
+
}), (0, _constants.gridSize)(), paddingBottom);
|
|
69
73
|
};
|
|
70
74
|
|
|
71
75
|
return (0, _react2.jsx)("button", (0, _extends2.default)({
|
|
@@ -81,7 +85,9 @@ var ContentContainer = function ContentContainer(props) {
|
|
|
81
85
|
var visibility = props.expanded ? 'visible' : 'hidden';
|
|
82
86
|
|
|
83
87
|
var styles = function styles(themeProps) {
|
|
84
|
-
return (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n ", ";\n padding-right: ", "px;\n padding-left: ", "px;\n visibility: ", ";\n "])), sharedContentStyles(
|
|
88
|
+
return (0, _react2.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n ", ";\n padding-right: ", "px;\n padding-left: ", "px;\n visibility: ", ";\n "])), sharedContentStyles({
|
|
89
|
+
theme: themeProps
|
|
90
|
+
}), (0, _constants.gridSize)() * 2, (0, _constants.gridSize)() * 5 - (0, _constants.gridSize)() / 2, visibility);
|
|
85
91
|
};
|
|
86
92
|
|
|
87
93
|
return (0, _react2.jsx)("div", (0, _extends2.default)({
|
|
@@ -36,7 +36,11 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
36
36
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
37
37
|
|
|
38
38
|
var markStyles = function markStyles(props) {
|
|
39
|
-
return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), _adfSchema.AnnotationMarkStates.ACTIVE, (0, _styles.AnnotationSharedCSSByState)(
|
|
39
|
+
return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), _adfSchema.AnnotationMarkStates.ACTIVE, (0, _styles.AnnotationSharedCSSByState)({
|
|
40
|
+
theme: props
|
|
41
|
+
}).blur, (0, _styles.AnnotationSharedCSSByState)({
|
|
42
|
+
theme: props
|
|
43
|
+
}).focus);
|
|
40
44
|
};
|
|
41
45
|
|
|
42
46
|
var MarkComponent = function MarkComponent(_ref) {
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/ui/Expand.js
CHANGED
|
@@ -31,7 +31,9 @@ const Container = props => {
|
|
|
31
31
|
const sharedContainerStyles = sharedExpandStyles.containerStyles(props);
|
|
32
32
|
|
|
33
33
|
const styles = themeProps => css`
|
|
34
|
-
${sharedContainerStyles(
|
|
34
|
+
${sharedContainerStyles({
|
|
35
|
+
theme: themeProps
|
|
36
|
+
})}
|
|
35
37
|
padding: 0;
|
|
36
38
|
padding-bottom: ${paddingBottom};
|
|
37
39
|
`;
|
|
@@ -45,7 +47,9 @@ const TitleContainer = props => {
|
|
|
45
47
|
const paddingBottom = `${!props.expanded ? gridSize() : 0}px`;
|
|
46
48
|
|
|
47
49
|
const styles = themeProps => css`
|
|
48
|
-
${sharedExpandStyles.titleContainerStyles(
|
|
50
|
+
${sharedExpandStyles.titleContainerStyles({
|
|
51
|
+
theme: themeProps
|
|
52
|
+
})}
|
|
49
53
|
padding: ${gridSize()}px;
|
|
50
54
|
padding-bottom: ${paddingBottom};
|
|
51
55
|
`;
|
|
@@ -62,7 +66,9 @@ const ContentContainer = props => {
|
|
|
62
66
|
const visibility = props.expanded ? 'visible' : 'hidden';
|
|
63
67
|
|
|
64
68
|
const styles = themeProps => css`
|
|
65
|
-
${sharedContentStyles(
|
|
69
|
+
${sharedContentStyles({
|
|
70
|
+
theme: themeProps
|
|
71
|
+
})};
|
|
66
72
|
padding-right: ${gridSize() * 2}px;
|
|
67
73
|
padding-left: ${gridSize() * 5 - gridSize() / 2}px;
|
|
68
74
|
visibility: ${visibility};
|
|
@@ -12,11 +12,15 @@ const markStyles = props => css`
|
|
|
12
12
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
13
13
|
|
|
14
14
|
&[data-mark-annotation-state='${AnnotationMarkStates.ACTIVE}'] {
|
|
15
|
-
${AnnotationSharedCSSByState(
|
|
15
|
+
${AnnotationSharedCSSByState({
|
|
16
|
+
theme: props
|
|
17
|
+
}).blur};
|
|
16
18
|
|
|
17
19
|
&:focus,
|
|
18
20
|
&[data-has-focus='true'] {
|
|
19
|
-
${AnnotationSharedCSSByState(
|
|
21
|
+
${AnnotationSharedCSSByState({
|
|
22
|
+
theme: props
|
|
23
|
+
}).focus};
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
`;
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/ui/Expand.js
CHANGED
|
@@ -24,7 +24,9 @@ var Container = function Container(props) {
|
|
|
24
24
|
var sharedContainerStyles = sharedExpandStyles.containerStyles(props);
|
|
25
25
|
|
|
26
26
|
var styles = function styles(themeProps) {
|
|
27
|
-
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n padding: 0;\n padding-bottom: ", ";\n "])), sharedContainerStyles(
|
|
27
|
+
return css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", "\n padding: 0;\n padding-bottom: ", ";\n "])), sharedContainerStyles({
|
|
28
|
+
theme: themeProps
|
|
29
|
+
}), paddingBottom);
|
|
28
30
|
};
|
|
29
31
|
|
|
30
32
|
return jsx("div", _extends({
|
|
@@ -36,7 +38,9 @@ var TitleContainer = function TitleContainer(props) {
|
|
|
36
38
|
var paddingBottom = "".concat(!props.expanded ? gridSize() : 0, "px");
|
|
37
39
|
|
|
38
40
|
var styles = function styles(themeProps) {
|
|
39
|
-
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n padding: ", "px;\n padding-bottom: ", ";\n "])), sharedExpandStyles.titleContainerStyles(
|
|
41
|
+
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n ", "\n padding: ", "px;\n padding-bottom: ", ";\n "])), sharedExpandStyles.titleContainerStyles({
|
|
42
|
+
theme: themeProps
|
|
43
|
+
}), gridSize(), paddingBottom);
|
|
40
44
|
};
|
|
41
45
|
|
|
42
46
|
return jsx("button", _extends({
|
|
@@ -51,7 +55,9 @@ var ContentContainer = function ContentContainer(props) {
|
|
|
51
55
|
var visibility = props.expanded ? 'visible' : 'hidden';
|
|
52
56
|
|
|
53
57
|
var styles = function styles(themeProps) {
|
|
54
|
-
return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", ";\n padding-right: ", "px;\n padding-left: ", "px;\n visibility: ", ";\n "])), sharedContentStyles(
|
|
58
|
+
return css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n ", ";\n padding-right: ", "px;\n padding-left: ", "px;\n visibility: ", ";\n "])), sharedContentStyles({
|
|
59
|
+
theme: themeProps
|
|
60
|
+
}), gridSize() * 2, gridSize() * 5 - gridSize() / 2, visibility);
|
|
55
61
|
};
|
|
56
62
|
|
|
57
63
|
return jsx("div", _extends({
|
|
@@ -16,7 +16,11 @@ import { AnnotationSharedCSSByState } from '@atlaskit/editor-common/styles';
|
|
|
16
16
|
import { AnnotationMarkStates } from '@atlaskit/adf-schema';
|
|
17
17
|
|
|
18
18
|
var markStyles = function markStyles(props) {
|
|
19
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), AnnotationMarkStates.ACTIVE, AnnotationSharedCSSByState(
|
|
19
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), AnnotationMarkStates.ACTIVE, AnnotationSharedCSSByState({
|
|
20
|
+
theme: props
|
|
21
|
+
}).blur, AnnotationSharedCSSByState({
|
|
22
|
+
theme: props
|
|
23
|
+
}).focus);
|
|
20
24
|
};
|
|
21
25
|
|
|
22
26
|
export var MarkComponent = function MarkComponent(_ref) {
|
package/dist/esm/version.json
CHANGED
|
@@ -49,10 +49,7 @@ export default class RendererActions implements RendererActionsOptions, Annotati
|
|
|
49
49
|
step: RemoveMarkStep<Schema<any, any>>;
|
|
50
50
|
doc: JSONDocNode;
|
|
51
51
|
};
|
|
52
|
-
annotate(range: Range, annotationId: string, annotationType: 'inlineComment'):
|
|
53
|
-
step: Step<any>;
|
|
54
|
-
doc: JSONDocNode;
|
|
55
|
-
} & AnnotationByMatches);
|
|
52
|
+
annotate(range: Range, annotationId: string, annotationType: 'inlineComment'): AnnotationActionResult;
|
|
56
53
|
isValidAnnotationRange(range: Range): boolean;
|
|
57
54
|
isValidAnnotationPosition(pos: Position): boolean;
|
|
58
55
|
getPositionFromRange(range: Range): Position | false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const clipboardApiSupported: () => boolean;
|
|
3
|
-
export declare const ieClipboardApiSupported: () =>
|
|
3
|
+
export declare const ieClipboardApiSupported: () => any;
|
|
4
4
|
export declare const copyToClipboardIE: (textToCopy: string) => Promise<void>;
|
|
5
5
|
export declare const copyToClipboardLegacy: (textToCopy: string, copyAreaRef: HTMLElement | null) => Promise<void>;
|
|
6
6
|
export declare const copyToClipboard: (textToCopy: string) => Promise<void>;
|
|
@@ -44,7 +44,7 @@ declare const _default: {
|
|
|
44
44
|
handleContainer: (container: HTMLElement | null) => void;
|
|
45
45
|
render(): JSX.Element;
|
|
46
46
|
context: any;
|
|
47
|
-
setState<K extends
|
|
47
|
+
setState<K extends keyof import("@atlaskit/editor-common/ui").OverflowShadowState>(state: import("@atlaskit/editor-common/ui").OverflowShadowState | ((prevState: Readonly<import("@atlaskit/editor-common/ui").OverflowShadowState>, props: Readonly<Props>) => import("@atlaskit/editor-common/ui").OverflowShadowState | Pick<import("@atlaskit/editor-common/ui").OverflowShadowState, K> | null) | Pick<import("@atlaskit/editor-common/ui").OverflowShadowState, K> | null, callback?: (() => void) | undefined): void;
|
|
48
48
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
49
49
|
readonly props: Readonly<Props> & Readonly<{
|
|
50
50
|
children?: React.ReactNode;
|
|
@@ -82,7 +82,7 @@ declare const _default: {
|
|
|
82
82
|
handleContainer: (container: HTMLElement | null) => void;
|
|
83
83
|
render(): JSX.Element;
|
|
84
84
|
context: any;
|
|
85
|
-
setState<K_1 extends
|
|
85
|
+
setState<K_1 extends keyof import("@atlaskit/editor-common/ui").OverflowShadowState>(state: import("@atlaskit/editor-common/ui").OverflowShadowState | ((prevState: Readonly<import("@atlaskit/editor-common/ui").OverflowShadowState>, props: Readonly<Props>) => import("@atlaskit/editor-common/ui").OverflowShadowState | Pick<import("@atlaskit/editor-common/ui").OverflowShadowState, K_1> | null) | Pick<import("@atlaskit/editor-common/ui").OverflowShadowState, K_1> | null, callback?: (() => void) | undefined): void;
|
|
86
86
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
87
87
|
readonly props: Readonly<Props> & Readonly<{
|
|
88
88
|
children?: React.ReactNode;
|
|
@@ -11,6 +11,6 @@ export declare class CardErrorBoundary extends React.PureComponent<{
|
|
|
11
11
|
isError: boolean;
|
|
12
12
|
};
|
|
13
13
|
onClickFallback: (e: React.MouseEvent<HTMLElement>) => void;
|
|
14
|
-
render():
|
|
14
|
+
render(): React.ReactNode;
|
|
15
15
|
componentDidCatch(_error: Error): void;
|
|
16
16
|
}
|
|
@@ -21,16 +21,16 @@ import Table from './table';
|
|
|
21
21
|
import { TableCell } from './tableCell';
|
|
22
22
|
import TableRow from './tableRow';
|
|
23
23
|
import UnknownBlock from './unknownBlock';
|
|
24
|
-
declare const CodeBlock:
|
|
25
|
-
declare const TaskList:
|
|
26
|
-
declare const TaskItem:
|
|
27
|
-
declare const DecisionList:
|
|
28
|
-
declare const DecisionItem:
|
|
29
|
-
declare const Date:
|
|
30
|
-
declare const Status:
|
|
31
|
-
declare const Emoji:
|
|
32
|
-
declare const Panel:
|
|
33
|
-
declare const EmbedCard:
|
|
24
|
+
declare const CodeBlock: React.ComponentType<import("react-intl-next").WithIntlProps<import("./codeBlock").Props & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent;
|
|
25
|
+
declare const TaskList: React.ComponentType<import("./taskList").Props> & Loadable.LoadableComponent;
|
|
26
|
+
declare const TaskItem: React.ComponentType<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent;
|
|
27
|
+
declare const DecisionList: React.ComponentType<import("./decisionList").Props> & Loadable.LoadableComponent;
|
|
28
|
+
declare const DecisionItem: React.ComponentType<import("../types").NodeMeta> & Loadable.LoadableComponent;
|
|
29
|
+
declare const Date: React.ComponentType<import("react-intl-next").WithIntlProps<import("./date").Props & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent;
|
|
30
|
+
declare const Status: React.ComponentType<import("./status").Props> & Loadable.LoadableComponent;
|
|
31
|
+
declare const Emoji: React.ComponentType<import("./emoji").EmojiProps> & Loadable.LoadableComponent;
|
|
32
|
+
declare const Panel: React.ComponentType<import("./panel").Props> & Loadable.LoadableComponent;
|
|
33
|
+
declare const EmbedCard: React.ComponentType<{
|
|
34
34
|
url?: string | undefined;
|
|
35
35
|
data?: object | undefined;
|
|
36
36
|
eventHandlers?: import("@atlaskit/editor-common/ui").EventHandlers | undefined;
|
|
@@ -42,39 +42,21 @@ declare const EmbedCard: (React.ComponentClass<{
|
|
|
42
42
|
rendererAppearance?: import("../..").RendererAppearance;
|
|
43
43
|
isInsideOfBlockNode?: boolean | undefined;
|
|
44
44
|
allowDynamicTextSizing?: boolean | undefined;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
eventHandlers?: import("@atlaskit/editor-common/ui").EventHandlers | undefined;
|
|
49
|
-
portal?: HTMLElement | undefined;
|
|
50
|
-
originalHeight?: number | undefined;
|
|
51
|
-
originalWidth?: number | undefined;
|
|
52
|
-
width?: number | undefined;
|
|
53
|
-
layout: import("@atlaskit/adf-schema").RichMediaLayout;
|
|
54
|
-
rendererAppearance?: import("../..").RendererAppearance;
|
|
55
|
-
isInsideOfBlockNode?: boolean | undefined;
|
|
56
|
-
allowDynamicTextSizing?: boolean | undefined;
|
|
57
|
-
}> & Loadable.LoadableComponent);
|
|
58
|
-
declare const InlineCard: (React.ComponentClass<Pick<import("./inlineCard").InlineCardProps & import("../../ui/SmartCardStorage").WithSmartCardStorageProps, "data" | "url" | "eventHandlers" | "portal" | "smartLinks">, any> & Loadable.LoadableComponent) | (React.FunctionComponent<Pick<import("./inlineCard").InlineCardProps & import("../../ui/SmartCardStorage").WithSmartCardStorageProps, "data" | "url" | "eventHandlers" | "portal" | "smartLinks">> & Loadable.LoadableComponent);
|
|
59
|
-
declare const BlockCard: (React.ComponentClass<{
|
|
60
|
-
url?: string | undefined;
|
|
61
|
-
data?: object | undefined;
|
|
62
|
-
eventHandlers?: import("@atlaskit/editor-common/ui").EventHandlers | undefined;
|
|
63
|
-
portal?: HTMLElement | undefined;
|
|
64
|
-
rendererAppearance?: import("../..").RendererAppearance;
|
|
65
|
-
}, any> & Loadable.LoadableComponent) | (React.FunctionComponent<{
|
|
45
|
+
}> & Loadable.LoadableComponent;
|
|
46
|
+
declare const InlineCard: React.ComponentType<import("@atlaskit/editor-common/utils").Diff<import("./inlineCard").InlineCardProps & import("../../ui/SmartCardStorage").WithSmartCardStorageProps, import("../../ui/SmartCardStorage").WithSmartCardStorageProps>> & Loadable.LoadableComponent;
|
|
47
|
+
declare const BlockCard: React.ComponentType<{
|
|
66
48
|
url?: string | undefined;
|
|
67
49
|
data?: object | undefined;
|
|
68
50
|
eventHandlers?: import("@atlaskit/editor-common/ui").EventHandlers | undefined;
|
|
69
51
|
portal?: HTMLElement | undefined;
|
|
70
52
|
rendererAppearance?: import("../..").RendererAppearance;
|
|
71
|
-
}> & Loadable.LoadableComponent
|
|
72
|
-
declare const Media:
|
|
73
|
-
declare const MediaGroup:
|
|
74
|
-
declare const MediaInline:
|
|
75
|
-
declare const MediaSingle:
|
|
76
|
-
declare const Mention:
|
|
77
|
-
declare const Expand:
|
|
53
|
+
}> & Loadable.LoadableComponent;
|
|
54
|
+
declare const Media: React.ComponentType<import("./media").MediaProps> & Loadable.LoadableComponent;
|
|
55
|
+
declare const MediaGroup: React.ComponentType<import("./mediaGroup").MediaGroupProps> & Loadable.LoadableComponent;
|
|
56
|
+
declare const MediaInline: React.ComponentType<import("./mediaInline").MediaInlineProps> & Loadable.LoadableComponent;
|
|
57
|
+
declare const MediaSingle: React.ComponentType<import("react-intl-next").WithIntlProps<import("./mediaSingle").Props & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent;
|
|
58
|
+
declare const Mention: React.ComponentType<import("./mention").Props> & Loadable.LoadableComponent;
|
|
59
|
+
declare const Expand: React.ComponentType<import("react-intl-next").WithIntlProps<import("../../ui/Expand").ExpandProps & import("react-intl-next").WrappedComponentProps<"intl">>> & Loadable.LoadableComponent;
|
|
78
60
|
export declare const nodeToReact: {
|
|
79
61
|
[key: string]: React.ComponentType<any>;
|
|
80
62
|
};
|
|
@@ -10,12 +10,12 @@ export interface InlineCardProps {
|
|
|
10
10
|
smartLinks?: SmartLinksOptions;
|
|
11
11
|
}
|
|
12
12
|
declare const _default: {
|
|
13
|
-
new (props: Readonly<
|
|
13
|
+
new (props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>): {
|
|
14
14
|
render(): JSX.Element;
|
|
15
15
|
context: any;
|
|
16
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<
|
|
16
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
17
17
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
18
|
-
readonly props: Readonly<
|
|
18
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>> & Readonly<{
|
|
19
19
|
children?: React.ReactNode;
|
|
20
20
|
}>;
|
|
21
21
|
state: Readonly<{}>;
|
|
@@ -23,24 +23,24 @@ declare const _default: {
|
|
|
23
23
|
[key: string]: React.ReactInstance;
|
|
24
24
|
};
|
|
25
25
|
componentDidMount?(): void;
|
|
26
|
-
shouldComponentUpdate?(nextProps: Readonly<
|
|
26
|
+
shouldComponentUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
27
27
|
componentWillUnmount?(): void;
|
|
28
28
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
29
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<
|
|
30
|
-
componentDidUpdate?(prevProps: Readonly<
|
|
29
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
30
|
+
componentDidUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
31
31
|
componentWillMount?(): void;
|
|
32
32
|
UNSAFE_componentWillMount?(): void;
|
|
33
|
-
componentWillReceiveProps?(nextProps: Readonly<
|
|
34
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<
|
|
35
|
-
componentWillUpdate?(nextProps: Readonly<
|
|
36
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<
|
|
33
|
+
componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
34
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
35
|
+
componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
36
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
37
37
|
};
|
|
38
|
-
new (props:
|
|
38
|
+
new (props: import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>, context?: any): {
|
|
39
39
|
render(): JSX.Element;
|
|
40
40
|
context: any;
|
|
41
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<
|
|
41
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
42
42
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
43
|
-
readonly props: Readonly<
|
|
43
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>> & Readonly<{
|
|
44
44
|
children?: React.ReactNode;
|
|
45
45
|
}>;
|
|
46
46
|
state: Readonly<{}>;
|
|
@@ -48,17 +48,17 @@ declare const _default: {
|
|
|
48
48
|
[key: string]: React.ReactInstance;
|
|
49
49
|
};
|
|
50
50
|
componentDidMount?(): void;
|
|
51
|
-
shouldComponentUpdate?(nextProps: Readonly<
|
|
51
|
+
shouldComponentUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
52
52
|
componentWillUnmount?(): void;
|
|
53
53
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
54
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<
|
|
55
|
-
componentDidUpdate?(prevProps: Readonly<
|
|
54
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
55
|
+
componentDidUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
56
56
|
componentWillMount?(): void;
|
|
57
57
|
UNSAFE_componentWillMount?(): void;
|
|
58
|
-
componentWillReceiveProps?(nextProps: Readonly<
|
|
59
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<
|
|
60
|
-
componentWillUpdate?(nextProps: Readonly<
|
|
61
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<
|
|
58
|
+
componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
59
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
60
|
+
componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
61
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
62
62
|
};
|
|
63
63
|
contextType?: React.Context<any> | undefined;
|
|
64
64
|
};
|
|
@@ -20,10 +20,10 @@ export default class MediaGroup extends PureComponent<MediaGroupProps, MediaGrou
|
|
|
20
20
|
private handleSize;
|
|
21
21
|
private handleScroll;
|
|
22
22
|
render(): JSX.Element;
|
|
23
|
-
renderSingleFile(child: ReactElement<MediaProps>): React.ReactElement<MediaProps, string |
|
|
24
|
-
renderSingleLink(child: ReactElement<MediaProps>): React.ReactElement<MediaProps, string |
|
|
23
|
+
renderSingleFile(child: ReactElement<MediaProps>): React.ReactElement<MediaProps, string | React.JSXElementConstructor<any>>;
|
|
24
|
+
renderSingleLink(child: ReactElement<MediaProps>): React.ReactElement<MediaProps, string | React.JSXElementConstructor<any>>;
|
|
25
25
|
onMediaClick: (cardClickHandler: CardEventClickHandler, child: ReactElement<MediaProps>, surroundingItems: Identifier[]) => (event: CardEvent, analyticsEvent?: any) => void;
|
|
26
|
-
cloneFileCard(child: ReactElement<MediaProps>, surroundingItems: Identifier[]): React.ReactElement<MediaProps, string |
|
|
26
|
+
cloneFileCard(child: ReactElement<MediaProps>, surroundingItems: Identifier[]): React.ReactElement<MediaProps, string | React.JSXElementConstructor<any>>;
|
|
27
27
|
renderStrip(): JSX.Element;
|
|
28
28
|
private mapMediaPropsToIdentifier;
|
|
29
29
|
}
|
|
@@ -54,36 +54,36 @@ export declare class TableProcessor extends React.Component<TableProps & Overflo
|
|
|
54
54
|
private addNumberColumnIndexes;
|
|
55
55
|
}
|
|
56
56
|
declare const _default: {
|
|
57
|
-
new (props: Readonly<
|
|
57
|
+
new (props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
58
58
|
renderWidth?: number | undefined;
|
|
59
|
-
} &
|
|
60
|
-
children: React.ReactElement<any, string |
|
|
59
|
+
} & Omit<SharedTableProps & {
|
|
60
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
61
61
|
tableNode?: PMNode<any> | undefined;
|
|
62
62
|
rendererAppearance?: RendererAppearance;
|
|
63
63
|
allowColumnSorting?: boolean | undefined;
|
|
64
64
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
65
|
-
} & WithSmartCardStorageProps, "
|
|
65
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>): {
|
|
66
66
|
render(): JSX.Element;
|
|
67
67
|
context: any;
|
|
68
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<
|
|
68
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
69
69
|
renderWidth?: number | undefined;
|
|
70
|
-
} &
|
|
71
|
-
children: React.ReactElement<any, string |
|
|
70
|
+
} & Omit<SharedTableProps & {
|
|
71
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
72
72
|
tableNode?: PMNode<any> | undefined;
|
|
73
73
|
rendererAppearance?: RendererAppearance;
|
|
74
74
|
allowColumnSorting?: boolean | undefined;
|
|
75
75
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
76
|
-
} & WithSmartCardStorageProps, "
|
|
76
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
77
77
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
78
|
-
readonly props: Readonly<
|
|
78
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
79
79
|
renderWidth?: number | undefined;
|
|
80
|
-
} &
|
|
81
|
-
children: React.ReactElement<any, string |
|
|
80
|
+
} & Omit<SharedTableProps & {
|
|
81
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
82
82
|
tableNode?: PMNode<any> | undefined;
|
|
83
83
|
rendererAppearance?: RendererAppearance;
|
|
84
84
|
allowColumnSorting?: boolean | undefined;
|
|
85
85
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
86
|
-
} & WithSmartCardStorageProps, "
|
|
86
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>> & Readonly<{
|
|
87
87
|
children?: React.ReactNode;
|
|
88
88
|
}>;
|
|
89
89
|
state: Readonly<{}>;
|
|
@@ -91,104 +91,104 @@ declare const _default: {
|
|
|
91
91
|
[key: string]: React.ReactInstance;
|
|
92
92
|
};
|
|
93
93
|
componentDidMount?(): void;
|
|
94
|
-
shouldComponentUpdate?(nextProps: Readonly<
|
|
94
|
+
shouldComponentUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
95
95
|
renderWidth?: number | undefined;
|
|
96
|
-
} &
|
|
97
|
-
children: React.ReactElement<any, string |
|
|
96
|
+
} & Omit<SharedTableProps & {
|
|
97
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
98
98
|
tableNode?: PMNode<any> | undefined;
|
|
99
99
|
rendererAppearance?: RendererAppearance;
|
|
100
100
|
allowColumnSorting?: boolean | undefined;
|
|
101
101
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
102
|
-
} & WithSmartCardStorageProps, "
|
|
102
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
103
103
|
componentWillUnmount?(): void;
|
|
104
104
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
105
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<
|
|
105
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
106
106
|
renderWidth?: number | undefined;
|
|
107
|
-
} &
|
|
108
|
-
children: React.ReactElement<any, string |
|
|
107
|
+
} & Omit<SharedTableProps & {
|
|
108
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
109
109
|
tableNode?: PMNode<any> | undefined;
|
|
110
110
|
rendererAppearance?: RendererAppearance;
|
|
111
111
|
allowColumnSorting?: boolean | undefined;
|
|
112
112
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
113
|
-
} & WithSmartCardStorageProps, "
|
|
114
|
-
componentDidUpdate?(prevProps: Readonly<
|
|
113
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
114
|
+
componentDidUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
115
115
|
renderWidth?: number | undefined;
|
|
116
|
-
} &
|
|
117
|
-
children: React.ReactElement<any, string |
|
|
116
|
+
} & Omit<SharedTableProps & {
|
|
117
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
118
118
|
tableNode?: PMNode<any> | undefined;
|
|
119
119
|
rendererAppearance?: RendererAppearance;
|
|
120
120
|
allowColumnSorting?: boolean | undefined;
|
|
121
121
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
122
|
-
} & WithSmartCardStorageProps, "
|
|
122
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
123
123
|
componentWillMount?(): void;
|
|
124
124
|
UNSAFE_componentWillMount?(): void;
|
|
125
|
-
componentWillReceiveProps?(nextProps: Readonly<
|
|
125
|
+
componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
126
126
|
renderWidth?: number | undefined;
|
|
127
|
-
} &
|
|
128
|
-
children: React.ReactElement<any, string |
|
|
127
|
+
} & Omit<SharedTableProps & {
|
|
128
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
129
129
|
tableNode?: PMNode<any> | undefined;
|
|
130
130
|
rendererAppearance?: RendererAppearance;
|
|
131
131
|
allowColumnSorting?: boolean | undefined;
|
|
132
132
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
133
|
-
} & WithSmartCardStorageProps, "
|
|
134
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<
|
|
133
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
134
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
135
135
|
renderWidth?: number | undefined;
|
|
136
|
-
} &
|
|
137
|
-
children: React.ReactElement<any, string |
|
|
136
|
+
} & Omit<SharedTableProps & {
|
|
137
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
138
138
|
tableNode?: PMNode<any> | undefined;
|
|
139
139
|
rendererAppearance?: RendererAppearance;
|
|
140
140
|
allowColumnSorting?: boolean | undefined;
|
|
141
141
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
142
|
-
} & WithSmartCardStorageProps, "
|
|
143
|
-
componentWillUpdate?(nextProps: Readonly<
|
|
142
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
143
|
+
componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
144
144
|
renderWidth?: number | undefined;
|
|
145
|
-
} &
|
|
146
|
-
children: React.ReactElement<any, string |
|
|
145
|
+
} & Omit<SharedTableProps & {
|
|
146
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
147
147
|
tableNode?: PMNode<any> | undefined;
|
|
148
148
|
rendererAppearance?: RendererAppearance;
|
|
149
149
|
allowColumnSorting?: boolean | undefined;
|
|
150
150
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
151
|
-
} & WithSmartCardStorageProps, "
|
|
152
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<
|
|
151
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
152
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
153
153
|
renderWidth?: number | undefined;
|
|
154
|
-
} &
|
|
155
|
-
children: React.ReactElement<any, string |
|
|
154
|
+
} & Omit<SharedTableProps & {
|
|
155
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
156
156
|
tableNode?: PMNode<any> | undefined;
|
|
157
157
|
rendererAppearance?: RendererAppearance;
|
|
158
158
|
allowColumnSorting?: boolean | undefined;
|
|
159
159
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
160
|
-
} & WithSmartCardStorageProps, "
|
|
160
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
161
161
|
};
|
|
162
|
-
new (props:
|
|
162
|
+
new (props: import("@atlaskit/editor-common/utils").Diff<{
|
|
163
163
|
renderWidth?: number | undefined;
|
|
164
|
-
} &
|
|
165
|
-
children: React.ReactElement<any, string |
|
|
164
|
+
} & Omit<SharedTableProps & {
|
|
165
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
166
166
|
tableNode?: PMNode<any> | undefined;
|
|
167
167
|
rendererAppearance?: RendererAppearance;
|
|
168
168
|
allowColumnSorting?: boolean | undefined;
|
|
169
169
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
170
|
-
} & WithSmartCardStorageProps, "
|
|
170
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>, context?: any): {
|
|
171
171
|
render(): JSX.Element;
|
|
172
172
|
context: any;
|
|
173
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<
|
|
173
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
174
174
|
renderWidth?: number | undefined;
|
|
175
|
-
} &
|
|
176
|
-
children: React.ReactElement<any, string |
|
|
175
|
+
} & Omit<SharedTableProps & {
|
|
176
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
177
177
|
tableNode?: PMNode<any> | undefined;
|
|
178
178
|
rendererAppearance?: RendererAppearance;
|
|
179
179
|
allowColumnSorting?: boolean | undefined;
|
|
180
180
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
181
|
-
} & WithSmartCardStorageProps, "
|
|
181
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
182
182
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
183
|
-
readonly props: Readonly<
|
|
183
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
184
184
|
renderWidth?: number | undefined;
|
|
185
|
-
} &
|
|
186
|
-
children: React.ReactElement<any, string |
|
|
185
|
+
} & Omit<SharedTableProps & {
|
|
186
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
187
187
|
tableNode?: PMNode<any> | undefined;
|
|
188
188
|
rendererAppearance?: RendererAppearance;
|
|
189
189
|
allowColumnSorting?: boolean | undefined;
|
|
190
190
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
191
|
-
} & WithSmartCardStorageProps, "
|
|
191
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>> & Readonly<{
|
|
192
192
|
children?: React.ReactNode;
|
|
193
193
|
}>;
|
|
194
194
|
state: Readonly<{}>;
|
|
@@ -196,73 +196,73 @@ declare const _default: {
|
|
|
196
196
|
[key: string]: React.ReactInstance;
|
|
197
197
|
};
|
|
198
198
|
componentDidMount?(): void;
|
|
199
|
-
shouldComponentUpdate?(nextProps: Readonly<
|
|
199
|
+
shouldComponentUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
200
200
|
renderWidth?: number | undefined;
|
|
201
|
-
} &
|
|
202
|
-
children: React.ReactElement<any, string |
|
|
201
|
+
} & Omit<SharedTableProps & {
|
|
202
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
203
203
|
tableNode?: PMNode<any> | undefined;
|
|
204
204
|
rendererAppearance?: RendererAppearance;
|
|
205
205
|
allowColumnSorting?: boolean | undefined;
|
|
206
206
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
207
|
-
} & WithSmartCardStorageProps, "
|
|
207
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
208
208
|
componentWillUnmount?(): void;
|
|
209
209
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
210
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<
|
|
210
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
211
211
|
renderWidth?: number | undefined;
|
|
212
|
-
} &
|
|
213
|
-
children: React.ReactElement<any, string |
|
|
212
|
+
} & Omit<SharedTableProps & {
|
|
213
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
214
214
|
tableNode?: PMNode<any> | undefined;
|
|
215
215
|
rendererAppearance?: RendererAppearance;
|
|
216
216
|
allowColumnSorting?: boolean | undefined;
|
|
217
217
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
218
|
-
} & WithSmartCardStorageProps, "
|
|
219
|
-
componentDidUpdate?(prevProps: Readonly<
|
|
218
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
219
|
+
componentDidUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
220
220
|
renderWidth?: number | undefined;
|
|
221
|
-
} &
|
|
222
|
-
children: React.ReactElement<any, string |
|
|
221
|
+
} & Omit<SharedTableProps & {
|
|
222
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
223
223
|
tableNode?: PMNode<any> | undefined;
|
|
224
224
|
rendererAppearance?: RendererAppearance;
|
|
225
225
|
allowColumnSorting?: boolean | undefined;
|
|
226
226
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
227
|
-
} & WithSmartCardStorageProps, "
|
|
227
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
228
228
|
componentWillMount?(): void;
|
|
229
229
|
UNSAFE_componentWillMount?(): void;
|
|
230
|
-
componentWillReceiveProps?(nextProps: Readonly<
|
|
230
|
+
componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
231
231
|
renderWidth?: number | undefined;
|
|
232
|
-
} &
|
|
233
|
-
children: React.ReactElement<any, string |
|
|
232
|
+
} & Omit<SharedTableProps & {
|
|
233
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
234
234
|
tableNode?: PMNode<any> | undefined;
|
|
235
235
|
rendererAppearance?: RendererAppearance;
|
|
236
236
|
allowColumnSorting?: boolean | undefined;
|
|
237
237
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
238
|
-
} & WithSmartCardStorageProps, "
|
|
239
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<
|
|
238
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
239
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
240
240
|
renderWidth?: number | undefined;
|
|
241
|
-
} &
|
|
242
|
-
children: React.ReactElement<any, string |
|
|
241
|
+
} & Omit<SharedTableProps & {
|
|
242
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
243
243
|
tableNode?: PMNode<any> | undefined;
|
|
244
244
|
rendererAppearance?: RendererAppearance;
|
|
245
245
|
allowColumnSorting?: boolean | undefined;
|
|
246
246
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
247
|
-
} & WithSmartCardStorageProps, "
|
|
248
|
-
componentWillUpdate?(nextProps: Readonly<
|
|
247
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
248
|
+
componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
249
249
|
renderWidth?: number | undefined;
|
|
250
|
-
} &
|
|
251
|
-
children: React.ReactElement<any, string |
|
|
250
|
+
} & Omit<SharedTableProps & {
|
|
251
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
252
252
|
tableNode?: PMNode<any> | undefined;
|
|
253
253
|
rendererAppearance?: RendererAppearance;
|
|
254
254
|
allowColumnSorting?: boolean | undefined;
|
|
255
255
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
256
|
-
} & WithSmartCardStorageProps, "
|
|
257
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<
|
|
256
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
257
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
258
258
|
renderWidth?: number | undefined;
|
|
259
|
-
} &
|
|
260
|
-
children: React.ReactElement<any, string |
|
|
259
|
+
} & Omit<SharedTableProps & {
|
|
260
|
+
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
261
261
|
tableNode?: PMNode<any> | undefined;
|
|
262
262
|
rendererAppearance?: RendererAppearance;
|
|
263
263
|
allowColumnSorting?: boolean | undefined;
|
|
264
264
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
265
|
-
} & WithSmartCardStorageProps, "
|
|
265
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
266
266
|
};
|
|
267
267
|
contextType?: React.Context<any> | undefined;
|
|
268
268
|
};
|
|
@@ -70,7 +70,7 @@ export declare const getClipboardAttrs: ({ id, alt, collection, contextIdentifie
|
|
|
70
70
|
collection?: string | undefined;
|
|
71
71
|
contextIdentifierProvider?: ContextIdentifierProvider | undefined;
|
|
72
72
|
originalDimensions?: NumericalCardDimensions | undefined;
|
|
73
|
-
fileState?:
|
|
73
|
+
fileState?: FileState | undefined;
|
|
74
74
|
}) => {
|
|
75
75
|
[key: string]: string | number | undefined;
|
|
76
76
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { Diff } from '@atlaskit/editor-common/utils';
|
|
2
3
|
export interface WithSmartCardStorageProps {
|
|
3
4
|
smartCardStorage: Map<string, string>;
|
|
4
5
|
}
|
|
5
6
|
export declare const Context: React.Context<Map<string, string>>;
|
|
6
7
|
export declare const Provider: React.FunctionComponent;
|
|
7
8
|
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<Props>) => {
|
|
8
|
-
new (props: Readonly<
|
|
9
|
+
new (props: Readonly<Diff<Props, WithSmartCardStorageProps>>): {
|
|
9
10
|
render(): JSX.Element;
|
|
10
11
|
context: any;
|
|
11
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<
|
|
12
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
12
13
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
13
|
-
readonly props: Readonly<
|
|
14
|
+
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>> & Readonly<{
|
|
14
15
|
children?: React.ReactNode;
|
|
15
16
|
}>;
|
|
16
17
|
state: Readonly<{}>;
|
|
@@ -18,24 +19,24 @@ export declare const withSmartCardStorage: <Props extends WithSmartCardStoragePr
|
|
|
18
19
|
[key: string]: React.ReactInstance;
|
|
19
20
|
};
|
|
20
21
|
componentDidMount?(): void;
|
|
21
|
-
shouldComponentUpdate?(nextProps: Readonly<
|
|
22
|
+
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
22
23
|
componentWillUnmount?(): void;
|
|
23
24
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
24
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<
|
|
25
|
-
componentDidUpdate?(prevProps: Readonly<
|
|
25
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
26
|
+
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
26
27
|
componentWillMount?(): void;
|
|
27
28
|
UNSAFE_componentWillMount?(): void;
|
|
28
|
-
componentWillReceiveProps?(nextProps: Readonly<
|
|
29
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<
|
|
30
|
-
componentWillUpdate?(nextProps: Readonly<
|
|
31
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<
|
|
29
|
+
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
30
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
31
|
+
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
32
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
32
33
|
};
|
|
33
|
-
new (props:
|
|
34
|
+
new (props: Diff<Props, WithSmartCardStorageProps>, context?: any): {
|
|
34
35
|
render(): JSX.Element;
|
|
35
36
|
context: any;
|
|
36
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<
|
|
37
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
37
38
|
forceUpdate(callBack?: (() => void) | undefined): void;
|
|
38
|
-
readonly props: Readonly<
|
|
39
|
+
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>> & Readonly<{
|
|
39
40
|
children?: React.ReactNode;
|
|
40
41
|
}>;
|
|
41
42
|
state: Readonly<{}>;
|
|
@@ -43,17 +44,17 @@ export declare const withSmartCardStorage: <Props extends WithSmartCardStoragePr
|
|
|
43
44
|
[key: string]: React.ReactInstance;
|
|
44
45
|
};
|
|
45
46
|
componentDidMount?(): void;
|
|
46
|
-
shouldComponentUpdate?(nextProps: Readonly<
|
|
47
|
+
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
47
48
|
componentWillUnmount?(): void;
|
|
48
49
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
49
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<
|
|
50
|
-
componentDidUpdate?(prevProps: Readonly<
|
|
50
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
51
|
+
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
51
52
|
componentWillMount?(): void;
|
|
52
53
|
UNSAFE_componentWillMount?(): void;
|
|
53
|
-
componentWillReceiveProps?(nextProps: Readonly<
|
|
54
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<
|
|
55
|
-
componentWillUpdate?(nextProps: Readonly<
|
|
56
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<
|
|
54
|
+
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
55
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
56
|
+
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
57
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
57
58
|
};
|
|
58
59
|
contextType?: React.Context<any> | undefined;
|
|
59
60
|
};
|
|
@@ -8,11 +8,13 @@ export declare enum StatusClassNames {
|
|
|
8
8
|
NO_ORDER = "sorting-icon-svg__no_order",
|
|
9
9
|
SORTING_NOT_ALLOWED = "sorting-icon-svg__not-allowed"
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
11
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<{
|
|
12
12
|
isSortingAllowed: boolean;
|
|
13
|
-
sortOrdered?: SortOrder;
|
|
14
|
-
} & WrappedComponentProps
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
sortOrdered?: SortOrder | undefined;
|
|
14
|
+
} & WrappedComponentProps<"intl">>> & {
|
|
15
|
+
WrappedComponent: import("react").ComponentType<{
|
|
16
|
+
isSortingAllowed: boolean;
|
|
17
|
+
sortOrdered?: SortOrder | undefined;
|
|
18
|
+
} & WrappedComponentProps<"intl">>;
|
|
17
19
|
};
|
|
18
20
|
export default _default;
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class ADFEncoder<T> {
|
|
|
10
10
|
constructor(createTransformerWithSchema: TransformerProvider<T>);
|
|
11
11
|
}
|
|
12
12
|
export declare const getText: (node: PMNode | ADNode) => string;
|
|
13
|
-
export declare const getEventHandler: (eventHandlers?: EventHandlers | undefined, type?:
|
|
13
|
+
export declare const getEventHandler: (eventHandlers?: EventHandlers | undefined, type?: keyof EventHandlers | undefined, eventName?: string) => any;
|
|
14
14
|
/**
|
|
15
15
|
* Traverse DOM Tree upwards looking for table parents with "overflow: scroll".
|
|
16
16
|
*/
|
package/messages/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "93.0.
|
|
3
|
+
"version": "93.0.4",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,14 +29,14 @@
|
|
|
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
|
-
"@atlaskit/button": "^16.
|
|
32
|
+
"@atlaskit/button": "^16.3.0",
|
|
33
33
|
"@atlaskit/code": "^14.3.0",
|
|
34
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
38
|
"@atlaskit/media-card": "^73.5.0",
|
|
39
|
-
"@atlaskit/media-client": "^15.
|
|
39
|
+
"@atlaskit/media-client": "^15.1.0",
|
|
40
40
|
"@atlaskit/media-common": "^2.12.0",
|
|
41
41
|
"@atlaskit/media-filmstrip": "^43.0.0",
|
|
42
42
|
"@atlaskit/media-viewer": "^46.2.0",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"uuid": "^3.1.0"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@atlaskit/media-core": "^32.3.
|
|
60
|
-
"@atlaskit/smart-card": "^18.0.
|
|
59
|
+
"@atlaskit/media-core": "^32.3.1",
|
|
60
|
+
"@atlaskit/smart-card": "^18.0.18",
|
|
61
61
|
"react": "^16.8.0",
|
|
62
62
|
"react-dom": "^16.8.0"
|
|
63
63
|
},
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"react-test-renderer": "^16.8.0",
|
|
99
99
|
"rxjs": "^5.5.0",
|
|
100
100
|
"sinon": "^2.2.0",
|
|
101
|
-
"typescript": "
|
|
101
|
+
"typescript": "4.2.4",
|
|
102
102
|
"worker-plugin": "^4.0.2"
|
|
103
103
|
},
|
|
104
104
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
package/serializer/package.json
CHANGED