@atlaskit/share 4.23.9 → 4.23.10
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 +8 -0
- package/dist/cjs/components/ShareButton.js +1 -0
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/ShareButton.js +1 -0
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/ShareButton.js +1 -0
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 4.23.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#98532](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98532)
|
|
8
|
+
[`2c9bdfdef47cc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2c9bdfdef47cc) -
|
|
9
|
+
Add an id to the ShareButton in order to improve targeting/triggering
|
|
10
|
+
|
|
3
11
|
## 4.23.9
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -17,6 +17,7 @@ function ShareButton(_ref, ref) {
|
|
|
17
17
|
_ariaHasPopup = _ref['aria-haspopup'],
|
|
18
18
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
19
19
|
return /*#__PURE__*/_react.default.createElement(_standardButton.default, (0, _extends2.default)({
|
|
20
|
+
id: "share-trigger-btn",
|
|
20
21
|
ref: ref,
|
|
21
22
|
"aria-haspopup": "dialog"
|
|
22
23
|
}, props), text);
|
|
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
13
13
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14
14
|
return _objectSpread({
|
|
15
15
|
packageName: "@atlaskit/share",
|
|
16
|
-
packageVersion: "4.23.
|
|
16
|
+
packageVersion: "4.23.10"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEmail, isExternalUser, isGroup, isTeam, isUser } from '@atlaskit/smart-user-picker';
|
|
2
2
|
const buildAttributes = (attributes = {}) => ({
|
|
3
3
|
packageName: "@atlaskit/share",
|
|
4
|
-
packageVersion: "4.23.
|
|
4
|
+
packageVersion: "4.23.10",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -10,6 +10,7 @@ function ShareButton(_ref, ref) {
|
|
|
10
10
|
_ariaHasPopup = _ref['aria-haspopup'],
|
|
11
11
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
12
12
|
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
13
|
+
id: "share-trigger-btn",
|
|
13
14
|
ref: ref,
|
|
14
15
|
"aria-haspopup": "dialog"
|
|
15
16
|
}, props), text);
|
|
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
6
6
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
7
|
return _objectSpread({
|
|
8
8
|
packageName: "@atlaskit/share",
|
|
9
|
-
packageVersion: "4.23.
|
|
9
|
+
packageVersion: "4.23.10"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|