@atlaskit/profilecard 16.4.5 → 16.4.6

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/profilecard
2
2
 
3
+ ## 16.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`386249e4be4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/386249e4be4) - [ux] Fix hide handler when the profile card is triggered via click
8
+
3
9
  ## 16.4.5
4
10
 
5
11
  ### Patch Changes
@@ -264,7 +264,8 @@ var ProfilecardTrigger = /*#__PURE__*/function (_React$PureComponent) {
264
264
  "data-testid": _this2.props.testId
265
265
  }), _this2.props.children);
266
266
  },
267
- zIndex: _constants.layers.modal()
267
+ zIndex: _constants.layers.modal(),
268
+ shouldUseCaptureOnOutsideClick: true
268
269
  });
269
270
  }
270
271
  }, {
@@ -56,7 +56,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
56
56
  actionSubjectId: actionSubjectId,
57
57
  attributes: _objectSpread(_objectSpread({
58
58
  packageName: "@atlaskit/profilecard",
59
- packageVersion: "16.4.5"
59
+ packageVersion: "16.4.6"
60
60
  }, attributes), {}, {
61
61
  firedAt: (0, _performance.getPageTime)()
62
62
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "16.4.5"
3
+ "version": "16.4.6"
4
4
  }
@@ -206,7 +206,8 @@ class ProfilecardTrigger extends React.PureComponent {
206
206
  "data-testid": this.props.testId
207
207
  }), this.props.children);
208
208
  },
209
- zIndex: layers.modal()
209
+ zIndex: layers.modal(),
210
+ shouldUseCaptureOnOutsideClick: true
210
211
  });
211
212
  }
212
213
 
@@ -35,7 +35,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
35
35
  actionSubjectId,
36
36
  attributes: {
37
37
  packageName: "@atlaskit/profilecard",
38
- packageVersion: "16.4.5",
38
+ packageVersion: "16.4.6",
39
39
  ...attributes,
40
40
  firedAt: getPageTime()
41
41
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "16.4.5"
3
+ "version": "16.4.6"
4
4
  }
@@ -248,7 +248,8 @@ var ProfilecardTrigger = /*#__PURE__*/function (_React$PureComponent) {
248
248
  "data-testid": _this2.props.testId
249
249
  }), _this2.props.children);
250
250
  },
251
- zIndex: layers.modal()
251
+ zIndex: layers.modal(),
252
+ shouldUseCaptureOnOutsideClick: true
252
253
  });
253
254
  }
254
255
  }, {
@@ -45,7 +45,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
45
45
  actionSubjectId: actionSubjectId,
46
46
  attributes: _objectSpread(_objectSpread({
47
47
  packageName: "@atlaskit/profilecard",
48
- packageVersion: "16.4.5"
48
+ packageVersion: "16.4.6"
49
49
  }, attributes), {}, {
50
50
  firedAt: getPageTime()
51
51
  })
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "16.4.5"
3
+ "version": "16.4.6"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/profilecard",
3
- "version": "16.4.5",
3
+ "version": "16.4.6",
4
4
  "description": "A React component to display a card with user information.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"