@fe-free/ai 4.1.34 → 4.1.35

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
@@ -1,5 +1,14 @@
1
1
  # @fe-free/ai
2
2
 
3
+ ## 4.1.35
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: ai
8
+ - @fe-free/core@4.1.35
9
+ - @fe-free/icons@4.1.35
10
+ - @fe-free/tool@4.1.35
11
+
3
12
  ## 4.1.34
4
13
 
5
14
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/ai",
3
- "version": "4.1.34",
3
+ "version": "4.1.35",
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.34"
22
+ "@fe-free/core": "4.1.35"
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.34",
33
- "@fe-free/tool": "4.1.34"
32
+ "@fe-free/icons": "4.1.35",
33
+ "@fe-free/tool": "4.1.35"
34
34
  },
35
35
  "scripts": {
36
36
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -20,7 +20,7 @@ function KnowledgeRefBlock(props: any) {
20
20
  <span
21
21
  data-id={id}
22
22
  onClick={handleClick}
23
- className="fea-markdown-body-block-knowledge-ref mx-1 h-[16px] min-w-[16px] cursor-pointer rounded-full border border-blue-500 text-center text-[12px] text-blue-600"
23
+ className="mx-1 inline-flex h-[15px] min-w-[15px] cursor-pointer items-center justify-center rounded-full border border-primary text-center text-[10px] text-primary"
24
24
  >
25
25
  {index + 1}
26
26
  </span>
@@ -28,7 +28,7 @@ function KnowledgeRefBlock(props: any) {
28
28
  }
29
29
 
30
30
  return (
31
- <span className="fea-markdown-body-block-knowledge-ref-source" onClick={handleClick}>
31
+ <span className="cursor-pointer text-primary" onClick={handleClick}>
32
32
  来源&gt;&gt;
33
33
  </span>
34
34
  );
package/src/style.scss CHANGED
@@ -31,25 +31,6 @@
31
31
  padding: 10px;
32
32
  }
33
33
  }
34
-
35
- .fea-markdown-body-block-knowledge-ref[data-id] {
36
- height: 16px;
37
- min-width: 16px;
38
- cursor: pointer;
39
- display: inline-flex;
40
- align-items: center;
41
- justify-content: center;
42
- border-radius: 999px;
43
- border: 1px solid #0374e9;
44
- color: #0374e9;
45
- font-size: 12px;
46
- padding: 0 4px;
47
- }
48
-
49
- .fea-markdown-body-block-knowledge-ref-source {
50
- color: #0374e9;
51
- cursor: pointer;
52
- }
53
34
  }
54
35
 
55
36
  .fea-sender {