@linktr.ee/messaging-react 1.9.1 → 1.9.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/dist/index.d.ts +0 -11
- package/dist/index.js +674 -723
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MessagingShell/EmptyState.stories.tsx +0 -4
- package/src/components/MessagingShell/EmptyState.tsx +4 -38
- package/src/components/MessagingShell/index.tsx +3 -21
- package/src/providers/MessagingProvider.tsx +1 -16
- package/src/types.ts +0 -10
package/dist/index.d.ts
CHANGED
|
@@ -118,19 +118,10 @@ declare interface MessagingContextValue {
|
|
|
118
118
|
isLoading: boolean;
|
|
119
119
|
error: string | null;
|
|
120
120
|
capabilities: MessagingCapabilities;
|
|
121
|
-
customization: MessagingCustomization;
|
|
122
121
|
refreshConnection: () => Promise<void>;
|
|
123
122
|
debug: boolean;
|
|
124
123
|
}
|
|
125
124
|
|
|
126
|
-
/**
|
|
127
|
-
* Customization options
|
|
128
|
-
*/
|
|
129
|
-
declare interface MessagingCustomization {
|
|
130
|
-
theme?: 'light' | 'dark' | 'auto';
|
|
131
|
-
accentColor?: string;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
125
|
/**
|
|
135
126
|
* Provider component that wraps messaging-core with React state management
|
|
136
127
|
*/
|
|
@@ -145,7 +136,6 @@ export declare interface MessagingProviderProps {
|
|
|
145
136
|
serviceConfig: Omit<StreamChatServiceConfig, 'apiKey'>;
|
|
146
137
|
apiKey: string;
|
|
147
138
|
capabilities?: MessagingCapabilities;
|
|
148
|
-
customization?: MessagingCustomization;
|
|
149
139
|
debug?: boolean;
|
|
150
140
|
}
|
|
151
141
|
|
|
@@ -159,7 +149,6 @@ export declare const MessagingShell: default_2.FC<MessagingShellProps>;
|
|
|
159
149
|
*/
|
|
160
150
|
export declare interface MessagingShellProps {
|
|
161
151
|
capabilities?: MessagingCapabilities;
|
|
162
|
-
customization?: MessagingCustomization;
|
|
163
152
|
className?: string;
|
|
164
153
|
renderMessageInputActions?: (channel: Channel) => React.ReactNode;
|
|
165
154
|
onChannelSelect?: (channel: Channel) => void;
|