listpage-next 0.0.61 → 0.0.63

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.
@@ -17,5 +17,4 @@ export interface InfiniteListProps<DataType = any> {
17
17
  pageSize?: number;
18
18
  rowKey?: string;
19
19
  }
20
- declare const InfiniteList: <DataType = any>(props: InfiniteListProps<DataType>) => import("react/jsx-runtime").JSX.Element;
21
- export default InfiniteList;
20
+ export declare const InfiniteList: <DataType = any>(props: InfiniteListProps<DataType>) => import("react/jsx-runtime").JSX.Element;
@@ -120,5 +120,4 @@ const ListContainer = styled_components(List)`
120
120
  }
121
121
  }
122
122
  `;
123
- const components_InfiniteList = InfiniteList;
124
- export { components_InfiniteList as default };
123
+ export { InfiniteList };
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { Avatar, Button, List } from "antd";
3
- import InfiniteList from "../components/InfiniteList/index.js";
3
+ import { InfiniteList } from "../components/InfiniteList/index.js";
4
4
  const request = async ({ current, pageSize })=>{
5
5
  const fakeDataUrl = `https://660d2bd96ddfa2943b33731c.mockapi.io/api/users?page=${current}&limit=${pageSize}`;
6
6
  const response = await fetch(fakeDataUrl);
@@ -3,7 +3,7 @@ import { useRef } from "react";
3
3
  import { Avatar, Button, Dropdown, Tooltip, Typography } from "antd";
4
4
  import { useHover } from "ahooks";
5
5
  import { ClockCircleOutlined, MessageOutlined, MoreOutlined } from "@ant-design/icons";
6
- import InfiniteList from "../../../../components/InfiniteList/index.js";
6
+ import { InfiniteList } from "../../../../components/InfiniteList/index.js";
7
7
  import { HeaderContainer, HeaderTitle, HistoryConversationContainer, ListContainer, ListItemContainer, ListText } from "./styles.js";
8
8
  const HistoryConversation = (props)=>{
9
9
  const { request, activeKey, rowKey = "id", onDelete, onRename, onSelect } = props;
@@ -8,7 +8,6 @@ const HeaderContainer = styled_components.div`
8
8
  display: flex;
9
9
  justify-content: space-between;
10
10
  align-items: center;
11
-
12
11
  padding: 8px;
13
12
  `;
14
13
  const HeaderTitle = styled_components.div`
@@ -18,14 +17,13 @@ const HeaderTitle = styled_components.div`
18
17
  font-size: 12px;
19
18
  font-weight: 600;
20
19
  min-width: 0;
21
- colro: #0000004d;
20
+ color: #0000004d;
22
21
  line-height: 20px;
23
22
  height: 20px;
24
23
  `;
25
24
  const ListContainer = styled_components.div`
26
25
  flex: 1;
27
26
  overflow: hidden;
28
-
29
27
  padding: 8px;
30
28
  `;
31
29
  const ListItemContainer = styled_components.div`
@@ -10,6 +10,7 @@ const FakeButtonStyle = styled.div`
10
10
  &:hover {
11
11
  background-color: #0000000a;
12
12
  }
13
+ color: #000000;
13
14
  display: flex;
14
15
  align-items: center;
15
16
  padding: 8px;
package/dist/index.d.ts CHANGED
@@ -5,5 +5,6 @@ export * from './components/InfiniteList';
5
5
  export * from './components/Menu';
6
6
  export * from './components/DataTable';
7
7
  export * from './features/JsonEditor';
8
+ export * from './features/ChatClient';
8
9
  export * from './http-client';
9
10
  export * from './context';
package/dist/index.js CHANGED
@@ -5,5 +5,6 @@ export * from "./components/InfiniteList/index.js";
5
5
  export * from "./components/Menu/index.js";
6
6
  export * from "./components/DataTable/index.js";
7
7
  export * from "./features/JsonEditor/index.js";
8
+ export * from "./features/ChatClient/index.js";
8
9
  export * from "./http-client/index.js";
9
10
  export * from "./context/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "listpage-next",
3
- "version": "0.0.61",
3
+ "version": "0.0.63",
4
4
  "description": "A React component library for creating filter forms with Ant Design",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",