@atlaskit/reactions 34.2.8 → 34.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 +17 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-products/tsconfig.json +3 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionSummaryView.js +2 -0
- package/dist/cjs/components/Trigger.compiled.css +1 -1
- package/dist/cjs/components/Trigger.js +1 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionSummaryView.js +2 -0
- package/dist/es2019/components/Trigger.compiled.css +1 -1
- package/dist/es2019/components/Trigger.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionSummaryView.js +2 -0
- package/dist/esm/components/Trigger.compiled.css +1 -1
- package/dist/esm/components/Trigger.js +1 -1
- package/package.json +10 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 34.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 34.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`45b3cdde79f3f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/45b3cdde79f3f) -
|
|
14
|
+
fix reactions modal DOM position
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 34.2.8
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -11,7 +11,7 @@ var _analyticsGasTypes = require("@atlaskit/analytics-gas-types");
|
|
|
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 = "34.
|
|
14
|
+
var packageVersion = "34.3.0";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -14,6 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
16
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
17
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
17
18
|
var _picker = require("@atlaskit/emoji/picker");
|
|
18
19
|
var _useDelayedState3 = require("../hooks/useDelayedState");
|
|
19
20
|
var _Reaction = require("./Reaction");
|
|
@@ -234,6 +235,7 @@ var ReactionSummaryView = exports.ReactionSummaryView = function ReactionSummary
|
|
|
234
235
|
},
|
|
235
236
|
isOpen: isSummaryPopupOpen || isEmojiPickerOpen,
|
|
236
237
|
onClose: handlePopupClose,
|
|
238
|
+
shouldRenderToParent: (0, _expValEquals.expValEquals)('a11y-fixes-week4-may-2026', 'isEnabled', true),
|
|
237
239
|
trigger: function trigger(triggerProps) {
|
|
238
240
|
return /*#__PURE__*/React.createElement(_ReactionSummaryButton.ReactionSummaryButton, (0, _extends2.default)({}, triggerProps, {
|
|
239
241
|
emojiProvider: emojiProvider,
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
._1ul9zwfg{min-width:2pc}
|
|
20
20
|
._4cvr1h6o{align-items:center}
|
|
21
21
|
._4t3i1tcg{height:24px}
|
|
22
|
-
.
|
|
22
|
+
._bfhk187o{background-color:var(--ds-background-disabled,#0515240f)}
|
|
23
23
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
24
24
|
._bfhkvuon{background-color:var(--ds-surface,#fff)}
|
|
25
25
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
@@ -23,7 +23,7 @@ var styles = {
|
|
|
23
23
|
triggerStylesRefresh: "_2rko12b0",
|
|
24
24
|
transparentEnabledTrigger: "_1h6d1l7x _bfhksm61 _irr31dpa _1di6fcek",
|
|
25
25
|
opaqueEnabledTrigger: "_1h6d1l7x _bfhkvuon _irr319i6 _1di613ro",
|
|
26
|
-
disabledTrigger: "_1h6dbk0g
|
|
26
|
+
disabledTrigger: "_1h6dbk0g _bfhk187o",
|
|
27
27
|
miniMode: "_2rko12b0 _1dqoglyw _1ul91tcg _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
|
|
28
28
|
fullWidthSummaryViewReactionPickerTrigger: "_1bsb1osq _ca0qu2gc _19bvu2gc _u5f3u2gc",
|
|
29
29
|
fullWidthSelectorTrayReactionPickerTrigger: "_1bsb1osq _ca0q1b66 _19bv1b66 _u5f31b66",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
4
4
|
const packageName = "@atlaskit/reactions";
|
|
5
|
-
const packageVersion = "34.
|
|
5
|
+
const packageVersion = "34.3.0";
|
|
6
6
|
/**
|
|
7
7
|
* TODO: move to utility package?
|
|
8
8
|
* A random sampling function
|
|
@@ -5,6 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useCallback, useState } from 'react';
|
|
7
7
|
import Popup from '@atlaskit/popup';
|
|
8
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
8
9
|
import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
9
10
|
import { useDelayedState } from '../hooks/useDelayedState';
|
|
10
11
|
import { Reaction } from './Reaction';
|
|
@@ -198,6 +199,7 @@ export const ReactionSummaryView = ({
|
|
|
198
199
|
})))),
|
|
199
200
|
isOpen: isSummaryPopupOpen || isEmojiPickerOpen,
|
|
200
201
|
onClose: handlePopupClose,
|
|
202
|
+
shouldRenderToParent: expValEquals('a11y-fixes-week4-may-2026', 'isEnabled', true),
|
|
201
203
|
trigger: triggerProps => /*#__PURE__*/React.createElement(ReactionSummaryButton, _extends({}, triggerProps, {
|
|
202
204
|
emojiProvider: emojiProvider,
|
|
203
205
|
reactions: reactions,
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
._1ul9zwfg{min-width:2pc}
|
|
20
20
|
._4cvr1h6o{align-items:center}
|
|
21
21
|
._4t3i1tcg{height:24px}
|
|
22
|
-
.
|
|
22
|
+
._bfhk187o{background-color:var(--ds-background-disabled,#0515240f)}
|
|
23
23
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
24
24
|
._bfhkvuon{background-color:var(--ds-surface,#fff)}
|
|
25
25
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
@@ -16,7 +16,7 @@ const styles = {
|
|
|
16
16
|
triggerStylesRefresh: "_2rko12b0",
|
|
17
17
|
transparentEnabledTrigger: "_1h6d1l7x _bfhksm61 _irr31dpa _1di6fcek",
|
|
18
18
|
opaqueEnabledTrigger: "_1h6d1l7x _bfhkvuon _irr319i6 _1di613ro",
|
|
19
|
-
disabledTrigger: "_1h6dbk0g
|
|
19
|
+
disabledTrigger: "_1h6dbk0g _bfhk187o",
|
|
20
20
|
miniMode: "_2rko12b0 _1dqoglyw _1ul91tcg _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
|
|
21
21
|
fullWidthSummaryViewReactionPickerTrigger: "_1bsb1osq _ca0qu2gc _19bvu2gc _u5f3u2gc",
|
|
22
22
|
fullWidthSelectorTrayReactionPickerTrigger: "_1bsb1osq _ca0q1b66 _19bv1b66 _u5f31b66",
|
|
@@ -5,7 +5,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
5
5
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
6
6
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
7
7
|
var packageName = "@atlaskit/reactions";
|
|
8
|
-
var packageVersion = "34.
|
|
8
|
+
var packageVersion = "34.3.0";
|
|
9
9
|
/**
|
|
10
10
|
* TODO: move to utility package?
|
|
11
11
|
* A random sampling function
|
|
@@ -6,6 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { useCallback, useState } from 'react';
|
|
8
8
|
import Popup from '@atlaskit/popup';
|
|
9
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
10
|
import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
10
11
|
import { useDelayedState } from '../hooks/useDelayedState';
|
|
11
12
|
import { Reaction } from './Reaction';
|
|
@@ -225,6 +226,7 @@ export var ReactionSummaryView = function ReactionSummaryView(_ref) {
|
|
|
225
226
|
},
|
|
226
227
|
isOpen: isSummaryPopupOpen || isEmojiPickerOpen,
|
|
227
228
|
onClose: handlePopupClose,
|
|
229
|
+
shouldRenderToParent: expValEquals('a11y-fixes-week4-may-2026', 'isEnabled', true),
|
|
228
230
|
trigger: function trigger(triggerProps) {
|
|
229
231
|
return /*#__PURE__*/React.createElement(ReactionSummaryButton, _extends({}, triggerProps, {
|
|
230
232
|
emojiProvider: emojiProvider,
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
._1ul9zwfg{min-width:2pc}
|
|
20
20
|
._4cvr1h6o{align-items:center}
|
|
21
21
|
._4t3i1tcg{height:24px}
|
|
22
|
-
.
|
|
22
|
+
._bfhk187o{background-color:var(--ds-background-disabled,#0515240f)}
|
|
23
23
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
24
24
|
._bfhkvuon{background-color:var(--ds-surface,#fff)}
|
|
25
25
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
@@ -16,7 +16,7 @@ var styles = {
|
|
|
16
16
|
triggerStylesRefresh: "_2rko12b0",
|
|
17
17
|
transparentEnabledTrigger: "_1h6d1l7x _bfhksm61 _irr31dpa _1di6fcek",
|
|
18
18
|
opaqueEnabledTrigger: "_1h6d1l7x _bfhkvuon _irr319i6 _1di613ro",
|
|
19
|
-
disabledTrigger: "_1h6dbk0g
|
|
19
|
+
disabledTrigger: "_1h6dbk0g _bfhk187o",
|
|
20
20
|
miniMode: "_2rko12b0 _1dqoglyw _1ul91tcg _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66",
|
|
21
21
|
fullWidthSummaryViewReactionPickerTrigger: "_1bsb1osq _ca0qu2gc _19bvu2gc _u5f3u2gc",
|
|
22
22
|
fullWidthSelectorTrayReactionPickerTrigger: "_1bsb1osq _ca0q1b66 _19bv1b66 _u5f31b66",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.3.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,31 +41,32 @@
|
|
|
41
41
|
"@atlaskit/afm-i18n-platform-elements-reactions": "2.7.0",
|
|
42
42
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
43
43
|
"@atlaskit/analytics-namespaced-context": "^7.3.0",
|
|
44
|
-
"@atlaskit/analytics-next": "^11.
|
|
44
|
+
"@atlaskit/analytics-next": "^11.3.0",
|
|
45
45
|
"@atlaskit/avatar": "^25.15.0",
|
|
46
46
|
"@atlaskit/button": "^23.11.0",
|
|
47
47
|
"@atlaskit/css": "^0.19.0",
|
|
48
|
-
"@atlaskit/emoji": "^70.
|
|
48
|
+
"@atlaskit/emoji": "^70.16.0",
|
|
49
49
|
"@atlaskit/heading": "^5.4.0",
|
|
50
|
-
"@atlaskit/icon": "^35.
|
|
50
|
+
"@atlaskit/icon": "^35.4.0",
|
|
51
51
|
"@atlaskit/link": "^3.4.0",
|
|
52
52
|
"@atlaskit/modal-dialog": "^15.2.0",
|
|
53
53
|
"@atlaskit/motion": "^6.2.0",
|
|
54
54
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
55
55
|
"@atlaskit/popper": "^7.2.0",
|
|
56
|
-
"@atlaskit/popup": "^4.
|
|
56
|
+
"@atlaskit/popup": "^4.23.0",
|
|
57
57
|
"@atlaskit/portal": "^5.5.0",
|
|
58
58
|
"@atlaskit/primitives": "^19.0.0",
|
|
59
|
-
"@atlaskit/react-ufo": "^6.
|
|
59
|
+
"@atlaskit/react-ufo": "^6.7.0",
|
|
60
60
|
"@atlaskit/spinner": "^19.1.0",
|
|
61
61
|
"@atlaskit/tabs": "^19.1.0",
|
|
62
62
|
"@atlaskit/theme": "^25.0.0",
|
|
63
|
-
"@atlaskit/
|
|
64
|
-
"@atlaskit/
|
|
63
|
+
"@atlaskit/tmp-editor-statsig": "^90.0.0",
|
|
64
|
+
"@atlaskit/tokens": "^13.3.0",
|
|
65
|
+
"@atlaskit/tooltip": "^22.6.0",
|
|
65
66
|
"@atlaskit/ufo": "^0.5.0",
|
|
66
67
|
"@atlaskit/util-service-support": "^6.4.0",
|
|
67
68
|
"@babel/runtime": "^7.0.0",
|
|
68
|
-
"@compiled/react": "
|
|
69
|
+
"@compiled/react": "patch:@compiled/react@npm%3A0.20.0#~/.yarn/patches/@compiled-react-npm-0.20.0-a771aa67a6.patch",
|
|
69
70
|
"focus-trap": "^2.4.5"
|
|
70
71
|
},
|
|
71
72
|
"peerDependencies": {
|