@lobehub/chat 0.155.7 → 0.155.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/CHANGELOG.md CHANGED
@@ -2,6 +2,48 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.155.9](https://github.com/lobehub/lobe-chat/compare/v0.155.8...v0.155.9)
6
+
7
+ <sup>Released on **2024-05-09**</sup>
8
+
9
+ <br/>
10
+
11
+ <details>
12
+ <summary><kbd>Improvements and Fixes</kbd></summary>
13
+
14
+ </details>
15
+
16
+ <div align="right">
17
+
18
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
19
+
20
+ </div>
21
+
22
+ ### [Version 0.155.8](https://github.com/lobehub/lobe-chat/compare/v0.155.7...v0.155.8)
23
+
24
+ <sup>Released on **2024-05-09**</sup>
25
+
26
+ #### 🐛 Bug Fixes
27
+
28
+ - **misc**: Fix mobile session style.
29
+
30
+ <br/>
31
+
32
+ <details>
33
+ <summary><kbd>Improvements and Fixes</kbd></summary>
34
+
35
+ #### What's fixed
36
+
37
+ - **misc**: Fix mobile session style ([998a191](https://github.com/lobehub/lobe-chat/commit/998a191))
38
+
39
+ </details>
40
+
41
+ <div align="right">
42
+
43
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
44
+
45
+ </div>
46
+
5
47
  ### [Version 0.155.7](https://github.com/lobehub/lobe-chat/compare/v0.155.6...v0.155.7)
6
48
 
7
49
  <sup>Released on **2024-05-08**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "0.155.7",
3
+ "version": "0.155.9",
4
4
  "description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
5
5
  "keywords": [
6
6
  "framework",
@@ -107,7 +107,7 @@
107
107
  "@vercel/speed-insights": "^1.0.10",
108
108
  "ahooks": "^3.7.11",
109
109
  "ai": "3.0.19",
110
- "antd": "5.16.5",
110
+ "antd": "^5.17.0",
111
111
  "antd-style": "^3.6.2",
112
112
  "brotli-wasm": "^3.0.0",
113
113
  "chroma-js": "^2.4.2",
@@ -10,34 +10,31 @@ import { useQuery } from '@/hooks/useQuery';
10
10
  import { LayoutProps } from './type';
11
11
 
12
12
  const useStyles = createStyles(({ css, token }) => ({
13
- active: css`
14
- display: unset;
15
- `,
16
13
  main: css`
17
14
  position: relative;
18
15
  overflow: hidden;
19
- display: none;
20
16
  background: ${token.colorBgLayout};
21
17
  `,
22
18
  }));
23
19
 
24
20
  const Layout = memo<LayoutProps>(({ children, session }) => {
25
21
  const { showMobileWorkspace } = useQuery();
26
- const { cx, styles } = useStyles();
22
+ const { styles } = useStyles();
27
23
 
28
24
  return (
29
25
  <>
30
26
  <Flexbox
31
- className={cx(styles.main, !showMobileWorkspace && styles.active)}
27
+ className={styles.main}
32
28
  height="100%"
29
+ style={showMobileWorkspace ? { display: 'none' } : undefined}
33
30
  width="100%"
34
31
  >
35
32
  {session}
36
33
  </Flexbox>
37
34
  <Flexbox
38
- className={cx(styles.main, showMobileWorkspace && styles.active)}
35
+ className={styles.main}
39
36
  height="100%"
40
- id={'lobe-workspace-mobile'}
37
+ style={showMobileWorkspace ? undefined : { display: 'none' }}
41
38
  width="100%"
42
39
  >
43
40
  {children}