@lobehub/chat 1.74.10 → 1.74.11

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 1.74.11](https://github.com/lobehub/lobe-chat/compare/v1.74.10...v1.74.11)
6
+
7
+ <sup>Released on **2025-03-25**</sup>
8
+
9
+ #### ♻ Code Refactoring
10
+
11
+ - **misc**: Upgrade styles for Drawer.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Code refactoring
19
+
20
+ - **misc**: Upgrade styles for Drawer, closes [#7141](https://github.com/lobehub/lobe-chat/issues/7141) ([bcbc8fc](https://github.com/lobehub/lobe-chat/commit/bcbc8fc))
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 1.74.10](https://github.com/lobehub/lobe-chat/compare/v1.74.9...v1.74.10)
6
31
 
7
32
  <sup>Released on **2025-03-25**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Upgrade styles for Drawer."
6
+ ]
7
+ },
8
+ "date": "2025-03-25",
9
+ "version": "1.74.11"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.74.10",
3
+ "version": "1.74.11",
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",
@@ -53,16 +53,7 @@ const Header = memo<HeaderProps>(({ children, getContainer, title }) => {
53
53
  }
54
54
  />
55
55
  <Drawer
56
- bodyStyle={{
57
- display: 'flex',
58
- flexDirection: 'column',
59
- gap: 20,
60
- justifyContent: 'space-between',
61
- padding: 16,
62
- }}
63
56
  getContainer={getContainer}
64
- headerStyle={{ display: 'none' }}
65
- maskStyle={{ background: 'transparent' }}
66
57
  onClick={() => setOpen(false)}
67
58
  onClose={() => setOpen(false)}
68
59
  open={open}
@@ -72,6 +63,17 @@ const Header = memo<HeaderProps>(({ children, getContainer, title }) => {
72
63
  background: theme.colorBgContainer,
73
64
  borderRight: `1px solid ${theme.colorSplit}`,
74
65
  }}
66
+ styles={{
67
+ body: {
68
+ display: 'flex',
69
+ flexDirection: 'column',
70
+ gap: 20,
71
+ justifyContent: 'space-between',
72
+ padding: 16,
73
+ },
74
+ header: { display: 'none' },
75
+ mask: { background: 'transparent' },
76
+ }}
75
77
  width={260}
76
78
  zIndex={10}
77
79
  >