@atlaskit/reactions 26.3.2 → 26.4.0
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/analytics/index.js +1 -1
- package/dist/cjs/components/Reactions/Reactions.js +25 -2
- package/dist/cjs/components/Reactions/styles.js +1 -15
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/Reactions/Reactions.js +24 -4
- package/dist/es2019/components/Reactions/styles.js +0 -14
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/Reactions/Reactions.js +26 -4
- package/dist/esm/components/Reactions/styles.js +0 -14
- package/dist/types/components/Reactions/Reactions.d.ts +6 -1
- package/dist/types/components/Reactions/styles.d.ts +0 -1
- package/dist/types-ts4.5/components/Reactions/Reactions.d.ts +6 -1
- package/dist/types-ts4.5/components/Reactions/styles.d.ts +0 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/reactions
|
|
2
2
|
|
|
3
|
+
## 26.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#117805](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/117805)
|
|
8
|
+
[`1eed800de1541`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1eed800de1541) -
|
|
9
|
+
added conditional styles for container wrap and positioning
|
|
10
|
+
|
|
3
11
|
## 26.3.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -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; }
|
|
13
13
|
var packageName = "@atlaskit/reactions";
|
|
14
|
-
var packageVersion = "26.
|
|
14
|
+
var packageVersion = "26.4.0";
|
|
15
15
|
/**
|
|
16
16
|
* TODO: move to utility package?
|
|
17
17
|
* A random sampling function
|
|
@@ -36,6 +36,25 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
36
36
|
|
|
37
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
38
38
|
|
|
39
|
+
var wrapperStyle = (0, _react2.css)({
|
|
40
|
+
display: 'flex',
|
|
41
|
+
flexWrap: 'wrap',
|
|
42
|
+
position: 'relative',
|
|
43
|
+
alignItems: 'center',
|
|
44
|
+
borderRadius: '15px',
|
|
45
|
+
marginTop: "var(--ds-space-negative-050, -4px)",
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
47
|
+
'> :first-of-type > :first-of-type': {
|
|
48
|
+
marginLeft: 0
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
var noFlexWrapStyles = (0, _react2.css)({
|
|
52
|
+
flexWrap: 'nowrap'
|
|
53
|
+
});
|
|
54
|
+
var noContainerPositionStyles = (0, _react2.css)({
|
|
55
|
+
position: 'initial'
|
|
56
|
+
});
|
|
57
|
+
|
|
39
58
|
/**
|
|
40
59
|
* Set of all available UFO experiences relating to Reactions Dialog
|
|
41
60
|
*/
|
|
@@ -135,7 +154,11 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
135
154
|
showRoundTrigger = _ref$showRoundTrigger === void 0 ? false : _ref$showRoundTrigger,
|
|
136
155
|
_ref$isViewOnly = _ref.isViewOnly,
|
|
137
156
|
isViewOnly = _ref$isViewOnly === void 0 ? false : _ref$isViewOnly,
|
|
138
|
-
reactionPickerAdditionalStyle = _ref.reactionPickerAdditionalStyle
|
|
157
|
+
reactionPickerAdditionalStyle = _ref.reactionPickerAdditionalStyle,
|
|
158
|
+
_ref$noWrap = _ref.noWrap,
|
|
159
|
+
noWrap = _ref$noWrap === void 0 ? false : _ref$noWrap,
|
|
160
|
+
_ref$noRelativeContai = _ref.noRelativeContainer,
|
|
161
|
+
noRelativeContainer = _ref$noRelativeContai === void 0 ? false : _ref$noRelativeContai;
|
|
139
162
|
var _useState = (0, _react.useState)(),
|
|
140
163
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
141
164
|
selectedEmojiId = _useState2[0],
|
|
@@ -287,7 +310,7 @@ var Reactions = exports.Reactions = /*#__PURE__*/_react.default.memo(function (_
|
|
|
287
310
|
return (0, _react2.jsx)(_segment.default, {
|
|
288
311
|
name: "reactions"
|
|
289
312
|
}, (0, _react2.jsx)("div", {
|
|
290
|
-
css:
|
|
313
|
+
css: [wrapperStyle, noWrap && noFlexWrapStyles, noRelativeContainer && noContainerPositionStyles],
|
|
291
314
|
"data-testid": RENDER_REACTIONS_TESTID
|
|
292
315
|
}, !onlyRenderPicker && (shouldShowSummaryView ? (0, _react2.jsx)("div", {
|
|
293
316
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.reactionPickerStyle = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
/**
|
|
9
9
|
* @jsxRuntime classic
|
|
@@ -15,18 +15,4 @@ var _react = require("@emotion/react");
|
|
|
15
15
|
var reactionPickerStyle = exports.reactionPickerStyle = (0, _react.css)({
|
|
16
16
|
display: 'inline-block',
|
|
17
17
|
marginTop: "var(--ds-space-050, 4px)"
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
21
|
-
var wrapperStyle = exports.wrapperStyle = (0, _react.css)({
|
|
22
|
-
display: 'flex',
|
|
23
|
-
flexWrap: 'wrap',
|
|
24
|
-
position: 'relative',
|
|
25
|
-
alignItems: 'center',
|
|
26
|
-
borderRadius: '15px',
|
|
27
|
-
marginTop: "var(--ds-space-negative-050, -4px)",
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
29
|
-
'> :first-of-type > :first-of-type': {
|
|
30
|
-
marginLeft: 0
|
|
31
|
-
}
|
|
32
18
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
2
2
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
3
3
|
const packageName = "@atlaskit/reactions";
|
|
4
|
-
const packageVersion = "26.
|
|
4
|
+
const packageVersion = "26.4.0";
|
|
5
5
|
/**
|
|
6
6
|
* TODO: move to utility package?
|
|
7
7
|
* A random sampling function
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
7
|
+
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
9
9
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
10
|
import { ModalTransition } from '@atlaskit/modal-dialog';
|
|
@@ -19,7 +19,25 @@ import { Reaction } from '../Reaction';
|
|
|
19
19
|
import { ReactionsDialog } from '../ReactionDialog';
|
|
20
20
|
import { ReactionPicker } from '../ReactionPicker';
|
|
21
21
|
import { ReactionSummaryView } from '../ReactionSummary/';
|
|
22
|
-
import { reactionPickerStyle
|
|
22
|
+
import { reactionPickerStyle } from './styles';
|
|
23
|
+
const wrapperStyle = css({
|
|
24
|
+
display: 'flex',
|
|
25
|
+
flexWrap: 'wrap',
|
|
26
|
+
position: 'relative',
|
|
27
|
+
alignItems: 'center',
|
|
28
|
+
borderRadius: '15px',
|
|
29
|
+
marginTop: "var(--ds-space-negative-050, -4px)",
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
31
|
+
'> :first-of-type > :first-of-type': {
|
|
32
|
+
marginLeft: 0
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
const noFlexWrapStyles = css({
|
|
36
|
+
flexWrap: 'nowrap'
|
|
37
|
+
});
|
|
38
|
+
const noContainerPositionStyles = css({
|
|
39
|
+
position: 'initial'
|
|
40
|
+
});
|
|
23
41
|
|
|
24
42
|
/**
|
|
25
43
|
* Set of all available UFO experiences relating to Reactions Dialog
|
|
@@ -101,7 +119,9 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
101
119
|
onlyRenderPicker = false,
|
|
102
120
|
showRoundTrigger = false,
|
|
103
121
|
isViewOnly = false,
|
|
104
|
-
reactionPickerAdditionalStyle
|
|
122
|
+
reactionPickerAdditionalStyle,
|
|
123
|
+
noWrap = false,
|
|
124
|
+
noRelativeContainer = false
|
|
105
125
|
}) => {
|
|
106
126
|
const [selectedEmojiId, setSelectedEmojiId] = useState();
|
|
107
127
|
const {
|
|
@@ -242,7 +262,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
242
262
|
return jsx(UFOSegment, {
|
|
243
263
|
name: "reactions"
|
|
244
264
|
}, jsx("div", {
|
|
245
|
-
css: wrapperStyle,
|
|
265
|
+
css: [wrapperStyle, noWrap && noFlexWrapStyles, noRelativeContainer && noContainerPositionStyles],
|
|
246
266
|
"data-testid": RENDER_REACTIONS_TESTID
|
|
247
267
|
}, !onlyRenderPicker && (shouldShowSummaryView ? jsx("div", {
|
|
248
268
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
@@ -8,18 +8,4 @@ import { css } from '@emotion/react';
|
|
|
8
8
|
export const reactionPickerStyle = css({
|
|
9
9
|
display: 'inline-block',
|
|
10
10
|
marginTop: "var(--ds-space-050, 4px)"
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
|
-
export const wrapperStyle = css({
|
|
15
|
-
display: 'flex',
|
|
16
|
-
flexWrap: 'wrap',
|
|
17
|
-
position: 'relative',
|
|
18
|
-
alignItems: 'center',
|
|
19
|
-
borderRadius: '15px',
|
|
20
|
-
marginTop: "var(--ds-space-negative-050, -4px)",
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
22
|
-
'> :first-of-type > :first-of-type': {
|
|
23
|
-
marginLeft: 0
|
|
24
|
-
}
|
|
25
11
|
});
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
5
5
|
import { UI_EVENT_TYPE, OPERATIONAL_EVENT_TYPE } from '@atlaskit/analytics-gas-types';
|
|
6
6
|
var packageName = "@atlaskit/reactions";
|
|
7
|
-
var packageVersion = "26.
|
|
7
|
+
var packageVersion = "26.4.0";
|
|
8
8
|
/**
|
|
9
9
|
* TODO: move to utility package?
|
|
10
10
|
* A random sampling function
|
|
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
*/
|
|
7
7
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
import { jsx } from '@emotion/react';
|
|
9
|
+
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { FormattedMessage } from 'react-intl-next';
|
|
11
11
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
12
12
|
import { ModalTransition } from '@atlaskit/modal-dialog';
|
|
@@ -21,7 +21,25 @@ import { Reaction } from '../Reaction';
|
|
|
21
21
|
import { ReactionsDialog } from '../ReactionDialog';
|
|
22
22
|
import { ReactionPicker } from '../ReactionPicker';
|
|
23
23
|
import { ReactionSummaryView } from '../ReactionSummary/';
|
|
24
|
-
import { reactionPickerStyle
|
|
24
|
+
import { reactionPickerStyle } from './styles';
|
|
25
|
+
var wrapperStyle = css({
|
|
26
|
+
display: 'flex',
|
|
27
|
+
flexWrap: 'wrap',
|
|
28
|
+
position: 'relative',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
borderRadius: '15px',
|
|
31
|
+
marginTop: "var(--ds-space-negative-050, -4px)",
|
|
32
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
33
|
+
'> :first-of-type > :first-of-type': {
|
|
34
|
+
marginLeft: 0
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
var noFlexWrapStyles = css({
|
|
38
|
+
flexWrap: 'nowrap'
|
|
39
|
+
});
|
|
40
|
+
var noContainerPositionStyles = css({
|
|
41
|
+
position: 'initial'
|
|
42
|
+
});
|
|
25
43
|
|
|
26
44
|
/**
|
|
27
45
|
* Set of all available UFO experiences relating to Reactions Dialog
|
|
@@ -122,7 +140,11 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
122
140
|
showRoundTrigger = _ref$showRoundTrigger === void 0 ? false : _ref$showRoundTrigger,
|
|
123
141
|
_ref$isViewOnly = _ref.isViewOnly,
|
|
124
142
|
isViewOnly = _ref$isViewOnly === void 0 ? false : _ref$isViewOnly,
|
|
125
|
-
reactionPickerAdditionalStyle = _ref.reactionPickerAdditionalStyle
|
|
143
|
+
reactionPickerAdditionalStyle = _ref.reactionPickerAdditionalStyle,
|
|
144
|
+
_ref$noWrap = _ref.noWrap,
|
|
145
|
+
noWrap = _ref$noWrap === void 0 ? false : _ref$noWrap,
|
|
146
|
+
_ref$noRelativeContai = _ref.noRelativeContainer,
|
|
147
|
+
noRelativeContainer = _ref$noRelativeContai === void 0 ? false : _ref$noRelativeContai;
|
|
126
148
|
var _useState = useState(),
|
|
127
149
|
_useState2 = _slicedToArray(_useState, 2),
|
|
128
150
|
selectedEmojiId = _useState2[0],
|
|
@@ -274,7 +296,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
274
296
|
return jsx(UFOSegment, {
|
|
275
297
|
name: "reactions"
|
|
276
298
|
}, jsx("div", {
|
|
277
|
-
css: wrapperStyle,
|
|
299
|
+
css: [wrapperStyle, noWrap && noFlexWrapStyles, noRelativeContainer && noContainerPositionStyles],
|
|
278
300
|
"data-testid": RENDER_REACTIONS_TESTID
|
|
279
301
|
}, !onlyRenderPicker && (shouldShowSummaryView ? jsx("div", {
|
|
280
302
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
@@ -8,18 +8,4 @@ import { css } from '@emotion/react';
|
|
|
8
8
|
export var reactionPickerStyle = css({
|
|
9
9
|
display: 'inline-block',
|
|
10
10
|
marginTop: "var(--ds-space-050, 4px)"
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
14
|
-
export var wrapperStyle = css({
|
|
15
|
-
display: 'flex',
|
|
16
|
-
flexWrap: 'wrap',
|
|
17
|
-
position: 'relative',
|
|
18
|
-
alignItems: 'center',
|
|
19
|
-
borderRadius: '15px',
|
|
20
|
-
marginTop: "var(--ds-space-negative-050, -4px)",
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
22
|
-
'> :first-of-type > :first-of-type': {
|
|
23
|
-
marginLeft: 0
|
|
24
|
-
}
|
|
25
11
|
});
|
|
@@ -146,6 +146,11 @@ export interface ReactionsProps extends Pick<ReactionPickerProps, 'allowAllEmoji
|
|
|
146
146
|
* Option prop for controlling the reaction picker selection style
|
|
147
147
|
*/
|
|
148
148
|
reactionPickerAdditionalStyle?: XCSS;
|
|
149
|
+
noWrap?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Optional prop for using your own container for relative positioning for emoji picker popup
|
|
152
|
+
*/
|
|
153
|
+
noRelativeContainer?: boolean;
|
|
149
154
|
}
|
|
150
155
|
export interface OpenReactionsDialogOptions {
|
|
151
156
|
emojiId?: string;
|
|
@@ -158,4 +163,4 @@ export declare function getTooltip(status: ReactionStatus, errorMessage?: string
|
|
|
158
163
|
/**
|
|
159
164
|
* Renders list of reactions
|
|
160
165
|
*/
|
|
161
|
-
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, showRoundTrigger, isViewOnly, reactionPickerAdditionalStyle, }: ReactionsProps) => jsx.JSX.Element>;
|
|
166
|
+
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, showRoundTrigger, isViewOnly, reactionPickerAdditionalStyle, noWrap, noRelativeContainer, }: ReactionsProps) => jsx.JSX.Element>;
|
|
@@ -146,6 +146,11 @@ export interface ReactionsProps extends Pick<ReactionPickerProps, 'allowAllEmoji
|
|
|
146
146
|
* Option prop for controlling the reaction picker selection style
|
|
147
147
|
*/
|
|
148
148
|
reactionPickerAdditionalStyle?: XCSS;
|
|
149
|
+
noWrap?: boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Optional prop for using your own container for relative positioning for emoji picker popup
|
|
152
|
+
*/
|
|
153
|
+
noRelativeContainer?: boolean;
|
|
149
154
|
}
|
|
150
155
|
export interface OpenReactionsDialogOptions {
|
|
151
156
|
emojiId?: string;
|
|
@@ -158,4 +163,4 @@ export declare function getTooltip(status: ReactionStatus, errorMessage?: string
|
|
|
158
163
|
/**
|
|
159
164
|
* Renders list of reactions
|
|
160
165
|
*/
|
|
161
|
-
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, showRoundTrigger, isViewOnly, reactionPickerAdditionalStyle, }: ReactionsProps) => jsx.JSX.Element>;
|
|
166
|
+
export declare const Reactions: React.MemoExoticComponent<({ flash, particleEffectByEmoji, status, errorMessage, loadReaction, quickReactionEmojis, pickerQuickReactionEmojiIds, getReactionDetails, onSelection, reactions, emojiProvider, allowAllEmojis, onReactionClick, allowUserDialog, onDialogOpenCallback, onDialogCloseCallback, onDialogSelectReactionCallback, onDialogPageChangeCallback, emojiPickerSize, miniMode, summaryViewEnabled, summaryViewThreshold, summaryViewPlacement, showOpaqueBackground, subtleReactionsSummaryAndPicker, showAddReactionText, hideDefaultReactions, ProfileCardWrapper, onlyRenderPicker, showRoundTrigger, isViewOnly, reactionPickerAdditionalStyle, noWrap, noRelativeContainer, }: ReactionsProps) => jsx.JSX.Element>;
|