@vlprojects-chat/chat 0.0.28 → 0.0.32

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.
Files changed (27) hide show
  1. package/dist/components/MessageList/MessageList.d.ts +0 -2
  2. package/dist/components/MessageList/components/MessageRow/MessageRow.d.ts +8 -0
  3. package/dist/components/MessageList/components/MessageRow/index.d.ts +1 -0
  4. package/dist/components/MessageList/components/SystemMessage/SystemMessage.d.ts +2 -2
  5. package/dist/components/MessageList/components/SystemMessage/components/ChangedChannel/ChangedChannel.d.ts +7 -0
  6. package/dist/components/MessageList/components/SystemMessage/components/ChangedChannel/index.d.ts +1 -0
  7. package/dist/components/MessageList/components/SystemMessage/components/UserChanged/UserChanged.d.ts +7 -0
  8. package/dist/components/MessageList/components/SystemMessage/components/UserChanged/index.d.ts +1 -0
  9. package/dist/components/MessageList/components/SystemMessage/components/UserChangedChannel/UserChangedChannel.d.ts +7 -0
  10. package/dist/components/MessageList/components/SystemMessage/components/UserChangedChannel/index.d.ts +1 -0
  11. package/dist/components/MessageList/components/SystemMessage/components/UserJoined/UserJoined.d.ts +7 -0
  12. package/dist/components/MessageList/components/SystemMessage/components/UserJoined/index.d.ts +1 -0
  13. package/dist/components/MessageList/components/UserMessage/UserMessage.d.ts +6 -10
  14. package/dist/components/MessageList/components/UserMessage/styles.d.ts +4 -2
  15. package/dist/components/MessageList/styles.d.ts +1 -1
  16. package/dist/containers/ChannelPage/ChannelPage.d.ts +3 -3
  17. package/dist/containers/PollPortal/styles.d.ts +1 -1
  18. package/dist/index.es.js +44 -22
  19. package/dist/index.js +44 -22
  20. package/dist/keystone/auth.d.ts +1 -0
  21. package/dist/keystone/chat/message.d.ts +36 -0
  22. package/dist/keystone/service.d.ts +1 -0
  23. package/dist/locales/index.d.ts +8 -0
  24. package/dist/theme/consts.d.ts +3 -0
  25. package/dist/types/serverResponses.d.ts +1 -0
  26. package/dist/types/socketEvents.d.ts +1 -1
  27. package/package.json +4 -3
@@ -1,9 +1,7 @@
1
1
  import React from 'react';
2
- import { CellMeasurerCache } from 'react-virtualized';
3
2
  import Message from '../../keystone/chat/message';
4
3
  interface MessageListProps {
5
4
  messages: Message[];
6
5
  }
7
- export declare const cache: CellMeasurerCache;
8
6
  declare const _default: React.FunctionComponent<MessageListProps>;
9
7
  export default _default;
@@ -0,0 +1,8 @@
1
+ import Message from 'keystone/chat/message';
2
+ import React from 'react';
3
+ interface IProps {
4
+ data: Message[];
5
+ index: number;
6
+ }
7
+ declare const _default: React.FunctionComponent<IProps>;
8
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './MessageRow';
@@ -1,7 +1,7 @@
1
- import User from 'keystone/chat/user';
2
1
  import React from 'react';
2
+ import Message from '../../../../keystone/chat/message';
3
3
  interface ISystemMessageProps {
4
- user: User;
4
+ message: Message;
5
5
  }
6
6
  declare const _default: React.FunctionComponent<ISystemMessageProps>;
7
7
  export default _default;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import Message from '../../../../../../keystone/chat/message';
3
+ interface IChangedChannel {
4
+ message: Message;
5
+ }
6
+ declare const ChangedChannel: FC<IChangedChannel>;
7
+ export default ChangedChannel;
@@ -0,0 +1 @@
1
+ export { default } from './ChangedChannel';
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import Message from '../../../../../../keystone/chat/message';
3
+ interface IUserChanged {
4
+ message: Message;
5
+ }
6
+ declare const UserChanged: FC<IUserChanged>;
7
+ export default UserChanged;
@@ -0,0 +1 @@
1
+ export { default } from './UserChanged';
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import Message from '../../../../../../keystone/chat/message';
3
+ interface IUserChangedChannel {
4
+ message: Message;
5
+ }
6
+ declare const UserChangedChannel: FC<IUserChangedChannel>;
7
+ export default UserChangedChannel;
@@ -0,0 +1 @@
1
+ export { default } from './UserChangedChannel';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import Message from '../../../../../../keystone/chat/message';
3
+ interface IUserJoined {
4
+ message: Message;
5
+ }
6
+ declare const _default: React.FunctionComponent<IUserJoined>;
7
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default } from './UserJoined';
@@ -1,13 +1,9 @@
1
- import React from 'react';
2
- import User from '../../../../keystone/chat/user';
1
+ import Message from 'keystone/chat/message';
2
+ import { FC } from 'react';
3
3
  export interface IProps {
4
- own?: boolean;
5
- user: User;
6
- message: string;
7
- date: Date;
4
+ index: number;
5
+ message: Message;
8
6
  short?: boolean;
9
- isModerator?: boolean;
10
- messageId: number;
11
7
  }
12
- declare const _default: React.FunctionComponent<IProps>;
13
- export default _default;
8
+ declare const UserMessage: FC<IProps>;
9
+ export default UserMessage;
@@ -1,3 +1,5 @@
1
- import { IProps } from './UserMessage';
2
- declare const _default: (props: IProps) => import("@mui/styles").ClassNameMap<"userMessage" | "tooltip" | "userMessageOwn" | "isNew" | "tooltipRoot">;
1
+ import User from 'keystone/chat/user';
2
+ declare const _default: (props: {
3
+ user?: User | undefined;
4
+ }) => import("@mui/styles").ClassNameMap<"otherUserMessage" | "tooltip" | "ownMessage" | "message" | "tooltipRoot">;
3
5
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props?: any) => import("@mui/styles").ClassNameMap<"messages" | "message" | "messageContainer">;
1
+ declare const _default: (props?: any) => import("@mui/styles").ClassNameMap<"virtListWrapper">;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
- import { FC } from 'react';
2
- declare const ChannelPage: FC;
3
- export default ChannelPage;
1
+ import React from 'react';
2
+ declare const _default: React.FunctionComponent<{}>;
3
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: (props?: any) => import("@mui/styles").ClassNameMap<"root">;
1
+ declare const _default: (props?: any) => import("@mui/styles").ClassNameMap<string>;
2
2
  export default _default;