@atlaskit/reactions 24.8.0 → 24.9.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 +9 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/ReactionDialog/ReactionView.js +21 -9
- package/dist/cjs/components/ReactionDialog/ReactionsDialog.js +19 -17
- package/dist/cjs/components/ReactionDialog/styles.js +1 -10
- package/dist/cjs/components/ReactionSummary/ReactionSummaryView.js +17 -10
- package/dist/cjs/components/Reactions/Reactions.js +34 -39
- package/dist/cjs/i18n/cs.js +0 -2
- package/dist/cjs/i18n/da.js +0 -2
- package/dist/cjs/i18n/de.js +0 -2
- package/dist/cjs/i18n/en.js +1 -2
- package/dist/cjs/i18n/en_GB.js +1 -2
- package/dist/cjs/i18n/en_ZZ.js +1 -2
- package/dist/cjs/i18n/es.js +0 -2
- package/dist/cjs/i18n/fi.js +0 -2
- package/dist/cjs/i18n/fr.js +0 -2
- package/dist/cjs/i18n/hu.js +0 -2
- package/dist/cjs/i18n/it.js +0 -2
- package/dist/cjs/i18n/ja.js +0 -2
- package/dist/cjs/i18n/ko.js +0 -2
- package/dist/cjs/i18n/nb.js +0 -2
- package/dist/cjs/i18n/nl.js +0 -2
- package/dist/cjs/i18n/pl.js +0 -2
- package/dist/cjs/i18n/pt_BR.js +0 -2
- package/dist/cjs/i18n/ru.js +0 -2
- package/dist/cjs/i18n/sv.js +0 -2
- package/dist/cjs/i18n/th.js +0 -2
- package/dist/cjs/i18n/tr.js +0 -2
- package/dist/cjs/i18n/uk.js +0 -2
- package/dist/cjs/i18n/vi.js +0 -2
- package/dist/cjs/i18n/zh.js +0 -2
- package/dist/cjs/i18n/zh_TW.js +0 -2
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/types/reaction.js +0 -5
- package/dist/cjs/ufo/index.js +7 -1
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/components/ReactionDialog/ReactionView.js +18 -8
- package/dist/es2019/components/ReactionDialog/ReactionsDialog.js +13 -11
- package/dist/es2019/components/ReactionDialog/styles.js +0 -9
- package/dist/es2019/components/ReactionSummary/ReactionSummaryView.js +12 -5
- package/dist/es2019/components/Reactions/Reactions.js +30 -40
- package/dist/es2019/i18n/cs.js +0 -2
- package/dist/es2019/i18n/da.js +0 -2
- package/dist/es2019/i18n/de.js +0 -2
- package/dist/es2019/i18n/en.js +1 -2
- package/dist/es2019/i18n/en_GB.js +1 -2
- package/dist/es2019/i18n/en_ZZ.js +1 -2
- package/dist/es2019/i18n/es.js +0 -2
- package/dist/es2019/i18n/fi.js +0 -2
- package/dist/es2019/i18n/fr.js +0 -2
- package/dist/es2019/i18n/hu.js +0 -2
- package/dist/es2019/i18n/it.js +0 -2
- package/dist/es2019/i18n/ja.js +0 -2
- package/dist/es2019/i18n/ko.js +0 -2
- package/dist/es2019/i18n/nb.js +0 -2
- package/dist/es2019/i18n/nl.js +0 -2
- package/dist/es2019/i18n/pl.js +0 -2
- package/dist/es2019/i18n/pt_BR.js +0 -2
- package/dist/es2019/i18n/ru.js +0 -2
- package/dist/es2019/i18n/sv.js +0 -2
- package/dist/es2019/i18n/th.js +0 -2
- package/dist/es2019/i18n/tr.js +0 -2
- package/dist/es2019/i18n/uk.js +0 -2
- package/dist/es2019/i18n/vi.js +0 -2
- package/dist/es2019/i18n/zh.js +0 -2
- package/dist/es2019/i18n/zh_TW.js +0 -2
- package/dist/es2019/index.js +2 -1
- package/dist/es2019/types/reaction.js +0 -6
- package/dist/es2019/ufo/index.js +6 -0
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/ReactionDialog/ReactionView.js +22 -10
- package/dist/esm/components/ReactionDialog/ReactionsDialog.js +19 -17
- package/dist/esm/components/ReactionDialog/styles.js +0 -9
- package/dist/esm/components/ReactionSummary/ReactionSummaryView.js +17 -10
- package/dist/esm/components/Reactions/Reactions.js +36 -40
- package/dist/esm/i18n/cs.js +0 -2
- package/dist/esm/i18n/da.js +0 -2
- package/dist/esm/i18n/de.js +0 -2
- package/dist/esm/i18n/en.js +1 -2
- package/dist/esm/i18n/en_GB.js +1 -2
- package/dist/esm/i18n/en_ZZ.js +1 -2
- package/dist/esm/i18n/es.js +0 -2
- package/dist/esm/i18n/fi.js +0 -2
- package/dist/esm/i18n/fr.js +0 -2
- package/dist/esm/i18n/hu.js +0 -2
- package/dist/esm/i18n/it.js +0 -2
- package/dist/esm/i18n/ja.js +0 -2
- package/dist/esm/i18n/ko.js +0 -2
- package/dist/esm/i18n/nb.js +0 -2
- package/dist/esm/i18n/nl.js +0 -2
- package/dist/esm/i18n/pl.js +0 -2
- package/dist/esm/i18n/pt_BR.js +0 -2
- package/dist/esm/i18n/ru.js +0 -2
- package/dist/esm/i18n/sv.js +0 -2
- package/dist/esm/i18n/th.js +0 -2
- package/dist/esm/i18n/tr.js +0 -2
- package/dist/esm/i18n/uk.js +0 -2
- package/dist/esm/i18n/vi.js +0 -2
- package/dist/esm/i18n/zh.js +0 -2
- package/dist/esm/i18n/zh_TW.js +0 -2
- package/dist/esm/index.js +2 -1
- package/dist/esm/types/reaction.js +0 -6
- package/dist/esm/ufo/index.js +6 -0
- package/dist/types/components/ReactionDialog/ReactionsDialog.d.ts +3 -3
- package/dist/types/components/ReactionDialog/styles.d.ts +0 -1
- package/dist/types/components/Reactions/Reactions.d.ts +10 -5
- package/dist/types/i18n/cs.d.ts +0 -2
- package/dist/types/i18n/da.d.ts +0 -2
- package/dist/types/i18n/de.d.ts +0 -2
- package/dist/types/i18n/en.d.ts +0 -1
- package/dist/types/i18n/en_GB.d.ts +0 -1
- package/dist/types/i18n/en_ZZ.d.ts +0 -1
- package/dist/types/i18n/es.d.ts +0 -2
- package/dist/types/i18n/fi.d.ts +0 -2
- package/dist/types/i18n/fr.d.ts +0 -2
- package/dist/types/i18n/hu.d.ts +0 -2
- package/dist/types/i18n/it.d.ts +0 -2
- package/dist/types/i18n/ja.d.ts +0 -2
- package/dist/types/i18n/ko.d.ts +0 -2
- package/dist/types/i18n/nb.d.ts +0 -2
- package/dist/types/i18n/nl.d.ts +0 -2
- package/dist/types/i18n/pl.d.ts +0 -2
- package/dist/types/i18n/pt_BR.d.ts +0 -2
- package/dist/types/i18n/ru.d.ts +0 -2
- package/dist/types/i18n/sv.d.ts +0 -2
- package/dist/types/i18n/th.d.ts +0 -2
- package/dist/types/i18n/tr.d.ts +0 -2
- package/dist/types/i18n/uk.d.ts +0 -2
- package/dist/types/i18n/vi.d.ts +0 -2
- package/dist/types/i18n/zh.d.ts +0 -2
- package/dist/types/i18n/zh_TW.d.ts +0 -2
- package/dist/types/index.d.ts +2 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/reaction.d.ts +0 -7
- package/dist/types/ufo/index.d.ts +6 -1
- package/dist/types-ts4.5/components/ReactionDialog/ReactionsDialog.d.ts +3 -3
- package/dist/types-ts4.5/components/ReactionDialog/styles.d.ts +0 -1
- package/dist/types-ts4.5/components/Reactions/Reactions.d.ts +10 -5
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -2
- package/dist/types-ts4.5/i18n/da.d.ts +0 -2
- package/dist/types-ts4.5/i18n/de.d.ts +0 -2
- package/dist/types-ts4.5/i18n/en.d.ts +0 -1
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -1
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -1
- package/dist/types-ts4.5/i18n/es.d.ts +0 -2
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -2
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -2
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -2
- package/dist/types-ts4.5/i18n/it.d.ts +0 -2
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -2
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -2
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -2
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -2
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -2
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -2
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -2
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -2
- package/dist/types-ts4.5/i18n/th.d.ts +0 -2
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -2
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -2
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -2
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -2
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -2
- package/dist/types-ts4.5/index.d.ts +2 -1
- package/dist/types-ts4.5/types/index.d.ts +1 -1
- package/dist/types-ts4.5/types/reaction.d.ts +0 -7
- package/dist/types-ts4.5/ufo/index.d.ts +6 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
2
|
/**
|
|
4
3
|
* @jsxRuntime classic
|
|
@@ -53,6 +52,16 @@ export var ReactionsDialog = function ReactionsDialog(_ref) {
|
|
|
53
52
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
54
53
|
reactionsContainerRef = _useState4[0],
|
|
55
54
|
setReactionsContainerRef = _useState4[1];
|
|
55
|
+
|
|
56
|
+
// prevents accidental triggering of handlePaginationChange on initial load
|
|
57
|
+
var _useState5 = useState(false),
|
|
58
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
59
|
+
hasNavigatedPages = _useState6[0],
|
|
60
|
+
setHasNavigatedPages = _useState6[1];
|
|
61
|
+
var _useState7 = useState(1),
|
|
62
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
63
|
+
currentPage = _useState8[0],
|
|
64
|
+
setCurrentPage = _useState8[1];
|
|
56
65
|
var reactionElementsRef = useRef();
|
|
57
66
|
var observerRef = useRef();
|
|
58
67
|
var intl = useIntl();
|
|
@@ -62,38 +71,31 @@ export var ReactionsDialog = function ReactionsDialog(_ref) {
|
|
|
62
71
|
return accum += current === null || current === void 0 ? void 0 : current.count;
|
|
63
72
|
}, 0);
|
|
64
73
|
}, [reactions]);
|
|
65
|
-
var sortedReactions = useMemo(function () {
|
|
66
|
-
return _toConsumableArray(reactions).sort(function (a, b) {
|
|
67
|
-
return (b === null || b === void 0 ? void 0 : b.count) - (a === null || a === void 0 ? void 0 : a.count);
|
|
68
|
-
});
|
|
69
|
-
}, [reactions]);
|
|
70
74
|
var maxPages = Math.max(1, Math.ceil(reactions.length / NUMBER_OF_REACTIONS_TO_DISPLAY));
|
|
71
|
-
var _useState5 = useState(1),
|
|
72
|
-
_useState6 = _slicedToArray(_useState5, 2),
|
|
73
|
-
currentPage = _useState6[0],
|
|
74
|
-
setCurrentPage = _useState6[1];
|
|
75
75
|
var currentReactions = useMemo(function () {
|
|
76
76
|
var start = (currentPage - 1) * NUMBER_OF_REACTIONS_TO_DISPLAY;
|
|
77
77
|
var end = start + NUMBER_OF_REACTIONS_TO_DISPLAY;
|
|
78
|
-
return
|
|
79
|
-
}, [
|
|
78
|
+
return reactions.slice(start, end);
|
|
79
|
+
}, [reactions, currentPage]);
|
|
80
80
|
var handleNextPage = function handleNextPage() {
|
|
81
81
|
setCurrentPage(function (prevPage) {
|
|
82
82
|
return Math.min(prevPage + 1, maxPages);
|
|
83
83
|
});
|
|
84
|
+
setHasNavigatedPages(true);
|
|
84
85
|
};
|
|
85
86
|
var handlePreviousPage = function handlePreviousPage() {
|
|
86
87
|
setCurrentPage(function (prevPage) {
|
|
87
88
|
return Math.max(prevPage - 1, 1);
|
|
88
89
|
});
|
|
90
|
+
setHasNavigatedPages(true);
|
|
89
91
|
};
|
|
90
92
|
var firstEmojiOnPage = (_currentReactions$ = currentReactions[0]) === null || _currentReactions$ === void 0 ? void 0 : _currentReactions$.emojiId;
|
|
91
93
|
useEffect(function () {
|
|
92
94
|
// trigger the handler with the first emoji when the page changes
|
|
93
|
-
if (firstEmojiOnPage) {
|
|
94
|
-
handlePaginationChange(firstEmojiOnPage);
|
|
95
|
+
if (hasNavigatedPages && firstEmojiOnPage) {
|
|
96
|
+
handlePaginationChange(firstEmojiOnPage, currentPage, maxPages);
|
|
95
97
|
}
|
|
96
|
-
}, [currentPage, firstEmojiOnPage, handlePaginationChange]);
|
|
98
|
+
}, [hasNavigatedPages, currentPage, maxPages, firstEmojiOnPage, handlePaginationChange]);
|
|
97
99
|
|
|
98
100
|
/* set Reactions Border Width , 8 Number of reactions to display*/
|
|
99
101
|
var reactionsBorderWidth = useMemo(function () {
|
|
@@ -168,12 +170,12 @@ export var ReactionsDialog = function ReactionsDialog(_ref) {
|
|
|
168
170
|
var selectedIndex = currentReactions.findIndex(function (reaction) {
|
|
169
171
|
return reaction.emojiId === selectedEmojiId;
|
|
170
172
|
});
|
|
171
|
-
var onTabChange = useCallback(function (index
|
|
173
|
+
var onTabChange = useCallback(function (index) {
|
|
172
174
|
if (index === selectedIndex) {
|
|
173
175
|
return;
|
|
174
176
|
}
|
|
175
177
|
var emojiId = currentReactions[index].emojiId;
|
|
176
|
-
handleSelectReaction(emojiId
|
|
178
|
+
handleSelectReaction(emojiId);
|
|
177
179
|
}, [selectedIndex, currentReactions, handleSelectReaction]);
|
|
178
180
|
return jsx(Modal, {
|
|
179
181
|
onClose: handleCloseReactionsDialog,
|
|
@@ -76,13 +76,4 @@ export var customTabListStyles = css({
|
|
|
76
76
|
// paddingInline exists to maintain styling prior to @atlaskit/tabs update that removed baked in horizontal padding
|
|
77
77
|
paddingInline: "var(--ds-space-100, 8px)"
|
|
78
78
|
}
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
82
|
-
export var centerSpinner = css({
|
|
83
|
-
display: 'flex',
|
|
84
|
-
justifyContent: 'center',
|
|
85
|
-
alignItems: 'center',
|
|
86
|
-
height: '100%',
|
|
87
|
-
marginTop: "var(--ds-space-300, 24px)"
|
|
88
79
|
});
|
|
@@ -5,6 +5,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
5
5
|
import Popup from '@atlaskit/popup';
|
|
6
6
|
import { Box, Inline, Text, xcss } from '@atlaskit/primitives';
|
|
7
7
|
import Button from '@atlaskit/button/new';
|
|
8
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
8
9
|
import { Reaction } from '../Reaction';
|
|
9
10
|
import { ReactionSummaryButton } from './ReactionSummaryButton';
|
|
10
11
|
import { messages } from '../../shared/i18n';
|
|
@@ -72,16 +73,22 @@ export var ReactionSummaryView = function ReactionSummaryView(_ref) {
|
|
|
72
73
|
});
|
|
73
74
|
}), allowUserDialog && /*#__PURE__*/React.createElement(Box, {
|
|
74
75
|
xcss: viewAllButtonStyling
|
|
75
|
-
}, /*#__PURE__*/React.createElement(
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
76
|
+
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
77
|
+
content: /*#__PURE__*/React.createElement(FormattedMessage, messages.seeWhoReactedTooltip),
|
|
78
|
+
hideTooltipOnClick: true
|
|
79
|
+
}, function (tooltipProps) {
|
|
80
|
+
return /*#__PURE__*/React.createElement(Button, _extends({}, tooltipProps, {
|
|
81
|
+
appearance: "subtle",
|
|
82
|
+
spacing: "compact",
|
|
83
|
+
onClick: function onClick() {
|
|
84
|
+
handlePopupClose();
|
|
85
|
+
handleOpenReactionsDialog === null || handleOpenReactionsDialog === void 0 || handleOpenReactionsDialog(reactions[0].emojiId);
|
|
86
|
+
}
|
|
87
|
+
}), /*#__PURE__*/React.createElement(Text, {
|
|
88
|
+
color: "color.text.subtlest",
|
|
89
|
+
weight: "medium"
|
|
90
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.seeWhoReacted)));
|
|
91
|
+
})));
|
|
85
92
|
},
|
|
86
93
|
isOpen: isSummaryPopupOpen,
|
|
87
94
|
onClose: handlePopupClose,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
4
|
/**
|
|
4
5
|
* @jsxRuntime classic
|
|
@@ -12,28 +13,25 @@ import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
|
12
13
|
import { ModalTransition } from '@atlaskit/modal-dialog';
|
|
13
14
|
import Button from '@atlaskit/button/new';
|
|
14
15
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
|
-
import { Box
|
|
16
|
+
import { Box } from '@atlaskit/primitives';
|
|
16
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
17
18
|
import { createAndFireSafe, createPickerButtonClickedEvent, createPickerCancelledEvent, createPickerMoreClickedEvent, createReactionsRenderedEvent, createReactionSelectionEvent, isSampled } from '../../analytics';
|
|
18
19
|
import { SAMPLING_RATE_REACTIONS_RENDERED_EXP } from '../../shared/constants';
|
|
19
20
|
import { messages } from '../../shared/i18n';
|
|
20
21
|
import { ReactionStatus } from '../../types';
|
|
21
|
-
import { ReactionDialogClosed, ReactionDialogOpened, ReactionDialogSelectedReactionChanged } from '../../ufo';
|
|
22
|
+
import { ReactionDialogClosed, ReactionDialogOpened, ReactionDialogSelectedReactionChanged, ReactionDialogPageNavigation } from '../../ufo';
|
|
22
23
|
import { Reaction } from '../Reaction';
|
|
23
24
|
import { ReactionsDialog } from '../ReactionDialog';
|
|
24
25
|
import { ReactionPicker } from '../ReactionPicker';
|
|
25
26
|
import { ReactionSummaryView } from '../ReactionSummary/';
|
|
26
27
|
import { reactionPickerStyle, wrapperStyle } from './styles';
|
|
27
|
-
var tooltipStyle = xcss({
|
|
28
|
-
paddingLeft: 'space.050'
|
|
29
|
-
});
|
|
30
28
|
|
|
31
29
|
/**
|
|
32
|
-
* Set of all available UFO experiences relating to
|
|
30
|
+
* Set of all available UFO experiences relating to Reactions Dialog
|
|
33
31
|
*/
|
|
34
32
|
export var ufoExperiences = {
|
|
35
33
|
/**
|
|
36
|
-
*
|
|
34
|
+
* Experience when a reaction dialog is opened
|
|
37
35
|
*/
|
|
38
36
|
openDialog: ReactionDialogOpened,
|
|
39
37
|
/**
|
|
@@ -43,7 +41,8 @@ export var ufoExperiences = {
|
|
|
43
41
|
/**
|
|
44
42
|
* Experience when a reaction changed/fetched from inside the modal dialog
|
|
45
43
|
*/
|
|
46
|
-
selectedReactionChangeInsideDialog: ReactionDialogSelectedReactionChanged
|
|
44
|
+
selectedReactionChangeInsideDialog: ReactionDialogSelectedReactionChanged,
|
|
45
|
+
pageNavigated: ReactionDialogPageNavigation
|
|
47
46
|
};
|
|
48
47
|
|
|
49
48
|
/**
|
|
@@ -107,6 +106,8 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
107
106
|
onDialogCloseCallback = _ref$onDialogCloseCal === void 0 ? function () {} : _ref$onDialogCloseCal,
|
|
108
107
|
_ref$onDialogSelectRe = _ref.onDialogSelectReactionCallback,
|
|
109
108
|
onDialogSelectReactionCallback = _ref$onDialogSelectRe === void 0 ? function () {} : _ref$onDialogSelectRe,
|
|
109
|
+
_ref$onDialogPageChan = _ref.onDialogPageChangeCallback,
|
|
110
|
+
onDialogPageChangeCallback = _ref$onDialogPageChan === void 0 ? function () {} : _ref$onDialogPageChan,
|
|
110
111
|
_ref$emojiPickerSize = _ref.emojiPickerSize,
|
|
111
112
|
emojiPickerSize = _ref$emojiPickerSize === void 0 ? 'medium' : _ref$emojiPickerSize,
|
|
112
113
|
_ref$miniMode = _ref.miniMode,
|
|
@@ -178,31 +179,12 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
178
179
|
}, [createAnalyticsEvent, onSelection, reactions]);
|
|
179
180
|
|
|
180
181
|
/**
|
|
181
|
-
* event handler to open selected reaction
|
|
182
|
+
* event handler to open dialog with selected reaction
|
|
182
183
|
* @param emojiId selected emoji id
|
|
183
184
|
*/
|
|
184
185
|
var handleOpenReactionsDialog = function handleOpenReactionsDialog(emojiId) {
|
|
185
186
|
// ufo start opening reaction dialog
|
|
186
187
|
ufoExperiences.openDialog.start();
|
|
187
|
-
setSelectedEmojiId(emojiId);
|
|
188
|
-
onDialogOpenCallback(emojiId, 'tooltip');
|
|
189
|
-
// ufo opening reaction dialog success
|
|
190
|
-
ufoExperiences.openDialog.success({
|
|
191
|
-
metadata: {
|
|
192
|
-
emojiId: emojiId,
|
|
193
|
-
source: 'Reactions',
|
|
194
|
-
reason: 'Opening dialog from emoji tooltip link successfully'
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
};
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* Event handler to oepn all reactions link button
|
|
201
|
-
*/
|
|
202
|
-
var handleOpenAllReactionsDialog = function handleOpenAllReactionsDialog() {
|
|
203
|
-
// ufo start opening reaction dialog
|
|
204
|
-
ufoExperiences.openDialog.start();
|
|
205
|
-
var emojiId = reactions[0].emojiId;
|
|
206
188
|
getReactionDetails(emojiId);
|
|
207
189
|
setSelectedEmojiId(emojiId);
|
|
208
190
|
onDialogOpenCallback(emojiId, 'button');
|
|
@@ -212,7 +194,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
212
194
|
metadata: {
|
|
213
195
|
emojiId: emojiId,
|
|
214
196
|
source: 'Reactions',
|
|
215
|
-
reason: 'Opening
|
|
197
|
+
reason: 'Opening Reactions Dialog successfully'
|
|
216
198
|
}
|
|
217
199
|
});
|
|
218
200
|
};
|
|
@@ -230,14 +212,12 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
230
212
|
}
|
|
231
213
|
});
|
|
232
214
|
};
|
|
233
|
-
var handleSelectReactionInDialog = function handleSelectReactionInDialog(emojiId
|
|
215
|
+
var handleSelectReactionInDialog = function handleSelectReactionInDialog(emojiId) {
|
|
234
216
|
// ufo selected reaction inside the modal dialog
|
|
235
217
|
ufoExperiences.selectedReactionChangeInsideDialog.start();
|
|
236
218
|
handleReactionMouseEnter(emojiId);
|
|
237
219
|
setSelectedEmojiId(emojiId);
|
|
238
|
-
|
|
239
|
-
onDialogSelectReactionCallback(emojiId, analyticsEvent);
|
|
240
|
-
}
|
|
220
|
+
onDialogSelectReactionCallback(emojiId);
|
|
241
221
|
|
|
242
222
|
// ufo selected reaction inside the modal dialog success
|
|
243
223
|
ufoExperiences.selectedReactionChangeInsideDialog.success({
|
|
@@ -248,9 +228,20 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
248
228
|
}
|
|
249
229
|
});
|
|
250
230
|
};
|
|
251
|
-
var handlePaginationChange = useCallback(function (emojiId) {
|
|
231
|
+
var handlePaginationChange = useCallback(function (emojiId, currentPage, maxPages) {
|
|
232
|
+
ufoExperiences.pageNavigated.start();
|
|
233
|
+
|
|
234
|
+
// fetch the latest active emoji from the new page
|
|
252
235
|
getReactionDetails(emojiId);
|
|
253
236
|
setSelectedEmojiId(emojiId);
|
|
237
|
+
onDialogPageChangeCallback(emojiId, currentPage, maxPages);
|
|
238
|
+
ufoExperiences.pageNavigated.success({
|
|
239
|
+
metadata: {
|
|
240
|
+
emojiId: emojiId,
|
|
241
|
+
source: 'Reactions Dialog',
|
|
242
|
+
reason: 'Navigated to new page'
|
|
243
|
+
}
|
|
244
|
+
});
|
|
254
245
|
},
|
|
255
246
|
// Exclude unstable getReactionDetails to avoid extra re-renders
|
|
256
247
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -293,6 +284,11 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
293
284
|
var hasEmojiWithFivePlusReactions = reactions.some(function (reaction) {
|
|
294
285
|
return reaction.count >= 5;
|
|
295
286
|
});
|
|
287
|
+
var sortedReactions = useMemo(function () {
|
|
288
|
+
return _toConsumableArray(memorizedReactions).sort(function (a, b) {
|
|
289
|
+
return (b === null || b === void 0 ? void 0 : b.count) - (a === null || a === void 0 ? void 0 : a.count);
|
|
290
|
+
});
|
|
291
|
+
}, [memorizedReactions]);
|
|
296
292
|
return (
|
|
297
293
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
298
294
|
jsx("div", {
|
|
@@ -301,7 +297,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
301
297
|
}, shouldShowSummaryView ? jsx("div", {
|
|
302
298
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
303
299
|
}, jsx(ReactionSummaryView, {
|
|
304
|
-
reactions:
|
|
300
|
+
reactions: sortedReactions,
|
|
305
301
|
emojiProvider: emojiProvider,
|
|
306
302
|
flash: flash,
|
|
307
303
|
particleEffectByEmoji: particleEffectByEmoji,
|
|
@@ -343,21 +339,21 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
343
339
|
showOpaqueBackground: showOpaqueBackground,
|
|
344
340
|
showAddReactionText: showAddReactionText,
|
|
345
341
|
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker
|
|
346
|
-
}), allowUserDialog && hasEmojiWithFivePlusReactions && !shouldShowSummaryView && jsx(Box, {
|
|
347
|
-
xcss: tooltipStyle
|
|
348
|
-
}, jsx(Tooltip, {
|
|
342
|
+
}), allowUserDialog && hasEmojiWithFivePlusReactions && !shouldShowSummaryView && jsx(Box, null, jsx(Tooltip, {
|
|
349
343
|
content: jsx(FormattedMessage, messages.seeWhoReactedTooltip),
|
|
350
344
|
hideTooltipOnClick: true
|
|
351
345
|
}, function (tooltipProps) {
|
|
352
346
|
return jsx(Button, _extends({}, tooltipProps, {
|
|
353
347
|
appearance: "subtle",
|
|
354
348
|
spacing: "compact",
|
|
355
|
-
onClick:
|
|
349
|
+
onClick: function onClick() {
|
|
350
|
+
return handleOpenReactionsDialog(sortedReactions[0].emojiId);
|
|
351
|
+
},
|
|
356
352
|
testId: RENDER_VIEWALL_REACTED_USERS_DIALOG
|
|
357
353
|
}), jsx(FormattedMessage, messages.seeWhoReacted));
|
|
358
354
|
})), jsx(ModalTransition, null, !!selectedEmojiId && jsx(ReactionsDialog, {
|
|
359
355
|
selectedEmojiId: selectedEmojiId,
|
|
360
|
-
reactions:
|
|
356
|
+
reactions: sortedReactions,
|
|
361
357
|
emojiProvider: emojiProvider,
|
|
362
358
|
handleCloseReactionsDialog: handleCloseReactionsDialog,
|
|
363
359
|
handleSelectReaction: handleSelectReactionInDialog,
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reakce jsou dočasně nedostupné.',
|
|
12
12
|
'fabric.reactions.loading': 'Načítání...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Více smajlíků',
|
|
14
|
-
'fabric.reactions.more.info': 'Další informace',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {a jeden další} few {a {count} další} many {a {count} dalšího} other {a {count} dalších}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reagovat pomocí smajlíku {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Zobrazit všechny reakce uživatelů',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Navigace doleva',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Lidé, kteří reagovali smajlíkem {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reakce} few {{count,number} reakce} many {{count,number} reakce} other {{count,number} reakcí}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Navigace doprava',
|
|
25
23
|
'reactions.dialog.viewall': 'Zobrazit vše',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Zobrazit všechny reakce uživatelů'
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reaktioner er midlertidigt utilgængelige',
|
|
12
12
|
'fabric.reactions.loading': 'Indlæser ...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Flere emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'Flere oplysninger',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {og én anden} other {og {count} andre}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reager med emojien {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Se alle brugerreaktioner',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Navigation til venstre',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Personer der reagerede med {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reaktion} other {{count,number} reaktioner}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Navigation til højre',
|
|
25
23
|
'reactions.dialog.viewall': 'Vis alle',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Se alle brugerreaktioner'
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reaktionen sind vorübergehend nicht verfügbar.',
|
|
12
12
|
'fabric.reactions.loading': 'Wird geladen...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Mehr Emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'Weitere Informationen',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {und ein weiterer} other {und {count} weitere}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Mit {emoji}-Emoji reagieren',
|
|
17
16
|
'fabric.reactions.summary': 'Alle Benutzerreaktionen anzeigen',
|
|
@@ -19,7 +18,6 @@ export default {
|
|
|
19
18
|
'reactions.dialog.close': 'Schließen',
|
|
20
19
|
'reactions.dialog.left.navigate': 'Nach links navigieren',
|
|
21
20
|
'reactions.dialog.people-who-reacted.subheader': 'Personen, die mit {emojiShortName} reagiert haben',
|
|
22
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} Reaktion} other {{count,number} Reaktionen}}',
|
|
23
21
|
'reactions.dialog.right.navigate': 'Nach rechts navigieren',
|
|
24
22
|
'reactions.dialog.viewall': 'Alle anzeigen',
|
|
25
23
|
'reactions.dialog.viewall.tooltip': 'Alle Benutzerreaktionen anzeigen'
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reactions are temporarily unavailable',
|
|
12
12
|
'fabric.reactions.loading': 'Loading...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'More emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'More info',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {and one other} other {and {count} others}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'React with {emoji} emoji',
|
|
17
16
|
'fabric.reactions.summary': 'View all user reactions',
|
|
@@ -20,7 +19,7 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Left Navigate',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'People who reacted with {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {# reaction} other {# reactions} }',
|
|
22
|
+
'reactions.dialog.reactions.count': '{count, plural, one {# total reaction} other {# total reactions} }',
|
|
24
23
|
'reactions.dialog.right.navigate': 'Right Navigate',
|
|
25
24
|
'reactions.dialog.viewall': 'View all',
|
|
26
25
|
'reactions.dialog.viewall.tooltip': 'View all user reactions'
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reactions are temporarily unavailable',
|
|
12
12
|
'fabric.reactions.loading': 'Loading...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'More emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'More info',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {and one other} other {and {count} others}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'React with {emoji} emoji',
|
|
17
16
|
'fabric.reactions.summary': 'View all user reactions',
|
|
@@ -20,7 +19,7 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Left Navigate',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'People who reacted with {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {# reaction} other {# reactions} }',
|
|
22
|
+
'reactions.dialog.reactions.count': '{count, plural, one {# total reaction} other {# total reactions} }',
|
|
24
23
|
'reactions.dialog.right.navigate': 'Right Navigate',
|
|
25
24
|
'reactions.dialog.viewall': 'View all',
|
|
26
25
|
'reactions.dialog.viewall.tooltip': 'View all user reactions'
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reactions are temporarily unavailable',
|
|
12
12
|
'fabric.reactions.loading': 'Loading...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'More emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'More info',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {and one other} other {and {count} others}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'React with {emoji} emoji',
|
|
17
16
|
'fabric.reactions.summary': 'View all user reactions',
|
|
@@ -20,7 +19,7 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Left Navigate',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'People who reacted with {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reaction
|
|
22
|
+
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} total reaction} other {{count,number} total reactions}}',
|
|
24
23
|
'reactions.dialog.right.navigate': 'Right Navigate',
|
|
25
24
|
'reactions.dialog.viewall': 'View all',
|
|
26
25
|
'reactions.dialog.viewall.tooltip': 'View all user reactions'
|
package/dist/esm/i18n/es.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Las reacciones no están disponibles temporalmente',
|
|
12
12
|
'fabric.reactions.loading': 'Cargando...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Más emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'Más información',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {y 1 más} other {y {count} más}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reaccionar con el emoticono {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Ver todas las reacciones de los usuarios',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Desplazarse hacia la izquierda',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Personas que han reaccionado con {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reacción} other {{count,number} reacciones}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Desplazarse hacia la derecha',
|
|
25
23
|
'reactions.dialog.viewall': 'Ver todo',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Ver todas las reacciones de los usuarios'
|
package/dist/esm/i18n/fi.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reaktiot ovat väliaikaisesti poissa käytöstä',
|
|
12
12
|
'fabric.reactions.loading': 'Ladataan...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Lisää emojeita',
|
|
14
|
-
'fabric.reactions.more.info': 'Lisätietoja',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {ja yksi muu} other {ja {count} muuta}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reagoi emojilla {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Näytä kaikki käyttäjäreaktiot',
|
|
@@ -19,7 +18,6 @@ export default {
|
|
|
19
18
|
'reactions.dialog.close': 'Sulje',
|
|
20
19
|
'reactions.dialog.left.navigate': 'Navigointi vasemmalle',
|
|
21
20
|
'reactions.dialog.people-who-reacted.subheader': 'Henkilöt, jotka reagoivat emojilla {emojiShortName}',
|
|
22
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reaktio} other {{count,number} reaktiota}}',
|
|
23
21
|
'reactions.dialog.right.navigate': 'Navigointi oikealle',
|
|
24
22
|
'reactions.dialog.viewall': 'Näytä kaikki',
|
|
25
23
|
'reactions.dialog.viewall.tooltip': 'Näytä kaikki käyttäjäreaktiot'
|
package/dist/esm/i18n/fr.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Les réactions sont temporairement indisponibles',
|
|
12
12
|
'fabric.reactions.loading': 'Chargement…',
|
|
13
13
|
'fabric.reactions.more.emojis': "Plus d'émoticônes",
|
|
14
|
-
'fabric.reactions.more.info': "Plus d'infos",
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {et 1 autre} other {et {count} autres}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': "Réagir avec l'émoticône {emoji}",
|
|
17
16
|
'fabric.reactions.summary': 'Afficher toutes les réactions des utilisateurs',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Naviguer vers la gauche',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Personnes qui ont réagi par {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} réaction} other {{count,number} réactions}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Naviguer vers la droite',
|
|
25
23
|
'reactions.dialog.viewall': 'Afficher tout',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Afficher toutes les réactions des utilisateurs'
|
package/dist/esm/i18n/hu.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'A reakciók átmenetileg nem érhetők el.',
|
|
12
12
|
'fabric.reactions.loading': 'Betöltés...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Még több emoji',
|
|
14
|
-
'fabric.reactions.more.info': 'További információ',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {és egy másik} other {és {count} másik}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reagálás {emoji} emojival',
|
|
17
16
|
'fabric.reactions.summary': 'Minden felhasználói reakció megtekintése',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Balra navigálás',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'A következővel reagáló felhasználók: {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reakció} other {{count,number} reakció}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Jobbra navigálás',
|
|
25
23
|
'reactions.dialog.viewall': 'Összes megtekintése',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Minden felhasználói reakció megtekintése'
|
package/dist/esm/i18n/it.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Le reazioni non sono temporaneamente disponibili',
|
|
12
12
|
'fabric.reactions.loading': 'Caricamento in corso...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Altre emoji',
|
|
14
|
-
'fabric.reactions.more.info': 'Altre informazioni',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {e un altro} other {e altri {count}}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': "Reagisci con l'emoji {emoji}",
|
|
17
16
|
'fabric.reactions.summary': 'Visualizza tutte le reazioni degli utenti',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Navigazione a sinistra',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Persone che hanno reagito con {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reazione} other {{count,number} reazioni}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Navigazione a destra',
|
|
25
23
|
'reactions.dialog.viewall': 'Visualizza tutto',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Visualizza tutte le reazioni degli utenti'
|
package/dist/esm/i18n/ja.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'リアクションは一時的に利用できません。',
|
|
12
12
|
'fabric.reactions.loading': '読み込んでいます...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'その他の絵文字',
|
|
14
|
-
'fabric.reactions.more.info': '詳細',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, other {、他 {count} 人}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': '絵文字 {emoji} でリアクション',
|
|
17
16
|
'fabric.reactions.summary': 'ユーザーによるすべてのリアクションを表示',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': '左に移動',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': '{emojiShortName} でリアクションしたユーザー',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, other {{count,number} 件のリアクション}}',
|
|
24
22
|
'reactions.dialog.right.navigate': '右に移動',
|
|
25
23
|
'reactions.dialog.viewall': 'すべて表示',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'ユーザーによるすべてのリアクションを表示'
|
package/dist/esm/i18n/ko.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': '반응을 일시적으로 사용할 수 없습니다',
|
|
12
12
|
'fabric.reactions.loading': '로드 중…',
|
|
13
13
|
'fabric.reactions.more.emojis': '이모지 더 보기',
|
|
14
|
-
'fabric.reactions.more.info': '자세한 정보',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, other {및 그 외 {count}명}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': '{emoji} 이모지로 반응',
|
|
17
16
|
'fabric.reactions.summary': '사용자 반응 모두 보기',
|
|
@@ -19,7 +18,6 @@ export default {
|
|
|
19
18
|
'reactions.dialog.close': '닫기',
|
|
20
19
|
'reactions.dialog.left.navigate': '왼쪽 탐색',
|
|
21
20
|
'reactions.dialog.people-who-reacted.subheader': '{emojiShortName} 이모지로 반응한 사용자',
|
|
22
|
-
'reactions.dialog.reactions.count': '{count, plural, other {반응 {count,number}개}}',
|
|
23
21
|
'reactions.dialog.right.navigate': '오른쪽 탐색',
|
|
24
22
|
'reactions.dialog.viewall': '모두 보기',
|
|
25
23
|
'reactions.dialog.viewall.tooltip': '사용자 반응 모두 보기'
|
package/dist/esm/i18n/nb.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reaksjoner er midlertidig utilgjengelige',
|
|
12
12
|
'fabric.reactions.loading': 'Laster inn …',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Flere emojier',
|
|
14
|
-
'fabric.reactions.more.info': 'Mer informasjon',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {og én annen} other {og {count} andre}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reager med emojien {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Se alle brukerreaksjoner',
|
|
@@ -19,7 +18,6 @@ export default {
|
|
|
19
18
|
'reactions.dialog.close': 'Lukk',
|
|
20
19
|
'reactions.dialog.left.navigate': 'Naviger til venstre',
|
|
21
20
|
'reactions.dialog.people-who-reacted.subheader': 'Personer som reagerte med {emojiShortName}',
|
|
22
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reaksjon} other {{count,number} reaksjoner}}',
|
|
23
21
|
'reactions.dialog.right.navigate': 'Naviger til høyre',
|
|
24
22
|
'reactions.dialog.viewall': 'Vis alle',
|
|
25
23
|
'reactions.dialog.viewall.tooltip': 'Se alle brukerreaksjoner'
|
package/dist/esm/i18n/nl.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reacties zijn tijdelijk niet beschikbaar',
|
|
12
12
|
'fabric.reactions.loading': 'Bezig met laden…',
|
|
13
13
|
'fabric.reactions.more.emojis': "Meer emoji's",
|
|
14
|
-
'fabric.reactions.more.info': 'Meer info',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {en één andere} other {en {count} andere}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reageren met emoticon {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Alle reacties van gebruikers bekijken',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Navigeer naar links',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Mensen die {emojiShortName} hebben gereageerd',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reactie} other {{count,number} reacties}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Navigeer naar rechts',
|
|
25
23
|
'reactions.dialog.viewall': 'Alles bekijken',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Alle reacties van gebruikers bekijken'
|
package/dist/esm/i18n/pl.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Reakcje są tymczasowo niedostępne',
|
|
12
12
|
'fabric.reactions.loading': 'Ładowanie...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Więcej emoji',
|
|
14
|
-
'fabric.reactions.more.info': 'Więcej informacji',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {i jeszcze 1} few {i jeszcze {count}} many {i jeszcze {count}} other {i jeszcze {count}}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Zareaguj za pomocą emoji {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Wyświetl wszystkie reakcje użytkowników',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Przejdź w lewo',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Osoby, które zareagowały, przesyłając emoji {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reakcja} few {{count,number} reakcje} many {{count,number} reakcji} other {{count,number} reakcji}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Przejdź w prawo',
|
|
25
23
|
'reactions.dialog.viewall': 'Wyświetl wszystkich',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Wyświetl wszystkie reakcje użytkowników'
|
package/dist/esm/i18n/pt_BR.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'As reações estão indisponíveis no momento',
|
|
12
12
|
'fabric.reactions.loading': 'Carregando...',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Mais emojis',
|
|
14
|
-
'fabric.reactions.more.info': 'Mais informações',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {e mais um} other {e mais {count}}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Reaja com um emoji {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Veja todas as reações de usuários',
|
|
@@ -20,7 +19,6 @@ export default {
|
|
|
20
19
|
'reactions.dialog.emoji.name': '{emojiName}',
|
|
21
20
|
'reactions.dialog.left.navigate': 'Navegar para a esquerda',
|
|
22
21
|
'reactions.dialog.people-who-reacted.subheader': 'Pessoas que reagiram com {emojiShortName}',
|
|
23
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reação} other {{count,number} reações}}',
|
|
24
22
|
'reactions.dialog.right.navigate': 'Navegar para a direita',
|
|
25
23
|
'reactions.dialog.viewall': 'Ver tudo',
|
|
26
24
|
'reactions.dialog.viewall.tooltip': 'Veja todas as reações de usuários'
|
package/dist/esm/i18n/ru.js
CHANGED
|
@@ -11,7 +11,6 @@ export default {
|
|
|
11
11
|
'fabric.reactions.error.unexpected': 'Реакции временно недоступны',
|
|
12
12
|
'fabric.reactions.loading': 'Загрузка…',
|
|
13
13
|
'fabric.reactions.more.emojis': 'Другие эмодзи',
|
|
14
|
-
'fabric.reactions.more.info': 'Подробнее',
|
|
15
14
|
'fabric.reactions.other.reacted.users': '{count, plural, one {и еще один} few {и еще {count}} many {и еще {count}} other {и еще {count}}}',
|
|
16
15
|
'fabric.reactions.reactwithemoji': 'Отреагировать с помощью эмодзи {emoji}',
|
|
17
16
|
'fabric.reactions.summary': 'Посмотреть все реакции пользователей',
|
|
@@ -19,7 +18,6 @@ export default {
|
|
|
19
18
|
'reactions.dialog.close': 'Закрыть',
|
|
20
19
|
'reactions.dialog.left.navigate': 'Навигация влево',
|
|
21
20
|
'reactions.dialog.people-who-reacted.subheader': 'Люди, которые оставили реакцию {emojiShortName}',
|
|
22
|
-
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} реакция} few {{count,number} реакции} many {{count,number} реакций} other {{count,number} реакции}}',
|
|
23
21
|
'reactions.dialog.right.navigate': 'Навигация вправо',
|
|
24
22
|
'reactions.dialog.viewall': 'Просмотреть все',
|
|
25
23
|
'reactions.dialog.viewall.tooltip': 'Посмотреть все реакции пользователей'
|