@swisper.ai/web-chat-ui 0.0.8 → 0.0.9

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": "@swisper.ai/web-chat-ui",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "React components for the Swisper chat: messages, composer and cards",
5
5
  "keywords": [
6
6
  "react",
@@ -1,7 +1,7 @@
1
1
  import { useVirtualizer } from '@tanstack/react-virtual';
2
2
  import { memo, useCallback, useEffect, type ReactNode } from 'react';
3
3
 
4
- import { ScrollArea } from '@swisper.ai/ui';
4
+ import { MenuList, ScrollArea } from '@swisper.ai/ui';
5
5
  import { cn } from '@swisper.ai/web-core';
6
6
 
7
7
  import { useChatListContext } from './chat-list';
@@ -115,7 +115,7 @@ export const ChatListItems = memo(function ChatListItems({
115
115
  data-testid="chat-list-items"
116
116
  className={cn('min-h-0 flex-1', 'overflow-auto', className)}
117
117
  >
118
- <ul
118
+ <MenuList
119
119
  data-slot="chat-list-items-list"
120
120
  role="list"
121
121
  aria-label="Chats"
@@ -154,7 +154,7 @@ export const ChatListItems = memo(function ChatListItems({
154
154
  </li>
155
155
  );
156
156
  })}
157
- </ul>
157
+ </MenuList>
158
158
  </ScrollArea>
159
159
  );
160
160
  });