@atlaskit/reactions 37.2.17 → 37.3.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 +22 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionTooltip.js +3 -3
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionTooltip.js +3 -3
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionTooltip.js +3 -3
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 37.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c99178222d1f9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c99178222d1f9) -
|
|
8
|
+
Remove the `platform_reactions_tooltip_hide_empty_footer` feature gate. The reaction tooltip now
|
|
9
|
+
always omits the trailing footer item when the number of reacting users is within the display
|
|
10
|
+
limit, so the tooltip no longer has empty space at the bottom.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 37.3.0
|
|
14
|
+
|
|
15
|
+
### Minor Changes
|
|
16
|
+
|
|
17
|
+
- [`77aeba2398de1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/77aeba2398de1) -
|
|
18
|
+
Update i18n NPM package versions for editor,editor-extensions,activity-platform,media,elements
|
|
19
|
+
(Group 3)
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 37.2.17
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -11,7 +11,7 @@ var _createAndFireEvents = _interopRequireDefault(require("@atlaskit/analytics-n
|
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "37.
|
|
14
|
+
var packageVersion = "37.3.0";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -66,9 +66,9 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
66
66
|
personName: user.displayName
|
|
67
67
|
}
|
|
68
68
|
})) : user.displayName);
|
|
69
|
-
}),
|
|
69
|
+
}), users.length > maxReactions ? /*#__PURE__*/_react.default.createElement("li", {
|
|
70
70
|
className: (0, _runtime.ax)(["_syaz15cr"])
|
|
71
|
-
},
|
|
71
|
+
}, allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/_react.default.createElement("button", {
|
|
72
72
|
type: "button",
|
|
73
73
|
onClick: handleClick,
|
|
74
74
|
onMouseDown: function onMouseDown(e) {
|
|
@@ -83,7 +83,7 @@ var ReactionTooltip = exports.ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
83
83
|
values: {
|
|
84
84
|
count: users.length - maxReactions
|
|
85
85
|
}
|
|
86
|
-
})))
|
|
86
|
+
}))) : null));
|
|
87
87
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
88
88
|
content: content,
|
|
89
89
|
position: "bottom",
|
|
@@ -2,7 +2,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
|
|
|
2
2
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
3
3
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "37.
|
|
5
|
+
const packageVersion = "37.3.0";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -55,9 +55,9 @@ export const ReactionTooltip = ({
|
|
|
55
55
|
agentName: user.agent.name,
|
|
56
56
|
personName: user.displayName
|
|
57
57
|
}
|
|
58
|
-
})) : user.displayName)),
|
|
58
|
+
})) : user.displayName)), users.length > maxReactions ? /*#__PURE__*/React.createElement("li", {
|
|
59
59
|
className: ax(["_syaz15cr"])
|
|
60
|
-
},
|
|
60
|
+
}, allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("button", {
|
|
61
61
|
type: "button",
|
|
62
62
|
onClick: handleClick,
|
|
63
63
|
onMouseDown: e => e.preventDefault(),
|
|
@@ -70,7 +70,7 @@ export const ReactionTooltip = ({
|
|
|
70
70
|
values: {
|
|
71
71
|
count: users.length - maxReactions
|
|
72
72
|
}
|
|
73
|
-
})))
|
|
73
|
+
}))) : null));
|
|
74
74
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
75
75
|
content: content,
|
|
76
76
|
position: "bottom",
|
|
@@ -5,7 +5,7 @@ import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-t
|
|
|
5
5
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
6
6
|
import createAndFireEvent from '@atlaskit/analytics-next/createAndFireEvents';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "37.
|
|
8
|
+
var packageVersion = "37.3.0";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -59,9 +59,9 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
59
59
|
personName: user.displayName
|
|
60
60
|
}
|
|
61
61
|
})) : user.displayName);
|
|
62
|
-
}),
|
|
62
|
+
}), users.length > maxReactions ? /*#__PURE__*/React.createElement("li", {
|
|
63
63
|
className: ax(["_syaz15cr"])
|
|
64
|
-
},
|
|
64
|
+
}, allowUserDialog && handleOpenReactionsDialog ? /*#__PURE__*/React.createElement("button", {
|
|
65
65
|
type: "button",
|
|
66
66
|
onClick: handleClick,
|
|
67
67
|
onMouseDown: function onMouseDown(e) {
|
|
@@ -76,7 +76,7 @@ export var ReactionTooltip = function ReactionTooltip(_ref) {
|
|
|
76
76
|
values: {
|
|
77
77
|
count: users.length - maxReactions
|
|
78
78
|
}
|
|
79
|
-
})))
|
|
79
|
+
}))) : null));
|
|
80
80
|
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
81
81
|
content: content,
|
|
82
82
|
position: "bottom",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "37.
|
|
3
|
+
"version": "37.3.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@atlaskit/afm-i18n-platform-elements-reactions": "2.
|
|
36
|
+
"@atlaskit/afm-i18n-platform-elements-reactions": "2.305.0",
|
|
37
37
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
38
38
|
"@atlaskit/analytics-namespaced-context": "^8.2.0",
|
|
39
39
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
40
40
|
"@atlaskit/avatar": "^30.1.0",
|
|
41
41
|
"@atlaskit/button": "^25.7.0",
|
|
42
42
|
"@atlaskit/css": "^1.1.0",
|
|
43
|
-
"@atlaskit/emoji": "^73.
|
|
43
|
+
"@atlaskit/emoji": "^73.5.0",
|
|
44
44
|
"@atlaskit/feature-gate-js-client": "^8.0.0",
|
|
45
45
|
"@atlaskit/heading": "^8.0.0",
|
|
46
46
|
"@atlaskit/icon": "^38.0.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/tabs": "^21.3.0",
|
|
60
60
|
"@atlaskit/theme": "^28.2.0",
|
|
61
61
|
"@atlaskit/tmp-editor-statsig": "^260.0.0",
|
|
62
|
-
"@atlaskit/tokens": "^20.
|
|
62
|
+
"@atlaskit/tokens": "^20.11.0",
|
|
63
63
|
"@atlaskit/tooltip": "^24.4.0",
|
|
64
64
|
"@atlaskit/ufo": "^2.0.0",
|
|
65
65
|
"@atlaskit/util-service-support": "^7.4.0",
|
|
@@ -127,9 +127,6 @@
|
|
|
127
127
|
"platform_suppression_removal_fix_reactions": {
|
|
128
128
|
"type": "boolean"
|
|
129
129
|
},
|
|
130
|
-
"platform_reactions_tooltip_hide_empty_footer": {
|
|
131
|
-
"type": "boolean"
|
|
132
|
-
},
|
|
133
130
|
"a11y_reactions_reading_order": {
|
|
134
131
|
"type": "boolean"
|
|
135
132
|
},
|