@atlaskit/smart-card 26.1.1 → 26.1.2

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,11 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 26.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f50bead1f15`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f50bead1f15) - Added firing an analytics event on action lozenge error modal opening
8
+
3
9
  ## 26.1.1
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.1.1",
3
+ "version": "26.1.2",
4
4
  "sideEffects": false
5
5
  }
@@ -38,6 +38,7 @@ var LozengeActionError = function LozengeActionError(_ref) {
38
38
  }, [reload, url]);
39
39
  var handlePreviewOpen = (0, _react2.useCallback)(function () {
40
40
  if (isPreviewAvailable) {
41
+ analytics === null || analytics === void 0 ? void 0 : analytics.ui.smartLinkLozengeActionErrorOpenPreviewClickedEvent();
41
42
  return (0, _utils2.openPreviewModal)(_objectSpread(_objectSpread({}, previewData), {}, {
42
43
  analytics: analytics,
43
44
  onClose: handlePreviewClose
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.1.1",
3
+ "version": "26.1.2",
4
4
  "sideEffects": false
5
5
  }
@@ -29,6 +29,7 @@ const LozengeActionError = ({
29
29
  }, [reload, url]);
30
30
  const handlePreviewOpen = useCallback(() => {
31
31
  if (isPreviewAvailable) {
32
+ analytics === null || analytics === void 0 ? void 0 : analytics.ui.smartLinkLozengeActionErrorOpenPreviewClickedEvent();
32
33
  return openPreviewModal({
33
34
  ...previewData,
34
35
  analytics,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.1.1",
3
+ "version": "26.1.2",
4
4
  "sideEffects": false
5
5
  }
@@ -32,6 +32,7 @@ var LozengeActionError = function LozengeActionError(_ref) {
32
32
  }, [reload, url]);
33
33
  var handlePreviewOpen = useCallback(function () {
34
34
  if (isPreviewAvailable) {
35
+ analytics === null || analytics === void 0 ? void 0 : analytics.ui.smartLinkLozengeActionErrorOpenPreviewClickedEvent();
35
36
  return openPreviewModal(_objectSpread(_objectSpread({}, previewData), {}, {
36
37
  analytics: analytics,
37
38
  onClose: handlePreviewClose
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "26.1.1",
3
+ "version": "26.1.2",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -34,7 +34,7 @@
34
34
  "@atlaskit/icon-priority": "^6.3.0",
35
35
  "@atlaskit/in-product-testing": "^0.2.0",
36
36
  "@atlaskit/link-client-extension": "^1.1.0",
37
- "@atlaskit/linking-common": "^2.8.0",
37
+ "@atlaskit/linking-common": "^2.9.0",
38
38
  "@atlaskit/linking-types": "^1.5.0",
39
39
  "@atlaskit/logo": "^13.14.0",
40
40
  "@atlaskit/lozenge": "^11.4.0",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "devDependencies": {
69
69
  "@atlaskit/avatar": "^21.3.0",
70
- "@atlaskit/checkbox": "^12.5.0",
70
+ "@atlaskit/checkbox": "^12.6.0",
71
71
  "@atlaskit/code": "^14.6.0",
72
72
  "@atlaskit/css-reset": "^6.5.0",
73
73
  "@atlaskit/docs": "*",