stream-chat-react 14.0.0-beta.4 → 14.0.0-beta.6
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/dist/cjs/{WithAudioPlayback.236d404c.js → WithAudioPlayback.f9abf707.js} +94 -116
- package/dist/cjs/WithAudioPlayback.f9abf707.js.map +1 -0
- package/dist/cjs/emojis.js +1 -1
- package/dist/cjs/index.js +161 -188
- package/dist/cjs/index.js.map +1 -1
- package/dist/css/index.css +219 -595
- package/dist/css/index.css.map +1 -1
- package/dist/es/{WithAudioPlayback.89700cb5.mjs → WithAudioPlayback.d90f1a99.mjs} +184 -206
- package/dist/es/WithAudioPlayback.d90f1a99.mjs.map +1 -0
- package/dist/es/emojis.mjs +1 -1
- package/dist/es/index.mjs +221 -248
- package/dist/es/index.mjs.map +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/AvatarStack.d.ts +2 -2
- package/dist/types/components/Avatar/AvatarStack.d.ts.map +1 -1
- package/dist/types/components/Avatar/ChannelAvatar.d.ts +2 -6
- package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
- package/dist/types/components/Avatar/GroupAvatar.d.ts +6 -7
- package/dist/types/components/Avatar/GroupAvatar.d.ts.map +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts +1 -1
- package/dist/types/components/ChannelHeader/ChannelHeader.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/ChannelListItemUI.d.ts.map +1 -1
- package/dist/types/components/ChannelListItem/utils.d.ts.map +1 -1
- package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
- package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
- package/dist/types/components/Icons/createIcon.d.ts +1 -1
- package/dist/types/components/Icons/createIcon.d.ts.map +1 -1
- package/dist/types/components/Icons/icons.d.ts +9 -41
- package/dist/types/components/Icons/icons.d.ts.map +1 -1
- package/dist/types/components/Icons/index.d.ts +0 -1
- package/dist/types/components/Icons/index.d.ts.map +1 -1
- package/dist/types/components/Message/Message.d.ts.map +1 -1
- package/dist/types/components/Message/hooks/useUserRole.d.ts.map +1 -1
- package/dist/types/components/Message/types.d.ts +1 -5
- package/dist/types/components/Message/types.d.ts.map +1 -1
- package/dist/types/components/MessageActions/MessageActions.defaults.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/MessageComposerUI.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/hooks/useSubmitHandler.d.ts.map +1 -1
- package/dist/types/components/MessageComposer/preEditSnapshot.d.ts +16 -0
- package/dist/types/components/MessageComposer/preEditSnapshot.d.ts.map +1 -0
- package/dist/types/components/MessageList/MessageList.d.ts +1 -1
- package/dist/types/components/MessageList/MessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageList.d.ts.map +1 -1
- package/dist/types/components/MessageList/VirtualizedMessageListComponents.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactions.d.ts +4 -16
- package/dist/types/components/Reactions/MessageReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts +4 -4
- package/dist/types/components/Reactions/MessageReactionsDetail.d.ts.map +1 -1
- package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts +4 -2
- package/dist/types/components/Reactions/hooks/useProcessReactions.d.ts.map +1 -1
- package/dist/types/components/Reactions/types.d.ts +0 -1
- package/dist/types/components/Reactions/types.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/SummarizedMessagePreview.d.ts.map +1 -1
- package/dist/types/components/SummarizedMessagePreview/hooks/useLatestMessagePreview.d.ts.map +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts +1 -1
- package/dist/types/components/Thread/ThreadHeader.d.ts.map +1 -1
- package/dist/types/components/TypingIndicator/TypingIndicator.d.ts.map +1 -1
- package/dist/types/context/ComponentContext.d.ts +2 -2
- package/dist/types/context/ComponentContext.d.ts.map +1 -1
- package/dist/types/context/MessageBounceContext.d.ts.map +1 -1
- package/dist/types/context/MessageContext.d.ts +1 -5
- package/dist/types/context/MessageContext.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/WithAudioPlayback.236d404c.js.map +0 -1
- package/dist/es/WithAudioPlayback.89700cb5.mjs.map +0 -1
- package/dist/types/components/Icons/IconGiphy.d.ts +0 -3
- package/dist/types/components/Icons/IconGiphy.d.ts.map +0 -1
|
@@ -6,7 +6,7 @@ export type AvatarProps = {
|
|
|
6
6
|
userName?: string;
|
|
7
7
|
/** Online status indicator, not rendered if not of type boolean */
|
|
8
8
|
isOnline?: boolean;
|
|
9
|
-
size: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | null;
|
|
9
|
+
size: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs' | (string & {}) | null;
|
|
10
10
|
} & ComponentPropsWithoutRef<'div'>;
|
|
11
11
|
/**
|
|
12
12
|
* A round avatar image with fallback to username's first letter
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAc,EACZ,KAAK,wBAAwB,EAI9B,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,WAAW,GAAG;IACxB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AACA,OAAc,EACZ,KAAK,wBAAwB,EAI9B,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,WAAW,GAAG;IACxB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC;CACvE,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAuBpC;;GAEG;AACH,eAAO,MAAM,MAAM,+DAOhB,WAAW,4CA4Db,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { type ComponentProps, type ElementType } from 'react';
|
|
2
2
|
import { type AvatarProps } from './Avatar';
|
|
3
3
|
import { type BadgeSize } from '../Badge';
|
|
4
|
-
export declare function AvatarStack({ badgeSize, component: Component, displayInfo,
|
|
4
|
+
export declare function AvatarStack({ badgeSize, capLimit, component: Component, displayInfo, size, }: {
|
|
5
5
|
component?: ElementType;
|
|
6
6
|
displayInfo?: (Pick<AvatarProps, 'imageUrl' | 'userName'> & {
|
|
7
7
|
id?: string;
|
|
8
8
|
})[];
|
|
9
|
-
overflowCount?: number;
|
|
10
9
|
size: 'md' | 'sm' | 'xs' | null;
|
|
11
10
|
badgeSize?: BadgeSize;
|
|
11
|
+
capLimit?: number;
|
|
12
12
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
export type AvatarStackProps = ComponentProps<typeof AvatarStack>;
|
|
14
14
|
//# sourceMappingURL=AvatarStack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AvatarStack.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/AvatarStack.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,
|
|
1
|
+
{"version":3,"file":"AvatarStack.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/AvatarStack.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAW,MAAM,OAAO,CAAC;AAE9E,OAAO,EAAE,KAAK,WAAW,EAA2B,MAAM,UAAU,CAAC;AAErE,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEjD,wBAAgB,WAAW,CAAC,EAC1B,SAAS,EACT,QAAY,EACZ,SAAS,EAAE,SAAiB,EAC5B,WAAgB,EAChB,IAAI,GACL,EAAE;IACD,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,WAAW,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,GAAG,UAAU,CAAC,GAAG;QAAE,EAAE,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,EAAE,CAAC;IAC/E,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,kDAwCA;AAED,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC"}
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import type { AvatarProps, GroupAvatarProps } from './';
|
|
2
|
-
import type { GroupAvatarMember } from './GroupAvatar';
|
|
3
2
|
export type ChannelAvatarProps = Partial<Omit<GroupAvatarProps & AvatarProps, 'size'>> & {
|
|
4
|
-
size: GroupAvatarProps['size'];
|
|
5
|
-
/** When set with length >= 2, GroupAvatar is used. */
|
|
6
|
-
displayMembers?: GroupAvatarMember[];
|
|
7
|
-
overflowCount?: number;
|
|
3
|
+
size: GroupAvatarProps['size'] | AvatarProps['size'];
|
|
8
4
|
};
|
|
9
|
-
export declare const ChannelAvatar: ({ displayMembers, imageUrl,
|
|
5
|
+
export declare const ChannelAvatar: ({ displayMembers, imageUrl, size, userName, ...sharedProps }: ChannelAvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
6
|
//# sourceMappingURL=ChannelAvatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelAvatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/ChannelAvatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelAvatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/ChannelAvatar.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,IAAI,CAAC;AAExD,MAAM,MAAM,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC,gBAAgB,GAAG,WAAW,EAAE,MAAM,CAAC,CAAC,GAAG;IACvF,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC;CACtD,CAAC;AAEF,eAAO,MAAM,aAAa,iEAMvB,kBAAkB,4CAepB,CAAC"}
|
|
@@ -3,19 +3,18 @@ import { type BadgeSize } from '../Badge';
|
|
|
3
3
|
export type GroupAvatarMember = {
|
|
4
4
|
imageUrl?: string;
|
|
5
5
|
userName?: string;
|
|
6
|
+
id?: string;
|
|
6
7
|
};
|
|
7
|
-
export type GroupAvatarProps =
|
|
8
|
-
/** List of members to show as avatars; at most 2 when
|
|
8
|
+
export type GroupAvatarProps = {
|
|
9
|
+
/** List of members to show as avatars; at most 2 when there's more than 4 members, otherwise 4. Defaults to [] when omitted. */
|
|
9
10
|
displayMembers?: GroupAvatarMember[];
|
|
10
|
-
|
|
11
|
-
overflowCount?: number;
|
|
12
|
-
size: '2xl' | 'xl' | 'lg' | null;
|
|
11
|
+
size: '2xl' | 'xl' | 'lg' | (string & {}) | null;
|
|
13
12
|
badgeSize?: BadgeSize;
|
|
14
13
|
isOnline?: boolean;
|
|
15
|
-
}
|
|
14
|
+
} & ComponentPropsWithoutRef<'div'>;
|
|
16
15
|
/**
|
|
17
16
|
* Avatar component to display multiple users' avatars in a group.
|
|
18
17
|
* Renders a single Avatar if fewer than 2 members. Otherwise, renders up to 2 avatars (when overflowCount is set) or 4, plus an optional +N badge.
|
|
19
18
|
*/
|
|
20
|
-
export declare const GroupAvatar: ({ badgeSize, className, displayMembers, isOnline,
|
|
19
|
+
export declare const GroupAvatar: ({ badgeSize, className, displayMembers, isOnline, size, ...rest }: GroupAvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
//# sourceMappingURL=GroupAvatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GroupAvatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/GroupAvatar.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,KAAK,wBAAwB,
|
|
1
|
+
{"version":3,"file":"GroupAvatar.d.ts","sourceRoot":"","sources":["../../../../src/components/Avatar/GroupAvatar.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,KAAK,wBAAwB,EAAW,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEjD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,gIAAgI;IAChI,cAAc,CAAC,EAAE,iBAAiB,EAAE,CAAC;IACrC,IAAI,EAAE,KAAK,GAAG,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC;IACjD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAEpC;;;GAGG;AACH,eAAO,MAAM,WAAW,sEAOrB,gBAAgB,4CAiElB,CAAC"}
|
|
@@ -5,7 +5,7 @@ export type ChannelHeaderProps = {
|
|
|
5
5
|
Avatar?: React.ComponentType<ChannelAvatarProps>;
|
|
6
6
|
/** Manually set the image to render, defaults to the Channel image */
|
|
7
7
|
image?: string;
|
|
8
|
-
/** UI component to display menu icon, defaults to
|
|
8
|
+
/** UI component to display menu icon, defaults to IconSidebar*/
|
|
9
9
|
MenuIcon?: React.ComponentType;
|
|
10
10
|
/** Set title manually */
|
|
11
11
|
title?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelHeader/ChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,kBAAkB,EAAkC,MAAM,WAAW,CAAC;AAkCpF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,wTAAwT;IACxT,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACjD,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,
|
|
1
|
+
{"version":3,"file":"ChannelHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelHeader/ChannelHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,KAAK,kBAAkB,EAAkC,MAAM,WAAW,CAAC;AAkCpF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,wTAAwT;IACxT,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,kBAAkB,CAAC,CAAC;IACjD,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,yBAAyB;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,aAAa,UAAW,kBAAkB,4CA0CtD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChannelListItemUI.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/ChannelListItemUI.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ChannelListItemUI.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/ChannelListItemUI.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AA4FhE;;;GAGG;AACH,eAAO,MAAM,iBAAiB,UA7Fc,sBAAsB,4CA+F3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/ChannelListItem/utils.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,OAAO,EAAY,MAAM,aAAa,CAAC;AAErD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAYhF,eAAO,MAAM,iBAAiB,SAAU,MAAM,4CAI7C,CAAC;AAeF,eAAO,MAAM,uBAAuB,YACzB,OAAO,KACb,uBAAuB,CAAC,GAAG,CAAC,iBACjB,uBAAuB,CAAC,cAAc,CAAC,yBAC9B,gBAAgB,CAAC,sBAAsB,CAAC,KAC9D,SAiEF,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EA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ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/service/DialogPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAc/C,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"DialogPortal.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dialog/service/DialogPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAc/C,eAAO,MAAM,uBAAuB,sDAsDnC,CAAC;AAEF,KAAK,sBAAsB,GAAG;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,6CAI3B,kBAAkB,sBAAsB,CAAC,4CAc3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SwitchField.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/SwitchField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EAEd,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,iBAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,EAC1C,UAAU,CACX,GAAG;IACF,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,+DAMrB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"SwitchField.d.ts","sourceRoot":"","sources":["../../../../src/components/Form/SwitchField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EAEd,iBAAiB,EACjB,SAAS,EACV,MAAM,OAAO,CAAC;AAGf,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,iBAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,EAC1C,UAAU,CACX,GAAG;IACF,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yEAAyE;IACzE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,WAAW,+DAMrB,gBAAgB,4CAuClB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAChD,EAAE,CAAC,EAAE,OAAO,CAAC;CACd,CAAC;AAgBF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,CAAC,GAAG;IAC5D,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,gBAAgB,mEAO1B,qBAAqB,4CAsBvB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,gBAAgB,6CAK1B,qBAAqB,4CAOvB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,sBAAsB,mDAKhC,2BAA2B,4CAO7B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentProps, type ReactNode } from 'react';
|
|
2
|
-
export declare function createIcon(name: string, content: ReactNode, defaultProps?: ComponentProps<'svg'>): {
|
|
2
|
+
export declare function createIcon(name: string, content: ReactNode, defaultProps?: ComponentProps<'svg'> & Record<`data-${string}`, string>): {
|
|
3
3
|
({ className, ...props }: ComponentProps<'svg'>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
displayName: string;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/createIcon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBnE,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,SAAS,EAClB,YAAY,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"createIcon.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/createIcon.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAiBnE,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,SAAS,EAClB,YAAY,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,QAAQ,MAAM,EAAE,EAAE,MAAM,CAAC;8BAGhC,eAAe,KAAK,CAAC;;EAO7D"}
|
|
@@ -15,10 +15,6 @@ export declare const IconArrowLeft: {
|
|
|
15
15
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
|
-
export declare const IconArrowRight: {
|
|
19
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
displayName: string;
|
|
21
|
-
};
|
|
22
18
|
export declare const IconArrowUpRight: {
|
|
23
19
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
24
20
|
displayName: string;
|
|
@@ -67,18 +63,10 @@ export declare const IconMessageBubbleFill: {
|
|
|
67
63
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
68
64
|
displayName: string;
|
|
69
65
|
};
|
|
70
|
-
export declare const IconBubble3ChatMessage: {
|
|
71
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
72
|
-
displayName: string;
|
|
73
|
-
};
|
|
74
66
|
export declare const IconThread: {
|
|
75
67
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
76
68
|
displayName: string;
|
|
77
69
|
};
|
|
78
|
-
export declare const IconBubbleText6SolidChatMessage: {
|
|
79
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
80
|
-
displayName: string;
|
|
81
|
-
};
|
|
82
70
|
export declare const IconThreadFill: {
|
|
83
71
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
84
72
|
displayName: string;
|
|
@@ -123,10 +111,6 @@ export declare const IconNoSign: {
|
|
|
123
111
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
124
112
|
displayName: string;
|
|
125
113
|
};
|
|
126
|
-
export declare const IconInfo: {
|
|
127
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
128
|
-
displayName: string;
|
|
129
|
-
};
|
|
130
114
|
export declare const IconMinusCircle: {
|
|
131
115
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
132
116
|
displayName: string;
|
|
@@ -147,7 +131,7 @@ export declare const IconXmark: {
|
|
|
147
131
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
148
132
|
displayName: string;
|
|
149
133
|
};
|
|
150
|
-
export declare const
|
|
134
|
+
export declare const IconXmarkSmall: {
|
|
151
135
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
152
136
|
displayName: string;
|
|
153
137
|
};
|
|
@@ -183,11 +167,11 @@ export declare const IconExclamationMark: {
|
|
|
183
167
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
184
168
|
displayName: string;
|
|
185
169
|
};
|
|
186
|
-
export declare const
|
|
170
|
+
export declare const IconExclamationTriangleFill: {
|
|
187
171
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
188
172
|
displayName: string;
|
|
189
173
|
};
|
|
190
|
-
export declare const
|
|
174
|
+
export declare const IconEyeFill: {
|
|
191
175
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
192
176
|
displayName: string;
|
|
193
177
|
};
|
|
@@ -207,11 +191,7 @@ export declare const IconImage: {
|
|
|
207
191
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
208
192
|
displayName: string;
|
|
209
193
|
};
|
|
210
|
-
export declare const
|
|
211
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
212
|
-
displayName: string;
|
|
213
|
-
};
|
|
214
|
-
export declare const IconLightBulbSimple: {
|
|
194
|
+
export declare const IconSidebar: {
|
|
215
195
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
216
196
|
displayName: string;
|
|
217
197
|
};
|
|
@@ -227,18 +207,6 @@ export declare const IconVoice: {
|
|
|
227
207
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
228
208
|
displayName: string;
|
|
229
209
|
};
|
|
230
|
-
export declare const IconVoiceFill: {
|
|
231
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
232
|
-
displayName: string;
|
|
233
|
-
};
|
|
234
|
-
export declare const IconMinus: {
|
|
235
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
236
|
-
displayName: string;
|
|
237
|
-
};
|
|
238
|
-
export declare const IconMinusSmall: {
|
|
239
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
240
|
-
displayName: string;
|
|
241
|
-
};
|
|
242
210
|
export declare const IconMute: {
|
|
243
211
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
244
212
|
displayName: string;
|
|
@@ -291,15 +259,11 @@ export declare const IconCommand: {
|
|
|
291
259
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
292
260
|
displayName: string;
|
|
293
261
|
};
|
|
294
|
-
export declare const IconSettingsGear2: {
|
|
295
|
-
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
296
|
-
displayName: string;
|
|
297
|
-
};
|
|
298
262
|
export declare const IconCopy: {
|
|
299
263
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
300
264
|
displayName: string;
|
|
301
265
|
};
|
|
302
|
-
export declare const
|
|
266
|
+
export declare const IconBolt: {
|
|
303
267
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
304
268
|
displayName: string;
|
|
305
269
|
};
|
|
@@ -339,4 +303,8 @@ export declare const IconLoading: {
|
|
|
339
303
|
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
340
304
|
displayName: string;
|
|
341
305
|
};
|
|
306
|
+
export declare const IconGiphy: {
|
|
307
|
+
({ className, ...props }: React.SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
|
|
308
|
+
displayName: string;
|
|
309
|
+
};
|
|
342
310
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;CAUrB,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAUzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;CAU/B,CAAC;AAEF,eAAO,MAAM,aAAa;;;CAWzB,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;CAW5B,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAUrB,CAAC;AAGF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,SAAS;;;CAWrB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAUpB,CAAC;AAEF,eAAO,MAAM,WAAW;;;CAUvB,CAAC;AAGF,eAAO,MAAM,QAAQ;;;CAUpB,CAAC;AAGF,eAAO,MAAM,UAAU;;;CAUtB,CAAC;AAGF,eAAO,MAAM,kBAAkB;;;CAU9B,CAAC;AAGF,eAAO,MAAM,iBAAiB;;;CAU7B,CAAC;AAGF,eAAO,MAAM,qBAAqB;;;CAGjC,CAAC;AAGF,eAAO,MAAM,UAAU;;;CAUtB,CAAC;AAGF,eAAO,MAAM,cAAc;;;CAG1B,CAAC;AAGF,eAAO,MAAM,gBAAgB;;;CAU5B,CAAC;AAGF,eAAO,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,MAAM,cAAc,CAAC;AAC1C,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,cAAc,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/Message.tsx"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4J5C;;;GAGG;AACH,eAAO,MAAM,OAAO,UAAW,YAAY,4CAmI1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUserRole.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useUserRole.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,WAAW,YACb,YAAY,sBACD,OAAO,0BACH,OAAO;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"useUserRole.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/hooks/useUserRole.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,eAAO,MAAM,WAAW,YACb,YAAY,sBACD,OAAO,0BACH,OAAO;;;;;;;;;;;;;;;CAkEhC,CAAC"}
|
|
@@ -4,7 +4,7 @@ import type { PinPermissions, UserEventHandler } from './hooks';
|
|
|
4
4
|
import type { MessageActionsArray } from './utils';
|
|
5
5
|
import type { GroupStyle } from '../MessageList/utils';
|
|
6
6
|
import type { MessageComposerProps } from '../MessageComposer';
|
|
7
|
-
import type {
|
|
7
|
+
import type { ReactionsComparator } from '../Reactions/types';
|
|
8
8
|
import type { ChannelActionContextValue } from '../../context/ChannelActionContext';
|
|
9
9
|
import type { ComponentContextValue } from '../../context/ComponentContext';
|
|
10
10
|
import type { MessageContextValue } from '../../context/MessageContext';
|
|
@@ -91,10 +91,6 @@ export type MessageProps = {
|
|
|
91
91
|
retrySendMessage?: ChannelActionContextValue['retrySendMessage'];
|
|
92
92
|
/** Keep track of read receipts for each message sent by the user. When disabled, only the last own message delivery / read status is rendered. */
|
|
93
93
|
returnAllReadData?: boolean;
|
|
94
|
-
/** Comparator function to sort the list of reacted users
|
|
95
|
-
* @deprecated use `reactionDetailsSort` instead
|
|
96
|
-
*/
|
|
97
|
-
sortReactionDetails?: ReactionDetailsComparator;
|
|
98
94
|
/** Comparator function to sort reactions, defaults to chronological order */
|
|
99
95
|
sortReactions?: ReactionsComparator;
|
|
100
96
|
/** Whether the Message is in a Thread */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE5E,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Message/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,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4J;IAC5J,eAAe,CAAC,EAAE,yBAAyB,CAAC,iBAAiB,CAAC,CAAC;IAC/D,4JAA4J;IAC5J,eAAe,CAAC,EAAE,yBAAyB,CAAC,iBAAiB,CAAC,CAAC;IAC/D,kDAAkD;IAClD,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,kDAAkD;IAClD,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,0JAA0J;IAC1J,UAAU,CAAC,EAAE,yBAAyB,CAAC,YAAY,CAAC,CAAC;IACrD,qHAAqH;IACrH,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,YAAY,CAAC;IACnC,2GAA2G;IAC3G,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;IACxB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;IAC/C,4KAA4K;IAC5K,UAAU,CAAC,EAAE,CACX,IAAI,CAAC,EAAE,MAAM,EACb,eAAe,CAAC,EAAE,YAAY,EAAE,EAChC,OAAO,CAAC,EAAE,iBAAiB,KACxB,SAAS,CAAC;IACf,iKAAiK;IACjK,gBAAgB,CAAC,EAAE,yBAAyB,CAAC,kBAAkB,CAAC,CAAC;IACjE,kJAAkJ;IAClJ,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,yCAAyC;IACzC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gFAAgF;IAChF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageActions.defaults.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageActions/MessageActions.defaults.tsx"],"names":[],"mappings":"AA8CA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAkY7E,eAAO,MAAM,uBAAuB,EAAE,oBAAoB,EAgFhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageComposerUI.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/MessageComposerUI.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MessageComposerUI.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/MessageComposerUI.tsx"],"names":[],"mappings":"AA2IA,eAAO,MAAM,iBAAiB,+CAwD7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSubmitHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useSubmitHandler.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useSubmitHandler.d.ts","sourceRoot":"","sources":["../../../../../src/components/MessageComposer/hooks/useSubmitHandler.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAqB/D,eAAO,MAAM,gBAAgB,UAAW,oBAAoB;2BAUzC,MAAM,kBAAkB;CA4D1C,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { MessageComposer } from 'stream-chat';
|
|
2
|
+
/**
|
|
3
|
+
* Captures a full state snapshot of the composer before entering edit mode.
|
|
4
|
+
* Does nothing if a snapshot already exists (e.g. switching between edits).
|
|
5
|
+
*/
|
|
6
|
+
export declare const savePreEditSnapshot: (messageComposer: MessageComposer) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Restores the composer to the state captured before editing began.
|
|
9
|
+
* Falls back to `clear()` if no snapshot exists.
|
|
10
|
+
*/
|
|
11
|
+
export declare const restorePreEditSnapshot: (messageComposer: MessageComposer) => void;
|
|
12
|
+
/**
|
|
13
|
+
* Discards the snapshot without restoring (e.g. after a successful edit save).
|
|
14
|
+
*/
|
|
15
|
+
export declare const discardPreEditSnapshot: (messageComposer: MessageComposer) => void;
|
|
16
|
+
//# sourceMappingURL=preEditSnapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preEditSnapshot.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageComposer/preEditSnapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAMnD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,oBAAqB,eAAe,SAoBnE,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,oBAAqB,eAAe,SAQtE,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,oBAAqB,eAAe,SAEtE,CAAC"}
|
|
@@ -5,7 +5,7 @@ import type { MessageRenderer } from './renderMessages';
|
|
|
5
5
|
import type { LocalMessage } from 'stream-chat';
|
|
6
6
|
import type { GroupStyle, ProcessMessagesParams, RenderedMessage } from './utils';
|
|
7
7
|
import type { MessageProps } from '../Message/types';
|
|
8
|
-
type PropsDrilledToMessage = 'additionalMessageComposerProps' | 'closeReactionSelectorOnClick' | 'disableQuotedMessages' | 'formatDate' | 'getDeleteMessageErrorNotification' | 'getFlagMessageErrorNotification' | 'getFlagMessageSuccessNotification' | 'getMarkMessageUnreadErrorNotification' | 'getMarkMessageUnreadSuccessNotification' | 'getMuteUserErrorNotification' | 'getMuteUserSuccessNotification' | 'getPinMessageErrorNotification' | 'Message' | 'messageActions' | 'onlySenderCanEdit' | 'onMentionsClick' | 'onMentionsHover' | 'onUserClick' | 'onUserHover' | 'openThread' | 'pinPermissions' | 'reactionDetailsSort' | 'renderText' | 'retrySendMessage' | 'showAvatar' | 'sortReactions' | '
|
|
8
|
+
type PropsDrilledToMessage = 'additionalMessageComposerProps' | 'closeReactionSelectorOnClick' | 'disableQuotedMessages' | 'formatDate' | 'getDeleteMessageErrorNotification' | 'getFlagMessageErrorNotification' | 'getFlagMessageSuccessNotification' | 'getMarkMessageUnreadErrorNotification' | 'getMarkMessageUnreadSuccessNotification' | 'getMuteUserErrorNotification' | 'getMuteUserSuccessNotification' | 'getPinMessageErrorNotification' | 'Message' | 'messageActions' | 'onlySenderCanEdit' | 'onMentionsClick' | 'onMentionsHover' | 'onUserClick' | 'onUserHover' | 'openThread' | 'pinPermissions' | 'reactionDetailsSort' | 'renderText' | 'retrySendMessage' | 'showAvatar' | 'sortReactions' | 'unsafeHTML';
|
|
9
9
|
export type MessageListProps = Partial<Pick<MessageProps, PropsDrilledToMessage>> & {
|
|
10
10
|
/** Disables the injection of date separator components in MessageList, defaults to `false` */
|
|
11
11
|
disableDateSeparator?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAUpF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAQrF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAIxD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAClF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/MessageList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CA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,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAoBlD,CAAC"}
|
|
@@ -9,7 +9,7 @@ import type { ChatContextValue } from '../../context/ChatContext';
|
|
|
9
9
|
import type { ComponentContextValue } from '../../context/ComponentContext';
|
|
10
10
|
import type { LocalMessage, UserResponse } from 'stream-chat';
|
|
11
11
|
import type { UnknownType } from '../../types/types';
|
|
12
|
-
type PropsDrilledToMessage = 'additionalMessageComposerProps' | 'formatDate' | 'messageActions' | 'openThread' | 'reactionDetailsSort' | 'renderText' | 'showAvatar' | 'sortReactions'
|
|
12
|
+
type PropsDrilledToMessage = 'additionalMessageComposerProps' | 'formatDate' | 'messageActions' | 'openThread' | 'reactionDetailsSort' | 'renderText' | 'showAvatar' | 'sortReactions';
|
|
13
13
|
type VirtualizedMessageListPropsForContext = PropsDrilledToMessage | 'closeReactionSelectorOnClick' | 'customMessageRenderer' | 'head' | 'loadingMore' | 'Message' | 'returnAllReadData' | 'shouldGroupByUser' | 'threadList';
|
|
14
14
|
/**
|
|
15
15
|
* Context object provided to some Virtuoso props that are functions (components rendered by Virtuoso and other functions)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedMessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/VirtualizedMessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,KAAK,EAEV,uBAAuB,EACvB,0BAA0B,EAC1B,cAAc,EACd,aAAa,EACd,MAAM,gBAAgB,CAAC;AAiBxB,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAElF,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAyBxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAEpF,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAK5E,OAAO,KAAK,EAEV,YAAY,EAEZ,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD,KAAK,qBAAqB,GACtB,gCAAgC,GAChC,YAAY,GACZ,gBAAgB,GAChB,YAAY,GACZ,qBAAqB,GACrB,YAAY,GACZ,YAAY,GACZ,eAAe,
|
|
1
|
+
{"version":3,"file":"VirtualizedMessageList.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/VirtualizedMessageList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAkD,MAAM,OAAO,CAAC;AAGvE,OAAO,KAAK,EAEV,uBAAuB,EACvB,0BAA0B,EAC1B,cAAc,EACd,aAAa,EACd,MAAM,gBAAgB,CAAC;AAiBxB,OAAO,KAAK,EAAE,UAAU,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAElF,OAAO,KAAK,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAyBxE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAEpF,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAK5E,OAAO,KAAK,EAEV,YAAY,EAEZ,YAAY,EACb,MAAM,aAAa,CAAC;AACrB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMrD,KA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@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VirtualizedMessageListComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/VirtualizedMessageListComponents.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1D,OAAO,KAAK,EAAc,eAAe,EAAE,MAAM,SAAS,CAAC;AAE3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,UAElF;AAED,wBAAgB,uBAAuB,CAAC,iBAAiB,EAAE,MAAM,UAEhE;AAED,eAAO,MAAM,wBAAwB,yBACb,MAAM,CAAC,GAAG,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC,qBAC1C,eAAe,EAAE,4CAEnB,SAAS,WAAW,CAAC,EAAE,UAUjC,CAAC;AAEV,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B,CAAC;AAGF,eAAO,MAAM,IAAI,0BAA2B,SAAS,GAAG,4BAA4B,4CAoBnF,CAAC;AACF,eAAO,MAAM,MAAM,gBAAiB,4BAA4B,4CAe/D,CAAC;AACF,eAAO,MAAM,gBAAgB,gBAAiB,4BAA4B,mDAkBzE,CAAC;AAEF,eAAO,MAAM,eAAe,kBACX,MAAM,SACd,WAAW,mBACD,eAAe,
|
|
1
|
+
{"version":3,"file":"VirtualizedMessageListComponents.d.ts","sourceRoot":"","sources":["../../../../src/components/MessageList/VirtualizedMessageListComponents.tsx"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAO1D,OAAO,KAAK,EAAc,eAAe,EAAE,MAAM,SAAS,CAAC;AAE3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAIrD,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,UAElF;AAED,wBAAgB,uBAAuB,CAAC,iBAAiB,EAAE,MAAM,UAEhE;AAED,eAAO,MAAM,wBAAwB,yBACb,MAAM,CAAC,GAAG,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC,qBAC1C,eAAe,EAAE,4CAEnB,SAAS,WAAW,CAAC,EAAE,UAUjC,CAAC;AAEV,KAAK,4BAA4B,GAAG;IAClC,OAAO,CAAC,EAAE,eAAe,CAAC;CAC3B,CAAC;AAGF,eAAO,MAAM,IAAI,0BAA2B,SAAS,GAAG,4BAA4B,4CAoBnF,CAAC;AACF,eAAO,MAAM,MAAM,gBAAiB,4BAA4B,4CAe/D,CAAC;AACF,eAAO,MAAM,gBAAgB,gBAAiB,4BAA4B,mDAkBzE,CAAC;AAEF,eAAO,MAAM,eAAe,kBACX,MAAM,SACd,WAAW,mBACD,eAAe,mDA6FjC,CAAC"}
|
|
@@ -1,30 +1,15 @@
|
|
|
1
1
|
import type { MessageContextValue } from '../../context';
|
|
2
2
|
import type { ReactionGroupResponse, ReactionResponse } from 'stream-chat';
|
|
3
|
-
import type {
|
|
4
|
-
import type { ReactionDetailsComparator, ReactionsComparator } from './types';
|
|
3
|
+
import type { ReactionsComparator } from './types';
|
|
5
4
|
export type MessageReactionsProps = Partial<Pick<MessageContextValue, 'handleFetchReactions' | 'reactionDetailsSort'>> & {
|
|
6
5
|
/** An array of the own reaction objects to distinguish own reactions visually */
|
|
7
6
|
own_reactions?: ReactionResponse[];
|
|
8
|
-
/**
|
|
9
|
-
* An object that keeps track of the count of each type of reaction on a message
|
|
10
|
-
* @deprecated This override value is no longer taken into account. Use `reaction_groups` to override reaction counts instead.
|
|
11
|
-
* */
|
|
12
|
-
reaction_counts?: Record<string, number>;
|
|
13
7
|
/** An object containing summary for each reaction type on a message */
|
|
14
8
|
reaction_groups?: Record<string, ReactionGroupResponse>;
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated
|
|
17
|
-
* A list of the currently supported reactions on a message
|
|
18
|
-
* */
|
|
19
|
-
reactionOptions?: ReactionOptions;
|
|
20
9
|
/** An array of the reaction objects to display in the list */
|
|
21
10
|
reactions?: ReactionResponse[];
|
|
22
11
|
/** Display the reactions in the list in reverse order, defaults to false */
|
|
23
12
|
reverse?: boolean;
|
|
24
|
-
/** Comparator function to sort the list of reacted users
|
|
25
|
-
* @deprecated use `reactionDetailsSort` instead
|
|
26
|
-
*/
|
|
27
|
-
sortReactionDetails?: ReactionDetailsComparator;
|
|
28
13
|
/** Comparator function to sort reactions, defaults to chronological order */
|
|
29
14
|
sortReactions?: ReactionsComparator;
|
|
30
15
|
/**
|
|
@@ -33,6 +18,9 @@ export type MessageReactionsProps = Partial<Pick<MessageContextValue, 'handleFet
|
|
|
33
18
|
flipHorizontalPosition?: boolean;
|
|
34
19
|
verticalPosition?: 'top' | 'bottom' | null;
|
|
35
20
|
visualStyle?: 'clustered' | 'segmented' | null;
|
|
21
|
+
capLimit?: {
|
|
22
|
+
[key in Extract<MessageReactionsProps['visualStyle'], string>]?: number;
|
|
23
|
+
};
|
|
36
24
|
};
|
|
37
25
|
/**
|
|
38
26
|
* Component that displays a list of reactions on a message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactions.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AASzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageReactions.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactions.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AASzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC3E,OAAO,KAAK,EAAE,mBAAmB,EAAgB,MAAM,SAAS,CAAC;AAGjE,MAAM,MAAM,qBAAqB,GAAG,OAAO,CACzC,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,iFAAiF;IACjF,aAAa,CAAC,EAAE,gBAAgB,EAAE,CAAC;IACnC,uEAAuE;IACvE,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IACxD,8DAA8D;IAC9D,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B,4EAA4E;IAC5E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,6EAA6E;IAC7E,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC;;OAEG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,WAAW,GAAG,WAAW,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,EAAE;SACR,GAAG,IAAI,OAAO,CAAC,qBAAqB,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM;KACxE,CAAC;CACH,CAAC;AA+LF;;GAEG;AACH,eAAO,MAAM,gBAAgB,UAjLc,qBAAqB,mDAmL1B,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactionSummary, ReactionType } from './types';
|
|
2
2
|
import type { MessageContextValue } from '../../context';
|
|
3
3
|
import type { ReactionSort } from 'stream-chat';
|
|
4
|
+
import type { useProcessReactions } from './hooks/useProcessReactions';
|
|
4
5
|
export type MessageReactionsDetailProps = Partial<Pick<MessageContextValue, 'handleFetchReactions' | 'reactionDetailsSort'>> & {
|
|
5
6
|
reactions: ReactionSummary[];
|
|
6
7
|
selectedReactionType: ReactionType | null;
|
|
7
8
|
onSelectedReactionTypeChange?: (reactionType: ReactionType | null) => void;
|
|
8
9
|
sort?: ReactionSort;
|
|
9
|
-
/** @deprecated use `sort` instead */
|
|
10
|
-
sortReactionDetails?: ReactionDetailsComparator;
|
|
11
10
|
totalReactionCount?: number;
|
|
11
|
+
reactionGroups?: ReturnType<typeof useProcessReactions>['reactionGroups'];
|
|
12
12
|
};
|
|
13
13
|
export declare const MessageReactionsDetailLoadingIndicator: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export declare function MessageReactionsDetail({ handleFetchReactions, onSelectedReactionTypeChange, reactionDetailsSort: propReactionDetailsSort, reactions, selectedReactionType,
|
|
14
|
+
export declare function MessageReactionsDetail({ handleFetchReactions, onSelectedReactionTypeChange, reactionDetailsSort: propReactionDetailsSort, reactionGroups, reactions, selectedReactionType, totalReactionCount, }: MessageReactionsDetailProps): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=MessageReactionsDetail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"MessageReactionsDetail.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/MessageReactionsDetail.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAI7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAOzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAEvE,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,IAAI,CAAC,mBAAmB,EAAE,sBAAsB,GAAG,qBAAqB,CAAC,CAC1E,GAAG;IACF,SAAS,EAAE,eAAe,EAAE,CAAC;IAC7B,oBAAoB,EAAE,YAAY,GAAG,IAAI,CAAC;IAC1C,4BAA4B,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,GAAG,IAAI,KAAK,IAAI,CAAC;IAC3E,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,gBAAgB,CAAC,CAAC;CAC3E,CAAC;AAIF,eAAO,MAAM,sCAAsC,+CAalD,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,EACrC,oBAAoB,EACpB,4BAA4B,EAC5B,mBAAmB,EAAE,uBAAuB,EAC5C,cAAc,EACd,SAAS,EACT,oBAAoB,EACpB,kBAAkB,GACnB,EAAE,2BAA2B,2CA2I7B"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import type { MessageReactionsProps } from '../MessageReactions';
|
|
2
2
|
import type { ReactionsComparator, ReactionSummary } from '../types';
|
|
3
|
-
type UseProcessReactionsParams = Pick<MessageReactionsProps, 'own_reactions' | '
|
|
3
|
+
export type UseProcessReactionsParams = Pick<MessageReactionsProps, 'own_reactions' | 'reaction_groups' | 'reactions'> & {
|
|
4
4
|
sortReactions?: ReactionsComparator;
|
|
5
5
|
};
|
|
6
6
|
export declare const defaultReactionsSort: ReactionsComparator;
|
|
7
7
|
export declare const useProcessReactions: (params: UseProcessReactionsParams) => {
|
|
8
8
|
readonly existingReactions: ReactionSummary[];
|
|
9
9
|
readonly hasReactions: boolean;
|
|
10
|
+
readonly reactionGroups: {
|
|
11
|
+
[key: string]: import("stream-chat").ReactionGroupResponse;
|
|
12
|
+
} | undefined;
|
|
10
13
|
readonly totalReactionCount: number;
|
|
11
14
|
readonly uniqueReactionTypeCount: number;
|
|
12
15
|
};
|
|
13
|
-
export {};
|
|
14
16
|
//# sourceMappingURL=useProcessReactions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useProcessReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Reactions/hooks/useProcessReactions.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAErE,
|
|
1
|
+
{"version":3,"file":"useProcessReactions.d.ts","sourceRoot":"","sources":["../../../../../src/components/Reactions/hooks/useProcessReactions.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAErE,MAAM,MAAM,yBAAyB,GAAG,IAAI,CAC1C,qBAAqB,EACrB,eAAe,GAAG,iBAAiB,GAAG,WAAW,CAClD,GAAG;IACF,aAAa,CAAC,EAAE,mBAAmB,CAAC;CACrC,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,mBAMlC,CAAC;AAEF,eAAO,MAAM,mBAAmB,WAAY,yBAAyB;;;;;;;;CAuIpE,CAAC"}
|
|
@@ -11,6 +11,5 @@ export interface ReactionSummary {
|
|
|
11
11
|
unlistedReactedUserCount: number;
|
|
12
12
|
}
|
|
13
13
|
export type ReactionsComparator = (a: ReactionSummary, b: ReactionSummary) => number;
|
|
14
|
-
export type ReactionDetailsComparator = (a: ReactionResponse, b: ReactionResponse) => number;
|
|
15
14
|
export type ReactionType = ReactionResponse['type'];
|
|
16
15
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,eAAe,KAAK,MAAM,CAAC;AAErF,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Reactions/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC3C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,aAAa,GAAG,IAAI,CAAC;IACrC,eAAe,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,sBAAsB,EAAE,MAAM,EAAE,CAAC;IACjC,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,EAAE,eAAe,EAAE,CAAC,EAAE,eAAe,KAAK,MAAM,CAAC;AAErF,MAAM,MAAM,YAAY,GAAG,gBAA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