@atlaskit/profilecard 16.0.0 → 16.0.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 +6 -0
- package/dist/cjs/components/User/ProfileCardTrigger.js +2 -1
- package/dist/cjs/util/analytics.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/User/ProfileCardTrigger.js +2 -1
- package/dist/es2019/util/analytics.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/User/ProfileCardTrigger.js +2 -1
- package/dist/esm/util/analytics.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/types.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/profilecard
|
|
2
2
|
|
|
3
|
+
## 16.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`82099b76445`](https://bitbucket.org/atlassian/atlassian-frontend/commits/82099b76445) - Add optional `testId` prop to `ProfileCardTrigger` to ease testing
|
|
8
|
+
|
|
3
9
|
## 16.0.0
|
|
4
10
|
|
|
5
11
|
### Major Changes
|
|
@@ -236,7 +236,8 @@ var ProfilecardTrigger = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
236
236
|
var ref = triggerProps.ref,
|
|
237
237
|
innerProps = (0, _objectWithoutProperties2.default)(triggerProps, ["ref"]);
|
|
238
238
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({}, innerProps, _this2.containerListeners, {
|
|
239
|
-
ref: ref
|
|
239
|
+
ref: ref,
|
|
240
|
+
"data-testid": _this2.props.testId
|
|
240
241
|
}), _this2.props.children);
|
|
241
242
|
},
|
|
242
243
|
zIndex: _constants.layers.modal()
|
|
@@ -31,7 +31,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
31
31
|
actionSubjectId: actionSubjectId,
|
|
32
32
|
attributes: _objectSpread(_objectSpread({
|
|
33
33
|
packageName: "@atlaskit/profilecard",
|
|
34
|
-
packageVersion: "16.0.
|
|
34
|
+
packageVersion: "16.0.1"
|
|
35
35
|
}, attributes), {}, {
|
|
36
36
|
firedAt: (0, _performance.getPageTime)()
|
|
37
37
|
})
|
package/dist/cjs/version.json
CHANGED
|
@@ -187,7 +187,8 @@ class ProfilecardTrigger extends React.PureComponent {
|
|
|
187
187
|
...innerProps
|
|
188
188
|
} = triggerProps;
|
|
189
189
|
return /*#__PURE__*/React.createElement("span", _extends({}, innerProps, this.containerListeners, {
|
|
190
|
-
ref: ref
|
|
190
|
+
ref: ref,
|
|
191
|
+
"data-testid": this.props.testId
|
|
191
192
|
}), this.props.children);
|
|
192
193
|
},
|
|
193
194
|
zIndex: layers.modal()
|
|
@@ -11,7 +11,7 @@ const createEvent = (eventType, action, actionSubject, actionSubjectId, attribut
|
|
|
11
11
|
actionSubjectId,
|
|
12
12
|
attributes: {
|
|
13
13
|
packageName: "@atlaskit/profilecard",
|
|
14
|
-
packageVersion: "16.0.
|
|
14
|
+
packageVersion: "16.0.1",
|
|
15
15
|
...attributes,
|
|
16
16
|
firedAt: getPageTime()
|
|
17
17
|
}
|
package/dist/es2019/version.json
CHANGED
|
@@ -226,7 +226,8 @@ var ProfilecardTrigger = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
226
226
|
innerProps = _objectWithoutProperties(triggerProps, ["ref"]);
|
|
227
227
|
|
|
228
228
|
return /*#__PURE__*/React.createElement("span", _extends({}, innerProps, _this2.containerListeners, {
|
|
229
|
-
ref: ref
|
|
229
|
+
ref: ref,
|
|
230
|
+
"data-testid": _this2.props.testId
|
|
230
231
|
}), _this2.props.children);
|
|
231
232
|
},
|
|
232
233
|
zIndex: layers.modal()
|
|
@@ -19,7 +19,7 @@ var createEvent = function createEvent(eventType, action, actionSubject, actionS
|
|
|
19
19
|
actionSubjectId: actionSubjectId,
|
|
20
20
|
attributes: _objectSpread(_objectSpread({
|
|
21
21
|
packageName: "@atlaskit/profilecard",
|
|
22
|
-
packageVersion: "16.0.
|
|
22
|
+
packageVersion: "16.0.1"
|
|
23
23
|
}, attributes), {}, {
|
|
24
24
|
firedAt: getPageTime()
|
|
25
25
|
})
|
package/dist/esm/version.json
CHANGED
package/dist/types/types.d.ts
CHANGED