@lobehub/chat 0.102.0 → 0.102.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.102.1](https://github.com/lobehub/lobe-chat/compare/v0.102.0...v0.102.1)
6
+
7
+ <sup>Released on **2023-11-19**</sup>
8
+
9
+ #### 🐛 Bug Fixes
10
+
11
+ - **misc**: Fix image upload list missing.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### What's fixed
19
+
20
+ - **misc**: Fix image upload list missing ([6bbac34](https://github.com/lobehub/lobe-chat/commit/6bbac34))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ## [Version 0.102.0](https://github.com/lobehub/lobe-chat/compare/v0.101.7...v0.102.0)
6
31
 
7
32
  <sup>Released on **2023-11-19**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.102.0",
3
+ "version": "0.102.1",
4
4
  "description": "An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application",
5
5
  "keywords": [
6
6
  "chatbot",
@@ -1,62 +0,0 @@
1
- import { Icon } from '@lobehub/ui';
2
- import { Button } from 'antd';
3
- import { createStyles } from 'antd-style';
4
- import { ArrowBigUp, CornerDownLeft, Loader2 } from 'lucide-react';
5
- import { memo } from 'react';
6
- import { useTranslation } from 'react-i18next';
7
- import { Flexbox } from 'react-layout-kit';
8
-
9
- import SaveTopic from '@/app/chat/features/ChatInput/Topic';
10
- import { useSendMessage } from '@/app/chat/features/ChatInput/useSend';
11
- import { useSessionStore } from '@/store/session';
12
-
13
- const useStyles = createStyles(({ css }) => ({
14
- footerBar: css`
15
- display: flex;
16
- flex: none;
17
- gap: 8px;
18
- align-items: center;
19
- justify-content: flex-end;
20
-
21
- padding: 0 24px;
22
- `,
23
- }));
24
-
25
- const Footer = memo(() => {
26
- const { t } = useTranslation('chat');
27
- const { styles, theme } = useStyles();
28
- const [loading, onStop] = useSessionStore((s) => [!!s.chatLoadingId, s.stopGenerateMessage]);
29
-
30
- const onSend = useSendMessage();
31
-
32
- return (
33
- <div className={styles.footerBar}>
34
- <Flexbox
35
- gap={4}
36
- horizontal
37
- style={{ color: theme.colorTextDescription, fontSize: 12, marginRight: 12 }}
38
- >
39
- <Icon icon={CornerDownLeft} />
40
- <span>{t('send')}</span>
41
- <span>/</span>
42
- <Flexbox horizontal>
43
- <Icon icon={ArrowBigUp} />
44
- <Icon icon={CornerDownLeft} />
45
- </Flexbox>
46
- <span>{t('warp')}</span>
47
- </Flexbox>
48
- <SaveTopic />
49
- {loading ? (
50
- <Button icon={loading && <Icon icon={Loader2} spin />} onClick={onStop}>
51
- {t('stop')}
52
- </Button>
53
- ) : (
54
- <Button onClick={() => onSend()} type={'primary'}>
55
- {t('send')}
56
- </Button>
57
- )}
58
- </div>
59
- );
60
- });
61
-
62
- export default Footer;