sceyt-chat-react-uikit 1.7.1 → 1.7.2-beta.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sceyt-chat-react-uikit",
3
- "version": "1.7.1",
3
+ "version": "1.7.2-beta.10",
4
4
  "description": "Interactive React UI Components for Sceyt Chat.",
5
5
  "author": "Sceyt",
6
6
  "license": "MIT",
package/types/index.d.ts CHANGED
@@ -74,6 +74,12 @@ export interface IBodyAttribute {
74
74
  offset: number;
75
75
  length: number;
76
76
  }
77
+ export interface IMarker {
78
+ name: string;
79
+ messageId: string;
80
+ createdAt: Date;
81
+ user: IUser | null;
82
+ }
77
83
  export interface IMessage {
78
84
  id: string;
79
85
  tid?: string;
@@ -88,12 +94,7 @@ export interface IMessage {
88
94
  name: string;
89
95
  count: number;
90
96
  }[];
91
- userMarkers: {
92
- name: string;
93
- messageId: string;
94
- createdAt: Date;
95
- user: IUser | null;
96
- }[];
97
+ userMarkers: IMarker[];
97
98
  incoming: boolean;
98
99
  metadata: any;
99
100
  state: string;
@@ -197,7 +198,7 @@ export interface IMedia extends IAttachment {
197
198
  }
198
199
  export interface IMarker {
199
200
  messageIds: string[];
200
- user: IUser;
201
+ user: IUser | null;
201
202
  name: string;
202
203
  createAt: Date;
203
204
  }
@@ -237,6 +238,8 @@ export interface IOGMetadata {
237
238
  url: string;
238
239
  }[];
239
240
  };
241
+ imageWidth?: number;
242
+ imageHeight?: number;
240
243
  }
241
244
  export declare type MuteTime = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 24;
242
245
  export declare type ICustomAvatarColors = [string, string, string, string, string, string];
@@ -249,4 +252,20 @@ export interface ChannelQueryParams {
249
252
  search: string;
250
253
  memberCount?: number;
251
254
  }
255
+ export interface ITabsStyles {
256
+ activeColor?: string;
257
+ inactiveColor?: string;
258
+ indicatorColor?: string;
259
+ }
260
+ export interface IListItemStyles {
261
+ hoverBackground?: string;
262
+ nameColor?: string;
263
+ dateColor?: string;
264
+ }
265
+ export declare type MessageInfoTab = 'played' | 'received' | 'displayed';
266
+ export interface ILabels {
267
+ playedBy?: string;
268
+ receivedBy?: string;
269
+ displayedBy?: string;
270
+ }
252
271
  export {};