@atlaskit/smart-card 46.22.2 → 46.22.3
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 +9 -0
- package/analytics.spec.yaml +17 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/common/analytics/generated/analytics.types.d.ts +7 -2
- package/package.json +1 -1
- package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-forbidden-view--default.png +0 -3
- package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-not-found-default--default.png +0 -3
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-forbidden-view-with-default-legacy-icon--default.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-forbidden-view--default.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-not-found-default--default.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-forbidden-view-with-default-legacy-icon--default.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-forbidden-view--default.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-not-found-default--default.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-forbidden-view-with-default-legacy-icon--default.png +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 46.22.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3699d22899b88`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3699d22899b88) -
|
|
8
|
+
Add optional journey, attempt, retry parent, and source stage fields to the Smart Link
|
|
9
|
+
authentication start event.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 46.22.2
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -424,6 +424,23 @@ events:
|
|
|
424
424
|
description: user starting the Smart Link connect account process.
|
|
425
425
|
attributes:
|
|
426
426
|
<<: [*PackageMetaDataContext, *CommonContext]
|
|
427
|
+
journeyId:
|
|
428
|
+
required: false
|
|
429
|
+
type: string
|
|
430
|
+
description: Opaque UUID shared by all attempts in the authentication journey.
|
|
431
|
+
attemptId:
|
|
432
|
+
required: false
|
|
433
|
+
type: string
|
|
434
|
+
description: Opaque UUID for this authentication attempt.
|
|
435
|
+
retryOfAttemptId:
|
|
436
|
+
required: false
|
|
437
|
+
type: string
|
|
438
|
+
description:
|
|
439
|
+
The direct parent attempt UUID for a retry, or null for an instrumented first attempt.
|
|
440
|
+
fromStage:
|
|
441
|
+
required: false
|
|
442
|
+
type: string
|
|
443
|
+
description: The authentication journey stage when the user requested this attempt.
|
|
427
444
|
- smartLinkQuickAction started:
|
|
428
445
|
type: track
|
|
429
446
|
description: fires event before an action invoke api call is made
|
|
@@ -25,7 +25,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
25
25
|
var context = exports.context = {
|
|
26
26
|
componentName: 'smart-cards',
|
|
27
27
|
packageName: "@atlaskit/smart-card" || '',
|
|
28
|
-
packageVersion: "46.22.
|
|
28
|
+
packageVersion: "46.22.2" || ''
|
|
29
29
|
};
|
|
30
30
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
31
31
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "46.22.
|
|
22
|
+
packageVersion: "46.22.2",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card" || '',
|
|
7
|
-
packageVersion: "46.22.
|
|
7
|
+
packageVersion: "46.22.2" || ''
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "46.22.
|
|
12
|
+
packageVersion: "46.22.2",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card" || '',
|
|
7
|
-
packageVersion: "46.22.
|
|
7
|
+
packageVersion: "46.22.2" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "46.22.
|
|
15
|
+
packageVersion: "46.22.2",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::1a4d6462823a71e496639ae84caaae95>>
|
|
7
7
|
* @codegenCommand afm workspace @atlassian/analytics-tooling analytics:codegen smart-card
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataContextType = {
|
|
@@ -135,7 +135,12 @@ export type SmartLinkIframeFocusedAttributesType = {
|
|
|
135
135
|
export type ApplicationAccountConnectedAttributesType = {
|
|
136
136
|
definitionId?: string | null;
|
|
137
137
|
};
|
|
138
|
-
export type ApplicationAccountAuthStartedAttributesType = {
|
|
138
|
+
export type ApplicationAccountAuthStartedAttributesType = {
|
|
139
|
+
journeyId?: string | null;
|
|
140
|
+
attemptId?: string | null;
|
|
141
|
+
retryOfAttemptId?: string | null;
|
|
142
|
+
fromStage?: string | null;
|
|
143
|
+
};
|
|
139
144
|
export type SmartLinkQuickActionStartedAttributesType = {
|
|
140
145
|
smartLinkActionType: 'FollowEntityAction' | 'GetStatusTransitionsAction' | 'StatusUpdateAction' | 'UnfollowEntityAction' | 'StatusUpdate';
|
|
141
146
|
};
|
package/package.json
CHANGED