@atlaskit/reactions 22.13.0 → 22.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/analytics/index.js +1 -1
- package/dist/cjs/components/Reaction/Reaction.js +1 -1
- package/dist/cjs/components/ReactionDialog/ReactionsDialog.js +1 -1
- package/dist/cjs/components/ReactionDialog/ReactionsList.js +1 -1
- package/dist/cjs/components/ReactionPicker/ReactionPicker.js +1 -1
- package/dist/cjs/components/ReactionPicker/RepositionOnUpdate.js +1 -1
- package/dist/cjs/components/ReactionSummary/ReactionSummaryButton.js +1 -1
- package/dist/cjs/components/ReactionSummary/ReactionSummaryView.js +1 -1
- package/dist/cjs/components/Reactions/Reactions.js +1 -1
- package/dist/cjs/components/Selector/Selector.js +1 -1
- package/dist/cjs/components/UfoErrorBoundary/UfoErrorBoundary.js +4 -4
- package/dist/cjs/containers/ConnectedReactionsView/ConnectedReactionsView.js +1 -1
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +1 -0
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/index.js +7 -0
- package/dist/cjs/store/MemoryReactionsStore.js +2 -2
- package/dist/cjs/store/ReactionConsumer.js +1 -1
- package/dist/cjs/types/index.js +6 -0
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +1 -0
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/index.js +1 -0
- package/dist/es2019/store/MemoryReactionsStore.js +2 -2
- package/dist/es2019/types/index.js +1 -1
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/components/UfoErrorBoundary/UfoErrorBoundary.js +4 -4
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +1 -0
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/store/MemoryReactionsStore.js +2 -2
- package/dist/esm/store/ReactionConsumer.js +1 -1
- package/dist/esm/types/index.js +1 -1
- package/dist/types/i18n/cs.d.ts +1 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +1 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/types/reaction.d.ts +1 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +1 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +1 -0
- package/dist/types-ts4.5/index.d.ts +1 -0
- package/dist/types-ts4.5/types/index.d.ts +1 -1
- package/dist/types-ts4.5/types/reaction.d.ts +1 -1
- package/package.json +3 -3
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export { Reaction, ReactionPicker, Reactions } from './components';
|
|
|
4
4
|
export { ConnectedReactionPicker, ConnectedReactionsView } from './containers';
|
|
5
5
|
export { MemoryReactionsStore, ReactionConsumer } from './store';
|
|
6
6
|
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, StorePropInput, State, onDialogSelectReactionChange, } from './types';
|
|
7
|
+
export { ReactionUpdateType } from './types';
|
|
7
8
|
export declare const constants: {
|
|
8
9
|
DefaultReactions: import("@atlaskit/emoji").EmojiId[];
|
|
9
10
|
DefaultReactionsByShortName: Map<string, import("@atlaskit/emoji").EmojiId>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ReactionAction, Actions } from './Actions';
|
|
2
|
-
export { ReactionStatus } from './reaction';
|
|
2
|
+
export { ReactionStatus, ReactionUpdateType } from './reaction';
|
|
3
3
|
export type { ReactionSource, ReactionsError, ReactionsLoading, ReactionsReadyState, ReactionsState, ReactionSummary, ReactionFocused, QuickReactionEmojiSummary, ReactionsNotLoaded, Reactions, ReactionClick, ReactionMouseEnter, onDialogSelectReactionChange, } from './reaction';
|
|
4
4
|
export type { Client, Request } from './client';
|
|
5
5
|
export type { Updater } from './Updater';
|
|
@@ -90,7 +90,7 @@ export declare enum ReactionUpdateType {
|
|
|
90
90
|
* @param ari - The ARI (Atlassian Resource Identifier) of the entity.
|
|
91
91
|
* @param emojiId - The ID of the emoji used in the reaction.
|
|
92
92
|
*/
|
|
93
|
-
export type ReactionUpdateSuccess = (action: ReactionUpdateType, ari: string, emojiId: string) => void;
|
|
93
|
+
export type ReactionUpdateSuccess = (action: ReactionUpdateType, ari: string, emojiId: string, count: number) => void;
|
|
94
94
|
/**
|
|
95
95
|
* Condition of the reaction when gets loaded from the store
|
|
96
96
|
*/
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.emoji.name': string;
|
|
18
19
|
'reactions.dialog.left.navigate': string;
|
|
@@ -13,6 +13,7 @@ declare const _default: {
|
|
|
13
13
|
'fabric.reactions.other.reacted.users': string;
|
|
14
14
|
'fabric.reactions.reactwithemoji': string;
|
|
15
15
|
'fabric.reactions.summary': string;
|
|
16
|
+
'reaction-picker-trigger.add.reaction.message': string;
|
|
16
17
|
'reactions.dialog.close': string;
|
|
17
18
|
'reactions.dialog.left.navigate': string;
|
|
18
19
|
'reactions.dialog.reactions.count': string;
|
|
@@ -4,6 +4,7 @@ export { Reaction, ReactionPicker, Reactions } from './components';
|
|
|
4
4
|
export { ConnectedReactionPicker, ConnectedReactionsView } from './containers';
|
|
5
5
|
export { MemoryReactionsStore, ReactionConsumer } from './store';
|
|
6
6
|
export type { Client as ReactionClient, Request as ReactionRequest, Store as ReactionsStore, StorePropInput, State, onDialogSelectReactionChange, } from './types';
|
|
7
|
+
export { ReactionUpdateType } from './types';
|
|
7
8
|
export declare const constants: {
|
|
8
9
|
DefaultReactions: import("@atlaskit/emoji").EmojiId[];
|
|
9
10
|
DefaultReactionsByShortName: Map<string, import("@atlaskit/emoji").EmojiId>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type { ReactionAction, Actions } from './Actions';
|
|
2
|
-
export { ReactionStatus } from './reaction';
|
|
2
|
+
export { ReactionStatus, ReactionUpdateType } from './reaction';
|
|
3
3
|
export type { ReactionSource, ReactionsError, ReactionsLoading, ReactionsReadyState, ReactionsState, ReactionSummary, ReactionFocused, QuickReactionEmojiSummary, ReactionsNotLoaded, Reactions, ReactionClick, ReactionMouseEnter, onDialogSelectReactionChange, } from './reaction';
|
|
4
4
|
export type { Client, Request } from './client';
|
|
5
5
|
export type { Updater } from './Updater';
|
|
@@ -90,7 +90,7 @@ export declare enum ReactionUpdateType {
|
|
|
90
90
|
* @param ari - The ARI (Atlassian Resource Identifier) of the entity.
|
|
91
91
|
* @param emojiId - The ID of the emoji used in the reaction.
|
|
92
92
|
*/
|
|
93
|
-
export type ReactionUpdateSuccess = (action: ReactionUpdateType, ari: string, emojiId: string) => void;
|
|
93
|
+
export type ReactionUpdateSuccess = (action: ReactionUpdateType, ari: string, emojiId: string, count: number) => void;
|
|
94
94
|
/**
|
|
95
95
|
* Condition of the reaction when gets loaded from the store
|
|
96
96
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/reactions",
|
|
3
|
-
"version": "22.13.
|
|
3
|
+
"version": "22.13.1",
|
|
4
4
|
"description": "Reactions component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@atlaskit/avatar": "^21.15.0",
|
|
39
39
|
"@atlaskit/button": "^20.1.0",
|
|
40
40
|
"@atlaskit/emoji": "^67.7.0",
|
|
41
|
-
"@atlaskit/icon": "^22.
|
|
41
|
+
"@atlaskit/icon": "^22.18.0",
|
|
42
42
|
"@atlaskit/modal-dialog": "^12.15.0",
|
|
43
43
|
"@atlaskit/motion": "^1.9.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/spinner": "^16.3.0",
|
|
49
49
|
"@atlaskit/tabs": "^16.4.0",
|
|
50
50
|
"@atlaskit/theme": "^13.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^1.
|
|
51
|
+
"@atlaskit/tokens": "^1.60.0",
|
|
52
52
|
"@atlaskit/tooltip": "^18.7.0",
|
|
53
53
|
"@atlaskit/ufo": "^0.3.0",
|
|
54
54
|
"@atlaskit/util-service-support": "^6.2.0",
|