@fe-free/ai 4.1.24 → 4.1.26
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 +18 -0
- package/package.json +4 -4
- package/src/messages/messages.tsx +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @fe-free/ai
|
|
2
2
|
|
|
3
|
+
## 4.1.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- some
|
|
8
|
+
- @fe-free/core@4.1.26
|
|
9
|
+
- @fe-free/icons@4.1.26
|
|
10
|
+
- @fe-free/tool@4.1.26
|
|
11
|
+
|
|
12
|
+
## 4.1.25
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- some fix
|
|
17
|
+
- @fe-free/core@4.1.25
|
|
18
|
+
- @fe-free/icons@4.1.25
|
|
19
|
+
- @fe-free/tool@4.1.25
|
|
20
|
+
|
|
3
21
|
## 4.1.24
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fe-free/ai",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.26",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"author": "",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"uuid": "^13.0.0",
|
|
21
21
|
"zustand": "^4.5.7",
|
|
22
|
-
"@fe-free/core": "4.1.
|
|
22
|
+
"@fe-free/core": "4.1.26"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"antd": "^5.27.1",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"i18next-icu": "^2.4.1",
|
|
30
30
|
"react": "^19.2.0",
|
|
31
31
|
"react-i18next": "^16.4.0",
|
|
32
|
-
"@fe-free/icons": "4.1.
|
|
33
|
-
"@fe-free/tool": "4.1.
|
|
32
|
+
"@fe-free/icons": "4.1.26",
|
|
33
|
+
"@fe-free/tool": "4.1.26"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PageLayout } from '@fe-free/core';
|
|
2
|
-
import {
|
|
2
|
+
import { ArrowDownOutlined } from '@fe-free/icons';
|
|
3
3
|
import { useMemoizedFn } from 'ahooks';
|
|
4
4
|
import { Button } from 'antd';
|
|
5
5
|
import { useEffect, useMemo, useRef, useState } from 'react';
|
|
@@ -166,13 +166,15 @@ function Messages<AIData>(props: MessagesProps<AIData>) {
|
|
|
166
166
|
<div className="sticky bottom-2 mx-auto flex justify-center">
|
|
167
167
|
<Button
|
|
168
168
|
shape="circle"
|
|
169
|
-
icon={<
|
|
169
|
+
icon={<ArrowDownOutlined />}
|
|
170
170
|
onClick={() => {
|
|
171
171
|
scrollToBottom();
|
|
172
172
|
}}
|
|
173
|
-
className="bg-white shadow-
|
|
173
|
+
className="bg-white text-2xl shadow-[0px_1px_12px_0px_#2921391F]"
|
|
174
174
|
style={{
|
|
175
175
|
transform: `translateY(${showScrollBottom ? 0 : 30}px) scale(${showScrollBottom ? 1 : 0.1})`,
|
|
176
|
+
width: 44,
|
|
177
|
+
height: 44,
|
|
176
178
|
}}
|
|
177
179
|
/>
|
|
178
180
|
</div>
|