@atlaskit/reactions 37.1.4 → 37.1.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 +14 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionSummaryView.js +1 -0
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionSummaryView.js +1 -0
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionSummaryView.js +1 -0
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 37.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d4b310c8f9c92`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d4b310c8f9c92) -
|
|
8
|
+
Behind platform-dst-top-layer, the reaction summary pins on click, as before.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 37.1.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 37.1.4
|
|
4
18
|
|
|
5
19
|
### 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.1.
|
|
14
|
+
var packageVersion = "37.1.5";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -190,6 +190,7 @@ var ReactionSummaryView = exports.ReactionSummaryView = function ReactionSummary
|
|
|
190
190
|
}
|
|
191
191
|
}, [hoverableSummaryView, isSummaryViewButtonHovered, setIsHoveringSummaryView, setSummaryPopupOpen, isSummaryViewButtonClicked]);
|
|
192
192
|
return /*#__PURE__*/React.createElement(_popup.Popup, {
|
|
193
|
+
mode: "manual",
|
|
193
194
|
placement: placement,
|
|
194
195
|
content: function content(_ref2) {
|
|
195
196
|
var recalculatePopupPosition = _ref2.update;
|
|
@@ -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.1.
|
|
5
|
+
const packageVersion = "37.1.5";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -157,6 +157,7 @@ export const ReactionSummaryView = ({
|
|
|
157
157
|
}
|
|
158
158
|
}, [hoverableSummaryView, isSummaryViewButtonHovered, setIsHoveringSummaryView, setSummaryPopupOpen, isSummaryViewButtonClicked]);
|
|
159
159
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
160
|
+
mode: "manual",
|
|
160
161
|
placement: placement,
|
|
161
162
|
content: ({
|
|
162
163
|
update: recalculatePopupPosition
|
|
@@ -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.1.
|
|
8
|
+
var packageVersion = "37.1.5";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -181,6 +181,7 @@ export var ReactionSummaryView = function ReactionSummaryView(_ref) {
|
|
|
181
181
|
}
|
|
182
182
|
}, [hoverableSummaryView, isSummaryViewButtonHovered, setIsHoveringSummaryView, setSummaryPopupOpen, isSummaryViewButtonClicked]);
|
|
183
183
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
184
|
+
mode: "manual",
|
|
184
185
|
placement: placement,
|
|
185
186
|
content: function content(_ref2) {
|
|
186
187
|
var recalculatePopupPosition = _ref2.update;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "37.1.
|
|
3
|
+
"version": "37.1.6",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
52
52
|
"@atlaskit/popper": "^9.4.0",
|
|
53
|
-
"@atlaskit/popup": "^10.
|
|
53
|
+
"@atlaskit/popup": "^10.1.0",
|
|
54
54
|
"@atlaskit/portal": "^7.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.6.0",
|
|
56
56
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@atlaskit/spinner": "^20.4.0",
|
|
59
59
|
"@atlaskit/tabs": "^21.3.0",
|
|
60
60
|
"@atlaskit/theme": "^28.2.0",
|
|
61
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
61
|
+
"@atlaskit/tmp-editor-statsig": "^248.0.0",
|
|
62
62
|
"@atlaskit/tokens": "^20.8.0",
|
|
63
63
|
"@atlaskit/tooltip": "^24.4.0",
|
|
64
64
|
"@atlaskit/ufo": "^2.0.0",
|
|
@@ -111,6 +111,10 @@
|
|
|
111
111
|
"start:edge": "cd ../../ && PROXY_TARGET_ENV=edge afm run start:webpack -- reactions --proxy ./packages/elements/reactions/proxy.ts"
|
|
112
112
|
},
|
|
113
113
|
"platform-feature-flags": {
|
|
114
|
+
"platform-dst-top-layer": {
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"referenceOnly": true
|
|
117
|
+
},
|
|
114
118
|
"platform_reactions_optimistic_url": {
|
|
115
119
|
"type": "boolean"
|
|
116
120
|
},
|