Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

⬆️ chore: update @lobehub/ui to v5.15.5 (#15325)

Innei0139c054a2cd
diff --git a/package.json b/package.json
index 55c1c90a338..3fa9b66b3c9 100644
--- a/package.json
+++ b/package.json
@@ -285,7 +285,7 @@
"@lobehub/icons": "^5.0.0",
"@lobehub/market-sdk": "0.33.3",
"@lobehub/tts": "^5.1.2",
- "@lobehub/ui": "^5.15.1",
+ "@lobehub/ui": "^5.15.5",
"@modelcontextprotocol/sdk": "^1.26.0",
"@napi-rs/canvas": "^0.1.88",
"@neondatabase/serverless": "^1.0.2",
diff --git a/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx b/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx
index 9f96974e5ad..ede133b3a24 100644
--- a/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx
+++ b/src/routes/(main)/community/(detail)/user/features/UserAgentList.tsx
@@ -1,7 +1,7 @@
'use client';
-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';
-import { Input, Pagination } from 'antd';
+import { Flexbox, Grid, SearchBar, Tag, Text } from '@lobehub/ui';
+import { Pagination } from 'antd';
import { memo, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -89,10 +89,10 @@ const UserAgentList = memo<UserAgentListProps>(({ rows = 4, pageSize = 8 }) => {
</Flexbox>
{isOwner && (
<Flexbox horizontal align={'center'} gap={8}>
- <Input.Search
+ <SearchBar
allowClear
placeholder={t('user.searchPlaceholder')}
- style={{ width: 200 }}
+ styles={{ input: { height: 31, width: 320 } }}
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
/>
diff --git a/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx b/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx
index 3f2e496715d..075445e3e4f 100644
--- a/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx
+++ b/src/routes/(main)/community/(detail)/user/features/UserGroupList.tsx
@@ -1,7 +1,7 @@
'use client';
-import { Flexbox, Grid, Tag, Text } from '@lobehub/ui';
-import { Input, Pagination } from 'antd';
+import { Flexbox, Grid, SearchBar, Tag, Text } from '@lobehub/ui';
+import { Pagination } from 'antd';
import { memo, useMemo, useState } from 'react';
import { useTranslation } from 'react-i18next';
@@ -82,10 +82,10 @@ const UserGroupList = memo<UserGroupListProps>(({ rows = 4, pageSize = 8 }) => {
</Flexbox>
{isOwner && (
<Flexbox horizontal align={'center'} gap={8}>
- <Input.Search
+ <SearchBar
allowClear
placeholder={t('user.searchPlaceholder')}
- style={{ width: 200 }}
+ styles={{ input: { height: 31, width: 320 } }}
value={searchQuery}
onChange={(e) => setSearchQuery(e.target.value)}
/>