@atlaskit/smart-card 46.22.1 → 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.
Files changed (19) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/analytics.spec.yaml +17 -0
  3. package/dist/cjs/utils/analytics/analytics.js +1 -1
  4. package/dist/cjs/view/LinkUrl/index.js +1 -1
  5. package/dist/es2019/utils/analytics/analytics.js +1 -1
  6. package/dist/es2019/view/LinkUrl/index.js +1 -1
  7. package/dist/esm/utils/analytics/analytics.js +1 -1
  8. package/dist/esm/view/LinkUrl/index.js +1 -1
  9. package/dist/types/common/analytics/generated/analytics.types.d.ts +7 -2
  10. package/package.json +2 -2
  11. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-forbidden-view--default.png +0 -3
  12. package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-card/embed-card-not-found-default--default.png +0 -3
  13. package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-forbidden-view-with-default-legacy-icon--default.png +0 -3
  14. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-forbidden-view--default.png +0 -3
  15. package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-card/embed-card-not-found-default--default.png +0 -3
  16. package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-forbidden-view-with-default-legacy-icon--default.png +0 -3
  17. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-forbidden-view--default.png +0 -3
  18. package/dist/esm/__tests__/vr-tests/__snapshots__/embed-card/embed-card-not-found-default--default.png +0 -3
  19. 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,20 @@
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
+
12
+ ## 46.22.2
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 46.22.1
4
19
 
5
20
  ### Patch Changes
@@ -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.0" || ''
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.0",
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.0" || ''
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.0",
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.0" || ''
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.0",
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::bcb840e9445405411cf34af7d9171bf7>>
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "46.22.1",
3
+ "version": "46.22.3",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -93,7 +93,7 @@
93
93
  "@atlaskit/textfield": "^11.0.0",
94
94
  "@atlaskit/theme": "^28.2.0",
95
95
  "@atlaskit/tile": "^5.0.0",
96
- "@atlaskit/tmp-editor-statsig": "^278.0.0",
96
+ "@atlaskit/tmp-editor-statsig": "^279.0.0",
97
97
  "@atlaskit/tokens": "^20.15.0",
98
98
  "@atlaskit/tooltip": "^24.4.0",
99
99
  "@atlaskit/top-layer": "^8.2.0",
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:415a4f35e974e2fb6b461d2fc194c43919a240a61689d7a6ff9d74c310ec49c2
3
- size 23132
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:58436125a822a77b05d46dde77e47c6f7bcaf54d3faccf63c01e810670e37c4d
3
- size 27268
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dac320cae16598f66f3cbae31245519311ab708f1b4b1eb857655d40acd1b3fd
3
- size 4372
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:415a4f35e974e2fb6b461d2fc194c43919a240a61689d7a6ff9d74c310ec49c2
3
- size 23132
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:58436125a822a77b05d46dde77e47c6f7bcaf54d3faccf63c01e810670e37c4d
3
- size 27268
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dac320cae16598f66f3cbae31245519311ab708f1b4b1eb857655d40acd1b3fd
3
- size 4372
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:415a4f35e974e2fb6b461d2fc194c43919a240a61689d7a6ff9d74c310ec49c2
3
- size 23132
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:58436125a822a77b05d46dde77e47c6f7bcaf54d3faccf63c01e810670e37c4d
3
- size 27268
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dac320cae16598f66f3cbae31245519311ab708f1b4b1eb857655d40acd1b3fd
3
- size 4372