@atlaskit/reactions 33.8.0 → 33.8.2
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 +15 -0
- package/afm-cc/tsconfig.json +2 -1
- package/afm-jira/tsconfig.json +2 -1
- package/afm-products/tsconfig.json +2 -1
- package/dist/cjs/components/Reaction.compiled.css +1 -0
- package/dist/cjs/components/Reaction.js +3 -10
- package/dist/cjs/components/ReactionPicker.js +5 -8
- package/dist/cjs/components/Reactions.compiled.css +1 -5
- package/dist/cjs/components/Reactions.js +105 -176
- package/dist/cjs/components/Trigger.js +1 -1
- package/dist/cjs/i18n/cs.js +21 -3
- package/dist/cjs/i18n/da.js +21 -3
- package/dist/cjs/i18n/de.js +20 -3
- package/dist/cjs/i18n/en.js +21 -3
- package/dist/cjs/i18n/en_GB.js +21 -3
- package/dist/cjs/i18n/en_ZZ.js +21 -3
- package/dist/cjs/i18n/es.js +21 -3
- package/dist/cjs/i18n/fi.js +20 -3
- package/dist/cjs/i18n/fr.js +21 -3
- package/dist/cjs/i18n/hu.js +21 -3
- package/dist/cjs/i18n/it.js +21 -3
- package/dist/cjs/i18n/ja.js +21 -3
- package/dist/cjs/i18n/ko.js +20 -3
- package/dist/cjs/i18n/nb.js +20 -3
- package/dist/cjs/i18n/nl.js +21 -3
- package/dist/cjs/i18n/pl.js +21 -3
- package/dist/cjs/i18n/pt_BR.js +21 -3
- package/dist/cjs/i18n/ru.js +20 -3
- package/dist/cjs/i18n/sv.js +21 -3
- package/dist/cjs/i18n/th.js +21 -3
- package/dist/cjs/i18n/tr.js +21 -3
- package/dist/cjs/i18n/uk.js +21 -3
- package/dist/cjs/i18n/vi.js +21 -3
- package/dist/cjs/i18n/zh.js +21 -3
- package/dist/cjs/i18n/zh_TW.js +20 -3
- package/dist/cjs/shared/i18n.js +1 -0
- package/dist/es2019/components/Reaction.compiled.css +1 -0
- package/dist/es2019/components/Reaction.js +3 -9
- package/dist/es2019/components/ReactionPicker.js +5 -8
- package/dist/es2019/components/Reactions.compiled.css +1 -5
- package/dist/es2019/components/Reactions.js +28 -97
- package/dist/es2019/components/Trigger.js +1 -1
- package/dist/es2019/i18n/cs.js +21 -3
- package/dist/es2019/i18n/da.js +21 -3
- package/dist/es2019/i18n/de.js +20 -3
- package/dist/es2019/i18n/en.js +21 -3
- package/dist/es2019/i18n/en_GB.js +21 -3
- package/dist/es2019/i18n/en_ZZ.js +21 -3
- package/dist/es2019/i18n/es.js +21 -3
- package/dist/es2019/i18n/fi.js +20 -3
- package/dist/es2019/i18n/fr.js +21 -3
- package/dist/es2019/i18n/hu.js +21 -3
- package/dist/es2019/i18n/it.js +21 -3
- package/dist/es2019/i18n/ja.js +21 -3
- package/dist/es2019/i18n/ko.js +20 -3
- package/dist/es2019/i18n/nb.js +20 -3
- package/dist/es2019/i18n/nl.js +21 -3
- package/dist/es2019/i18n/pl.js +21 -3
- package/dist/es2019/i18n/pt_BR.js +21 -3
- package/dist/es2019/i18n/ru.js +20 -3
- package/dist/es2019/i18n/sv.js +21 -3
- package/dist/es2019/i18n/th.js +21 -3
- package/dist/es2019/i18n/tr.js +21 -3
- package/dist/es2019/i18n/uk.js +21 -3
- package/dist/es2019/i18n/vi.js +21 -3
- package/dist/es2019/i18n/zh.js +21 -3
- package/dist/es2019/i18n/zh_TW.js +20 -3
- package/dist/es2019/shared/i18n.js +1 -0
- package/dist/esm/components/Reaction.compiled.css +1 -0
- package/dist/esm/components/Reaction.js +3 -10
- package/dist/esm/components/ReactionPicker.js +5 -8
- package/dist/esm/components/Reactions.compiled.css +1 -5
- package/dist/esm/components/Reactions.js +105 -176
- package/dist/esm/components/Trigger.js +1 -1
- package/dist/esm/i18n/cs.js +21 -3
- package/dist/esm/i18n/da.js +21 -3
- package/dist/esm/i18n/de.js +20 -3
- package/dist/esm/i18n/en.js +21 -3
- package/dist/esm/i18n/en_GB.js +21 -3
- package/dist/esm/i18n/en_ZZ.js +21 -3
- package/dist/esm/i18n/es.js +21 -3
- package/dist/esm/i18n/fi.js +20 -3
- package/dist/esm/i18n/fr.js +21 -3
- package/dist/esm/i18n/hu.js +21 -3
- package/dist/esm/i18n/it.js +21 -3
- package/dist/esm/i18n/ja.js +21 -3
- package/dist/esm/i18n/ko.js +20 -3
- package/dist/esm/i18n/nb.js +20 -3
- package/dist/esm/i18n/nl.js +21 -3
- package/dist/esm/i18n/pl.js +21 -3
- package/dist/esm/i18n/pt_BR.js +21 -3
- package/dist/esm/i18n/ru.js +20 -3
- package/dist/esm/i18n/sv.js +21 -3
- package/dist/esm/i18n/th.js +21 -3
- package/dist/esm/i18n/tr.js +21 -3
- package/dist/esm/i18n/uk.js +21 -3
- package/dist/esm/i18n/vi.js +21 -3
- package/dist/esm/i18n/zh.js +21 -3
- package/dist/esm/i18n/zh_TW.js +20 -3
- package/dist/esm/shared/i18n.js +1 -0
- package/dist/types/components/Reaction.d.ts +1 -5
- package/dist/types/containers/ConnectedReactionsView/ConnectedReactionsView.d.ts +1 -1
- package/dist/types/i18n/cs.d.ts +21 -2
- package/dist/types/i18n/da.d.ts +21 -2
- package/dist/types/i18n/de.d.ts +20 -2
- package/dist/types/i18n/en.d.ts +21 -2
- package/dist/types/i18n/en_GB.d.ts +21 -2
- package/dist/types/i18n/en_ZZ.d.ts +21 -2
- package/dist/types/i18n/es.d.ts +21 -2
- package/dist/types/i18n/fi.d.ts +20 -2
- package/dist/types/i18n/fr.d.ts +21 -2
- package/dist/types/i18n/hu.d.ts +21 -2
- package/dist/types/i18n/it.d.ts +21 -2
- package/dist/types/i18n/ja.d.ts +21 -2
- package/dist/types/i18n/ko.d.ts +20 -2
- package/dist/types/i18n/nb.d.ts +20 -2
- package/dist/types/i18n/nl.d.ts +21 -2
- package/dist/types/i18n/pl.d.ts +21 -2
- package/dist/types/i18n/pt_BR.d.ts +21 -2
- package/dist/types/i18n/ru.d.ts +20 -2
- package/dist/types/i18n/sv.d.ts +21 -2
- package/dist/types/i18n/th.d.ts +21 -2
- package/dist/types/i18n/tr.d.ts +21 -2
- package/dist/types/i18n/uk.d.ts +21 -2
- package/dist/types/i18n/vi.d.ts +21 -2
- package/dist/types/i18n/zh.d.ts +21 -2
- package/dist/types/i18n/zh_TW.d.ts +20 -2
- package/dist/types-ts4.5/components/Reaction.d.ts +1 -5
- package/dist/types-ts4.5/containers/ConnectedReactionsView/ConnectedReactionsView.d.ts +1 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +21 -2
- package/dist/types-ts4.5/i18n/da.d.ts +21 -2
- package/dist/types-ts4.5/i18n/de.d.ts +20 -2
- package/dist/types-ts4.5/i18n/en.d.ts +21 -2
- package/dist/types-ts4.5/i18n/en_GB.d.ts +21 -2
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +21 -2
- package/dist/types-ts4.5/i18n/es.d.ts +21 -2
- package/dist/types-ts4.5/i18n/fi.d.ts +20 -2
- package/dist/types-ts4.5/i18n/fr.d.ts +21 -2
- package/dist/types-ts4.5/i18n/hu.d.ts +21 -2
- package/dist/types-ts4.5/i18n/it.d.ts +21 -2
- package/dist/types-ts4.5/i18n/ja.d.ts +21 -2
- package/dist/types-ts4.5/i18n/ko.d.ts +20 -2
- package/dist/types-ts4.5/i18n/nb.d.ts +20 -2
- package/dist/types-ts4.5/i18n/nl.d.ts +21 -2
- package/dist/types-ts4.5/i18n/pl.d.ts +21 -2
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +21 -2
- package/dist/types-ts4.5/i18n/ru.d.ts +20 -2
- package/dist/types-ts4.5/i18n/sv.d.ts +21 -2
- package/dist/types-ts4.5/i18n/th.d.ts +21 -2
- package/dist/types-ts4.5/i18n/tr.d.ts +21 -2
- package/dist/types-ts4.5/i18n/uk.d.ts +21 -2
- package/dist/types-ts4.5/i18n/vi.d.ts +21 -2
- package/dist/types-ts4.5/i18n/zh.d.ts +21 -2
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +20 -2
- package/package.json +7 -16
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
3
3
|
._8hrz1nam{transform-origin:center center 0}
|
|
4
4
|
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
5
|
+
._kqswh2mm{position:relative}
|
|
5
6
|
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
6
7
|
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
7
8
|
._u5f3v77o{padding-right:var(--ds-space-025,2px)}
|
|
@@ -18,11 +18,9 @@ import { isLeftClick } from '../shared/utils';
|
|
|
18
18
|
import { RESOURCED_EMOJI_COMPACT_HEIGHT } from '../shared/constants';
|
|
19
19
|
import { ReactionButton } from './ReactionButton';
|
|
20
20
|
import { StaticReaction } from './StaticReaction';
|
|
21
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
21
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
23
22
|
var styles = {
|
|
24
|
-
container: "_kqswh2mm"
|
|
25
|
-
listContainer: "_qtt8glyw _kqswh2mm _19pkze3t"
|
|
23
|
+
container: "_kqswh2mm"
|
|
26
24
|
};
|
|
27
25
|
var emojiStyle = null;
|
|
28
26
|
var emojiNoReactionStyle = null;
|
|
@@ -52,9 +50,7 @@ export var Reaction = function Reaction(_ref) {
|
|
|
52
50
|
handleOpenReactionsDialog = _ref.handleOpenReactionsDialog,
|
|
53
51
|
_ref$isViewOnly = _ref.isViewOnly,
|
|
54
52
|
isViewOnly = _ref$isViewOnly === void 0 ? false : _ref$isViewOnly,
|
|
55
|
-
showSubtleStyle = _ref.showSubtleStyle
|
|
56
|
-
_ref$isListItem = _ref.isListItem,
|
|
57
|
-
isListItem = _ref$isListItem === void 0 ? false : _ref$isListItem;
|
|
53
|
+
showSubtleStyle = _ref.showSubtleStyle;
|
|
58
54
|
var intl = useIntl();
|
|
59
55
|
var hoverStart = useRef();
|
|
60
56
|
var focusStart = useRef();
|
|
@@ -149,10 +145,7 @@ export var Reaction = function Reaction(_ref) {
|
|
|
149
145
|
count: reaction.count
|
|
150
146
|
});
|
|
151
147
|
}
|
|
152
|
-
return /*#__PURE__*/React.createElement(Box,
|
|
153
|
-
as: 'li',
|
|
154
|
-
xcss: styles.listContainer
|
|
155
|
-
} : {
|
|
148
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
156
149
|
xcss: styles.container
|
|
157
150
|
}, showParticleEffect && /*#__PURE__*/React.createElement(ReactionParticleEffect, {
|
|
158
151
|
emojiId: emojiId,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* ReactionPicker.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
4
|
import "./ReactionPicker.compiled.css";
|
|
@@ -12,7 +11,6 @@ import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
|
12
11
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
13
12
|
import { layers } from '@atlaskit/theme/constants';
|
|
14
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
14
|
import { useCloseManagerV2 } from '../hooks/useCloseManager';
|
|
17
15
|
import { useDelayedState } from '../hooks/useDelayedState';
|
|
18
16
|
import { useFocusTrap } from '../hooks/useFocusTrap';
|
|
@@ -289,7 +287,7 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
289
287
|
React.createElement(Box, {
|
|
290
288
|
onMouseEnter: handleTriggerMouseEnter,
|
|
291
289
|
onMouseLeave: handleTriggerMouseLeave
|
|
292
|
-
}, /*#__PURE__*/React.createElement(Trigger,
|
|
290
|
+
}, /*#__PURE__*/React.createElement(Trigger, {
|
|
293
291
|
ariaAttributes: {
|
|
294
292
|
'aria-expanded': isPopupTrayOpen,
|
|
295
293
|
'aria-controls': PICKER_CONTROL_ID
|
|
@@ -313,20 +311,19 @@ export var ReactionPicker = /*#__PURE__*/React.memo(function (props) {
|
|
|
313
311
|
showAddReactionText: showAddReactionText,
|
|
314
312
|
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
315
313
|
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
316
|
-
reactionPickerTriggerText: reactionPickerTriggerText
|
|
317
|
-
}, !fg('jfp_a11y_team_comment_actions_semantic') && {
|
|
314
|
+
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
318
315
|
isListItem: isListItem
|
|
319
|
-
}))
|
|
316
|
+
}))
|
|
320
317
|
);
|
|
321
318
|
}), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
|
|
322
|
-
zIndex:
|
|
319
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
323
320
|
}, /*#__PURE__*/React.createElement(PopperWrapper, {
|
|
324
321
|
settings: settings,
|
|
325
322
|
popperModifiers: popperModifiers,
|
|
326
323
|
isOpen: isPopupTrayOpen,
|
|
327
324
|
onClose: onClose,
|
|
328
325
|
triggerRef: triggerRef,
|
|
329
|
-
zIndex:
|
|
326
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
330
327
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/React.createElement(Box, {
|
|
331
328
|
xcss: additionalStyles.selectorContainer,
|
|
332
329
|
onMouseEnter: handlePopupMouseEnter,
|
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
._qtt8glyw{list-style:none}._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
3
|
-
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
1
|
+
._13vtidpf >:first-of-type>:first-of-type{margin-left:0}
|
|
4
2
|
._19pk1b66{margin-top:var(--ds-space-050,4px)}
|
|
5
|
-
._19pk1wng{margin-top:var(--ds-space-negative-050,-4px)!important}
|
|
6
3
|
._19pkr5cr{margin-top:var(--ds-space-negative-050,-4px)}
|
|
7
|
-
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
8
4
|
._1e0c1o8l{display:inline-block}
|
|
9
5
|
._1e0c1txw{display:flex}
|
|
10
6
|
._1n261g80{flex-wrap:wrap}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/* Reactions.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
3
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
4
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
5
4
|
import "./Reactions.compiled.css";
|
|
@@ -9,7 +8,6 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
9
8
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
10
9
|
import { ModalTransition } from '@atlaskit/modal-dialog';
|
|
11
10
|
import UFOSegment from '@atlaskit/react-ufo/segment';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
11
|
import { createAndFireSafe, createPickerButtonClickedEvent, createPickerCancelledEvent, createPickerMoreClickedEvent, createReactionsRenderedEvent, createReactionSelectionEvent, isSampled } from '../analytics';
|
|
14
12
|
import { SAMPLING_RATE_REACTIONS_RENDERED_EXP } from '../shared/constants';
|
|
15
13
|
import { messages } from '../shared/i18n';
|
|
@@ -22,8 +20,6 @@ import { ReactionSummaryView } from './ReactionSummaryView';
|
|
|
22
20
|
var wrapperStyle = null;
|
|
23
21
|
var noFlexWrapStyles = null;
|
|
24
22
|
var noContainerPositionStyles = null;
|
|
25
|
-
var listWrapperStyle = null;
|
|
26
|
-
var listItemStyle = null;
|
|
27
23
|
var reactionPickerStyle = null;
|
|
28
24
|
|
|
29
25
|
/**
|
|
@@ -70,110 +66,81 @@ export function getTooltip(status, errorMessage, tooltipContent) {
|
|
|
70
66
|
return !!tooltipContent ? tooltipContent : /*#__PURE__*/React.createElement(FormattedMessage, messages.addReaction);
|
|
71
67
|
}
|
|
72
68
|
}
|
|
73
|
-
var ReactionsWrapper = function ReactionsWrapper(_ref) {
|
|
74
|
-
var children = _ref.children,
|
|
75
|
-
noWrap = _ref.noWrap,
|
|
76
|
-
noRelativeContainer = _ref.noRelativeContainer,
|
|
77
|
-
_ref$isListItem = _ref.isListItem,
|
|
78
|
-
isListItem = _ref$isListItem === void 0 ? false : _ref$isListItem,
|
|
79
|
-
_ref$reactionsLength = _ref.reactionsLength,
|
|
80
|
-
reactionsLength = _ref$reactionsLength === void 0 ? 0 : _ref$reactionsLength,
|
|
81
|
-
_ref$isShowingDefault = _ref.isShowingDefaultReactions,
|
|
82
|
-
isShowingDefaultReactions = _ref$isShowingDefault === void 0 ? false : _ref$isShowingDefault;
|
|
83
|
-
if (isListItem && fg('jfp_a11y_team_comment_actions_semantic')) {
|
|
84
|
-
// with no reactions picker render children inside listitem container
|
|
85
|
-
if (reactionsLength === 0 && !isShowingDefaultReactions) {
|
|
86
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
87
|
-
"data-testid": RENDER_REACTIONS_TESTID,
|
|
88
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", "_19bvze3t _19pk1wng", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
89
|
-
}, children);
|
|
90
|
-
}
|
|
91
69
|
|
|
92
|
-
// with reactions or default reactions present, reactions & picker rendered as listitem inside un-ordered list
|
|
93
|
-
return /*#__PURE__*/React.createElement("ul", {
|
|
94
|
-
"data-testid": RENDER_REACTIONS_TESTID,
|
|
95
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", "_19bvze3t _19pk1wng", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
96
|
-
}, children);
|
|
97
|
-
}
|
|
98
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
99
|
-
"data-testid": RENDER_REACTIONS_TESTID,
|
|
100
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
101
|
-
}, children);
|
|
102
|
-
};
|
|
103
70
|
/**
|
|
104
71
|
* Renders list of reactions
|
|
105
72
|
*/
|
|
106
|
-
export var Reactions = /*#__PURE__*/React.memo(function (
|
|
107
|
-
var
|
|
108
|
-
flash =
|
|
109
|
-
|
|
110
|
-
particleEffectByEmoji =
|
|
111
|
-
status =
|
|
112
|
-
errorMessage =
|
|
113
|
-
loadReaction =
|
|
114
|
-
quickReactionEmojis =
|
|
115
|
-
pickerQuickReactionEmojiIds =
|
|
116
|
-
|
|
117
|
-
getReactionDetails =
|
|
118
|
-
onSelection =
|
|
119
|
-
|
|
120
|
-
reactions =
|
|
121
|
-
emojiProvider =
|
|
122
|
-
allowAllEmojis =
|
|
123
|
-
onReactionClick =
|
|
124
|
-
allowUserDialog =
|
|
125
|
-
|
|
126
|
-
onDialogOpenCallback =
|
|
127
|
-
|
|
128
|
-
onDialogCloseCallback =
|
|
129
|
-
|
|
130
|
-
onDialogSelectReactionCallback =
|
|
131
|
-
|
|
132
|
-
onDialogPageChangeCallback =
|
|
133
|
-
|
|
134
|
-
emojiPickerSize =
|
|
135
|
-
|
|
136
|
-
miniMode =
|
|
137
|
-
|
|
138
|
-
summaryViewEnabled =
|
|
139
|
-
|
|
140
|
-
summaryViewThreshold =
|
|
141
|
-
summaryViewPlacement =
|
|
142
|
-
|
|
143
|
-
showOpaqueBackground =
|
|
144
|
-
|
|
145
|
-
subtleReactionsSummaryAndPicker =
|
|
146
|
-
|
|
147
|
-
showAddReactionText =
|
|
148
|
-
|
|
149
|
-
hideDefaultReactions =
|
|
150
|
-
ProfileCardWrapper =
|
|
151
|
-
|
|
152
|
-
onlyRenderPicker =
|
|
153
|
-
|
|
154
|
-
isViewOnly =
|
|
155
|
-
|
|
156
|
-
noWrap =
|
|
157
|
-
|
|
158
|
-
noRelativeContainer =
|
|
159
|
-
showSubtleDefaultReactions =
|
|
160
|
-
reactionPickerTriggerTooltipContent =
|
|
161
|
-
reactionPickerTriggerIcon =
|
|
162
|
-
|
|
163
|
-
allowSelectFromSummaryView =
|
|
164
|
-
|
|
165
|
-
useButtonAlignmentStyling =
|
|
166
|
-
reactionPickerTriggerText =
|
|
167
|
-
|
|
168
|
-
hoverableSummaryView =
|
|
169
|
-
|
|
170
|
-
isListItem =
|
|
171
|
-
summaryGetOptimisticImageURL =
|
|
172
|
-
reactionPickerPlacement =
|
|
173
|
-
summaryButtonIconAfter =
|
|
174
|
-
|
|
175
|
-
renderParticleEffectOnSummaryView =
|
|
176
|
-
reactionPickerPopperZIndex =
|
|
73
|
+
export var Reactions = /*#__PURE__*/React.memo(function (_ref) {
|
|
74
|
+
var _ref$flash = _ref.flash,
|
|
75
|
+
flash = _ref$flash === void 0 ? {} : _ref$flash,
|
|
76
|
+
_ref$particleEffectBy = _ref.particleEffectByEmoji,
|
|
77
|
+
particleEffectByEmoji = _ref$particleEffectBy === void 0 ? {} : _ref$particleEffectBy,
|
|
78
|
+
status = _ref.status,
|
|
79
|
+
errorMessage = _ref.errorMessage,
|
|
80
|
+
loadReaction = _ref.loadReaction,
|
|
81
|
+
quickReactionEmojis = _ref.quickReactionEmojis,
|
|
82
|
+
pickerQuickReactionEmojiIds = _ref.pickerQuickReactionEmojiIds,
|
|
83
|
+
_ref$getReactionDetai = _ref.getReactionDetails,
|
|
84
|
+
getReactionDetails = _ref$getReactionDetai === void 0 ? function () {} : _ref$getReactionDetai,
|
|
85
|
+
onSelection = _ref.onSelection,
|
|
86
|
+
_ref$reactions = _ref.reactions,
|
|
87
|
+
reactions = _ref$reactions === void 0 ? [] : _ref$reactions,
|
|
88
|
+
emojiProvider = _ref.emojiProvider,
|
|
89
|
+
allowAllEmojis = _ref.allowAllEmojis,
|
|
90
|
+
onReactionClick = _ref.onReactionClick,
|
|
91
|
+
allowUserDialog = _ref.allowUserDialog,
|
|
92
|
+
_ref$onDialogOpenCall = _ref.onDialogOpenCallback,
|
|
93
|
+
onDialogOpenCallback = _ref$onDialogOpenCall === void 0 ? function () {} : _ref$onDialogOpenCall,
|
|
94
|
+
_ref$onDialogCloseCal = _ref.onDialogCloseCallback,
|
|
95
|
+
onDialogCloseCallback = _ref$onDialogCloseCal === void 0 ? function () {} : _ref$onDialogCloseCal,
|
|
96
|
+
_ref$onDialogSelectRe = _ref.onDialogSelectReactionCallback,
|
|
97
|
+
onDialogSelectReactionCallback = _ref$onDialogSelectRe === void 0 ? function () {} : _ref$onDialogSelectRe,
|
|
98
|
+
_ref$onDialogPageChan = _ref.onDialogPageChangeCallback,
|
|
99
|
+
onDialogPageChangeCallback = _ref$onDialogPageChan === void 0 ? function () {} : _ref$onDialogPageChan,
|
|
100
|
+
_ref$emojiPickerSize = _ref.emojiPickerSize,
|
|
101
|
+
emojiPickerSize = _ref$emojiPickerSize === void 0 ? 'medium' : _ref$emojiPickerSize,
|
|
102
|
+
_ref$miniMode = _ref.miniMode,
|
|
103
|
+
miniMode = _ref$miniMode === void 0 ? false : _ref$miniMode,
|
|
104
|
+
_ref$summaryViewEnabl = _ref.summaryViewEnabled,
|
|
105
|
+
summaryViewEnabled = _ref$summaryViewEnabl === void 0 ? false : _ref$summaryViewEnabl,
|
|
106
|
+
_ref$summaryViewThres = _ref.summaryViewThreshold,
|
|
107
|
+
summaryViewThreshold = _ref$summaryViewThres === void 0 ? 3 : _ref$summaryViewThres,
|
|
108
|
+
summaryViewPlacement = _ref.summaryViewPlacement,
|
|
109
|
+
_ref$showOpaqueBackgr = _ref.showOpaqueBackground,
|
|
110
|
+
showOpaqueBackground = _ref$showOpaqueBackgr === void 0 ? false : _ref$showOpaqueBackgr,
|
|
111
|
+
_ref$subtleReactionsS = _ref.subtleReactionsSummaryAndPicker,
|
|
112
|
+
subtleReactionsSummaryAndPicker = _ref$subtleReactionsS === void 0 ? false : _ref$subtleReactionsS,
|
|
113
|
+
_ref$showAddReactionT = _ref.showAddReactionText,
|
|
114
|
+
showAddReactionText = _ref$showAddReactionT === void 0 ? false : _ref$showAddReactionT,
|
|
115
|
+
_ref$hideDefaultReact = _ref.hideDefaultReactions,
|
|
116
|
+
hideDefaultReactions = _ref$hideDefaultReact === void 0 ? false : _ref$hideDefaultReact,
|
|
117
|
+
ProfileCardWrapper = _ref.ProfileCardWrapper,
|
|
118
|
+
_ref$onlyRenderPicker = _ref.onlyRenderPicker,
|
|
119
|
+
onlyRenderPicker = _ref$onlyRenderPicker === void 0 ? false : _ref$onlyRenderPicker,
|
|
120
|
+
_ref$isViewOnly = _ref.isViewOnly,
|
|
121
|
+
isViewOnly = _ref$isViewOnly === void 0 ? false : _ref$isViewOnly,
|
|
122
|
+
_ref$noWrap = _ref.noWrap,
|
|
123
|
+
noWrap = _ref$noWrap === void 0 ? false : _ref$noWrap,
|
|
124
|
+
_ref$noRelativeContai = _ref.noRelativeContainer,
|
|
125
|
+
noRelativeContainer = _ref$noRelativeContai === void 0 ? false : _ref$noRelativeContai,
|
|
126
|
+
showSubtleDefaultReactions = _ref.showSubtleDefaultReactions,
|
|
127
|
+
reactionPickerTriggerTooltipContent = _ref.reactionPickerTriggerTooltipContent,
|
|
128
|
+
reactionPickerTriggerIcon = _ref.reactionPickerTriggerIcon,
|
|
129
|
+
_ref$allowSelectFromS = _ref.allowSelectFromSummaryView,
|
|
130
|
+
allowSelectFromSummaryView = _ref$allowSelectFromS === void 0 ? false : _ref$allowSelectFromS,
|
|
131
|
+
_ref$useButtonAlignme = _ref.useButtonAlignmentStyling,
|
|
132
|
+
useButtonAlignmentStyling = _ref$useButtonAlignme === void 0 ? false : _ref$useButtonAlignme,
|
|
133
|
+
reactionPickerTriggerText = _ref.reactionPickerTriggerText,
|
|
134
|
+
_ref$hoverableSummary = _ref.hoverableSummaryView,
|
|
135
|
+
hoverableSummaryView = _ref$hoverableSummary === void 0 ? false : _ref$hoverableSummary,
|
|
136
|
+
_ref$isListItem = _ref.isListItem,
|
|
137
|
+
isListItem = _ref$isListItem === void 0 ? false : _ref$isListItem,
|
|
138
|
+
summaryGetOptimisticImageURL = _ref.summaryGetOptimisticImageURL,
|
|
139
|
+
reactionPickerPlacement = _ref.reactionPickerPlacement,
|
|
140
|
+
summaryButtonIconAfter = _ref.summaryButtonIconAfter,
|
|
141
|
+
_ref$renderParticleEf = _ref.renderParticleEffectOnSummaryView,
|
|
142
|
+
renderParticleEffectOnSummaryView = _ref$renderParticleEf === void 0 ? false : _ref$renderParticleEf,
|
|
143
|
+
reactionPickerPopperZIndex = _ref.reactionPickerPopperZIndex;
|
|
177
144
|
var _useState = useState(''),
|
|
178
145
|
_useState2 = _slicedToArray(_useState, 2),
|
|
179
146
|
selectedEmojiId = _useState2[0],
|
|
@@ -333,11 +300,11 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
333
300
|
* @param emojiId initial emoji id to load dialog with
|
|
334
301
|
*/
|
|
335
302
|
var _handleOpenReactionsDialog = function handleOpenReactionsDialog() {
|
|
336
|
-
var
|
|
337
|
-
|
|
338
|
-
emojiId =
|
|
339
|
-
|
|
340
|
-
source =
|
|
303
|
+
var _ref2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
|
|
304
|
+
_ref2$emojiId = _ref2.emojiId,
|
|
305
|
+
emojiId = _ref2$emojiId === void 0 ? sortedReactions[0].emojiId : _ref2$emojiId,
|
|
306
|
+
_ref2$source = _ref2.source,
|
|
307
|
+
source = _ref2$source === void 0 ? 'endOfPageReactions' : _ref2$source;
|
|
341
308
|
// ufo start opening reaction dialog
|
|
342
309
|
ufoExperiences.openDialog.start();
|
|
343
310
|
getReactionDetails(emojiId);
|
|
@@ -353,70 +320,11 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
353
320
|
}
|
|
354
321
|
});
|
|
355
322
|
};
|
|
356
|
-
var renderReactionPicker = function renderReactionPicker() {
|
|
357
|
-
if (isListItem && memorizedReactions.length > 0 && fg('jfp_a11y_team_comment_actions_semantic')) {
|
|
358
|
-
// render the reaction picker inside li when reactions are present
|
|
359
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
360
|
-
className: ax(["_qtt8glyw _19pkze3t"])
|
|
361
|
-
}, /*#__PURE__*/React.createElement(ReactionPicker, {
|
|
362
|
-
emojiProvider: emojiProvider,
|
|
363
|
-
allowAllEmojis: allowAllEmojis,
|
|
364
|
-
pickerQuickReactionEmojiIds: pickerQuickReactionEmojiIds,
|
|
365
|
-
disabled: status !== ReactionStatus.ready,
|
|
366
|
-
onSelection: handleOnSelection,
|
|
367
|
-
onOpen: handlePickerOpen,
|
|
368
|
-
onCancel: handleOnCancel,
|
|
369
|
-
onShowMore: handleOnMore,
|
|
370
|
-
tooltipContent: hoverableSummaryView ? null : getTooltip(status, errorMessage, reactionPickerTriggerTooltipContent),
|
|
371
|
-
emojiPickerSize: emojiPickerSize,
|
|
372
|
-
miniMode: miniMode,
|
|
373
|
-
showOpaqueBackground: showOpaqueBackground,
|
|
374
|
-
showAddReactionText: showAddReactionText,
|
|
375
|
-
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
376
|
-
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
377
|
-
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
378
|
-
hoverableReactionPicker: hoverableSummaryView,
|
|
379
|
-
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
380
|
-
reactionPickerPlacement: reactionPickerPlacement,
|
|
381
|
-
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
382
|
-
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
383
|
-
}));
|
|
384
|
-
}
|
|
385
|
-
return /*#__PURE__*/React.createElement(ReactionPicker, {
|
|
386
|
-
emojiProvider: emojiProvider,
|
|
387
|
-
allowAllEmojis: allowAllEmojis,
|
|
388
|
-
pickerQuickReactionEmojiIds: pickerQuickReactionEmojiIds,
|
|
389
|
-
disabled: status !== ReactionStatus.ready,
|
|
390
|
-
onSelection: handleOnSelection,
|
|
391
|
-
onOpen: handlePickerOpen,
|
|
392
|
-
onCancel: handleOnCancel,
|
|
393
|
-
onShowMore: handleOnMore,
|
|
394
|
-
tooltipContent: hoverableSummaryView ? null : getTooltip(status, errorMessage, reactionPickerTriggerTooltipContent),
|
|
395
|
-
emojiPickerSize: emojiPickerSize,
|
|
396
|
-
miniMode: miniMode,
|
|
397
|
-
showOpaqueBackground: showOpaqueBackground,
|
|
398
|
-
showAddReactionText: showAddReactionText,
|
|
399
|
-
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
400
|
-
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
401
|
-
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
402
|
-
isListItem: isListItem,
|
|
403
|
-
hoverableReactionPicker: hoverableSummaryView,
|
|
404
|
-
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
405
|
-
reactionPickerPlacement: reactionPickerPlacement,
|
|
406
|
-
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
407
|
-
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
408
|
-
});
|
|
409
|
-
};
|
|
410
323
|
return /*#__PURE__*/React.createElement(UFOSegment, {
|
|
411
324
|
name: "reactions"
|
|
412
|
-
}, /*#__PURE__*/React.createElement(
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
reactionsLength: memorizedReactions.length,
|
|
416
|
-
noWrap: noWrap,
|
|
417
|
-
isShowingDefaultReactions:
|
|
418
|
-
// Conditon to determine whether showing the default reacitons
|
|
419
|
-
!(reactions.length === 0 && hideDefaultReactions || reactions.length > 0 || !quickReactionEmojis)
|
|
325
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
326
|
+
"data-testid": RENDER_REACTIONS_TESTID,
|
|
327
|
+
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
420
328
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/React.createElement("div", {
|
|
421
329
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
422
330
|
}, /*#__PURE__*/React.createElement(ReactionSummaryView, {
|
|
@@ -451,7 +359,7 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
451
359
|
summaryButtonIconAfter: summaryButtonIconAfter,
|
|
452
360
|
summaryViewParticleEffectEmojiId: renderParticleEffectOnSummaryView ? summaryViewParticleEffectEmojiId : null
|
|
453
361
|
})) : memorizedReactions.map(function (reaction) {
|
|
454
|
-
return /*#__PURE__*/React.createElement(Reaction,
|
|
362
|
+
return /*#__PURE__*/React.createElement(Reaction, {
|
|
455
363
|
key: reaction.emojiId,
|
|
456
364
|
reaction: reaction,
|
|
457
365
|
emojiProvider: emojiProvider,
|
|
@@ -465,10 +373,31 @@ export var Reactions = /*#__PURE__*/React.memo(function (_ref2) {
|
|
|
465
373
|
handleOpenReactionsDialog: _handleOpenReactionsDialog,
|
|
466
374
|
isViewOnly: isViewOnly,
|
|
467
375
|
showSubtleStyle: showSubtleDefaultReactions && reactions.length === 0
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
376
|
+
});
|
|
377
|
+
})), isViewOnly || !onlyRenderPicker && shouldShowSummaryView && allowSelectFromSummaryView ? null : /*#__PURE__*/React.createElement(ReactionPicker, {
|
|
378
|
+
emojiProvider: emojiProvider,
|
|
379
|
+
allowAllEmojis: allowAllEmojis,
|
|
380
|
+
pickerQuickReactionEmojiIds: pickerQuickReactionEmojiIds,
|
|
381
|
+
disabled: status !== ReactionStatus.ready,
|
|
382
|
+
onSelection: handleOnSelection,
|
|
383
|
+
onOpen: handlePickerOpen,
|
|
384
|
+
onCancel: handleOnCancel,
|
|
385
|
+
onShowMore: handleOnMore,
|
|
386
|
+
tooltipContent: hoverableSummaryView ? null : getTooltip(status, errorMessage, reactionPickerTriggerTooltipContent),
|
|
387
|
+
emojiPickerSize: emojiPickerSize,
|
|
388
|
+
miniMode: miniMode,
|
|
389
|
+
showOpaqueBackground: showOpaqueBackground,
|
|
390
|
+
showAddReactionText: showAddReactionText,
|
|
391
|
+
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
392
|
+
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
393
|
+
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
394
|
+
isListItem: isListItem,
|
|
395
|
+
hoverableReactionPicker: hoverableSummaryView,
|
|
396
|
+
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
397
|
+
reactionPickerPlacement: reactionPickerPlacement,
|
|
398
|
+
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
399
|
+
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
400
|
+
}), /*#__PURE__*/React.createElement(ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/React.createElement(UFOSegment, {
|
|
472
401
|
name: "reactions-dialog"
|
|
473
402
|
}, /*#__PURE__*/React.createElement(ReactionsDialog, {
|
|
474
403
|
selectedEmojiId: selectedEmojiId,
|
|
@@ -109,7 +109,7 @@ export var Trigger = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
109
109
|
canAppear: function canAppear() {
|
|
110
110
|
return !showAddReactionText;
|
|
111
111
|
}
|
|
112
|
-
}, isListItem
|
|
112
|
+
}, isListItem ? /*#__PURE__*/React.createElement("li", {
|
|
113
113
|
"data-testid": RENDER_LIST_ITEM_WRAPPER_TESTID,
|
|
114
114
|
className: ax(["_qtt8glyw"])
|
|
115
115
|
}, renderPressableButton()) : renderPressableButton()));
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//Czech
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.reactions.add': 'Přidat reakci',
|
|
11
|
+
'fabric.reactions.add.new': 'Přidat novou',
|
|
12
|
+
'fabric.reactions.error.unexpected': 'Reakce jsou dočasně nedostupné.',
|
|
13
|
+
'fabric.reactions.loading': 'Načítání...',
|
|
14
|
+
'fabric.reactions.more.emojis': 'Více smajlíků',
|
|
15
|
+
'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
|
+
'fabric.reactions.reactwithemoji': 'Reagovat pomocí smajlíku {emoji}',
|
|
17
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, one {{count,number} {emoji} smajlík. Reagovat pomocí smajlíku {emoji}} few {{count,number} {emoji} smajlíky. Reagovat pomocí smajlíku {emoji}} many {{count,number} {emoji} smajlíku. Reagovat pomocí smajlíku {emoji}} other {{count,number} {emoji} smajlíků. Reagovat pomocí smajlíku {emoji}}}',
|
|
18
|
+
'fabric.reactions.summary': 'Zobrazit všechny reakce uživatelů',
|
|
19
|
+
'reaction-picker-trigger.add.reaction.message': 'Přidat reakci',
|
|
20
|
+
'reactions-reaction.picker-label': 'Přidat reakce',
|
|
21
|
+
'reactions.dialog.close': 'Zavřít',
|
|
22
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
23
|
+
'reactions.dialog.left.navigate': 'Navigace doleva',
|
|
24
|
+
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reakce celkem} few {{count,number} reakce celkem} many {{count,number} reakce celkem} other {{count,number} reakcí celkem}}',
|
|
25
|
+
'reactions.dialog.right.navigate': 'Navigace doprava',
|
|
26
|
+
'reactions.dialog.viewall': 'Zobrazit vše',
|
|
27
|
+
'reactions.dialog.viewall.tooltip': 'Zobrazit všechny reakce uživatelů'
|
|
28
|
+
};
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//Danish (Denmark)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.reactions.add': 'Tilføj reaktion',
|
|
11
|
+
'fabric.reactions.add.new': 'Tilføj ny',
|
|
12
|
+
'fabric.reactions.error.unexpected': 'Reaktioner er midlertidigt utilgængelige',
|
|
13
|
+
'fabric.reactions.loading': 'Indlæser ...',
|
|
14
|
+
'fabric.reactions.more.emojis': 'Flere emojis',
|
|
15
|
+
'fabric.reactions.other.reacted.users': '{count, plural, one {og én anden} other {og {count} andre}}',
|
|
16
|
+
'fabric.reactions.reactwithemoji': 'Reager med emojien {emoji}',
|
|
17
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, one {{count,number} {emoji}-emoji. Reager med emojien {emoji}} other {{count,number} {emoji}-emojier. Reager med emojien {emoji}}}',
|
|
18
|
+
'fabric.reactions.summary': 'Se alle brugerreaktioner',
|
|
19
|
+
'reaction-picker-trigger.add.reaction.message': 'Tilføj en reaktion',
|
|
20
|
+
'reactions-reaction.picker-label': 'Tilføj reaktioner',
|
|
21
|
+
'reactions.dialog.close': 'Luk',
|
|
22
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
23
|
+
'reactions.dialog.left.navigate': 'Navigation til venstre',
|
|
24
|
+
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} reaktion i alt} other {{count,number} reaktioner i alt}}',
|
|
25
|
+
'reactions.dialog.right.navigate': 'Navigation til højre',
|
|
26
|
+
'reactions.dialog.viewall': 'Vis alle',
|
|
27
|
+
'reactions.dialog.viewall.tooltip': 'Se alle brugerreaktioner'
|
|
28
|
+
};
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -5,6 +5,23 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//German (Germany)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.reactions.add': 'Reaktion hinzufügen',
|
|
11
|
+
'fabric.reactions.add.new': 'Neu hinzufügen',
|
|
12
|
+
'fabric.reactions.error.unexpected': 'Reaktionen sind vorübergehend nicht verfügbar.',
|
|
13
|
+
'fabric.reactions.loading': 'Wird geladen...',
|
|
14
|
+
'fabric.reactions.more.emojis': 'Mehr Emojis',
|
|
15
|
+
'fabric.reactions.other.reacted.users': '{count, plural, one {und ein weiterer} other {und {count} weitere}}',
|
|
16
|
+
'fabric.reactions.reactwithemoji': 'Mit {emoji}-Emoji reagieren',
|
|
17
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, one {{count,number} {emoji}-Emoji. Mit {emoji}-Emoji reagieren} other {{count,number} {emoji}-Emojis. Mit {emoji}-Emoji reagieren}}',
|
|
18
|
+
'fabric.reactions.summary': 'Alle Benutzerreaktionen anzeigen',
|
|
19
|
+
'reaction-picker-trigger.add.reaction.message': 'Eine Reaktion hinzufügen',
|
|
20
|
+
'reactions-reaction.picker-label': 'Reaktionen hinzufügen',
|
|
21
|
+
'reactions.dialog.close': 'Schließen',
|
|
22
|
+
'reactions.dialog.left.navigate': 'Nach links navigieren',
|
|
23
|
+
'reactions.dialog.reactions.count': '{count, plural, one {{count,number} Reaktion insgesamt} other {{count,number} Reaktionen insgesamt}}',
|
|
24
|
+
'reactions.dialog.right.navigate': 'Nach rechts navigieren',
|
|
25
|
+
'reactions.dialog.viewall': 'Alle anzeigen',
|
|
26
|
+
'reactions.dialog.viewall.tooltip': 'Alle Benutzerreaktionen anzeigen'
|
|
27
|
+
};
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.reactions.add': 'Add reaction',
|
|
11
|
+
'fabric.reactions.add.new': 'Add new',
|
|
12
|
+
'fabric.reactions.error.unexpected': 'Reactions are temporarily unavailable',
|
|
13
|
+
'fabric.reactions.loading': 'Loading...',
|
|
14
|
+
'fabric.reactions.more.emojis': 'More emojis',
|
|
15
|
+
'fabric.reactions.other.reacted.users': '{count, plural, one {and one other} other {and {count} others}}',
|
|
16
|
+
'fabric.reactions.reactwithemoji': 'React with {emoji} emoji',
|
|
17
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, one {# {emoji} emoji} other {# {emoji} emojis}}. React with {emoji} emoji',
|
|
18
|
+
'fabric.reactions.summary': 'View all user reactions',
|
|
19
|
+
'reaction-picker-trigger.add.reaction.message': 'Add a reaction',
|
|
20
|
+
'reactions-reaction.picker-label': 'Add reactions',
|
|
21
|
+
'reactions.dialog.close': 'Close',
|
|
22
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
23
|
+
'reactions.dialog.left.navigate': 'Left Navigate',
|
|
24
|
+
'reactions.dialog.reactions.count': '{count, plural, one {# total reaction} other {# total reactions} }',
|
|
25
|
+
'reactions.dialog.right.navigate': 'Right Navigate',
|
|
26
|
+
'reactions.dialog.viewall': 'View all',
|
|
27
|
+
'reactions.dialog.viewall.tooltip': 'View all user reactions'
|
|
28
|
+
};
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
* This file is automatically generated by Traduki 2.0.
|
|
6
6
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
//English (United Kingdom)
|
|
9
|
+
export default {
|
|
10
|
+
'fabric.reactions.add': 'Add reaction',
|
|
11
|
+
'fabric.reactions.add.new': 'Add new',
|
|
12
|
+
'fabric.reactions.error.unexpected': 'Reactions are temporarily unavailable',
|
|
13
|
+
'fabric.reactions.loading': 'Loading...',
|
|
14
|
+
'fabric.reactions.more.emojis': 'More emojis',
|
|
15
|
+
'fabric.reactions.other.reacted.users': '{count, plural, one {and one other} other {and {count} others}}',
|
|
16
|
+
'fabric.reactions.reactwithemoji': 'React with {emoji} emoji',
|
|
17
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, one {# {emoji} emoji} other {# {emoji} emojis}}. React with {emoji} emoji',
|
|
18
|
+
'fabric.reactions.summary': 'View all user reactions',
|
|
19
|
+
'reaction-picker-trigger.add.reaction.message': 'Add a reaction',
|
|
20
|
+
'reactions-reaction.picker-label': 'Add reactions',
|
|
21
|
+
'reactions.dialog.close': 'Close',
|
|
22
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
23
|
+
'reactions.dialog.left.navigate': 'Left Navigate',
|
|
24
|
+
'reactions.dialog.reactions.count': '{count, plural, one {# total reaction} other {# total reactions} }',
|
|
25
|
+
'reactions.dialog.right.navigate': 'Right Navigate',
|
|
26
|
+
'reactions.dialog.viewall': 'View all',
|
|
27
|
+
'reactions.dialog.viewall.tooltip': 'View all user reactions'
|
|
28
|
+
};
|