@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
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _th = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-reactions/i18n/th"));
|
|
9
7
|
/* prettier-ignore */
|
|
10
8
|
/**
|
|
11
9
|
* NOTE:
|
|
@@ -13,4 +11,24 @@ var _th = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-r
|
|
|
13
11
|
* This file is automatically generated by Traduki 2.0.
|
|
14
12
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
//Thai (Thailand)
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.reactions.add': 'เพิ่มการโต้ตอบ',
|
|
17
|
+
'fabric.reactions.add.new': 'เพิ่มใหม่',
|
|
18
|
+
'fabric.reactions.error.unexpected': 'การแสดงปฏิกิริยาไม่สามารถใช้งานได้ชั่วคราว',
|
|
19
|
+
'fabric.reactions.loading': 'กำลังโหลด...',
|
|
20
|
+
'fabric.reactions.more.emojis': 'เอโมจิเพิ่มเติม',
|
|
21
|
+
'fabric.reactions.other.reacted.users': '{count, plural, other {และคนอื่น ๆ อีก {count} คน}}',
|
|
22
|
+
'fabric.reactions.reactwithemoji': 'แสดงปฏิกิริยาด้วยเอโมจิ {emoji}',
|
|
23
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, other {{count,number} {emoji} เอโมจิ แสดงปฏิกิริยาด้วยเอโมจิ {emoji}}}',
|
|
24
|
+
'fabric.reactions.summary': 'ดูการโต้ตอบของผู้ใช้ทั้งหมด',
|
|
25
|
+
'reaction-picker-trigger.add.reaction.message': 'เพิ่มการโต้ตอบ',
|
|
26
|
+
'reactions-reaction.picker-label': 'เพิ่มการโต้ตอบ',
|
|
27
|
+
'reactions.dialog.close': 'ปิด',
|
|
28
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
29
|
+
'reactions.dialog.left.navigate': 'นำทางไปทางซ้าย',
|
|
30
|
+
'reactions.dialog.reactions.count': '{count, plural, other {การโต้ตอบทั้งหมด {count,number} ครั้ง}}',
|
|
31
|
+
'reactions.dialog.right.navigate': 'นำทางไปทางขวา',
|
|
32
|
+
'reactions.dialog.viewall': 'ดูทั้งหมด',
|
|
33
|
+
'reactions.dialog.viewall.tooltip': 'ดูผู้ใช้ที่ตอบสนองทั้งหมด'
|
|
34
|
+
};
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _tr = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-reactions/i18n/tr"));
|
|
9
7
|
/* prettier-ignore */
|
|
10
8
|
/**
|
|
11
9
|
* NOTE:
|
|
@@ -13,4 +11,24 @@ var _tr = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-r
|
|
|
13
11
|
* This file is automatically generated by Traduki 2.0.
|
|
14
12
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
//Turkish (Turkey)
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.reactions.add': 'Tepki ekle',
|
|
17
|
+
'fabric.reactions.add.new': 'Yeni ekle',
|
|
18
|
+
'fabric.reactions.error.unexpected': 'Tepkiler geçici olarak kullanılamıyor',
|
|
19
|
+
'fabric.reactions.loading': 'Yükleniyor...',
|
|
20
|
+
'fabric.reactions.more.emojis': 'Daha fazla emoji',
|
|
21
|
+
'fabric.reactions.other.reacted.users': '{count, plural, one {ve bir kişi daha} other {ve {count} kişi daha}}',
|
|
22
|
+
'fabric.reactions.reactwithemoji': "{emoji} emoji'siyle tepki verin",
|
|
23
|
+
'fabric.reactions.reactwithemojiandcount': "{count, plural, one {{count,number} {emoji} emoji. {emoji} emoji'siyle tepki verin} other {{count,number} {emoji} emoji. {emoji} emoji'siyle tepki verin}}",
|
|
24
|
+
'fabric.reactions.summary': 'Tüm kullanıcı tepkilerini görüntüleyin',
|
|
25
|
+
'reaction-picker-trigger.add.reaction.message': 'Tepki ekleyin',
|
|
26
|
+
'reactions-reaction.picker-label': 'Tepki ekleyin',
|
|
27
|
+
'reactions.dialog.close': 'Kapat',
|
|
28
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
29
|
+
'reactions.dialog.left.navigate': 'Sol Gezinme',
|
|
30
|
+
'reactions.dialog.reactions.count': '{count, plural, one {Toplam {count,number} tepki} other {Toplam {count,number} tepki}}',
|
|
31
|
+
'reactions.dialog.right.navigate': 'Sağ Gezinme',
|
|
32
|
+
'reactions.dialog.viewall': 'Tümünü göster',
|
|
33
|
+
'reactions.dialog.viewall.tooltip': 'Tüm kullanıcı tepkilerini görüntüleyin'
|
|
34
|
+
};
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _uk = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-reactions/i18n/uk"));
|
|
9
7
|
/* prettier-ignore */
|
|
10
8
|
/**
|
|
11
9
|
* NOTE:
|
|
@@ -13,4 +11,24 @@ var _uk = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-r
|
|
|
13
11
|
* This file is automatically generated by Traduki 2.0.
|
|
14
12
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
//Ukrainian (Ukraine)
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.reactions.add': 'Додати реакцію',
|
|
17
|
+
'fabric.reactions.add.new': 'Додати нову реакцію',
|
|
18
|
+
'fabric.reactions.error.unexpected': 'Реакції тимчасово недоступні',
|
|
19
|
+
'fabric.reactions.loading': 'Завантаження...',
|
|
20
|
+
'fabric.reactions.more.emojis': 'Інші емодзі',
|
|
21
|
+
'fabric.reactions.other.reacted.users': '{count, plural, one {і ще {count} особа} few {і ще {count} особи} many {і ще {count} осіб} other {і ще {count} особи}}',
|
|
22
|
+
'fabric.reactions.reactwithemoji': 'Вставити емодзі {emoji}',
|
|
23
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, one {{count,number} емодзі {emoji}. Відреагуйте за допомогою емодзі {emoji}} few {{count,number} емодзі {emoji}. Відреагуйте за допомогою емодзі {emoji}} many {{count,number} емодзі {emoji} Відреагуйте за допомогою емодзі {emoji}} other {{count,number} емодзі {emoji} Відреагуйте за допомогою емодзі {emoji}}}',
|
|
24
|
+
'fabric.reactions.summary': 'Переглянути всі реакції користувачів',
|
|
25
|
+
'reaction-picker-trigger.add.reaction.message': 'Додайте реакцію',
|
|
26
|
+
'reactions-reaction.picker-label': 'Додати реакції',
|
|
27
|
+
'reactions.dialog.close': 'Закрити',
|
|
28
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
29
|
+
'reactions.dialog.left.navigate': 'Перейти вліво',
|
|
30
|
+
'reactions.dialog.reactions.count': '{count, plural, one {Усього {count,number} реакція} few {Усього {count,number} реакції} many {Усього {count,number} реакцій} other {Усього {count,number} реакції}}',
|
|
31
|
+
'reactions.dialog.right.navigate': 'Перейти вправо',
|
|
32
|
+
'reactions.dialog.viewall': 'Переглянути все',
|
|
33
|
+
'reactions.dialog.viewall.tooltip': 'Переглянути всі реакції користувачів'
|
|
34
|
+
};
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _vi = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-reactions/i18n/vi"));
|
|
9
7
|
/* prettier-ignore */
|
|
10
8
|
/**
|
|
11
9
|
* NOTE:
|
|
@@ -13,4 +11,24 @@ var _vi = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-r
|
|
|
13
11
|
* This file is automatically generated by Traduki 2.0.
|
|
14
12
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
//Vietnamese (Vietnam)
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.reactions.add': 'Thêm tương tác',
|
|
17
|
+
'fabric.reactions.add.new': 'Thêm mới',
|
|
18
|
+
'fabric.reactions.error.unexpected': 'Tính năng tương tác tạm thời không hỗ trợ',
|
|
19
|
+
'fabric.reactions.loading': 'Đang tải...',
|
|
20
|
+
'fabric.reactions.more.emojis': 'Biểu tượng cảm xúc khác',
|
|
21
|
+
'fabric.reactions.other.reacted.users': '{count, plural, other {và {count} người khác}}',
|
|
22
|
+
'fabric.reactions.reactwithemoji': 'Bày tỏ biểu tượng cảm xúc {emoji}',
|
|
23
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, other {{count,number} {emoji} biểu tượng cảm xúc. Hãy bày tỏ cảm xúc bằng biểu tượng cảm xúc {emoji}}}',
|
|
24
|
+
'fabric.reactions.summary': 'Xem tất cả tương tác của người dùng',
|
|
25
|
+
'reaction-picker-trigger.add.reaction.message': 'Thêm tương tác',
|
|
26
|
+
'reactions-reaction.picker-label': 'Thêm tương tác',
|
|
27
|
+
'reactions.dialog.close': 'Đóng',
|
|
28
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
29
|
+
'reactions.dialog.left.navigate': 'Sang trái',
|
|
30
|
+
'reactions.dialog.reactions.count': '{count, plural, other {Tổng số {count,number} lượt tương tác}}',
|
|
31
|
+
'reactions.dialog.right.navigate': 'Sang phải',
|
|
32
|
+
'reactions.dialog.viewall': 'Xem tất cả',
|
|
33
|
+
'reactions.dialog.viewall.tooltip': 'Xem tất cả tương tác của người dùng'
|
|
34
|
+
};
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _zh = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-reactions/i18n/zh"));
|
|
9
7
|
/* prettier-ignore */
|
|
10
8
|
/**
|
|
11
9
|
* NOTE:
|
|
@@ -13,4 +11,24 @@ var _zh = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-r
|
|
|
13
11
|
* This file is automatically generated by Traduki 2.0.
|
|
14
12
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
//Chinese (Simplified)
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.reactions.add': '添加反应',
|
|
17
|
+
'fabric.reactions.add.new': '新增',
|
|
18
|
+
'fabric.reactions.error.unexpected': '反应暂时不可用',
|
|
19
|
+
'fabric.reactions.loading': '正在加载...',
|
|
20
|
+
'fabric.reactions.more.emojis': '更多表情',
|
|
21
|
+
'fabric.reactions.other.reacted.users': '{count, plural, other {以及其他 {count} 个人}}',
|
|
22
|
+
'fabric.reactions.reactwithemoji': '使用 {emoji} 表情回应',
|
|
23
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, other {{count,number} 个 {emoji} 表情。使用 {emoji} 表情回应}}',
|
|
24
|
+
'fabric.reactions.summary': '查看所有用户回应',
|
|
25
|
+
'reaction-picker-trigger.add.reaction.message': '添加反应',
|
|
26
|
+
'reactions-reaction.picker-label': '添加回应',
|
|
27
|
+
'reactions.dialog.close': '关闭',
|
|
28
|
+
'reactions.dialog.emoji.name': '{emojiName}',
|
|
29
|
+
'reactions.dialog.left.navigate': '向左导航',
|
|
30
|
+
'reactions.dialog.reactions.count': '{count, plural, other {共 {count,number} 条回应}}',
|
|
31
|
+
'reactions.dialog.right.navigate': '向右导航',
|
|
32
|
+
'reactions.dialog.viewall': '查看全部',
|
|
33
|
+
'reactions.dialog.viewall.tooltip': '查看所有用户反应'
|
|
34
|
+
};
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
|
5
4
|
value: true
|
|
6
5
|
});
|
|
7
6
|
exports.default = void 0;
|
|
8
|
-
var _zh_TW = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-elements-reactions/i18n/zh_TW"));
|
|
9
7
|
/* prettier-ignore */
|
|
10
8
|
/**
|
|
11
9
|
* NOTE:
|
|
@@ -13,4 +11,23 @@ var _zh_TW = _interopRequireDefault(require("@atlaskit/afm-i18n-platform-element
|
|
|
13
11
|
* This file is automatically generated by Traduki 2.0.
|
|
14
12
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
15
13
|
*/
|
|
16
|
-
|
|
14
|
+
//Chinese (Traditional)
|
|
15
|
+
var _default = exports.default = {
|
|
16
|
+
'fabric.reactions.add': '新增反應',
|
|
17
|
+
'fabric.reactions.add.new': '新增',
|
|
18
|
+
'fabric.reactions.error.unexpected': '暫時無法使用回覆功能',
|
|
19
|
+
'fabric.reactions.loading': '正在載入...',
|
|
20
|
+
'fabric.reactions.more.emojis': '更多表情符號',
|
|
21
|
+
'fabric.reactions.other.reacted.users': '{count, plural, other {還有其他 {count} 個}}',
|
|
22
|
+
'fabric.reactions.reactwithemoji': '使用 {emoji} 表情符號回應',
|
|
23
|
+
'fabric.reactions.reactwithemojiandcount': '{count, plural, other {{count,number} 個 {emoji} 表情符號。使用 {emoji} 表情符號回應}}',
|
|
24
|
+
'fabric.reactions.summary': '檢視所有使用者的回應',
|
|
25
|
+
'reaction-picker-trigger.add.reaction.message': '新增回應',
|
|
26
|
+
'reactions-reaction.picker-label': '新增回應',
|
|
27
|
+
'reactions.dialog.close': '關閉',
|
|
28
|
+
'reactions.dialog.left.navigate': '左側導覽',
|
|
29
|
+
'reactions.dialog.reactions.count': '{count, plural, other {{count,number} 個回應總計}}',
|
|
30
|
+
'reactions.dialog.right.navigate': '右側導覽',
|
|
31
|
+
'reactions.dialog.viewall': '查看全部',
|
|
32
|
+
'reactions.dialog.viewall.tooltip': '檢視所有使用者的回應'
|
|
33
|
+
};
|
package/dist/cjs/shared/i18n.js
CHANGED
|
@@ -73,6 +73,7 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
73
73
|
},
|
|
74
74
|
emojiName: {
|
|
75
75
|
id: 'reactions.dialog.emoji.name',
|
|
76
|
+
// eslint-disable-next-line @atlassian/i18n/no-useless-message
|
|
76
77
|
defaultMessage: '{emojiName}',
|
|
77
78
|
description: 'Description of the emoji'
|
|
78
79
|
},
|
|
@@ -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)}
|
|
@@ -15,11 +15,9 @@ import { isLeftClick } from '../shared/utils';
|
|
|
15
15
|
import { RESOURCED_EMOJI_COMPACT_HEIGHT } from '../shared/constants';
|
|
16
16
|
import { ReactionButton } from './ReactionButton';
|
|
17
17
|
import { StaticReaction } from './StaticReaction';
|
|
18
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
18
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
20
19
|
const styles = {
|
|
21
|
-
container: "_kqswh2mm"
|
|
22
|
-
listContainer: "_qtt8glyw _kqswh2mm _19pkze3t"
|
|
20
|
+
container: "_kqswh2mm"
|
|
23
21
|
};
|
|
24
22
|
const emojiStyle = null;
|
|
25
23
|
const emojiNoReactionStyle = null;
|
|
@@ -43,8 +41,7 @@ export const Reaction = ({
|
|
|
43
41
|
allowUserDialog,
|
|
44
42
|
handleOpenReactionsDialog,
|
|
45
43
|
isViewOnly = false,
|
|
46
|
-
showSubtleStyle
|
|
47
|
-
isListItem = false
|
|
44
|
+
showSubtleStyle
|
|
48
45
|
}) => {
|
|
49
46
|
const intl = useIntl();
|
|
50
47
|
const hoverStart = useRef();
|
|
@@ -124,10 +121,7 @@ export const Reaction = ({
|
|
|
124
121
|
count: reaction.count
|
|
125
122
|
});
|
|
126
123
|
}
|
|
127
|
-
return /*#__PURE__*/React.createElement(Box,
|
|
128
|
-
as: 'li',
|
|
129
|
-
xcss: styles.listContainer
|
|
130
|
-
} : {
|
|
124
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
131
125
|
xcss: styles.container
|
|
132
126
|
}, showParticleEffect && /*#__PURE__*/React.createElement(ReactionParticleEffect, {
|
|
133
127
|
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 "./ReactionPicker.compiled.css";
|
|
4
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
4
|
import React, { useCallback, useLayoutEffect, useRef, useState } from 'react';
|
|
@@ -8,7 +7,6 @@ import { EmojiPicker } from '@atlaskit/emoji/picker';
|
|
|
8
7
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
9
8
|
import { layers } from '@atlaskit/theme/constants';
|
|
10
9
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
10
|
import { useCloseManagerV2 } from '../hooks/useCloseManager';
|
|
13
11
|
import { useDelayedState } from '../hooks/useDelayedState';
|
|
14
12
|
import { useFocusTrap } from '../hooks/useFocusTrap';
|
|
@@ -255,7 +253,7 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
255
253
|
React.createElement(Box, {
|
|
256
254
|
onMouseEnter: handleTriggerMouseEnter,
|
|
257
255
|
onMouseLeave: handleTriggerMouseLeave
|
|
258
|
-
}, /*#__PURE__*/React.createElement(Trigger,
|
|
256
|
+
}, /*#__PURE__*/React.createElement(Trigger, {
|
|
259
257
|
ariaAttributes: {
|
|
260
258
|
'aria-expanded': isPopupTrayOpen,
|
|
261
259
|
'aria-controls': PICKER_CONTROL_ID
|
|
@@ -279,18 +277,17 @@ export const ReactionPicker = /*#__PURE__*/React.memo(props => {
|
|
|
279
277
|
showAddReactionText: showAddReactionText,
|
|
280
278
|
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
281
279
|
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
282
|
-
reactionPickerTriggerText: reactionPickerTriggerText
|
|
283
|
-
}, !fg('jfp_a11y_team_comment_actions_semantic') && {
|
|
280
|
+
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
284
281
|
isListItem: isListItem
|
|
285
|
-
})))
|
|
286
|
-
zIndex:
|
|
282
|
+
}))), isPopupTrayOpen && /*#__PURE__*/React.createElement(Portal, {
|
|
283
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
287
284
|
}, /*#__PURE__*/React.createElement(PopperWrapper, {
|
|
288
285
|
settings: settings,
|
|
289
286
|
popperModifiers: popperModifiers,
|
|
290
287
|
isOpen: isPopupTrayOpen,
|
|
291
288
|
onClose: onClose,
|
|
292
289
|
triggerRef: triggerRef,
|
|
293
|
-
zIndex:
|
|
290
|
+
zIndex: reactionPickerPopperZIndex || layers.flag()
|
|
294
291
|
}, settings.showFullPicker || hoverableReactionPicker && isHoverableReactionPickerEmojiPickerOpen ? /*#__PURE__*/React.createElement(Box, {
|
|
295
292
|
xcss: additionalStyles.selectorContainer,
|
|
296
293
|
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 "./Reactions.compiled.css";
|
|
4
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
4
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
@@ -7,7 +6,6 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
7
6
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
7
|
import { ModalTransition } from '@atlaskit/modal-dialog';
|
|
9
8
|
import UFOSegment from '@atlaskit/react-ufo/segment';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
9
|
import { createAndFireSafe, createPickerButtonClickedEvent, createPickerCancelledEvent, createPickerMoreClickedEvent, createReactionsRenderedEvent, createReactionSelectionEvent, isSampled } from '../analytics';
|
|
12
10
|
import { SAMPLING_RATE_REACTIONS_RENDERED_EXP } from '../shared/constants';
|
|
13
11
|
import { messages } from '../shared/i18n';
|
|
@@ -20,8 +18,6 @@ import { ReactionSummaryView } from './ReactionSummaryView';
|
|
|
20
18
|
const wrapperStyle = null;
|
|
21
19
|
const noFlexWrapStyles = null;
|
|
22
20
|
const noContainerPositionStyles = null;
|
|
23
|
-
const listWrapperStyle = null;
|
|
24
|
-
const listItemStyle = null;
|
|
25
21
|
const reactionPickerStyle = null;
|
|
26
22
|
|
|
27
23
|
/**
|
|
@@ -68,34 +64,7 @@ export function getTooltip(status, errorMessage, tooltipContent) {
|
|
|
68
64
|
return !!tooltipContent ? tooltipContent : /*#__PURE__*/React.createElement(FormattedMessage, messages.addReaction);
|
|
69
65
|
}
|
|
70
66
|
}
|
|
71
|
-
const ReactionsWrapper = ({
|
|
72
|
-
children,
|
|
73
|
-
noWrap,
|
|
74
|
-
noRelativeContainer,
|
|
75
|
-
isListItem = false,
|
|
76
|
-
reactionsLength = 0,
|
|
77
|
-
isShowingDefaultReactions = false
|
|
78
|
-
}) => {
|
|
79
|
-
if (isListItem && fg('jfp_a11y_team_comment_actions_semantic')) {
|
|
80
|
-
// with no reactions picker render children inside listitem container
|
|
81
|
-
if (reactionsLength === 0 && !isShowingDefaultReactions) {
|
|
82
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
83
|
-
"data-testid": RENDER_REACTIONS_TESTID,
|
|
84
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", "_19bvze3t _19pk1wng", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
85
|
-
}, children);
|
|
86
|
-
}
|
|
87
67
|
|
|
88
|
-
// with reactions or default reactions present, reactions & picker rendered as listitem inside un-ordered list
|
|
89
|
-
return /*#__PURE__*/React.createElement("ul", {
|
|
90
|
-
"data-testid": RENDER_REACTIONS_TESTID,
|
|
91
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", "_19bvze3t _19pk1wng", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
92
|
-
}, children);
|
|
93
|
-
}
|
|
94
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
95
|
-
"data-testid": RENDER_REACTIONS_TESTID,
|
|
96
|
-
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
97
|
-
}, children);
|
|
98
|
-
};
|
|
99
68
|
/**
|
|
100
69
|
* Renders list of reactions
|
|
101
70
|
*/
|
|
@@ -308,70 +277,11 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
308
277
|
}
|
|
309
278
|
});
|
|
310
279
|
};
|
|
311
|
-
const renderReactionPicker = () => {
|
|
312
|
-
if (isListItem && memorizedReactions.length > 0 && fg('jfp_a11y_team_comment_actions_semantic')) {
|
|
313
|
-
// render the reaction picker inside li when reactions are present
|
|
314
|
-
return /*#__PURE__*/React.createElement("li", {
|
|
315
|
-
className: ax(["_qtt8glyw _19pkze3t"])
|
|
316
|
-
}, /*#__PURE__*/React.createElement(ReactionPicker, {
|
|
317
|
-
emojiProvider: emojiProvider,
|
|
318
|
-
allowAllEmojis: allowAllEmojis,
|
|
319
|
-
pickerQuickReactionEmojiIds: pickerQuickReactionEmojiIds,
|
|
320
|
-
disabled: status !== ReactionStatus.ready,
|
|
321
|
-
onSelection: handleOnSelection,
|
|
322
|
-
onOpen: handlePickerOpen,
|
|
323
|
-
onCancel: handleOnCancel,
|
|
324
|
-
onShowMore: handleOnMore,
|
|
325
|
-
tooltipContent: hoverableSummaryView ? null : getTooltip(status, errorMessage, reactionPickerTriggerTooltipContent),
|
|
326
|
-
emojiPickerSize: emojiPickerSize,
|
|
327
|
-
miniMode: miniMode,
|
|
328
|
-
showOpaqueBackground: showOpaqueBackground,
|
|
329
|
-
showAddReactionText: showAddReactionText,
|
|
330
|
-
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
331
|
-
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
332
|
-
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
333
|
-
hoverableReactionPicker: hoverableSummaryView,
|
|
334
|
-
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
335
|
-
reactionPickerPlacement: reactionPickerPlacement,
|
|
336
|
-
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
337
|
-
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
338
|
-
}));
|
|
339
|
-
}
|
|
340
|
-
return /*#__PURE__*/React.createElement(ReactionPicker, {
|
|
341
|
-
emojiProvider: emojiProvider,
|
|
342
|
-
allowAllEmojis: allowAllEmojis,
|
|
343
|
-
pickerQuickReactionEmojiIds: pickerQuickReactionEmojiIds,
|
|
344
|
-
disabled: status !== ReactionStatus.ready,
|
|
345
|
-
onSelection: handleOnSelection,
|
|
346
|
-
onOpen: handlePickerOpen,
|
|
347
|
-
onCancel: handleOnCancel,
|
|
348
|
-
onShowMore: handleOnMore,
|
|
349
|
-
tooltipContent: hoverableSummaryView ? null : getTooltip(status, errorMessage, reactionPickerTriggerTooltipContent),
|
|
350
|
-
emojiPickerSize: emojiPickerSize,
|
|
351
|
-
miniMode: miniMode,
|
|
352
|
-
showOpaqueBackground: showOpaqueBackground,
|
|
353
|
-
showAddReactionText: showAddReactionText,
|
|
354
|
-
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
355
|
-
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
356
|
-
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
357
|
-
isListItem: isListItem,
|
|
358
|
-
hoverableReactionPicker: hoverableSummaryView,
|
|
359
|
-
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
360
|
-
reactionPickerPlacement: reactionPickerPlacement,
|
|
361
|
-
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
362
|
-
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
363
|
-
});
|
|
364
|
-
};
|
|
365
280
|
return /*#__PURE__*/React.createElement(UFOSegment, {
|
|
366
281
|
name: "reactions"
|
|
367
|
-
}, /*#__PURE__*/React.createElement(
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
reactionsLength: memorizedReactions.length,
|
|
371
|
-
noWrap: noWrap,
|
|
372
|
-
isShowingDefaultReactions:
|
|
373
|
-
// Conditon to determine whether showing the default reacitons
|
|
374
|
-
!(reactions.length === 0 && hideDefaultReactions || reactions.length > 0 || !quickReactionEmojis)
|
|
282
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
283
|
+
"data-testid": RENDER_REACTIONS_TESTID,
|
|
284
|
+
className: ax(["_1e0c1txw _1n261g80 _kqswh2mm _4cvr1h6o _19pkr5cr _13vtidpf", noWrap && "_1n261q9c", noRelativeContainer && "_kqswpfqs"])
|
|
375
285
|
}, !onlyRenderPicker && (shouldShowSummaryView ? /*#__PURE__*/React.createElement("div", {
|
|
376
286
|
"data-testid": RENDER_REACTIONS_SUMMARY_TESTID
|
|
377
287
|
}, /*#__PURE__*/React.createElement(ReactionSummaryView, {
|
|
@@ -403,7 +313,7 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
403
313
|
summaryGetOptimisticImageURL: summaryGetOptimisticImageURL,
|
|
404
314
|
summaryButtonIconAfter: summaryButtonIconAfter,
|
|
405
315
|
summaryViewParticleEffectEmojiId: renderParticleEffectOnSummaryView ? summaryViewParticleEffectEmojiId : null
|
|
406
|
-
})) : memorizedReactions.map(reaction => /*#__PURE__*/React.createElement(Reaction,
|
|
316
|
+
})) : memorizedReactions.map(reaction => /*#__PURE__*/React.createElement(Reaction, {
|
|
407
317
|
key: reaction.emojiId,
|
|
408
318
|
reaction: reaction,
|
|
409
319
|
emojiProvider: emojiProvider,
|
|
@@ -417,9 +327,30 @@ export const Reactions = /*#__PURE__*/React.memo(({
|
|
|
417
327
|
handleOpenReactionsDialog: handleOpenReactionsDialog,
|
|
418
328
|
isViewOnly: isViewOnly,
|
|
419
329
|
showSubtleStyle: showSubtleDefaultReactions && reactions.length === 0
|
|
420
|
-
},
|
|
421
|
-
|
|
422
|
-
|
|
330
|
+
}))), isViewOnly || !onlyRenderPicker && shouldShowSummaryView && allowSelectFromSummaryView ? null : /*#__PURE__*/React.createElement(ReactionPicker, {
|
|
331
|
+
emojiProvider: emojiProvider,
|
|
332
|
+
allowAllEmojis: allowAllEmojis,
|
|
333
|
+
pickerQuickReactionEmojiIds: pickerQuickReactionEmojiIds,
|
|
334
|
+
disabled: status !== ReactionStatus.ready,
|
|
335
|
+
onSelection: handleOnSelection,
|
|
336
|
+
onOpen: handlePickerOpen,
|
|
337
|
+
onCancel: handleOnCancel,
|
|
338
|
+
onShowMore: handleOnMore,
|
|
339
|
+
tooltipContent: hoverableSummaryView ? null : getTooltip(status, errorMessage, reactionPickerTriggerTooltipContent),
|
|
340
|
+
emojiPickerSize: emojiPickerSize,
|
|
341
|
+
miniMode: miniMode,
|
|
342
|
+
showOpaqueBackground: showOpaqueBackground,
|
|
343
|
+
showAddReactionText: showAddReactionText,
|
|
344
|
+
subtleReactionsSummaryAndPicker: subtleReactionsSummaryAndPicker,
|
|
345
|
+
reactionPickerTriggerIcon: reactionPickerTriggerIcon,
|
|
346
|
+
reactionPickerTriggerText: reactionPickerTriggerText,
|
|
347
|
+
isListItem: isListItem,
|
|
348
|
+
hoverableReactionPicker: hoverableSummaryView,
|
|
349
|
+
hoverableReactionPickerDelay: hoverableSummaryView ? 300 : 0,
|
|
350
|
+
reactionPickerPlacement: reactionPickerPlacement,
|
|
351
|
+
reactionPickerPopperZIndex: reactionPickerPopperZIndex,
|
|
352
|
+
className: ax(["_1e0c1o8l _19pk1b66"])
|
|
353
|
+
}), /*#__PURE__*/React.createElement(ModalTransition, null, !!selectedEmojiId && /*#__PURE__*/React.createElement(UFOSegment, {
|
|
423
354
|
name: "reactions-dialog"
|
|
424
355
|
}, /*#__PURE__*/React.createElement(ReactionsDialog, {
|
|
425
356
|
selectedEmojiId: selectedEmojiId,
|
|
@@ -99,7 +99,7 @@ export const Trigger = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
99
99
|
testId: RENDER_TOOLTIP_TRIGGER_TESTID,
|
|
100
100
|
content: tooltipContent,
|
|
101
101
|
canAppear: () => !showAddReactionText
|
|
102
|
-
}, isListItem
|
|
102
|
+
}, isListItem ? /*#__PURE__*/React.createElement("li", {
|
|
103
103
|
"data-testid": RENDER_LIST_ITEM_WRAPPER_TESTID,
|
|
104
104
|
className: ax(["_qtt8glyw"])
|
|
105
105
|
}, renderPressableButton()) : renderPressableButton()));
|
package/dist/es2019/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/es2019/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/es2019/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/es2019/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
|
+
};
|