@atlaskit/smart-card 23.7.2 → 23.8.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 +12 -0
- package/dist/cjs/constants.js +14 -2
- package/dist/cjs/extractors/common/actions/extractPreviewAction.js +3 -1
- package/dist/cjs/i18n/cs.js +6 -1
- package/dist/cjs/i18n/da.js +7 -1
- package/dist/cjs/i18n/de.js +6 -1
- package/dist/cjs/i18n/en.js +8 -1
- package/dist/cjs/i18n/en_GB.js +8 -1
- package/dist/cjs/i18n/es.js +5 -1
- package/dist/cjs/i18n/fi.js +7 -1
- package/dist/cjs/i18n/fr.js +7 -1
- package/dist/cjs/i18n/hu.js +6 -1
- package/dist/cjs/i18n/it.js +7 -1
- package/dist/cjs/i18n/ja.js +11 -5
- package/dist/cjs/i18n/ko.js +7 -1
- package/dist/cjs/i18n/nb.js +6 -1
- package/dist/cjs/i18n/nl.js +7 -1
- package/dist/cjs/i18n/pl.js +6 -1
- package/dist/cjs/i18n/pt_BR.js +7 -1
- package/dist/cjs/i18n/ru.js +7 -1
- package/dist/cjs/i18n/sv.js +7 -1
- package/dist/cjs/i18n/th.js +7 -1
- package/dist/cjs/i18n/tr.js +6 -1
- package/dist/cjs/i18n/uk.js +6 -1
- package/dist/cjs/i18n/vi.js +7 -1
- package/dist/cjs/i18n/zh.js +6 -1
- package/dist/cjs/i18n/zh_TW.js +6 -1
- package/dist/cjs/state/analytics/useSmartLinkAnalytics.js +41 -13
- package/dist/cjs/utils/analytics/analytics.js +128 -96
- package/dist/cjs/utils/analytics/index.js +12 -0
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/cjs/view/BlockCard/index.js +4 -2
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleResolvedView.js +3 -3
- package/dist/cjs/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +17 -4
- package/dist/cjs/view/CardWithUrl/component.js +3 -1
- package/dist/cjs/view/EmbedCard/index.js +6 -2
- package/dist/cjs/view/EmbedCard/views/UnauthorisedView.js +21 -4
- package/dist/cjs/view/EmbedModal/components/analytics/index.js +4 -2
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/cjs/view/HoverCard/components/HoverCardContent.js +6 -4
- package/dist/cjs/view/HoverCard/components/views/resolved/index.js +1 -1
- package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +26 -7
- package/dist/cjs/view/HoverCard/index.js +6 -3
- package/dist/cjs/view/HoverCard/utils.js +1 -4
- package/dist/cjs/view/InlineCard/ErroredView/index.js +6 -11
- package/dist/cjs/view/InlineCard/ForbiddenView/index.js +17 -21
- package/dist/cjs/view/InlineCard/Frame/index.js +4 -4
- package/dist/cjs/view/InlineCard/Frame/styled.js +22 -34
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +52 -7
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +10 -12
- package/dist/cjs/view/InlineCard/index.js +2 -1
- package/dist/cjs/view/InlineCard/styled.js +2 -2
- package/dist/cjs/view/common/UnauthorisedViewContent.js +14 -3
- package/dist/es2019/constants.js +12 -1
- package/dist/es2019/extractors/common/actions/extractPreviewAction.js +2 -1
- package/dist/es2019/i18n/cs.js +6 -1
- package/dist/es2019/i18n/da.js +7 -1
- package/dist/es2019/i18n/de.js +6 -1
- package/dist/es2019/i18n/en.js +8 -1
- package/dist/es2019/i18n/en_GB.js +8 -1
- package/dist/es2019/i18n/es.js +5 -1
- package/dist/es2019/i18n/fi.js +7 -1
- package/dist/es2019/i18n/fr.js +7 -1
- package/dist/es2019/i18n/hu.js +6 -1
- package/dist/es2019/i18n/it.js +7 -1
- package/dist/es2019/i18n/ja.js +11 -5
- package/dist/es2019/i18n/ko.js +7 -1
- package/dist/es2019/i18n/nb.js +6 -1
- package/dist/es2019/i18n/nl.js +7 -1
- package/dist/es2019/i18n/pl.js +6 -1
- package/dist/es2019/i18n/pt_BR.js +7 -1
- package/dist/es2019/i18n/ru.js +7 -1
- package/dist/es2019/i18n/sv.js +7 -1
- package/dist/es2019/i18n/th.js +7 -1
- package/dist/es2019/i18n/tr.js +6 -1
- package/dist/es2019/i18n/uk.js +6 -1
- package/dist/es2019/i18n/vi.js +7 -1
- package/dist/es2019/i18n/zh.js +6 -1
- package/dist/es2019/i18n/zh_TW.js +6 -1
- package/dist/es2019/state/analytics/useSmartLinkAnalytics.js +33 -8
- package/dist/es2019/utils/analytics/analytics.js +28 -4
- package/dist/es2019/utils/analytics/index.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/es2019/view/BlockCard/index.js +4 -2
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleResolvedView.js +4 -4
- package/dist/es2019/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +15 -3
- package/dist/es2019/view/CardWithUrl/component.js +2 -1
- package/dist/es2019/view/EmbedCard/index.js +6 -2
- package/dist/es2019/view/EmbedCard/views/UnauthorisedView.js +14 -3
- package/dist/es2019/view/EmbedModal/components/analytics/index.js +3 -2
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/es2019/view/HoverCard/components/HoverCardContent.js +8 -6
- package/dist/es2019/view/HoverCard/components/views/resolved/index.js +3 -3
- package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +23 -7
- package/dist/es2019/view/HoverCard/index.js +6 -3
- package/dist/es2019/view/HoverCard/utils.js +0 -1
- package/dist/es2019/view/InlineCard/ErroredView/index.js +7 -9
- package/dist/es2019/view/InlineCard/ForbiddenView/index.js +8 -9
- package/dist/es2019/view/InlineCard/Frame/index.js +4 -4
- package/dist/es2019/view/InlineCard/Frame/styled.js +18 -31
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +47 -6
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +11 -11
- package/dist/es2019/view/InlineCard/index.js +2 -1
- package/dist/es2019/view/InlineCard/styled.js +1 -6
- package/dist/es2019/view/common/UnauthorisedViewContent.js +18 -11
- package/dist/esm/constants.js +12 -1
- package/dist/esm/extractors/common/actions/extractPreviewAction.js +2 -1
- package/dist/esm/i18n/cs.js +6 -1
- package/dist/esm/i18n/da.js +7 -1
- package/dist/esm/i18n/de.js +6 -1
- package/dist/esm/i18n/en.js +8 -1
- package/dist/esm/i18n/en_GB.js +8 -1
- package/dist/esm/i18n/es.js +5 -1
- package/dist/esm/i18n/fi.js +7 -1
- package/dist/esm/i18n/fr.js +7 -1
- package/dist/esm/i18n/hu.js +6 -1
- package/dist/esm/i18n/it.js +7 -1
- package/dist/esm/i18n/ja.js +11 -5
- package/dist/esm/i18n/ko.js +7 -1
- package/dist/esm/i18n/nb.js +6 -1
- package/dist/esm/i18n/nl.js +7 -1
- package/dist/esm/i18n/pl.js +6 -1
- package/dist/esm/i18n/pt_BR.js +7 -1
- package/dist/esm/i18n/ru.js +7 -1
- package/dist/esm/i18n/sv.js +7 -1
- package/dist/esm/i18n/th.js +7 -1
- package/dist/esm/i18n/tr.js +6 -1
- package/dist/esm/i18n/uk.js +6 -1
- package/dist/esm/i18n/vi.js +7 -1
- package/dist/esm/i18n/zh.js +6 -1
- package/dist/esm/i18n/zh_TW.js +6 -1
- package/dist/esm/state/analytics/useSmartLinkAnalytics.js +42 -14
- package/dist/esm/utils/analytics/analytics.js +118 -92
- package/dist/esm/utils/analytics/index.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/esm/view/BlockCard/components/flexible/footer/index.js +1 -1
- package/dist/esm/view/BlockCard/index.js +4 -2
- package/dist/esm/view/BlockCard/views/flexible/FlexibleNotFoundView.js +1 -1
- package/dist/esm/view/BlockCard/views/flexible/FlexibleResolvedView.js +4 -4
- package/dist/esm/view/BlockCard/views/flexible/FlexibleUnauthorisedView.js +18 -5
- package/dist/esm/view/CardWithUrl/component.js +2 -1
- package/dist/esm/view/EmbedCard/index.js +6 -2
- package/dist/esm/view/EmbedCard/views/UnauthorisedView.js +15 -4
- package/dist/esm/view/EmbedModal/components/analytics/index.js +3 -2
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +11 -10
- package/dist/esm/view/HoverCard/components/HoverCardContent.js +8 -6
- package/dist/esm/view/HoverCard/components/views/resolved/index.js +3 -3
- package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +27 -9
- package/dist/esm/view/HoverCard/index.js +6 -3
- package/dist/esm/view/HoverCard/utils.js +0 -1
- package/dist/esm/view/InlineCard/ErroredView/index.js +7 -9
- package/dist/esm/view/InlineCard/ForbiddenView/index.js +18 -20
- package/dist/esm/view/InlineCard/Frame/index.js +4 -4
- package/dist/esm/view/InlineCard/Frame/styled.js +17 -31
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +49 -7
- package/dist/esm/view/InlineCard/ResolvingView/index.js +3 -5
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +11 -11
- package/dist/esm/view/InlineCard/index.js +2 -1
- package/dist/esm/view/InlineCard/styled.js +2 -2
- package/dist/esm/view/common/UnauthorisedViewContent.js +8 -3
- package/dist/types/constants.d.ts +8 -0
- package/dist/types/i18n/cs.d.ts +5 -0
- package/dist/types/i18n/da.d.ts +6 -0
- package/dist/types/i18n/de.d.ts +5 -0
- package/dist/types/i18n/en.d.ts +7 -0
- package/dist/types/i18n/en_GB.d.ts +7 -0
- package/dist/types/i18n/es.d.ts +4 -0
- package/dist/types/i18n/fi.d.ts +6 -0
- package/dist/types/i18n/fr.d.ts +6 -0
- package/dist/types/i18n/hu.d.ts +5 -0
- package/dist/types/i18n/it.d.ts +6 -0
- package/dist/types/i18n/ja.d.ts +6 -0
- package/dist/types/i18n/ko.d.ts +6 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +6 -0
- package/dist/types/i18n/pl.d.ts +5 -0
- package/dist/types/i18n/pt_BR.d.ts +6 -0
- package/dist/types/i18n/ru.d.ts +6 -0
- package/dist/types/i18n/sv.d.ts +6 -0
- package/dist/types/i18n/th.d.ts +6 -0
- package/dist/types/i18n/tr.d.ts +5 -0
- package/dist/types/i18n/uk.d.ts +5 -0
- package/dist/types/i18n/vi.d.ts +6 -0
- package/dist/types/i18n/zh.d.ts +5 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/state/actions/index.d.ts +1 -2
- package/dist/types/state/analytics/useSmartLinkAnalytics.d.ts +17 -4
- package/dist/types/state/flexible-ui-context/index.d.ts +8 -4
- package/dist/types/state/hooks/useSmartLink.d.ts +5 -3
- package/dist/types/utils/analytics/analytics.d.ts +4 -2
- package/dist/types/utils/analytics/index.d.ts +1 -1
- package/dist/types/utils/analytics/types.d.ts +2 -0
- package/dist/types/utils/mocks.d.ts +4 -2
- package/dist/types/utils/types.d.ts +1 -1
- package/dist/types/view/BlockCard/components/flexible/footer/index.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/FlexibleUnauthorisedView.d.ts +1 -1
- package/dist/types/view/BlockCard/views/flexible/types.d.ts +17 -13
- package/dist/types/view/Card/types.d.ts +1 -1
- package/dist/types/view/EmbedCard/views/UnauthorisedView.d.ts +3 -0
- package/dist/types/view/HoverCard/components/views/unauthorised/types.d.ts +15 -4
- package/dist/types/view/HoverCard/types.d.ts +0 -2
- package/dist/types/view/HoverCard/utils.d.ts +0 -1
- package/dist/types/view/InlineCard/ErroredView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/ForbiddenView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/Frame/index.d.ts +0 -1
- package/dist/types/view/InlineCard/Frame/styled.d.ts +3 -2
- package/dist/types/view/InlineCard/IconAndTitleLayout/index.d.ts +5 -0
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +0 -1
- package/dist/types/view/InlineCard/UnauthorisedView/index.d.ts +3 -1
- package/dist/types/view/InlineCard/styled.d.ts +1 -1
- package/dist/types/view/common/UnauthorisedViewContent.d.ts +7 -1
- package/package.json +5 -5
- package/report.api.md +15 -1
- package/tmp/api-report-tmp.d.ts +8 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "23.
|
|
3
|
+
"version": "23.8.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@atlaskit/analytics-next": "^8.2.0",
|
|
27
27
|
"@atlaskit/avatar": "^21.1.0",
|
|
28
28
|
"@atlaskit/avatar-group": "^9.1.0",
|
|
29
|
-
"@atlaskit/button": "^16.
|
|
29
|
+
"@atlaskit/button": "^16.5.0",
|
|
30
30
|
"@atlaskit/dropdown-menu": "^11.5.0",
|
|
31
31
|
"@atlaskit/icon": "^21.11.0",
|
|
32
32
|
"@atlaskit/icon-file-type": "^6.3.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@atlaskit/modal-dialog": "^12.4.0",
|
|
41
41
|
"@atlaskit/outbound-auth-flow-client": "^3.3.0",
|
|
42
42
|
"@atlaskit/popup": "^1.5.0",
|
|
43
|
-
"@atlaskit/spinner": "^15.
|
|
43
|
+
"@atlaskit/spinner": "^15.3.0",
|
|
44
44
|
"@atlaskit/theme": "^12.2.0",
|
|
45
45
|
"@atlaskit/tokens": "^0.11.0",
|
|
46
46
|
"@atlaskit/tooltip": "^17.6.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@atlaskit/css-reset": "^6.3.0",
|
|
71
71
|
"@atlaskit/docs": "*",
|
|
72
72
|
"@atlaskit/field-base": "^15.0.6",
|
|
73
|
-
"@atlaskit/form": "^8.
|
|
73
|
+
"@atlaskit/form": "^8.8.0",
|
|
74
74
|
"@atlaskit/inline-message": "^11.4.0",
|
|
75
75
|
"@atlaskit/lozenge": "^11.3.0",
|
|
76
76
|
"@atlaskit/media-integration-test-helpers": "^2.6.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/radio": "^5.4.0",
|
|
80
80
|
"@atlaskit/range": "^7.0.0",
|
|
81
81
|
"@atlaskit/section-message": "^6.3.0",
|
|
82
|
-
"@atlaskit/select": "^
|
|
82
|
+
"@atlaskit/select": "^16.0.0",
|
|
83
83
|
"@atlaskit/table-tree": "^9.2.0",
|
|
84
84
|
"@atlaskit/tabs": "^13.3.0",
|
|
85
85
|
"@atlaskit/textarea": "^4.5.0",
|
package/report.api.md
CHANGED
|
@@ -85,6 +85,7 @@ type ActionProps = {
|
|
|
85
85
|
|
|
86
86
|
// @public (undocumented)
|
|
87
87
|
export type AnalyticsAction =
|
|
88
|
+
| 'authStarted'
|
|
88
89
|
| 'clicked'
|
|
89
90
|
| 'closed'
|
|
90
91
|
| 'connectFailed'
|
|
@@ -262,7 +263,11 @@ export { CardAppearance };
|
|
|
262
263
|
export { CardContext };
|
|
263
264
|
|
|
264
265
|
// @public (undocumented)
|
|
265
|
-
type CardInnerAppearance =
|
|
266
|
+
type CardInnerAppearance =
|
|
267
|
+
| 'embedPreview'
|
|
268
|
+
| 'flexible'
|
|
269
|
+
| 'hoverCardPreview'
|
|
270
|
+
| CardAppearance;
|
|
266
271
|
|
|
267
272
|
export { CardPlatform };
|
|
268
273
|
|
|
@@ -880,6 +885,7 @@ type UiHoverCardDismissedEventProps = CommonEventProps & {
|
|
|
880
885
|
previewDisplay: PreviewDisplay;
|
|
881
886
|
hoverTime: number;
|
|
882
887
|
previewInvokeMethod?: PreviewInvokeMethod;
|
|
888
|
+
status: CardType;
|
|
883
889
|
};
|
|
884
890
|
|
|
885
891
|
// @public (undocumented)
|
|
@@ -892,6 +898,7 @@ type UiHoverCardOpenLinkClickedEventProps = CommonEventProps & {
|
|
|
892
898
|
type UiHoverCardViewedEventProps = CommonEventProps & {
|
|
893
899
|
previewDisplay: PreviewDisplay;
|
|
894
900
|
previewInvokeMethod?: PreviewInvokeMethod;
|
|
901
|
+
status: CardType;
|
|
895
902
|
};
|
|
896
903
|
|
|
897
904
|
// @public (undocumented)
|
|
@@ -1018,6 +1025,7 @@ export const useSmartLinkAnalytics: (
|
|
|
1018
1025
|
destinationProduct,
|
|
1019
1026
|
destinationSubproduct,
|
|
1020
1027
|
location,
|
|
1028
|
+
status,
|
|
1021
1029
|
}: UiHoverCardViewedEventProps) => void;
|
|
1022
1030
|
hoverCardDismissedEvent: ({
|
|
1023
1031
|
id,
|
|
@@ -1030,7 +1038,9 @@ export const useSmartLinkAnalytics: (
|
|
|
1030
1038
|
destinationProduct,
|
|
1031
1039
|
destinationSubproduct,
|
|
1032
1040
|
location,
|
|
1041
|
+
status,
|
|
1033
1042
|
}: UiHoverCardDismissedEventProps) => void;
|
|
1043
|
+
learnMoreClickedEvent: () => void;
|
|
1034
1044
|
};
|
|
1035
1045
|
operational: {
|
|
1036
1046
|
invokeSucceededEvent: ({
|
|
@@ -1096,6 +1106,10 @@ export const useSmartLinkAnalytics: (
|
|
|
1096
1106
|
destinationSubproduct,
|
|
1097
1107
|
location,
|
|
1098
1108
|
}: TrackAppAccountConnectedProps) => void;
|
|
1109
|
+
appAccountAuthStarted: ({
|
|
1110
|
+
extensionKey,
|
|
1111
|
+
location,
|
|
1112
|
+
}: TrackAppAccountConnectedProps) => void;
|
|
1099
1113
|
};
|
|
1100
1114
|
screen: {
|
|
1101
1115
|
authPopupEvent: ({
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -70,7 +70,7 @@ type ActionProps = {
|
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
// @public (undocumented)
|
|
73
|
-
export type AnalyticsAction = 'clicked' | 'closed' | 'connectFailed' | 'connectSucceeded' | 'connected' | 'created' | 'dismissed' | 'inserted' | 'renderFailed' | 'renderSuccess' | 'renderWithStatus' | 'resolved' | 'unresolved' | 'viewed';
|
|
73
|
+
export type AnalyticsAction = 'authStarted' | 'clicked' | 'closed' | 'connectFailed' | 'connectSucceeded' | 'connected' | 'created' | 'dismissed' | 'inserted' | 'renderFailed' | 'renderSuccess' | 'renderWithStatus' | 'resolved' | 'unresolved' | 'viewed';
|
|
74
74
|
|
|
75
75
|
// @public (undocumented)
|
|
76
76
|
export type AnalyticsActionSubject = 'applicationAccount' | 'button' | 'consentModal' | 'embedPreviewModal' | 'hoverCard' | 'modal' | 'smartLink' | 'smartLinkAction';
|
|
@@ -187,7 +187,7 @@ export { CardAppearance }
|
|
|
187
187
|
export { CardContext }
|
|
188
188
|
|
|
189
189
|
// @public (undocumented)
|
|
190
|
-
type CardInnerAppearance = 'flexible' | '
|
|
190
|
+
type CardInnerAppearance = 'embedPreview' | 'flexible' | 'hoverCardPreview' | CardAppearance;
|
|
191
191
|
|
|
192
192
|
export { CardPlatform }
|
|
193
193
|
|
|
@@ -758,6 +758,7 @@ type UiHoverCardDismissedEventProps = CommonEventProps & {
|
|
|
758
758
|
previewDisplay: PreviewDisplay;
|
|
759
759
|
hoverTime: number;
|
|
760
760
|
previewInvokeMethod?: PreviewInvokeMethod;
|
|
761
|
+
status: CardType;
|
|
761
762
|
};
|
|
762
763
|
|
|
763
764
|
// @public (undocumented)
|
|
@@ -770,6 +771,7 @@ type UiHoverCardOpenLinkClickedEventProps = CommonEventProps & {
|
|
|
770
771
|
type UiHoverCardViewedEventProps = CommonEventProps & {
|
|
771
772
|
previewDisplay: PreviewDisplay;
|
|
772
773
|
previewInvokeMethod?: PreviewInvokeMethod;
|
|
774
|
+
status: CardType;
|
|
773
775
|
};
|
|
774
776
|
|
|
775
777
|
// @public (undocumented)
|
|
@@ -802,8 +804,9 @@ export const useSmartLinkAnalytics: (url: string, dispatchAnalytics: AnalyticsHa
|
|
|
802
804
|
}) => void;
|
|
803
805
|
renderSuccessEvent: ({ display, status, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: UiRenderSuccessEventProps) => void;
|
|
804
806
|
renderFailedEvent: ({ display, id, error, errorInfo, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: UiRenderFailedEventProps) => void;
|
|
805
|
-
hoverCardViewedEvent: ({ previewDisplay, previewInvokeMethod, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: UiHoverCardViewedEventProps) => void;
|
|
806
|
-
hoverCardDismissedEvent: ({ id, previewDisplay, hoverTime, previewInvokeMethod, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: UiHoverCardDismissedEventProps) => void;
|
|
807
|
+
hoverCardViewedEvent: ({ previewDisplay, previewInvokeMethod, id, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, status, }: UiHoverCardViewedEventProps) => void;
|
|
808
|
+
hoverCardDismissedEvent: ({ id, previewDisplay, hoverTime, previewInvokeMethod, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, status, }: UiHoverCardDismissedEventProps) => void;
|
|
809
|
+
learnMoreClickedEvent: () => void;
|
|
807
810
|
};
|
|
808
811
|
operational: {
|
|
809
812
|
invokeSucceededEvent: ({ id, actionType, display, extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: InvokeSucceededEventProps) => void;
|
|
@@ -814,6 +817,7 @@ export const useSmartLinkAnalytics: (url: string, dispatchAnalytics: AnalyticsHa
|
|
|
814
817
|
};
|
|
815
818
|
track: {
|
|
816
819
|
appAccountConnected: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: TrackAppAccountConnectedProps) => void;
|
|
820
|
+
appAccountAuthStarted: ({ extensionKey, location, }: TrackAppAccountConnectedProps) => void;
|
|
817
821
|
};
|
|
818
822
|
screen: {
|
|
819
823
|
authPopupEvent: ({ extensionKey, definitionId, resourceType, destinationProduct, destinationSubproduct, location, }: ScreenAuthPopupEventProps) => void;
|