@atlaskit/smart-card 26.43.6 → 26.43.7
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 +6 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/index.js +2 -9
- package/dist/cjs/view/EmbedCard/index.js +33 -73
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +4 -7
- package/dist/cjs/view/InlineCard/ErroredView/index.js +1 -2
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +5 -10
- package/dist/cjs/view/InlineCard/index.js +1 -7
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/index.js +2 -9
- package/dist/es2019/view/EmbedCard/index.js +33 -73
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +4 -7
- package/dist/es2019/view/InlineCard/ErroredView/index.js +1 -2
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +5 -10
- package/dist/es2019/view/InlineCard/index.js +1 -7
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/index.js +2 -9
- package/dist/esm/view/EmbedCard/index.js +33 -73
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +4 -7
- package/dist/esm/view/InlineCard/ErroredView/index.js +1 -2
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +5 -10
- package/dist/esm/view/InlineCard/index.js +1 -7
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +1 -4
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.js +0 -84
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleNotFoundViewOld.js +0 -48
- package/dist/cjs/view/EmbedCard/views/ForbiddenView.js +0 -75
- package/dist/cjs/view/EmbedCard/views/NotFoundView.js +0 -46
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +0 -87
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.js +0 -76
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleNotFoundViewOld.js +0 -38
- package/dist/es2019/view/EmbedCard/views/ForbiddenView.js +0 -69
- package/dist/es2019/view/EmbedCard/views/NotFoundView.js +0 -39
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +0 -77
- package/dist/esm/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.js +0 -75
- package/dist/esm/view/BlockCard/views/flexible/FlexibleNotFoundViewOld.js +0 -42
- package/dist/esm/view/EmbedCard/views/ForbiddenView.js +0 -68
- package/dist/esm/view/EmbedCard/views/NotFoundView.js +0 -39
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +0 -77
- package/dist/types/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.d.ts +0 -8
- package/dist/types/view/BlockCard/views/flexible/FlexibleNotFoundViewOld.d.ts +0 -8
- package/dist/types/view/EmbedCard/views/ForbiddenView.d.ts +0 -17
- package/dist/types/view/EmbedCard/views/NotFoundView.d.ts +0 -15
- package/dist/types/view/EmbedCard/views/UnauthorisedView.d.ts +0 -20
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleForbiddenViewOld.d.ts +0 -8
- package/dist/types-ts4.5/view/BlockCard/views/flexible/FlexibleNotFoundViewOld.d.ts +0 -8
- package/dist/types-ts4.5/view/EmbedCard/views/ForbiddenView.d.ts +0 -17
- package/dist/types-ts4.5/view/EmbedCard/views/NotFoundView.d.ts +0 -15
- package/dist/types-ts4.5/view/EmbedCard/views/UnauthorisedView.d.ts +0 -20
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EmbedCardUnresolvedView } from './UnresolvedView';
|
|
3
|
-
import { ExpandedFrame } from '../components/ExpandedFrame';
|
|
4
|
-
import { ImageIcon } from '../components/ImageIcon';
|
|
5
|
-
import { getUnresolvedEmbedCardImage } from '../utils';
|
|
6
|
-
import { di } from 'react-magnetic-di';
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
9
|
-
* @deprecated Replaced by forbidden-view
|
|
10
|
-
*/
|
|
11
|
-
export var EmbedCardForbiddenView = function EmbedCardForbiddenView(_ref) {
|
|
12
|
-
var _action$promise;
|
|
13
|
-
var link = _ref.link,
|
|
14
|
-
context = _ref.context,
|
|
15
|
-
isSelected = _ref.isSelected,
|
|
16
|
-
_ref$testId = _ref.testId,
|
|
17
|
-
testId = _ref$testId === void 0 ? 'embed-card-forbidden-view' : _ref$testId,
|
|
18
|
-
onAuthorise = _ref.onAuthorise,
|
|
19
|
-
inheritDimensions = _ref.inheritDimensions,
|
|
20
|
-
onClick = _ref.onClick,
|
|
21
|
-
_ref$requestAccessCon = _ref.requestAccessContext,
|
|
22
|
-
requestAccessContext = _ref$requestAccessCon === void 0 ? {} : _ref$requestAccessCon;
|
|
23
|
-
var icon = context && context.icon && /*#__PURE__*/React.createElement(ImageIcon, {
|
|
24
|
-
src: typeof context.icon === 'string' ? context.icon : undefined
|
|
25
|
-
});
|
|
26
|
-
var descriptiveMessageKey = requestAccessContext.descriptiveMessageKey,
|
|
27
|
-
callToActionMessageKey = requestAccessContext.callToActionMessageKey,
|
|
28
|
-
action = requestAccessContext.action;
|
|
29
|
-
var onEmbedCardClick = (_action$promise = action === null || action === void 0 ? void 0 : action.promise) !== null && _action$promise !== void 0 ? _action$promise : onAuthorise;
|
|
30
|
-
var showButton = true;
|
|
31
|
-
/**
|
|
32
|
-
* if there is a request access context, but no action to perform, do not show any button.
|
|
33
|
-
* By default, a "Try another account" button shows, but with request access context, we don't
|
|
34
|
-
* want to encourage users to try another account, if their request is already pending, etc.
|
|
35
|
-
*/
|
|
36
|
-
if (!callToActionMessageKey && descriptiveMessageKey) {
|
|
37
|
-
showButton = false;
|
|
38
|
-
}
|
|
39
|
-
var descriptionKey = descriptiveMessageKey !== null && descriptiveMessageKey !== void 0 ? descriptiveMessageKey : 'invalid_permissions_description';
|
|
40
|
-
var buttonTextKey = callToActionMessageKey !== null && callToActionMessageKey !== void 0 ? callToActionMessageKey : 'try_another_account';
|
|
41
|
-
var buttonProps;
|
|
42
|
-
if (showButton) {
|
|
43
|
-
buttonProps = {
|
|
44
|
-
appearance: 'default',
|
|
45
|
-
text: buttonTextKey,
|
|
46
|
-
testId: (action === null || action === void 0 ? void 0 : action.id) || 'connect-other-account'
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
return /*#__PURE__*/React.createElement(ExpandedFrame, {
|
|
50
|
-
href: link,
|
|
51
|
-
icon: icon,
|
|
52
|
-
text: context && context.text,
|
|
53
|
-
frameStyle: "show",
|
|
54
|
-
isSelected: isSelected,
|
|
55
|
-
inheritDimensions: inheritDimensions,
|
|
56
|
-
onClick: onClick,
|
|
57
|
-
testId: testId,
|
|
58
|
-
allowScrollBar: true
|
|
59
|
-
}, /*#__PURE__*/React.createElement(EmbedCardUnresolvedView, {
|
|
60
|
-
image: getUnresolvedEmbedCardImage('forbidden'),
|
|
61
|
-
title: "invalid_permissions",
|
|
62
|
-
description: descriptionKey,
|
|
63
|
-
context: context && context.text,
|
|
64
|
-
button: buttonProps,
|
|
65
|
-
onClick: onEmbedCardClick,
|
|
66
|
-
testId: testId
|
|
67
|
-
}));
|
|
68
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { EmbedCardUnresolvedView } from './UnresolvedView';
|
|
3
|
-
import { ExpandedFrame } from '../components/ExpandedFrame';
|
|
4
|
-
import { ImageIcon } from '../components/ImageIcon';
|
|
5
|
-
import { getUnresolvedEmbedCardImage } from '../utils';
|
|
6
|
-
import { di } from 'react-magnetic-di';
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
9
|
-
* @deprecated Replaced by not-found-view
|
|
10
|
-
*/
|
|
11
|
-
export var EmbedCardNotFoundView = function EmbedCardNotFoundView(_ref) {
|
|
12
|
-
var link = _ref.link,
|
|
13
|
-
context = _ref.context,
|
|
14
|
-
isSelected = _ref.isSelected,
|
|
15
|
-
inheritDimensions = _ref.inheritDimensions,
|
|
16
|
-
_ref$testId = _ref.testId,
|
|
17
|
-
testId = _ref$testId === void 0 ? 'embed-card-not-found-view' : _ref$testId,
|
|
18
|
-
onClick = _ref.onClick;
|
|
19
|
-
var icon = context && context.icon && /*#__PURE__*/React.createElement(ImageIcon, {
|
|
20
|
-
src: typeof context.icon === 'string' ? context.icon : undefined
|
|
21
|
-
});
|
|
22
|
-
return /*#__PURE__*/React.createElement(ExpandedFrame, {
|
|
23
|
-
href: link,
|
|
24
|
-
icon: icon,
|
|
25
|
-
text: context && context.text,
|
|
26
|
-
frameStyle: "show",
|
|
27
|
-
isSelected: isSelected,
|
|
28
|
-
inheritDimensions: inheritDimensions,
|
|
29
|
-
onClick: onClick,
|
|
30
|
-
testId: testId,
|
|
31
|
-
allowScrollBar: true
|
|
32
|
-
}, /*#__PURE__*/React.createElement(EmbedCardUnresolvedView, {
|
|
33
|
-
image: getUnresolvedEmbedCardImage('notFound'),
|
|
34
|
-
title: "not_found_title",
|
|
35
|
-
description: "not_found_description",
|
|
36
|
-
context: context && context.text,
|
|
37
|
-
testId: testId
|
|
38
|
-
}));
|
|
39
|
-
};
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useMemo } from 'react';
|
|
2
|
-
import { di } from 'react-magnetic-di';
|
|
3
|
-
import { EmbedCardUnresolvedView } from './UnresolvedView';
|
|
4
|
-
import { ExpandedFrame } from '../components/ExpandedFrame';
|
|
5
|
-
import { ImageIcon } from '../components/ImageIcon';
|
|
6
|
-
import UnauthorisedViewContent from '../../common/UnauthorisedViewContent';
|
|
7
|
-
import { getUnresolvedEmbedCardImage } from '../utils';
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
10
|
-
* @deprecated Replaced by unauthorized-view
|
|
11
|
-
*/
|
|
12
|
-
export var EmbedCardUnauthorisedView = function EmbedCardUnauthorisedView(_ref) {
|
|
13
|
-
var analytics = _ref.analytics,
|
|
14
|
-
link = _ref.link,
|
|
15
|
-
context = _ref.context,
|
|
16
|
-
isSelected = _ref.isSelected,
|
|
17
|
-
_ref$testId = _ref.testId,
|
|
18
|
-
testId = _ref$testId === void 0 ? 'embed-card-unauthorized-view' : _ref$testId,
|
|
19
|
-
onAuthorise = _ref.onAuthorise,
|
|
20
|
-
inheritDimensions = _ref.inheritDimensions,
|
|
21
|
-
onClick = _ref.onClick,
|
|
22
|
-
extensionKey = _ref.extensionKey,
|
|
23
|
-
isProductIntegrationSupported = _ref.isProductIntegrationSupported;
|
|
24
|
-
var icon = context && context.icon && /*#__PURE__*/React.createElement(ImageIcon, {
|
|
25
|
-
src: typeof context.icon === 'string' ? context.icon : undefined
|
|
26
|
-
});
|
|
27
|
-
var handleOnAuthorizeClick = useCallback(function () {
|
|
28
|
-
if (onAuthorise) {
|
|
29
|
-
analytics.track.appAccountAuthStarted({
|
|
30
|
-
extensionKey: extensionKey
|
|
31
|
-
});
|
|
32
|
-
onAuthorise();
|
|
33
|
-
}
|
|
34
|
-
}, [onAuthorise, analytics.track, extensionKey]);
|
|
35
|
-
var view = useMemo(function () {
|
|
36
|
-
var _context$image2;
|
|
37
|
-
if (onAuthorise) {
|
|
38
|
-
var _context$image;
|
|
39
|
-
return /*#__PURE__*/React.createElement(EmbedCardUnresolvedView, {
|
|
40
|
-
button: {
|
|
41
|
-
appearance: 'primary',
|
|
42
|
-
text: 'connect_unauthorised_account_action',
|
|
43
|
-
testId: 'connect-account'
|
|
44
|
-
},
|
|
45
|
-
context: context && context.text,
|
|
46
|
-
description: "connect_unauthorised_account_description",
|
|
47
|
-
image: (_context$image = context === null || context === void 0 ? void 0 : context.image) !== null && _context$image !== void 0 ? _context$image : getUnresolvedEmbedCardImage('unauthorized'),
|
|
48
|
-
onClick: handleOnAuthorizeClick,
|
|
49
|
-
testId: testId,
|
|
50
|
-
title: "connect_link_account_card_name"
|
|
51
|
-
}, /*#__PURE__*/React.createElement(UnauthorisedViewContent, {
|
|
52
|
-
analytics: analytics,
|
|
53
|
-
providerName: context === null || context === void 0 ? void 0 : context.text,
|
|
54
|
-
isProductIntegrationSupported: isProductIntegrationSupported,
|
|
55
|
-
testId: testId
|
|
56
|
-
}));
|
|
57
|
-
}
|
|
58
|
-
return /*#__PURE__*/React.createElement(EmbedCardUnresolvedView, {
|
|
59
|
-
description: context !== null && context !== void 0 && context.text ? 'unauthorised_account_description' : 'unauthorised_account_description_no_provider',
|
|
60
|
-
image: (_context$image2 = context === null || context === void 0 ? void 0 : context.image) !== null && _context$image2 !== void 0 ? _context$image2 : getUnresolvedEmbedCardImage('forbidden'),
|
|
61
|
-
context: context === null || context === void 0 ? void 0 : context.text,
|
|
62
|
-
testId: testId,
|
|
63
|
-
title: context !== null && context !== void 0 && context.text ? 'unauthorised_account_name' : 'unauthorised_account_name_no_provider'
|
|
64
|
-
});
|
|
65
|
-
}, [analytics, context, handleOnAuthorizeClick, isProductIntegrationSupported, onAuthorise, testId]);
|
|
66
|
-
return /*#__PURE__*/React.createElement(ExpandedFrame, {
|
|
67
|
-
href: link,
|
|
68
|
-
icon: icon,
|
|
69
|
-
text: context && context.text,
|
|
70
|
-
frameStyle: "show",
|
|
71
|
-
isSelected: isSelected,
|
|
72
|
-
inheritDimensions: inheritDimensions,
|
|
73
|
-
onClick: onClick,
|
|
74
|
-
testId: testId,
|
|
75
|
-
allowScrollBar: true
|
|
76
|
-
}, view);
|
|
77
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlexibleBlockCardProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}
|
|
5
|
-
* @deprecated Replaced by FlexibleForbiddenView
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
|
|
8
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlexibleBlockCardProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}
|
|
5
|
-
* @deprecated Replaced by FlexibleNotFoundView
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
|
|
8
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { ContextViewModel, RequestAccessContextProps } from '../types';
|
|
3
|
-
export interface EmbedCardForbiddenViewProps {
|
|
4
|
-
context?: ContextViewModel;
|
|
5
|
-
link: string;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
testId?: string;
|
|
8
|
-
onAuthorise?: () => void;
|
|
9
|
-
inheritDimensions?: boolean;
|
|
10
|
-
onClick?: (evt: React.MouseEvent) => void;
|
|
11
|
-
requestAccessContext?: RequestAccessContextProps;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
15
|
-
* @deprecated Replaced by forbidden-view
|
|
16
|
-
*/
|
|
17
|
-
export declare const EmbedCardForbiddenView: FC<EmbedCardForbiddenViewProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { ContextViewModel } from '../types';
|
|
3
|
-
export interface EmbedCardNotFoundViewProps {
|
|
4
|
-
context?: ContextViewModel;
|
|
5
|
-
link: string;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
testId?: string;
|
|
8
|
-
inheritDimensions?: boolean;
|
|
9
|
-
onClick?: (evt: React.MouseEvent) => void;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
13
|
-
* @deprecated Replaced by not-found-view
|
|
14
|
-
*/
|
|
15
|
-
export declare const EmbedCardNotFoundView: FC<EmbedCardNotFoundViewProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { ContextViewModel } from '../types';
|
|
3
|
-
import { AnalyticsFacade } from '../../../state/analytics';
|
|
4
|
-
export interface EmbedCardUnauthorisedViewProps {
|
|
5
|
-
analytics: AnalyticsFacade;
|
|
6
|
-
context?: ContextViewModel;
|
|
7
|
-
link: string;
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
testId?: string;
|
|
10
|
-
onAuthorise?: () => void;
|
|
11
|
-
inheritDimensions?: boolean;
|
|
12
|
-
onClick?: (evt: React.MouseEvent) => void;
|
|
13
|
-
extensionKey?: string;
|
|
14
|
-
isProductIntegrationSupported?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
18
|
-
* @deprecated Replaced by unauthorized-view
|
|
19
|
-
*/
|
|
20
|
-
export declare const EmbedCardUnauthorisedView: FC<EmbedCardUnauthorisedViewProps>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlexibleBlockCardProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}
|
|
5
|
-
* @deprecated Replaced by FlexibleForbiddenView
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
|
|
8
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FlexibleBlockCardProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* @private
|
|
4
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}
|
|
5
|
-
* @deprecated Replaced by FlexibleNotFoundView
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: (props: FlexibleBlockCardProps) => import("@emotion/react").jsx.JSX.Element;
|
|
8
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { ContextViewModel, RequestAccessContextProps } from '../types';
|
|
3
|
-
export interface EmbedCardForbiddenViewProps {
|
|
4
|
-
context?: ContextViewModel;
|
|
5
|
-
link: string;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
testId?: string;
|
|
8
|
-
onAuthorise?: () => void;
|
|
9
|
-
inheritDimensions?: boolean;
|
|
10
|
-
onClick?: (evt: React.MouseEvent) => void;
|
|
11
|
-
requestAccessContext?: RequestAccessContextProps;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
15
|
-
* @deprecated Replaced by forbidden-view
|
|
16
|
-
*/
|
|
17
|
-
export declare const EmbedCardForbiddenView: FC<EmbedCardForbiddenViewProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { ContextViewModel } from '../types';
|
|
3
|
-
export interface EmbedCardNotFoundViewProps {
|
|
4
|
-
context?: ContextViewModel;
|
|
5
|
-
link: string;
|
|
6
|
-
isSelected?: boolean;
|
|
7
|
-
testId?: string;
|
|
8
|
-
inheritDimensions?: boolean;
|
|
9
|
-
onClick?: (evt: React.MouseEvent) => void;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
13
|
-
* @deprecated Replaced by not-found-view
|
|
14
|
-
*/
|
|
15
|
-
export declare const EmbedCardNotFoundView: FC<EmbedCardNotFoundViewProps>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { FC } from 'react';
|
|
2
|
-
import { ContextViewModel } from '../types';
|
|
3
|
-
import { AnalyticsFacade } from '../../../state/analytics';
|
|
4
|
-
export interface EmbedCardUnauthorisedViewProps {
|
|
5
|
-
analytics: AnalyticsFacade;
|
|
6
|
-
context?: ContextViewModel;
|
|
7
|
-
link: string;
|
|
8
|
-
isSelected?: boolean;
|
|
9
|
-
testId?: string;
|
|
10
|
-
onAuthorise?: () => void;
|
|
11
|
-
inheritDimensions?: boolean;
|
|
12
|
-
onClick?: (evt: React.MouseEvent) => void;
|
|
13
|
-
extensionKey?: string;
|
|
14
|
-
isProductIntegrationSupported?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated {@link https://product-fabric.atlassian.net/browse/EDM-7977 Internal documentation for deprecation (no external access)}\
|
|
18
|
-
* @deprecated Replaced by unauthorized-view
|
|
19
|
-
*/
|
|
20
|
-
export declare const EmbedCardUnauthorisedView: FC<EmbedCardUnauthorisedViewProps>;
|