@atlaskit/renderer 130.3.4 → 130.3.6
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/afm-cc/tsconfig.json +0 -1
- package/afm-products/tsconfig.json +0 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/types/react/nodes/extension.d.ts +2 -82
- package/dist/types/react/nodes/inlineCard.d.ts +2 -50
- package/dist/types/react/nodes/table.d.ts +1 -49
- package/dist/types/ui/SmartCardStorage.d.ts +1 -49
- package/dist/types-ts4.5/react/nodes/extension.d.ts +2 -82
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +2 -50
- package/dist/types-ts4.5/react/nodes/table.d.ts +1 -49
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +1 -49
- package/package.json +12 -12
- package/afm-jira/tsconfig.json +0 -153
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 130.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`967cff1c14097`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/967cff1c14097) -
|
|
8
|
+
Add isolatedDeclarations: true to tsconfig.app.json and tsconfig.dev.json
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 130.3.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 130.3.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
71
71
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
72
72
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
73
73
|
var packageName = "@atlaskit/renderer";
|
|
74
|
-
var packageVersion = "
|
|
74
|
+
var packageVersion = "0.0.0-development";
|
|
75
75
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
76
76
|
containerName: 'ak-renderer-wrapper',
|
|
77
77
|
containerType: 'inline-size'
|
|
@@ -57,7 +57,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
57
57
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
58
58
|
const RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
59
59
|
const packageName = "@atlaskit/renderer";
|
|
60
|
-
const packageVersion = "
|
|
60
|
+
const packageVersion = "0.0.0-development";
|
|
61
61
|
const setAsQueryContainerStyles = css({
|
|
62
62
|
containerName: 'ak-renderer-wrapper',
|
|
63
63
|
containerType: 'inline-size'
|
|
@@ -62,7 +62,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
62
62
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
63
63
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
64
64
|
var packageName = "@atlaskit/renderer";
|
|
65
|
-
var packageVersion = "
|
|
65
|
+
var packageVersion = "0.0.0-development";
|
|
66
66
|
var setAsQueryContainerStyles = css({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
|
@@ -8,7 +8,7 @@ import type { RendererContext, ExtensionViewportSize } from '../types';
|
|
|
8
8
|
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
9
9
|
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { OverflowShadowProps, OverflowShadowState
|
|
11
|
+
import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
13
13
|
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
14
14
|
interface Props {
|
|
@@ -38,85 +38,5 @@ type RenderExtensionOptions = {
|
|
|
38
38
|
rendererAppearance?: RendererAppearance;
|
|
39
39
|
} & AllOrNone<OverflowShadowProps>;
|
|
40
40
|
export declare const renderExtension: (content: any, layout: ExtensionLayout, options?: RenderExtensionOptions, removeOverflow?: boolean, extensionId?: string, extensionViewportSizes?: ExtensionViewportSize[], nodeHeight?: string, localId?: string, shouldDisplayExtensionAsInline?: (extensionParams?: ExtensionParams<Parameters>) => boolean, node?: ExtensionParams<Parameters>, isInsideOfInlineExtension?: boolean) => React.JSX.Element;
|
|
41
|
-
declare const _default_1:
|
|
42
|
-
new (props: Props & OverflowShadowProps): {
|
|
43
|
-
calcOverflowDiff: () => number;
|
|
44
|
-
calcScrollableWidth: () => number;
|
|
45
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
46
|
-
componentDidMount?: () => void;
|
|
47
|
-
componentDidUpdate: () => void;
|
|
48
|
-
componentWillMount?: () => void;
|
|
49
|
-
componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
50
|
-
componentWillUnmount: () => void;
|
|
51
|
-
componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
52
|
-
container?: HTMLElement;
|
|
53
|
-
context: unknown;
|
|
54
|
-
diff?: number;
|
|
55
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
56
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Props & OverflowShadowProps>, prevState: Readonly<OverflowShadowState>) => any;
|
|
57
|
-
handleContainer: (container: HTMLElement | null) => void;
|
|
58
|
-
handleScroll: (event: Event) => void;
|
|
59
|
-
initShadowObserver: () => void;
|
|
60
|
-
overflowContainer?: HTMLElement | null;
|
|
61
|
-
overflowContainerWidth: number;
|
|
62
|
-
readonly props: Readonly<Props & OverflowShadowProps>;
|
|
63
|
-
refs: {
|
|
64
|
-
[key: string]: React.ReactInstance;
|
|
65
|
-
};
|
|
66
|
-
render: () => React.JSX.Element;
|
|
67
|
-
scrollable?: NodeList;
|
|
68
|
-
setState: <K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<Props & OverflowShadowProps>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined) => void;
|
|
69
|
-
shadowObserver?: ShadowObserver;
|
|
70
|
-
shouldComponentUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => boolean;
|
|
71
|
-
showLeftShadow: (overflowContainer: HTMLElement | null | undefined) => boolean;
|
|
72
|
-
state: {
|
|
73
|
-
showLeftShadow: boolean;
|
|
74
|
-
showRightShadow: boolean;
|
|
75
|
-
};
|
|
76
|
-
UNSAFE_componentWillMount?: () => void;
|
|
77
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
78
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
79
|
-
updateShadows: () => void;
|
|
80
|
-
};
|
|
81
|
-
new (props: Props & OverflowShadowProps, context: any): {
|
|
82
|
-
calcOverflowDiff: () => number;
|
|
83
|
-
calcScrollableWidth: () => number;
|
|
84
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
85
|
-
componentDidMount?: () => void;
|
|
86
|
-
componentDidUpdate: () => void;
|
|
87
|
-
componentWillMount?: () => void;
|
|
88
|
-
componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
89
|
-
componentWillUnmount: () => void;
|
|
90
|
-
componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
91
|
-
container?: HTMLElement;
|
|
92
|
-
context: unknown;
|
|
93
|
-
diff?: number;
|
|
94
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
95
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Props & OverflowShadowProps>, prevState: Readonly<OverflowShadowState>) => any;
|
|
96
|
-
handleContainer: (container: HTMLElement | null) => void;
|
|
97
|
-
handleScroll: (event: Event) => void;
|
|
98
|
-
initShadowObserver: () => void;
|
|
99
|
-
overflowContainer?: HTMLElement | null;
|
|
100
|
-
overflowContainerWidth: number;
|
|
101
|
-
readonly props: Readonly<Props & OverflowShadowProps>;
|
|
102
|
-
refs: {
|
|
103
|
-
[key: string]: React.ReactInstance;
|
|
104
|
-
};
|
|
105
|
-
render: () => React.JSX.Element;
|
|
106
|
-
scrollable?: NodeList;
|
|
107
|
-
setState: <K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<Props & OverflowShadowProps>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined) => void;
|
|
108
|
-
shadowObserver?: ShadowObserver;
|
|
109
|
-
shouldComponentUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => boolean;
|
|
110
|
-
showLeftShadow: (overflowContainer: HTMLElement | null | undefined) => boolean;
|
|
111
|
-
state: {
|
|
112
|
-
showLeftShadow: boolean;
|
|
113
|
-
showRightShadow: boolean;
|
|
114
|
-
};
|
|
115
|
-
UNSAFE_componentWillMount?: () => void;
|
|
116
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
117
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
118
|
-
updateShadows: () => void;
|
|
119
|
-
};
|
|
120
|
-
contextType?: React.Context<any> | undefined;
|
|
121
|
-
};
|
|
41
|
+
declare const _default_1: React.ComponentClass<Props & OverflowShadowProps, OverflowShadowState>;
|
|
122
42
|
export default _default_1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentClass } from 'react';
|
|
2
2
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
4
|
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
@@ -18,53 +18,5 @@ export interface InlineCardProps extends MarkDataAttributes {
|
|
|
18
18
|
smartLinks?: SmartLinksOptions;
|
|
19
19
|
url?: string;
|
|
20
20
|
}
|
|
21
|
-
declare const _default_1:
|
|
22
|
-
new (props: Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>): {
|
|
23
|
-
componentDidCatch?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
24
|
-
componentDidMount?: () => void;
|
|
25
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
26
|
-
componentWillMount?: () => void;
|
|
27
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
28
|
-
componentWillUnmount?: () => void;
|
|
29
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
30
|
-
context: unknown;
|
|
31
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
32
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
33
|
-
readonly props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
34
|
-
refs: {
|
|
35
|
-
[key: string]: ReactInstance;
|
|
36
|
-
};
|
|
37
|
-
render: () => JSX.Element;
|
|
38
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
39
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
40
|
-
state: Readonly<{}>;
|
|
41
|
-
UNSAFE_componentWillMount?: () => void;
|
|
42
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
43
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
44
|
-
};
|
|
45
|
-
new (props: Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>, context: any): {
|
|
46
|
-
componentDidCatch?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
47
|
-
componentDidMount?: () => void;
|
|
48
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
49
|
-
componentWillMount?: () => void;
|
|
50
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
51
|
-
componentWillUnmount?: () => void;
|
|
52
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
53
|
-
context: unknown;
|
|
54
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
55
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
56
|
-
readonly props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
57
|
-
refs: {
|
|
58
|
-
[key: string]: ReactInstance;
|
|
59
|
-
};
|
|
60
|
-
render: () => JSX.Element;
|
|
61
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
62
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
63
|
-
state: Readonly<{}>;
|
|
64
|
-
UNSAFE_componentWillMount?: () => void;
|
|
65
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
66
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
67
|
-
};
|
|
68
|
-
contextType?: Context<any> | undefined;
|
|
69
|
-
};
|
|
21
|
+
declare const _default_1: ComponentClass<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
70
22
|
export default _default_1;
|
|
@@ -112,53 +112,5 @@ export declare class TableProcessor extends React.Component<TableProps & Overflo
|
|
|
112
112
|
private changeSortOrder;
|
|
113
113
|
private addNumberColumnIndexes;
|
|
114
114
|
}
|
|
115
|
-
declare const _default_1:
|
|
116
|
-
new (props: Diff<any, WithSmartCardStorageProps>): {
|
|
117
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
118
|
-
componentDidMount?: () => void;
|
|
119
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
120
|
-
componentWillMount?: () => void;
|
|
121
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
122
|
-
componentWillUnmount?: () => void;
|
|
123
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
124
|
-
context: unknown;
|
|
125
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
126
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
127
|
-
readonly props: Readonly<Diff<any, WithSmartCardStorageProps>>;
|
|
128
|
-
refs: {
|
|
129
|
-
[key: string]: React.ReactInstance;
|
|
130
|
-
};
|
|
131
|
-
render: () => React.JSX.Element;
|
|
132
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<any, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
133
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
134
|
-
state: Readonly<{}>;
|
|
135
|
-
UNSAFE_componentWillMount?: () => void;
|
|
136
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
137
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
138
|
-
};
|
|
139
|
-
new (props: Diff<any, WithSmartCardStorageProps>, context: any): {
|
|
140
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
141
|
-
componentDidMount?: () => void;
|
|
142
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
143
|
-
componentWillMount?: () => void;
|
|
144
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
145
|
-
componentWillUnmount?: () => void;
|
|
146
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
147
|
-
context: unknown;
|
|
148
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
149
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
150
|
-
readonly props: Readonly<Diff<any, WithSmartCardStorageProps>>;
|
|
151
|
-
refs: {
|
|
152
|
-
[key: string]: React.ReactInstance;
|
|
153
|
-
};
|
|
154
|
-
render: () => React.JSX.Element;
|
|
155
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<any, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
156
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
157
|
-
state: Readonly<{}>;
|
|
158
|
-
UNSAFE_componentWillMount?: () => void;
|
|
159
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
160
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
161
|
-
};
|
|
162
|
-
contextType?: React.Context<any> | undefined;
|
|
163
|
-
};
|
|
115
|
+
declare const _default_1: React.ComponentClass<Diff<any, WithSmartCardStorageProps>>;
|
|
164
116
|
export default _default_1;
|
|
@@ -5,52 +5,4 @@ export interface WithSmartCardStorageProps {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const Context: React.Context<Map<string, string>>;
|
|
7
7
|
export declare const Provider: ({ children, }: React.PropsWithChildren<unknown>) => React.JSX.Element;
|
|
8
|
-
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) =>
|
|
9
|
-
new (props: Diff<Props, WithSmartCardStorageProps>): {
|
|
10
|
-
render(): React.JSX.Element;
|
|
11
|
-
context: unknown;
|
|
12
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
13
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
14
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
15
|
-
state: Readonly<{}>;
|
|
16
|
-
refs: {
|
|
17
|
-
[key: string]: React.ReactInstance;
|
|
18
|
-
};
|
|
19
|
-
componentDidMount?(): void;
|
|
20
|
-
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
21
|
-
componentWillUnmount?(): void;
|
|
22
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
23
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
24
|
-
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
25
|
-
componentWillMount?(): void;
|
|
26
|
-
UNSAFE_componentWillMount?(): void;
|
|
27
|
-
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
28
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
29
|
-
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
30
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
31
|
-
};
|
|
32
|
-
new (props: Diff<Props, WithSmartCardStorageProps>, context: any): {
|
|
33
|
-
render(): React.JSX.Element;
|
|
34
|
-
context: unknown;
|
|
35
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
38
|
-
state: Readonly<{}>;
|
|
39
|
-
refs: {
|
|
40
|
-
[key: string]: React.ReactInstance;
|
|
41
|
-
};
|
|
42
|
-
componentDidMount?(): void;
|
|
43
|
-
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
44
|
-
componentWillUnmount?(): void;
|
|
45
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
46
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
47
|
-
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
48
|
-
componentWillMount?(): void;
|
|
49
|
-
UNSAFE_componentWillMount?(): void;
|
|
50
|
-
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
51
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
52
|
-
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
53
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
54
|
-
};
|
|
55
|
-
contextType?: React.Context<any> | undefined;
|
|
56
|
-
};
|
|
8
|
+
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) => React.ComponentClass<Diff<Props, WithSmartCardStorageProps>>;
|
|
@@ -8,7 +8,7 @@ import type { RendererContext, ExtensionViewportSize } from '../types';
|
|
|
8
8
|
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
9
9
|
import type { ExtensionHandlers, ExtensionParams, Parameters } from '@atlaskit/editor-common/extensions';
|
|
10
10
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { OverflowShadowProps, OverflowShadowState
|
|
11
|
+
import type { OverflowShadowProps, OverflowShadowState } from '@atlaskit/editor-common/ui';
|
|
12
12
|
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
13
13
|
import type { AnalyticsEventPayload } from '../../analytics/events';
|
|
14
14
|
interface Props {
|
|
@@ -38,85 +38,5 @@ type RenderExtensionOptions = {
|
|
|
38
38
|
rendererAppearance?: RendererAppearance;
|
|
39
39
|
} & AllOrNone<OverflowShadowProps>;
|
|
40
40
|
export declare const renderExtension: (content: any, layout: ExtensionLayout, options?: RenderExtensionOptions, removeOverflow?: boolean, extensionId?: string, extensionViewportSizes?: ExtensionViewportSize[], nodeHeight?: string, localId?: string, shouldDisplayExtensionAsInline?: (extensionParams?: ExtensionParams<Parameters>) => boolean, node?: ExtensionParams<Parameters>, isInsideOfInlineExtension?: boolean) => React.JSX.Element;
|
|
41
|
-
declare const _default_1:
|
|
42
|
-
new (props: Props & OverflowShadowProps): {
|
|
43
|
-
calcOverflowDiff: () => number;
|
|
44
|
-
calcScrollableWidth: () => number;
|
|
45
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
46
|
-
componentDidMount?: () => void;
|
|
47
|
-
componentDidUpdate: () => void;
|
|
48
|
-
componentWillMount?: () => void;
|
|
49
|
-
componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
50
|
-
componentWillUnmount: () => void;
|
|
51
|
-
componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
52
|
-
container?: HTMLElement;
|
|
53
|
-
context: unknown;
|
|
54
|
-
diff?: number;
|
|
55
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
56
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Props & OverflowShadowProps>, prevState: Readonly<OverflowShadowState>) => any;
|
|
57
|
-
handleContainer: (container: HTMLElement | null) => void;
|
|
58
|
-
handleScroll: (event: Event) => void;
|
|
59
|
-
initShadowObserver: () => void;
|
|
60
|
-
overflowContainer?: HTMLElement | null;
|
|
61
|
-
overflowContainerWidth: number;
|
|
62
|
-
readonly props: Readonly<Props & OverflowShadowProps>;
|
|
63
|
-
refs: {
|
|
64
|
-
[key: string]: React.ReactInstance;
|
|
65
|
-
};
|
|
66
|
-
render: () => React.JSX.Element;
|
|
67
|
-
scrollable?: NodeList;
|
|
68
|
-
setState: <K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<Props & OverflowShadowProps>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined) => void;
|
|
69
|
-
shadowObserver?: ShadowObserver;
|
|
70
|
-
shouldComponentUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => boolean;
|
|
71
|
-
showLeftShadow: (overflowContainer: HTMLElement | null | undefined) => boolean;
|
|
72
|
-
state: {
|
|
73
|
-
showLeftShadow: boolean;
|
|
74
|
-
showRightShadow: boolean;
|
|
75
|
-
};
|
|
76
|
-
UNSAFE_componentWillMount?: () => void;
|
|
77
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
78
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
79
|
-
updateShadows: () => void;
|
|
80
|
-
};
|
|
81
|
-
new (props: Props & OverflowShadowProps, context: any): {
|
|
82
|
-
calcOverflowDiff: () => number;
|
|
83
|
-
calcScrollableWidth: () => number;
|
|
84
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
85
|
-
componentDidMount?: () => void;
|
|
86
|
-
componentDidUpdate: () => void;
|
|
87
|
-
componentWillMount?: () => void;
|
|
88
|
-
componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
89
|
-
componentWillUnmount: () => void;
|
|
90
|
-
componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
91
|
-
container?: HTMLElement;
|
|
92
|
-
context: unknown;
|
|
93
|
-
diff?: number;
|
|
94
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
95
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Props & OverflowShadowProps>, prevState: Readonly<OverflowShadowState>) => any;
|
|
96
|
-
handleContainer: (container: HTMLElement | null) => void;
|
|
97
|
-
handleScroll: (event: Event) => void;
|
|
98
|
-
initShadowObserver: () => void;
|
|
99
|
-
overflowContainer?: HTMLElement | null;
|
|
100
|
-
overflowContainerWidth: number;
|
|
101
|
-
readonly props: Readonly<Props & OverflowShadowProps>;
|
|
102
|
-
refs: {
|
|
103
|
-
[key: string]: React.ReactInstance;
|
|
104
|
-
};
|
|
105
|
-
render: () => React.JSX.Element;
|
|
106
|
-
scrollable?: NodeList;
|
|
107
|
-
setState: <K extends keyof OverflowShadowState>(state: OverflowShadowState | ((prevState: Readonly<OverflowShadowState>, props: Readonly<Props & OverflowShadowProps>) => OverflowShadowState | Pick<OverflowShadowState, K> | null) | Pick<OverflowShadowState, K> | null, callback?: (() => void) | undefined) => void;
|
|
108
|
-
shadowObserver?: ShadowObserver;
|
|
109
|
-
shouldComponentUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => boolean;
|
|
110
|
-
showLeftShadow: (overflowContainer: HTMLElement | null | undefined) => boolean;
|
|
111
|
-
state: {
|
|
112
|
-
showLeftShadow: boolean;
|
|
113
|
-
showRightShadow: boolean;
|
|
114
|
-
};
|
|
115
|
-
UNSAFE_componentWillMount?: () => void;
|
|
116
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Props & OverflowShadowProps>, nextContext: any) => void;
|
|
117
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Props & OverflowShadowProps>, nextState: Readonly<OverflowShadowState>, nextContext: any) => void;
|
|
118
|
-
updateShadows: () => void;
|
|
119
|
-
};
|
|
120
|
-
contextType?: React.Context<any> | undefined;
|
|
121
|
-
};
|
|
41
|
+
declare const _default_1: React.ComponentClass<Props & OverflowShadowProps, OverflowShadowState>;
|
|
122
42
|
export default _default_1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ComponentClass } from 'react';
|
|
2
2
|
import type { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
4
4
|
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
@@ -18,53 +18,5 @@ export interface InlineCardProps extends MarkDataAttributes {
|
|
|
18
18
|
smartLinks?: SmartLinksOptions;
|
|
19
19
|
url?: string;
|
|
20
20
|
}
|
|
21
|
-
declare const _default_1:
|
|
22
|
-
new (props: Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>): {
|
|
23
|
-
componentDidCatch?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
24
|
-
componentDidMount?: () => void;
|
|
25
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
26
|
-
componentWillMount?: () => void;
|
|
27
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
28
|
-
componentWillUnmount?: () => void;
|
|
29
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
30
|
-
context: unknown;
|
|
31
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
32
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
33
|
-
readonly props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
34
|
-
refs: {
|
|
35
|
-
[key: string]: ReactInstance;
|
|
36
|
-
};
|
|
37
|
-
render: () => JSX.Element;
|
|
38
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
39
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
40
|
-
state: Readonly<{}>;
|
|
41
|
-
UNSAFE_componentWillMount?: () => void;
|
|
42
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
43
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
44
|
-
};
|
|
45
|
-
new (props: Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>, context: any): {
|
|
46
|
-
componentDidCatch?: (error: Error, errorInfo: ErrorInfo) => void;
|
|
47
|
-
componentDidMount?: () => void;
|
|
48
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
49
|
-
componentWillMount?: () => void;
|
|
50
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
51
|
-
componentWillUnmount?: () => void;
|
|
52
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
53
|
-
context: unknown;
|
|
54
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
55
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
56
|
-
readonly props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
57
|
-
refs: {
|
|
58
|
-
[key: string]: ReactInstance;
|
|
59
|
-
};
|
|
60
|
-
render: () => JSX.Element;
|
|
61
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
62
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
63
|
-
state: Readonly<{}>;
|
|
64
|
-
UNSAFE_componentWillMount?: () => void;
|
|
65
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
66
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
67
|
-
};
|
|
68
|
-
contextType?: Context<any> | undefined;
|
|
69
|
-
};
|
|
21
|
+
declare const _default_1: ComponentClass<Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
70
22
|
export default _default_1;
|
|
@@ -112,53 +112,5 @@ export declare class TableProcessor extends React.Component<TableProps & Overflo
|
|
|
112
112
|
private changeSortOrder;
|
|
113
113
|
private addNumberColumnIndexes;
|
|
114
114
|
}
|
|
115
|
-
declare const _default_1:
|
|
116
|
-
new (props: Diff<any, WithSmartCardStorageProps>): {
|
|
117
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
118
|
-
componentDidMount?: () => void;
|
|
119
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
120
|
-
componentWillMount?: () => void;
|
|
121
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
122
|
-
componentWillUnmount?: () => void;
|
|
123
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
124
|
-
context: unknown;
|
|
125
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
126
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
127
|
-
readonly props: Readonly<Diff<any, WithSmartCardStorageProps>>;
|
|
128
|
-
refs: {
|
|
129
|
-
[key: string]: React.ReactInstance;
|
|
130
|
-
};
|
|
131
|
-
render: () => React.JSX.Element;
|
|
132
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<any, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
133
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
134
|
-
state: Readonly<{}>;
|
|
135
|
-
UNSAFE_componentWillMount?: () => void;
|
|
136
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
137
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
138
|
-
};
|
|
139
|
-
new (props: Diff<any, WithSmartCardStorageProps>, context: any): {
|
|
140
|
-
componentDidCatch?: (error: Error, errorInfo: React.ErrorInfo) => void;
|
|
141
|
-
componentDidMount?: () => void;
|
|
142
|
-
componentDidUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any) => void;
|
|
143
|
-
componentWillMount?: () => void;
|
|
144
|
-
componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
145
|
-
componentWillUnmount?: () => void;
|
|
146
|
-
componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
147
|
-
context: unknown;
|
|
148
|
-
forceUpdate: (callback?: (() => void) | undefined) => void;
|
|
149
|
-
getSnapshotBeforeUpdate?: (prevProps: Readonly<Diff<any, WithSmartCardStorageProps>>, prevState: Readonly<{}>) => any;
|
|
150
|
-
readonly props: Readonly<Diff<any, WithSmartCardStorageProps>>;
|
|
151
|
-
refs: {
|
|
152
|
-
[key: string]: React.ReactInstance;
|
|
153
|
-
};
|
|
154
|
-
render: () => React.JSX.Element;
|
|
155
|
-
setState: <K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<any, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void;
|
|
156
|
-
shouldComponentUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => boolean;
|
|
157
|
-
state: Readonly<{}>;
|
|
158
|
-
UNSAFE_componentWillMount?: () => void;
|
|
159
|
-
UNSAFE_componentWillReceiveProps?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextContext: any) => void;
|
|
160
|
-
UNSAFE_componentWillUpdate?: (nextProps: Readonly<Diff<any, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any) => void;
|
|
161
|
-
};
|
|
162
|
-
contextType?: React.Context<any> | undefined;
|
|
163
|
-
};
|
|
115
|
+
declare const _default_1: React.ComponentClass<Diff<any, WithSmartCardStorageProps>>;
|
|
164
116
|
export default _default_1;
|
|
@@ -5,52 +5,4 @@ export interface WithSmartCardStorageProps {
|
|
|
5
5
|
}
|
|
6
6
|
export declare const Context: React.Context<Map<string, string>>;
|
|
7
7
|
export declare const Provider: ({ children, }: React.PropsWithChildren<unknown>) => React.JSX.Element;
|
|
8
|
-
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) =>
|
|
9
|
-
new (props: Diff<Props, WithSmartCardStorageProps>): {
|
|
10
|
-
render(): React.JSX.Element;
|
|
11
|
-
context: unknown;
|
|
12
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
13
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
14
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
15
|
-
state: Readonly<{}>;
|
|
16
|
-
refs: {
|
|
17
|
-
[key: string]: React.ReactInstance;
|
|
18
|
-
};
|
|
19
|
-
componentDidMount?(): void;
|
|
20
|
-
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
21
|
-
componentWillUnmount?(): void;
|
|
22
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
23
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
24
|
-
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
25
|
-
componentWillMount?(): void;
|
|
26
|
-
UNSAFE_componentWillMount?(): void;
|
|
27
|
-
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
28
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
29
|
-
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
30
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
31
|
-
};
|
|
32
|
-
new (props: Diff<Props, WithSmartCardStorageProps>, context: any): {
|
|
33
|
-
render(): React.JSX.Element;
|
|
34
|
-
context: unknown;
|
|
35
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
36
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
37
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
38
|
-
state: Readonly<{}>;
|
|
39
|
-
refs: {
|
|
40
|
-
[key: string]: React.ReactInstance;
|
|
41
|
-
};
|
|
42
|
-
componentDidMount?(): void;
|
|
43
|
-
shouldComponentUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
44
|
-
componentWillUnmount?(): void;
|
|
45
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
46
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
47
|
-
componentDidUpdate?(prevProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
48
|
-
componentWillMount?(): void;
|
|
49
|
-
UNSAFE_componentWillMount?(): void;
|
|
50
|
-
componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
51
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
52
|
-
componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
53
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Diff<Props, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
54
|
-
};
|
|
55
|
-
contextType?: React.Context<any> | undefined;
|
|
56
|
-
};
|
|
8
|
+
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) => React.ComponentClass<Diff<Props, WithSmartCardStorageProps>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "130.3.
|
|
3
|
+
"version": "130.3.6",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
45
45
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
46
46
|
"@atlaskit/editor-smart-link-draggable": "^0.5.0",
|
|
47
|
-
"@atlaskit/emoji": "^70.
|
|
47
|
+
"@atlaskit/emoji": "^70.4.0",
|
|
48
48
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
49
49
|
"@atlaskit/icon": "^34.4.0",
|
|
50
50
|
"@atlaskit/link": "^3.4.0",
|
|
@@ -52,21 +52,21 @@
|
|
|
52
52
|
"@atlaskit/link-extractors": "^2.4.0",
|
|
53
53
|
"@atlaskit/linking-common": "^9.11.0",
|
|
54
54
|
"@atlaskit/media-card": "^80.4.0",
|
|
55
|
-
"@atlaskit/media-client": "^36.
|
|
55
|
+
"@atlaskit/media-client": "^36.2.0",
|
|
56
56
|
"@atlaskit/media-client-react": "^5.1.0",
|
|
57
|
-
"@atlaskit/media-common": "^13.
|
|
57
|
+
"@atlaskit/media-common": "^13.3.0",
|
|
58
58
|
"@atlaskit/media-filmstrip": "^51.3.0",
|
|
59
59
|
"@atlaskit/media-ui": "^29.2.0",
|
|
60
|
-
"@atlaskit/media-viewer": "^53.
|
|
60
|
+
"@atlaskit/media-viewer": "^53.2.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
64
|
"@atlaskit/react-ufo": "^5.19.0",
|
|
65
|
-
"@atlaskit/smart-card": "^44.
|
|
65
|
+
"@atlaskit/smart-card": "^44.9.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": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^77.2.0",
|
|
70
70
|
"@atlaskit/tokens": "^13.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^22.0.0",
|
|
72
72
|
"@atlaskit/visually-hidden": "^3.1.0",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"uuid": "^3.1.0"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"@atlaskit/editor-common": "^114.
|
|
84
|
-
"@atlaskit/link-provider": "^4.
|
|
83
|
+
"@atlaskit/editor-common": "^114.25.0",
|
|
84
|
+
"@atlaskit/link-provider": "^4.4.0",
|
|
85
85
|
"@atlaskit/media-core": "^37.0.0",
|
|
86
86
|
"react": "^18.2.0",
|
|
87
87
|
"react-dom": "^18.2.0",
|
|
@@ -92,20 +92,20 @@
|
|
|
92
92
|
"@af/visual-regression": "workspace:^",
|
|
93
93
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
94
94
|
"@atlaskit/checkbox": "^17.3.0",
|
|
95
|
-
"@atlaskit/link-provider": "^4.
|
|
95
|
+
"@atlaskit/link-provider": "^4.4.0",
|
|
96
96
|
"@atlaskit/link-test-helpers": "^10.2.0",
|
|
97
97
|
"@atlaskit/media-core": "^37.0.0",
|
|
98
98
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
99
99
|
"@atlaskit/media-test-helpers": "^41.0.0",
|
|
100
100
|
"@atlaskit/mention": "^25.0.0",
|
|
101
|
-
"@atlaskit/modal-dialog": "^
|
|
101
|
+
"@atlaskit/modal-dialog": "^15.0.0",
|
|
102
102
|
"@atlaskit/navigation-system": "^9.2.0",
|
|
103
103
|
"@atlaskit/profilecard": "^25.4.0",
|
|
104
104
|
"@atlaskit/side-nav-items": "^1.13.0",
|
|
105
105
|
"@atlaskit/util-data-test": "^18.5.0",
|
|
106
106
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
107
107
|
"@atlassian/a11y-playwright-testing": "^0.9.0",
|
|
108
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
108
|
+
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
109
109
|
"@atlassian/react-compiler-gating": "workspace:^",
|
|
110
110
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
111
111
|
"@atlassian/testing-library": "^0.5.0",
|
package/afm-jira/tsconfig.json
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.local-consumption.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "es5",
|
|
5
|
-
"outDir": "../../../../../jira/tsDist/@atlaskit__renderer/app",
|
|
6
|
-
"rootDir": "../",
|
|
7
|
-
"composite": true,
|
|
8
|
-
"noCheck": true
|
|
9
|
-
},
|
|
10
|
-
"include": [
|
|
11
|
-
"../src/**/*.ts",
|
|
12
|
-
"../src/**/*.tsx"
|
|
13
|
-
],
|
|
14
|
-
"exclude": [
|
|
15
|
-
"../src/**/__tests__/*",
|
|
16
|
-
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*",
|
|
18
|
-
"../src/**/examples.*",
|
|
19
|
-
"../src/**/examples/*",
|
|
20
|
-
"../src/**/examples/**/*",
|
|
21
|
-
"../src/**/*.stories.*",
|
|
22
|
-
"../src/**/stories/*",
|
|
23
|
-
"../src/**/stories/**/*"
|
|
24
|
-
],
|
|
25
|
-
"references": [
|
|
26
|
-
{
|
|
27
|
-
"path": "../../adf-schema/afm-jira/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../adf-utils/afm-jira/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../analytics/analytics-listeners/afm-jira/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../analytics/analytics-namespaced-context/afm-jira/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../analytics/analytics-next/afm-jira/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../helpers/browser-apis/afm-jira/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../../design-system/button/afm-jira/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/code/afm-jira/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../editor-json-transformer/afm-jira/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../editor-palette/afm-jira/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../editor-prosemirror/afm-jira/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../editor-shared-styles/afm-jira/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../editor-smart-link-draggable/afm-jira/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../elements/emoji/afm-jira/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../measurement/feature-gate-js-client/afm-jira/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../design-system/icon/afm-jira/tsconfig.json"
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
"path": "../../../design-system/link/afm-jira/tsconfig.json"
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
"path": "../../../linking-platform/link-datasource/afm-jira/tsconfig.json"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"path": "../../../linking-platform/link-extractors/afm-jira/tsconfig.json"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"path": "../../../linking-platform/linking-common/afm-jira/tsconfig.json"
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
"path": "../../../media/media-card/afm-jira/tsconfig.json"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"path": "../../../media/media-client/afm-jira/tsconfig.json"
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
"path": "../../../media/media-client-react/afm-jira/tsconfig.json"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"path": "../../../media/media-common/afm-jira/tsconfig.json"
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"path": "../../../media/media-filmstrip/afm-jira/tsconfig.json"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"path": "../../../media/media-ui/afm-jira/tsconfig.json"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"path": "../../../media/media-viewer/afm-jira/tsconfig.json"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"path": "../../../platform/feature-flags-react/afm-jira/tsconfig.json"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"path": "../../../pragmatic-drag-and-drop/core/afm-jira/tsconfig.json"
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"path": "../../../react-ufo/atlaskit/afm-jira/tsconfig.json"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"path": "../../../linking-platform/smart-card/afm-jira/tsconfig.json"
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"path": "../../../elements/status/afm-jira/tsconfig.json"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"path": "../../../elements/task-decision/afm-jira/tsconfig.json"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"path": "../../../design-system/tokens/afm-jira/tsconfig.json"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"path": "../../../design-system/tooltip/afm-jira/tsconfig.json"
|
|
139
|
-
},
|
|
140
|
-
{
|
|
141
|
-
"path": "../../../design-system/visually-hidden/afm-jira/tsconfig.json"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"path": "../../editor-common/afm-jira/tsconfig.json"
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
"path": "../../../linking-platform/link-provider/afm-jira/tsconfig.json"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"path": "../../../media/media-core/afm-jira/tsconfig.json"
|
|
151
|
-
}
|
|
152
|
-
]
|
|
153
|
-
}
|