@atlaskit/renderer 112.11.1 → 112.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/cjs/ui/MediaCard.js +9 -32
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/MediaCard.js +9 -32
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/MediaCard.js +9 -32
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/types/react/marks/code.d.ts +6 -2
- package/dist/types/react/nodes/extension.d.ts +6 -9
- package/dist/types/react/nodes/fallback.d.ts +1 -1
- package/dist/types/react/nodes/index.d.ts +2 -2
- package/dist/types/react/nodes/inlineCard.d.ts +4 -8
- package/dist/types/react/nodes/table.d.ts +4 -8
- package/dist/types/ui/Renderer/ErrorBoundary.d.ts +1 -1
- package/dist/types/ui/SmartCardStorage.d.ts +4 -8
- package/dist/types-ts4.5/react/marks/code.d.ts +6 -2
- package/dist/types-ts4.5/react/nodes/extension.d.ts +6 -9
- package/dist/types-ts4.5/react/nodes/fallback.d.ts +1 -1
- package/dist/types-ts4.5/react/nodes/index.d.ts +2 -2
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +4 -8
- package/dist/types-ts4.5/react/nodes/table.d.ts +4 -8
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +4 -8
- package/package.json +37 -40
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 112.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
|
|
8
|
+
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
|
|
9
|
+
Update `React` from v16 to v18
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 112.11.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#108013](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/108013)
|
|
20
|
+
[`7b0f37c8dfc41`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7b0f37c8dfc41) -
|
|
21
|
+
[ux] ED-26409 remove platform_editor_external_media_comment_bugfix fg
|
|
22
|
+
|
|
3
23
|
## 112.11.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/cjs/ui/MediaCard.js
CHANGED
|
@@ -20,7 +20,6 @@ var _traverse = require("@atlaskit/adf-utils/traverse");
|
|
|
20
20
|
var _mediaCard = require("@atlaskit/media-card");
|
|
21
21
|
var _mediaClientReact = require("@atlaskit/media-client-react");
|
|
22
22
|
var _utils = require("@atlaskit/editor-common/utils");
|
|
23
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
24
23
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
25
24
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
26
25
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -230,35 +229,13 @@ var MediaCardView = exports.MediaCardView = /*#__PURE__*/function (_Component) {
|
|
|
230
229
|
|
|
231
230
|
// we need this statement for the mandatory mediaClientConfig below
|
|
232
231
|
var mediaClientConfig = mediaClient === null || mediaClient === void 0 ? void 0 : mediaClient.mediaClientConfig;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
}), /*#__PURE__*/_react.default.createElement(_mediaCard.Card
|
|
241
|
-
// TODO MPT-315: clean up after we move mediaClientConfig into FileIdentifier
|
|
242
|
-
// context is not really used when the type is external and we want to render the component asap
|
|
243
|
-
// Ignored via go/ees005
|
|
244
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
245
|
-
, {
|
|
246
|
-
mediaClientConfig: mediaClientConfig,
|
|
247
|
-
alt: alt,
|
|
248
|
-
identifier: identifier,
|
|
249
|
-
dimensions: cardDimensions,
|
|
250
|
-
appearance: appearance,
|
|
251
|
-
resizeMode: resizeMode,
|
|
252
|
-
disableOverlay: disableOverlay,
|
|
253
|
-
shouldOpenMediaViewer: shouldOpenMediaViewer,
|
|
254
|
-
mediaViewerItems: Array.from(mediaIdentifierMap.values()),
|
|
255
|
-
featureFlags: featureFlags,
|
|
256
|
-
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode,
|
|
257
|
-
shouldHideTooltip: false
|
|
258
|
-
}))
|
|
259
|
-
);
|
|
260
|
-
} else {
|
|
261
|
-
return /*#__PURE__*/_react.default.createElement(_mediaCard.Card
|
|
232
|
+
return (
|
|
233
|
+
/*#__PURE__*/
|
|
234
|
+
// Ignored via go/ees005
|
|
235
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
236
|
+
_react.default.createElement("div", (0, _extends2.default)({}, dataAttributes, {
|
|
237
|
+
"data-node-type": "media"
|
|
238
|
+
}), /*#__PURE__*/_react.default.createElement(_mediaCard.Card
|
|
262
239
|
// TODO MPT-315: clean up after we move mediaClientConfig into FileIdentifier
|
|
263
240
|
// context is not really used when the type is external and we want to render the component asap
|
|
264
241
|
// Ignored via go/ees005
|
|
@@ -276,8 +253,8 @@ var MediaCardView = exports.MediaCardView = /*#__PURE__*/function (_Component) {
|
|
|
276
253
|
featureFlags: featureFlags,
|
|
277
254
|
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode,
|
|
278
255
|
shouldHideTooltip: false
|
|
279
|
-
})
|
|
280
|
-
|
|
256
|
+
}))
|
|
257
|
+
);
|
|
281
258
|
}
|
|
282
259
|
}, {
|
|
283
260
|
key: "render",
|
|
@@ -64,7 +64,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
64
64
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
65
65
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
66
66
|
var packageName = "@atlaskit/renderer";
|
|
67
|
-
var packageVersion = "112.
|
|
67
|
+
var packageVersion = "112.12.0";
|
|
68
68
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
69
69
|
containerName: 'ak-renderer-wrapper',
|
|
70
70
|
containerType: 'inline-size',
|
|
@@ -5,7 +5,6 @@ import { filter } from '@atlaskit/adf-utils/traverse';
|
|
|
5
5
|
import { Card, CardLoading, CardError } from '@atlaskit/media-card';
|
|
6
6
|
import { MediaClientContext } from '@atlaskit/media-client-react';
|
|
7
7
|
import { withImageLoader } from '@atlaskit/editor-common/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
export const mediaIdentifierMap = new Map();
|
|
10
9
|
export const getListOfIdentifiersFromDoc = doc => {
|
|
11
10
|
if (!doc) {
|
|
@@ -165,35 +164,13 @@ export class MediaCardView extends Component {
|
|
|
165
164
|
|
|
166
165
|
// we need this statement for the mandatory mediaClientConfig below
|
|
167
166
|
const mediaClientConfig = mediaClient === null || mediaClient === void 0 ? void 0 : mediaClient.mediaClientConfig;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}), /*#__PURE__*/React.createElement(Card
|
|
176
|
-
// TODO MPT-315: clean up after we move mediaClientConfig into FileIdentifier
|
|
177
|
-
// context is not really used when the type is external and we want to render the component asap
|
|
178
|
-
// Ignored via go/ees005
|
|
179
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
180
|
-
, {
|
|
181
|
-
mediaClientConfig: mediaClientConfig,
|
|
182
|
-
alt: alt,
|
|
183
|
-
identifier: identifier,
|
|
184
|
-
dimensions: cardDimensions,
|
|
185
|
-
appearance: appearance,
|
|
186
|
-
resizeMode: resizeMode,
|
|
187
|
-
disableOverlay: disableOverlay,
|
|
188
|
-
shouldOpenMediaViewer: shouldOpenMediaViewer,
|
|
189
|
-
mediaViewerItems: Array.from(mediaIdentifierMap.values()),
|
|
190
|
-
featureFlags: featureFlags,
|
|
191
|
-
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode,
|
|
192
|
-
shouldHideTooltip: false
|
|
193
|
-
}))
|
|
194
|
-
);
|
|
195
|
-
} else {
|
|
196
|
-
return /*#__PURE__*/React.createElement(Card
|
|
167
|
+
return (
|
|
168
|
+
/*#__PURE__*/
|
|
169
|
+
// Ignored via go/ees005
|
|
170
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
171
|
+
React.createElement("div", _extends({}, dataAttributes, {
|
|
172
|
+
"data-node-type": "media"
|
|
173
|
+
}), /*#__PURE__*/React.createElement(Card
|
|
197
174
|
// TODO MPT-315: clean up after we move mediaClientConfig into FileIdentifier
|
|
198
175
|
// context is not really used when the type is external and we want to render the component asap
|
|
199
176
|
// Ignored via go/ees005
|
|
@@ -211,8 +188,8 @@ export class MediaCardView extends Component {
|
|
|
211
188
|
featureFlags: featureFlags,
|
|
212
189
|
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode,
|
|
213
190
|
shouldHideTooltip: false
|
|
214
|
-
})
|
|
215
|
-
|
|
191
|
+
}))
|
|
192
|
+
);
|
|
216
193
|
}
|
|
217
194
|
render() {
|
|
218
195
|
const {
|
|
@@ -45,7 +45,7 @@ import { TruncatedWrapper } from './truncated-wrapper';
|
|
|
45
45
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
46
46
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
47
47
|
const packageName = "@atlaskit/renderer";
|
|
48
|
-
const packageVersion = "112.
|
|
48
|
+
const packageVersion = "112.12.0";
|
|
49
49
|
const setAsQueryContainerStyles = css({
|
|
50
50
|
containerName: 'ak-renderer-wrapper',
|
|
51
51
|
containerType: 'inline-size',
|
package/dist/esm/ui/MediaCard.js
CHANGED
|
@@ -16,7 +16,6 @@ import { filter } from '@atlaskit/adf-utils/traverse';
|
|
|
16
16
|
import { Card, CardLoading, CardError } from '@atlaskit/media-card';
|
|
17
17
|
import { MediaClientContext } from '@atlaskit/media-client-react';
|
|
18
18
|
import { withImageLoader } from '@atlaskit/editor-common/utils';
|
|
19
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
20
19
|
export var mediaIdentifierMap = new Map();
|
|
21
20
|
export var getListOfIdentifiersFromDoc = function getListOfIdentifiersFromDoc(doc) {
|
|
22
21
|
if (!doc) {
|
|
@@ -220,35 +219,13 @@ export var MediaCardView = /*#__PURE__*/function (_Component) {
|
|
|
220
219
|
|
|
221
220
|
// we need this statement for the mandatory mediaClientConfig below
|
|
222
221
|
var mediaClientConfig = mediaClient === null || mediaClient === void 0 ? void 0 : mediaClient.mediaClientConfig;
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}), /*#__PURE__*/React.createElement(Card
|
|
231
|
-
// TODO MPT-315: clean up after we move mediaClientConfig into FileIdentifier
|
|
232
|
-
// context is not really used when the type is external and we want to render the component asap
|
|
233
|
-
// Ignored via go/ees005
|
|
234
|
-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
235
|
-
, {
|
|
236
|
-
mediaClientConfig: mediaClientConfig,
|
|
237
|
-
alt: alt,
|
|
238
|
-
identifier: identifier,
|
|
239
|
-
dimensions: cardDimensions,
|
|
240
|
-
appearance: appearance,
|
|
241
|
-
resizeMode: resizeMode,
|
|
242
|
-
disableOverlay: disableOverlay,
|
|
243
|
-
shouldOpenMediaViewer: shouldOpenMediaViewer,
|
|
244
|
-
mediaViewerItems: Array.from(mediaIdentifierMap.values()),
|
|
245
|
-
featureFlags: featureFlags,
|
|
246
|
-
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode,
|
|
247
|
-
shouldHideTooltip: false
|
|
248
|
-
}))
|
|
249
|
-
);
|
|
250
|
-
} else {
|
|
251
|
-
return /*#__PURE__*/React.createElement(Card
|
|
222
|
+
return (
|
|
223
|
+
/*#__PURE__*/
|
|
224
|
+
// Ignored via go/ees005
|
|
225
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
226
|
+
React.createElement("div", _extends({}, dataAttributes, {
|
|
227
|
+
"data-node-type": "media"
|
|
228
|
+
}), /*#__PURE__*/React.createElement(Card
|
|
252
229
|
// TODO MPT-315: clean up after we move mediaClientConfig into FileIdentifier
|
|
253
230
|
// context is not really used when the type is external and we want to render the component asap
|
|
254
231
|
// Ignored via go/ees005
|
|
@@ -266,8 +243,8 @@ export var MediaCardView = /*#__PURE__*/function (_Component) {
|
|
|
266
243
|
featureFlags: featureFlags,
|
|
267
244
|
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode,
|
|
268
245
|
shouldHideTooltip: false
|
|
269
|
-
})
|
|
270
|
-
|
|
246
|
+
}))
|
|
247
|
+
);
|
|
271
248
|
}
|
|
272
249
|
}, {
|
|
273
250
|
key: "render",
|
|
@@ -54,7 +54,7 @@ import { TruncatedWrapper } from './truncated-wrapper';
|
|
|
54
54
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
55
55
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
56
56
|
var packageName = "@atlaskit/renderer";
|
|
57
|
-
var packageVersion = "112.
|
|
57
|
+
var packageVersion = "112.12.0";
|
|
58
58
|
var setAsQueryContainerStyles = css({
|
|
59
59
|
containerName: 'ak-renderer-wrapper',
|
|
60
60
|
containerType: 'inline-size',
|
|
@@ -8,9 +8,13 @@ export declare function CodeWithIntl(props: MarkProps<{
|
|
|
8
8
|
}> & WrappedComponentProps): JSX.Element;
|
|
9
9
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
10
10
|
codeBidiWarningTooltipEnabled: boolean;
|
|
11
|
-
} & import("../types").MarkMeta &
|
|
11
|
+
} & import("../types").MarkMeta & {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
} & WrappedComponentProps>> & {
|
|
12
14
|
WrappedComponent: React.ComponentType<{
|
|
13
15
|
codeBidiWarningTooltipEnabled: boolean;
|
|
14
|
-
} & import("../types").MarkMeta &
|
|
16
|
+
} & import("../types").MarkMeta & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
} & WrappedComponentProps>;
|
|
15
19
|
};
|
|
16
20
|
export default _default;
|
|
@@ -47,12 +47,10 @@ declare const _default: {
|
|
|
47
47
|
handleContainer: (container: HTMLElement | null) => void;
|
|
48
48
|
initShadowObserver(): void;
|
|
49
49
|
render(): JSX.Element;
|
|
50
|
-
context:
|
|
50
|
+
context: unknown;
|
|
51
51
|
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;
|
|
52
52
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
53
|
-
readonly props: Readonly<Props
|
|
54
|
-
children?: React.ReactNode;
|
|
55
|
-
}>;
|
|
53
|
+
readonly props: Readonly<Props>;
|
|
56
54
|
refs: {
|
|
57
55
|
[key: string]: React.ReactInstance;
|
|
58
56
|
};
|
|
@@ -75,7 +73,8 @@ declare const _default: {
|
|
|
75
73
|
scrollable?: NodeList | undefined;
|
|
76
74
|
diff?: number | undefined;
|
|
77
75
|
state: {
|
|
78
|
-
showLeftShadow: boolean;
|
|
76
|
+
showLeftShadow: boolean; /** We don't want this error to block renderer */
|
|
77
|
+
/** We keep rendering the default content */
|
|
79
78
|
showRightShadow: boolean;
|
|
80
79
|
};
|
|
81
80
|
componentWillUnmount(): void;
|
|
@@ -88,12 +87,10 @@ declare const _default: {
|
|
|
88
87
|
handleContainer: (container: HTMLElement | null) => void;
|
|
89
88
|
initShadowObserver(): void;
|
|
90
89
|
render(): JSX.Element;
|
|
91
|
-
context:
|
|
90
|
+
context: unknown;
|
|
92
91
|
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;
|
|
93
92
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
94
|
-
readonly props: Readonly<Props
|
|
95
|
-
children?: React.ReactNode;
|
|
96
|
-
}>;
|
|
93
|
+
readonly props: Readonly<Props>;
|
|
97
94
|
refs: {
|
|
98
95
|
[key: string]: React.ReactInstance;
|
|
99
96
|
};
|
|
@@ -18,7 +18,7 @@ export declare class CardErrorBoundary extends React.PureComponent<{
|
|
|
18
18
|
isError: boolean;
|
|
19
19
|
error: Error;
|
|
20
20
|
};
|
|
21
|
-
render(): React.
|
|
21
|
+
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
22
22
|
componentDidCatch(_error: Error): void;
|
|
23
23
|
}
|
|
24
24
|
export {};
|
|
@@ -29,7 +29,7 @@ declare const CodeBlock: React.ComponentType<import("react-intl-next").WithIntlP
|
|
|
29
29
|
declare const TaskList: React.ComponentType<import("./taskList").Props> & Loadable.LoadableComponent;
|
|
30
30
|
declare const TaskItem: React.ComponentType<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent;
|
|
31
31
|
declare const DecisionList: React.ComponentType<import("./decisionList").Props> & Loadable.LoadableComponent;
|
|
32
|
-
declare const DecisionItem: React.ComponentType<
|
|
32
|
+
declare const DecisionItem: React.ComponentType<import("../types").NodeProps> & Loadable.LoadableComponent;
|
|
33
33
|
declare const Date: React.ComponentType<import("./date").Props> & Loadable.LoadableComponent;
|
|
34
34
|
declare const Status: React.ComponentType<import("./status").Props> & Loadable.LoadableComponent;
|
|
35
35
|
declare const Emoji: React.ComponentType<import("./emoji").EmojiProps> & Loadable.LoadableComponent;
|
|
@@ -60,7 +60,7 @@ declare const BlockCard: React.ComponentType<{
|
|
|
60
60
|
layout?: string | undefined;
|
|
61
61
|
isNodeNested?: boolean | undefined;
|
|
62
62
|
}> & Loadable.LoadableComponent;
|
|
63
|
-
declare const Media: React.ComponentType<import("./media").MediaProps
|
|
63
|
+
declare const Media: React.ComponentType<React.PropsWithChildren<import("./media").MediaProps>> & Loadable.LoadableComponent;
|
|
64
64
|
declare const MediaGroup: React.ComponentType<import("./mediaGroup").MediaGroupProps> & Loadable.LoadableComponent;
|
|
65
65
|
declare const MediaInline: React.ComponentType<import("react-intl-next").WithIntlProps<{
|
|
66
66
|
id: string;
|
|
@@ -15,12 +15,10 @@ export interface InlineCardProps extends MarkDataAttributes {
|
|
|
15
15
|
declare const _default: {
|
|
16
16
|
new (props: import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps> | Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>): {
|
|
17
17
|
render(): JSX.Element;
|
|
18
|
-
context:
|
|
18
|
+
context: unknown;
|
|
19
19
|
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;
|
|
20
20
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
21
|
-
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps
|
|
22
|
-
children?: import("react").ReactNode;
|
|
23
|
-
}>;
|
|
21
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
24
22
|
state: Readonly<{}>;
|
|
25
23
|
refs: {
|
|
26
24
|
[key: string]: import("react").ReactInstance;
|
|
@@ -40,12 +38,10 @@ declare const _default: {
|
|
|
40
38
|
};
|
|
41
39
|
new (props: import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>, context: any): {
|
|
42
40
|
render(): JSX.Element;
|
|
43
|
-
context:
|
|
41
|
+
context: unknown;
|
|
44
42
|
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;
|
|
45
43
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
46
|
-
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps
|
|
47
|
-
children?: import("react").ReactNode;
|
|
48
|
-
}>;
|
|
44
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
49
45
|
state: Readonly<{}>;
|
|
50
46
|
refs: {
|
|
51
47
|
[key: string]: import("react").ReactInstance;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
allowTableResizing?: boolean | undefined;
|
|
89
89
|
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>): {
|
|
90
90
|
render(): JSX.Element;
|
|
91
|
-
context:
|
|
91
|
+
context: unknown;
|
|
92
92
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
93
93
|
renderWidth?: number | undefined;
|
|
94
94
|
} & Omit<SharedTableProps & {
|
|
@@ -111,9 +111,7 @@ declare const _default: {
|
|
|
111
111
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
112
112
|
allowTableAlignment?: boolean | undefined;
|
|
113
113
|
allowTableResizing?: boolean | undefined;
|
|
114
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps
|
|
115
|
-
children?: React.ReactNode;
|
|
116
|
-
}>;
|
|
114
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>;
|
|
117
115
|
state: Readonly<{}>;
|
|
118
116
|
refs: {
|
|
119
117
|
[key: string]: React.ReactInstance;
|
|
@@ -213,7 +211,7 @@ declare const _default: {
|
|
|
213
211
|
allowTableResizing?: boolean | undefined;
|
|
214
212
|
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>, context: any): {
|
|
215
213
|
render(): JSX.Element;
|
|
216
|
-
context:
|
|
214
|
+
context: unknown;
|
|
217
215
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
218
216
|
renderWidth?: number | undefined;
|
|
219
217
|
} & Omit<SharedTableProps & {
|
|
@@ -236,9 +234,7 @@ declare const _default: {
|
|
|
236
234
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
237
235
|
allowTableAlignment?: boolean | undefined;
|
|
238
236
|
allowTableResizing?: boolean | undefined;
|
|
239
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps
|
|
240
|
-
children?: React.ReactNode;
|
|
241
|
-
}>;
|
|
237
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>;
|
|
242
238
|
state: Readonly<{}>;
|
|
243
239
|
refs: {
|
|
244
240
|
[key: string]: React.ReactInstance;
|
|
@@ -23,6 +23,6 @@ export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, E
|
|
|
23
23
|
private hasFallback;
|
|
24
24
|
private shouldRecover;
|
|
25
25
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
26
|
-
render(): React.
|
|
26
|
+
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -8,12 +8,10 @@ export declare const Provider: ({ children }: React.PropsWithChildren<unknown>)
|
|
|
8
8
|
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) => {
|
|
9
9
|
new (props: Diff<Props, WithSmartCardStorageProps> | Readonly<Diff<Props, WithSmartCardStorageProps>>): {
|
|
10
10
|
render(): JSX.Element;
|
|
11
|
-
context:
|
|
11
|
+
context: unknown;
|
|
12
12
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
13
13
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
14
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}>;
|
|
14
|
+
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
17
15
|
state: Readonly<{}>;
|
|
18
16
|
refs: {
|
|
19
17
|
[key: string]: React.ReactInstance;
|
|
@@ -33,12 +31,10 @@ export declare const withSmartCardStorage: <Props extends WithSmartCardStoragePr
|
|
|
33
31
|
};
|
|
34
32
|
new (props: Diff<Props, WithSmartCardStorageProps>, context: any): {
|
|
35
33
|
render(): JSX.Element;
|
|
36
|
-
context:
|
|
34
|
+
context: unknown;
|
|
37
35
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
38
36
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
39
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps
|
|
40
|
-
children?: React.ReactNode;
|
|
41
|
-
}>;
|
|
37
|
+
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
42
38
|
state: Readonly<{}>;
|
|
43
39
|
refs: {
|
|
44
40
|
[key: string]: React.ReactInstance;
|
|
@@ -8,9 +8,13 @@ export declare function CodeWithIntl(props: MarkProps<{
|
|
|
8
8
|
}> & WrappedComponentProps): JSX.Element;
|
|
9
9
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
10
10
|
codeBidiWarningTooltipEnabled: boolean;
|
|
11
|
-
} & import("../types").MarkMeta &
|
|
11
|
+
} & import("../types").MarkMeta & {
|
|
12
|
+
children?: React.ReactNode;
|
|
13
|
+
} & WrappedComponentProps>> & {
|
|
12
14
|
WrappedComponent: React.ComponentType<{
|
|
13
15
|
codeBidiWarningTooltipEnabled: boolean;
|
|
14
|
-
} & import("../types").MarkMeta &
|
|
16
|
+
} & import("../types").MarkMeta & {
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
} & WrappedComponentProps>;
|
|
15
19
|
};
|
|
16
20
|
export default _default;
|
|
@@ -47,12 +47,10 @@ declare const _default: {
|
|
|
47
47
|
handleContainer: (container: HTMLElement | null) => void;
|
|
48
48
|
initShadowObserver(): void;
|
|
49
49
|
render(): JSX.Element;
|
|
50
|
-
context:
|
|
50
|
+
context: unknown;
|
|
51
51
|
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;
|
|
52
52
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
53
|
-
readonly props: Readonly<Props
|
|
54
|
-
children?: React.ReactNode;
|
|
55
|
-
}>;
|
|
53
|
+
readonly props: Readonly<Props>;
|
|
56
54
|
refs: {
|
|
57
55
|
[key: string]: React.ReactInstance;
|
|
58
56
|
};
|
|
@@ -75,7 +73,8 @@ declare const _default: {
|
|
|
75
73
|
scrollable?: NodeList | undefined;
|
|
76
74
|
diff?: number | undefined;
|
|
77
75
|
state: {
|
|
78
|
-
showLeftShadow: boolean;
|
|
76
|
+
showLeftShadow: boolean; /** We don't want this error to block renderer */
|
|
77
|
+
/** We keep rendering the default content */
|
|
79
78
|
showRightShadow: boolean;
|
|
80
79
|
};
|
|
81
80
|
componentWillUnmount(): void;
|
|
@@ -88,12 +87,10 @@ declare const _default: {
|
|
|
88
87
|
handleContainer: (container: HTMLElement | null) => void;
|
|
89
88
|
initShadowObserver(): void;
|
|
90
89
|
render(): JSX.Element;
|
|
91
|
-
context:
|
|
90
|
+
context: unknown;
|
|
92
91
|
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;
|
|
93
92
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
94
|
-
readonly props: Readonly<Props
|
|
95
|
-
children?: React.ReactNode;
|
|
96
|
-
}>;
|
|
93
|
+
readonly props: Readonly<Props>;
|
|
97
94
|
refs: {
|
|
98
95
|
[key: string]: React.ReactInstance;
|
|
99
96
|
};
|
|
@@ -18,7 +18,7 @@ export declare class CardErrorBoundary extends React.PureComponent<{
|
|
|
18
18
|
isError: boolean;
|
|
19
19
|
error: Error;
|
|
20
20
|
};
|
|
21
|
-
render(): React.
|
|
21
|
+
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
22
22
|
componentDidCatch(_error: Error): void;
|
|
23
23
|
}
|
|
24
24
|
export {};
|
|
@@ -29,7 +29,7 @@ declare const CodeBlock: React.ComponentType<import("react-intl-next").WithIntlP
|
|
|
29
29
|
declare const TaskList: React.ComponentType<import("./taskList").Props> & Loadable.LoadableComponent;
|
|
30
30
|
declare const TaskItem: React.ComponentType<import("../types").NodeProps<import("./taskItem").Props>> & Loadable.LoadableComponent;
|
|
31
31
|
declare const DecisionList: React.ComponentType<import("./decisionList").Props> & Loadable.LoadableComponent;
|
|
32
|
-
declare const DecisionItem: React.ComponentType<
|
|
32
|
+
declare const DecisionItem: React.ComponentType<import("../types").NodeProps> & Loadable.LoadableComponent;
|
|
33
33
|
declare const Date: React.ComponentType<import("./date").Props> & Loadable.LoadableComponent;
|
|
34
34
|
declare const Status: React.ComponentType<import("./status").Props> & Loadable.LoadableComponent;
|
|
35
35
|
declare const Emoji: React.ComponentType<import("./emoji").EmojiProps> & Loadable.LoadableComponent;
|
|
@@ -60,7 +60,7 @@ declare const BlockCard: React.ComponentType<{
|
|
|
60
60
|
layout?: string | undefined;
|
|
61
61
|
isNodeNested?: boolean | undefined;
|
|
62
62
|
}> & Loadable.LoadableComponent;
|
|
63
|
-
declare const Media: React.ComponentType<import("./media").MediaProps
|
|
63
|
+
declare const Media: React.ComponentType<React.PropsWithChildren<import("./media").MediaProps>> & Loadable.LoadableComponent;
|
|
64
64
|
declare const MediaGroup: React.ComponentType<import("./mediaGroup").MediaGroupProps> & Loadable.LoadableComponent;
|
|
65
65
|
declare const MediaInline: React.ComponentType<import("react-intl-next").WithIntlProps<{
|
|
66
66
|
id: string;
|
|
@@ -15,12 +15,10 @@ export interface InlineCardProps extends MarkDataAttributes {
|
|
|
15
15
|
declare const _default: {
|
|
16
16
|
new (props: import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps> | Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>): {
|
|
17
17
|
render(): JSX.Element;
|
|
18
|
-
context:
|
|
18
|
+
context: unknown;
|
|
19
19
|
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;
|
|
20
20
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
21
|
-
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps
|
|
22
|
-
children?: import("react").ReactNode;
|
|
23
|
-
}>;
|
|
21
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
24
22
|
state: Readonly<{}>;
|
|
25
23
|
refs: {
|
|
26
24
|
[key: string]: import("react").ReactInstance;
|
|
@@ -40,12 +38,10 @@ declare const _default: {
|
|
|
40
38
|
};
|
|
41
39
|
new (props: import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>, context: any): {
|
|
42
40
|
render(): JSX.Element;
|
|
43
|
-
context:
|
|
41
|
+
context: unknown;
|
|
44
42
|
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;
|
|
45
43
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
46
|
-
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps
|
|
47
|
-
children?: import("react").ReactNode;
|
|
48
|
-
}>;
|
|
44
|
+
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<InlineCardProps & WithSmartCardStorageProps, WithSmartCardStorageProps>>;
|
|
49
45
|
state: Readonly<{}>;
|
|
50
46
|
refs: {
|
|
51
47
|
[key: string]: import("react").ReactInstance;
|
|
@@ -88,7 +88,7 @@ declare const _default: {
|
|
|
88
88
|
allowTableResizing?: boolean | undefined;
|
|
89
89
|
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>): {
|
|
90
90
|
render(): JSX.Element;
|
|
91
|
-
context:
|
|
91
|
+
context: unknown;
|
|
92
92
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
93
93
|
renderWidth?: number | undefined;
|
|
94
94
|
} & Omit<SharedTableProps & {
|
|
@@ -111,9 +111,7 @@ declare const _default: {
|
|
|
111
111
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
112
112
|
allowTableAlignment?: boolean | undefined;
|
|
113
113
|
allowTableResizing?: boolean | undefined;
|
|
114
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps
|
|
115
|
-
children?: React.ReactNode;
|
|
116
|
-
}>;
|
|
114
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>;
|
|
117
115
|
state: Readonly<{}>;
|
|
118
116
|
refs: {
|
|
119
117
|
[key: string]: React.ReactInstance;
|
|
@@ -213,7 +211,7 @@ declare const _default: {
|
|
|
213
211
|
allowTableResizing?: boolean | undefined;
|
|
214
212
|
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>, context: any): {
|
|
215
213
|
render(): JSX.Element;
|
|
216
|
-
context:
|
|
214
|
+
context: unknown;
|
|
217
215
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
218
216
|
renderWidth?: number | undefined;
|
|
219
217
|
} & Omit<SharedTableProps & {
|
|
@@ -236,9 +234,7 @@ declare const _default: {
|
|
|
236
234
|
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
237
235
|
allowTableAlignment?: boolean | undefined;
|
|
238
236
|
allowTableResizing?: boolean | undefined;
|
|
239
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps
|
|
240
|
-
children?: React.ReactNode;
|
|
241
|
-
}>;
|
|
237
|
+
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>;
|
|
242
238
|
state: Readonly<{}>;
|
|
243
239
|
refs: {
|
|
244
240
|
[key: string]: React.ReactInstance;
|
|
@@ -23,6 +23,6 @@ export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, E
|
|
|
23
23
|
private hasFallback;
|
|
24
24
|
private shouldRecover;
|
|
25
25
|
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
|
|
26
|
-
render(): React.
|
|
26
|
+
render(): string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -8,12 +8,10 @@ export declare const Provider: ({ children }: React.PropsWithChildren<unknown>)
|
|
|
8
8
|
export declare const withSmartCardStorage: <Props extends WithSmartCardStorageProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<Props>>) => {
|
|
9
9
|
new (props: Diff<Props, WithSmartCardStorageProps> | Readonly<Diff<Props, WithSmartCardStorageProps>>): {
|
|
10
10
|
render(): JSX.Element;
|
|
11
|
-
context:
|
|
11
|
+
context: unknown;
|
|
12
12
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
13
13
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
14
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}>;
|
|
14
|
+
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
17
15
|
state: Readonly<{}>;
|
|
18
16
|
refs: {
|
|
19
17
|
[key: string]: React.ReactInstance;
|
|
@@ -33,12 +31,10 @@ export declare const withSmartCardStorage: <Props extends WithSmartCardStoragePr
|
|
|
33
31
|
};
|
|
34
32
|
new (props: Diff<Props, WithSmartCardStorageProps>, context: any): {
|
|
35
33
|
render(): JSX.Element;
|
|
36
|
-
context:
|
|
34
|
+
context: unknown;
|
|
37
35
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Diff<Props, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
38
36
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
39
|
-
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps
|
|
40
|
-
children?: React.ReactNode;
|
|
41
|
-
}>;
|
|
37
|
+
readonly props: Readonly<Diff<Props, WithSmartCardStorageProps>>;
|
|
42
38
|
state: Readonly<{}>;
|
|
43
39
|
refs: {
|
|
44
40
|
[key: string]: React.ReactInstance;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "112.
|
|
3
|
+
"version": "112.12.0",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,37 +23,37 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
26
|
-
"@atlaskit/adf-utils": "^19.
|
|
27
|
-
"@atlaskit/analytics-listeners": "^8.
|
|
28
|
-
"@atlaskit/analytics-namespaced-context": "^6.
|
|
29
|
-
"@atlaskit/analytics-next": "^10.
|
|
30
|
-
"@atlaskit/button": "^20.
|
|
31
|
-
"@atlaskit/code": "^15.
|
|
32
|
-
"@atlaskit/editor-common": "^99.
|
|
33
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
34
|
-
"@atlaskit/editor-palette": "1.
|
|
26
|
+
"@atlaskit/adf-utils": "^19.18.0",
|
|
27
|
+
"@atlaskit/analytics-listeners": "^8.14.0",
|
|
28
|
+
"@atlaskit/analytics-namespaced-context": "^6.13.0",
|
|
29
|
+
"@atlaskit/analytics-next": "^10.3.0",
|
|
30
|
+
"@atlaskit/button": "^20.4.0",
|
|
31
|
+
"@atlaskit/code": "^15.7.0",
|
|
32
|
+
"@atlaskit/editor-common": "^99.6.0",
|
|
33
|
+
"@atlaskit/editor-json-transformer": "^8.22.0",
|
|
34
|
+
"@atlaskit/editor-palette": "1.7.0",
|
|
35
35
|
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
36
36
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
37
|
-
"@atlaskit/emoji": "^67.
|
|
37
|
+
"@atlaskit/emoji": "^67.13.0",
|
|
38
38
|
"@atlaskit/feature-gate-js-client": "^4.23.0",
|
|
39
|
-
"@atlaskit/icon": "^23.
|
|
40
|
-
"@atlaskit/link-datasource": "^3.
|
|
41
|
-
"@atlaskit/media-card": "^78.
|
|
42
|
-
"@atlaskit/media-client": "^31.
|
|
43
|
-
"@atlaskit/media-client-react": "^2.
|
|
44
|
-
"@atlaskit/media-common": "^11.
|
|
45
|
-
"@atlaskit/media-filmstrip": "^48.
|
|
46
|
-
"@atlaskit/media-ui": "^27.
|
|
47
|
-
"@atlaskit/media-viewer": "^50.
|
|
39
|
+
"@atlaskit/icon": "^23.5.0",
|
|
40
|
+
"@atlaskit/link-datasource": "^3.17.0",
|
|
41
|
+
"@atlaskit/media-card": "^78.19.0",
|
|
42
|
+
"@atlaskit/media-client": "^31.1.0",
|
|
43
|
+
"@atlaskit/media-client-react": "^2.7.0",
|
|
44
|
+
"@atlaskit/media-common": "^11.8.0",
|
|
45
|
+
"@atlaskit/media-filmstrip": "^48.2.0",
|
|
46
|
+
"@atlaskit/media-ui": "^27.4.0",
|
|
47
|
+
"@atlaskit/media-viewer": "^50.1.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
|
-
"@atlaskit/smart-card": "^34.
|
|
50
|
-
"@atlaskit/status": "^1.
|
|
51
|
-
"@atlaskit/task-decision": "^17.
|
|
52
|
-
"@atlaskit/theme": "^14.
|
|
49
|
+
"@atlaskit/smart-card": "^34.8.0",
|
|
50
|
+
"@atlaskit/status": "^1.9.0",
|
|
51
|
+
"@atlaskit/task-decision": "^17.12.0",
|
|
52
|
+
"@atlaskit/theme": "^14.1.0",
|
|
53
53
|
"@atlaskit/tmp-editor-statsig": "^2.41.0",
|
|
54
|
-
"@atlaskit/tokens": "^3.
|
|
55
|
-
"@atlaskit/tooltip": "^19.
|
|
56
|
-
"@atlaskit/visually-hidden": "^1.
|
|
54
|
+
"@atlaskit/tokens": "^3.3.0",
|
|
55
|
+
"@atlaskit/tooltip": "^19.1.0",
|
|
56
|
+
"@atlaskit/visually-hidden": "^1.6.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"@emotion/react": "^11.7.1",
|
|
59
59
|
"lodash": "^4.17.21",
|
|
@@ -74,22 +74,22 @@
|
|
|
74
74
|
"@af/visual-regression": "*",
|
|
75
75
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
76
76
|
"@atlaskit/css-reset": "^6.11.0",
|
|
77
|
-
"@atlaskit/link-provider": "^1.
|
|
78
|
-
"@atlaskit/link-test-helpers": "^7.
|
|
79
|
-
"@atlaskit/linking-common": "^6.
|
|
80
|
-
"@atlaskit/media-core": "^34.
|
|
77
|
+
"@atlaskit/link-provider": "^1.19.0",
|
|
78
|
+
"@atlaskit/link-test-helpers": "^7.6.0",
|
|
79
|
+
"@atlaskit/linking-common": "^6.2.0",
|
|
80
|
+
"@atlaskit/media-core": "^34.5.0",
|
|
81
81
|
"@atlaskit/media-integration-test-helpers": "^3.1.0",
|
|
82
|
-
"@atlaskit/media-test-helpers": "^34.
|
|
83
|
-
"@atlaskit/mention": "^23.
|
|
82
|
+
"@atlaskit/media-test-helpers": "^34.8.0",
|
|
83
|
+
"@atlaskit/mention": "^23.11.0",
|
|
84
84
|
"@atlaskit/navigation-next": "^9.0.0",
|
|
85
|
-
"@atlaskit/util-data-test": "^
|
|
85
|
+
"@atlaskit/util-data-test": "^18.0.0",
|
|
86
86
|
"@atlaskit/visual-regression": "*",
|
|
87
87
|
"@atlassian/feature-flags-test-utils": "*",
|
|
88
|
-
"@testing-library/react": "^
|
|
88
|
+
"@testing-library/react": "^13.4.0",
|
|
89
89
|
"@testing-library/react-hooks": "^8.0.1",
|
|
90
90
|
"@testing-library/user-event": "^14.4.3",
|
|
91
91
|
"@types/react-loadable": "^5.4.1",
|
|
92
|
-
"@types/react-test-renderer": "^
|
|
92
|
+
"@types/react-test-renderer": "^18.0.6",
|
|
93
93
|
"ajv": "^6.12.6",
|
|
94
94
|
"enzyme": "^3.10.0",
|
|
95
95
|
"jsdom": "^22.0.0",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"react-live-clock": "^5.0.0",
|
|
99
99
|
"react-magnetic-di": "^3.1.4",
|
|
100
100
|
"react-moment": "^1.1.2",
|
|
101
|
-
"react-test-renderer": "^
|
|
101
|
+
"react-test-renderer": "^18.2.0",
|
|
102
102
|
"rxjs": "^5.5.0",
|
|
103
103
|
"sinon": "^2.2.0",
|
|
104
104
|
"typescript": "~5.4.2",
|
|
@@ -137,9 +137,6 @@
|
|
|
137
137
|
"platform_editor_allow_annotation_triple_click": {
|
|
138
138
|
"type": "boolean"
|
|
139
139
|
},
|
|
140
|
-
"platform_editor_external_media_comment_bugfix": {
|
|
141
|
-
"type": "boolean"
|
|
142
|
-
},
|
|
143
140
|
"platform_editor_nested_table_in_nested_parent_fix": {
|
|
144
141
|
"type": "boolean"
|
|
145
142
|
},
|