listpage-next 0.0.204 → 0.0.205

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.
@@ -8,4 +8,7 @@ export interface ChatPageProps<SessionData = any, MessageInfo extends BaseMessag
8
8
  request: ChatRequest<SessionData, MessageInfo>;
9
9
  render: ChatRender<MessageInfo>;
10
10
  }
11
+ export declare const ChatContentContext: (props: {
12
+ children: ReactNode;
13
+ }) => import("react/jsx-runtime").JSX.Element;
11
14
  export declare const ChatPage: (props: ChatPageProps) => import("react/jsx-runtime").JSX.Element;
@@ -28,14 +28,12 @@ const ChatPageComponent = (props)=>{
28
28
  ]
29
29
  }),
30
30
  /*#__PURE__*/ jsx(Content, {
31
- children: /*#__PURE__*/ jsx(ChatContentContainer, {
32
- children: children
33
- })
31
+ children: children
34
32
  })
35
33
  ]
36
34
  });
37
35
  };
38
- const ChatContentContainer = (props)=>{
36
+ const ChatContentContext = (props)=>{
39
37
  const { request, bubbleListRef } = useChatClientContext();
40
38
  const { loading: loadingMessage, data } = useRequest(request.getMessages, {
41
39
  ready: Boolean(request.getMessages)
@@ -62,4 +60,4 @@ const ChatPage = (props)=>/*#__PURE__*/ jsx(ChatClientProvider, {
62
60
  ...props
63
61
  })
64
62
  });
65
- export { ChatPage };
63
+ export { ChatContentContext, ChatPage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "listpage-next",
3
- "version": "0.0.204",
3
+ "version": "0.0.205",
4
4
  "description": "A React component library for creating filter forms with Ant Design",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",