@atlaskit/smart-card 40.8.0 → 40.8.1

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 40.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#198800](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/198800)
8
+ [`047d4af3e57cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/047d4af3e57cf) -
9
+ Update channel and eventName in attributes for firing events for 3P Workflows team
10
+
3
11
  ## 40.8.0
4
12
 
5
13
  ### Minor Changes
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card",
14
- packageVersion: "40.7.3"
14
+ packageVersion: "40.8.0"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -102,13 +102,15 @@ function Component(_ref) {
102
102
  actionSubject: 'smartLink',
103
103
  actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
104
104
  eventType: 'ui',
105
- attributes: {},
105
+ attributes: {
106
+ eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows'
107
+ },
106
108
  nonPrivacySafeAttributes: {
107
109
  sourceURL: sourceURL,
108
110
  thirdPartyARI: ari
109
111
  }
110
112
  });
111
- smartlinkClickAnalyticsEvent.fire();
113
+ smartlinkClickAnalyticsEvent.fire('media');
112
114
  }
113
115
  }
114
116
  }
@@ -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: "40.7.3",
22
+ packageVersion: "40.8.0",
23
23
  componentName: 'linkUrl'
24
24
  };
25
25
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card",
5
- packageVersion: "40.7.3"
5
+ packageVersion: "40.8.0"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -95,13 +95,15 @@ function Component({
95
95
  actionSubject: 'smartLink',
96
96
  actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
97
97
  eventType: 'ui',
98
- attributes: {},
98
+ attributes: {
99
+ eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows'
100
+ },
99
101
  nonPrivacySafeAttributes: {
100
102
  sourceURL: sourceURL,
101
103
  thirdPartyARI: ari
102
104
  }
103
105
  });
104
- smartlinkClickAnalyticsEvent.fire();
106
+ smartlinkClickAnalyticsEvent.fire('media');
105
107
  }
106
108
  }
107
109
  }
@@ -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: "40.7.3",
12
+ packageVersion: "40.8.0",
13
13
  componentName: 'linkUrl'
14
14
  };
15
15
  const Anchor = withLinkClickedEvent('a');
@@ -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: "40.7.3"
7
+ packageVersion: "40.8.0"
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -93,13 +93,15 @@ function Component(_ref) {
93
93
  actionSubject: 'smartLink',
94
94
  actionSubjectId: 'smartlinkClickAnalyticsWorkflows',
95
95
  eventType: 'ui',
96
- attributes: {},
96
+ attributes: {
97
+ eventName: 'smartLinkClickAnalyticsThirdPartyWorkflows'
98
+ },
97
99
  nonPrivacySafeAttributes: {
98
100
  sourceURL: sourceURL,
99
101
  thirdPartyARI: ari
100
102
  }
101
103
  });
102
- smartlinkClickAnalyticsEvent.fire();
104
+ smartlinkClickAnalyticsEvent.fire('media');
103
105
  }
104
106
  }
105
107
  }
@@ -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: "40.7.3",
15
+ packageVersion: "40.8.0",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "40.8.0",
3
+ "version": "40.8.1",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,7 +38,7 @@
38
38
  "@atlaskit/form": "^12.0.0",
39
39
  "@atlaskit/frontend-utilities": "^3.1.0",
40
40
  "@atlaskit/heading": "^5.2.0",
41
- "@atlaskit/icon": "^27.10.0",
41
+ "@atlaskit/icon": "^27.11.0",
42
42
  "@atlaskit/icon-file-type": "^7.0.0",
43
43
  "@atlaskit/icon-lab": "^5.4.0",
44
44
  "@atlaskit/icon-object": "^7.2.0",