@linktr.ee/messaging-react 1.25.0 → 1.25.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/dist/assets/index.css +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +535 -472
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/ChannelList/CustomChannelPreview.test.tsx +31 -0
- package/src/components/CustomSystemMessage/CustomSystemMessage.stories.tsx +8 -0
- package/src/components/CustomSystemMessage/CustomSystemMessage.test.tsx +48 -2
- package/src/components/CustomSystemMessage/index.tsx +119 -13
- package/src/stream-custom-data.ts +3 -0
- package/src/styles.css +0 -30
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ export declare interface ActionButtonProps extends default_2.ButtonHTMLAttribute
|
|
|
18
18
|
variant?: "default" | "danger";
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
+
declare type AgeSafetySystemType = 'SYSTEM_AGE_SAFETY_BLOCKED';
|
|
22
|
+
|
|
21
23
|
/**
|
|
22
24
|
* Avatar component that displays a user image or colored initial fallback
|
|
23
25
|
*/
|
|
@@ -237,7 +239,7 @@ export declare interface FaqListProps {
|
|
|
237
239
|
*/
|
|
238
240
|
export declare const formatRelativeTime: (date: Date) => string;
|
|
239
241
|
|
|
240
|
-
declare type MessageCustomType = 'MESSAGE_TIP' | 'MESSAGE_PAID' | 'MESSAGE_CHATBOT' | DmAgentSystemType;
|
|
242
|
+
declare type MessageCustomType = 'MESSAGE_TIP' | 'MESSAGE_PAID' | 'MESSAGE_CHATBOT' | AgeSafetySystemType | DmAgentSystemType;
|
|
241
243
|
|
|
242
244
|
/**
|
|
243
245
|
* Message metadata for paid messaging and chatbot flows.
|