@fe-free/core 3.0.28 → 3.0.29

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/core
2
2
 
3
+ ## 3.0.29
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: icons
8
+ - Updated dependencies
9
+ - @fe-free/icons@3.0.29
10
+ - @fe-free/tool@3.0.29
11
+
3
12
  ## 3.0.28
4
13
 
5
14
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fe-free/core",
3
- "version": "3.0.28",
3
+ "version": "3.0.29",
4
4
  "description": "",
5
5
  "main": "./src/index.ts",
6
6
  "author": "",
@@ -10,8 +10,6 @@
10
10
  "registry": "https://registry.npmjs.org/"
11
11
  },
12
12
  "dependencies": {
13
- "@ant-design/icons": "^5.2.6",
14
- "@ant-design/plots": "^2.5.0",
15
13
  "@codemirror/lang-html": "^6.4.9",
16
14
  "@codemirror/lang-javascript": "^6.2.4",
17
15
  "@codemirror/lang-json": "^6.0.1",
@@ -40,14 +38,16 @@
40
38
  "remark-gfm": "^4.0.1",
41
39
  "safe-stable-stringify": "^2.5.0",
42
40
  "vanilla-jsoneditor": "^0.23.1",
43
- "zustand": "^4.5.4",
44
- "@fe-free/tool": "3.0.28"
41
+ "zustand": "^4.5.4"
45
42
  },
46
43
  "peerDependencies": {
44
+ "@ant-design/plots": "^2.5.0",
47
45
  "@ant-design/pro-components": "2.8.9",
48
46
  "antd": "^5.27.1",
49
47
  "dayjs": "~1.11.10",
50
- "react": "^19.2.0"
48
+ "react": "^19.2.0",
49
+ "@fe-free/icons": "3.0.29",
50
+ "@fe-free/tool": "3.0.29"
51
51
  },
52
52
  "scripts": {
53
53
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,4 +1,4 @@
1
- import { CopyOutlined } from '@ant-design/icons';
1
+ import { CopyOutlined } from '@fe-free/icons';
2
2
  import { copyToClipboard } from '@fe-free/tool';
3
3
  import classNames from 'classnames';
4
4
  import React, { useCallback } from 'react';
package/src/crud/crud.tsx CHANGED
@@ -1,5 +1,5 @@
1
- import { EditOutlined, EyeOutlined } from '@ant-design/icons';
2
1
  import type { ActionType } from '@ant-design/pro-components';
2
+ import { EditOutlined, EyeOutlined } from '@fe-free/icons';
3
3
  import { Button, message, Tooltip } from 'antd';
4
4
  import classNames from 'classnames';
5
5
  import { isString } from 'lodash-es';
@@ -1,4 +1,4 @@
1
- import { DeleteOutlined } from '@ant-design/icons';
1
+ import { DeleteOutlined } from '@fe-free/icons';
2
2
  import { Modal, Tooltip } from 'antd';
3
3
  import { useCallback } from 'react';
4
4
 
@@ -1,4 +1,4 @@
1
- import { ArrowsAltOutlined } from '@ant-design/icons';
1
+ import { ArrowsAltOutlined } from '@fe-free/icons';
2
2
  import { Button, Modal, Select } from 'antd';
3
3
  import { useMemo, useState } from 'react';
4
4
  import { Editor } from '../editor';
@@ -8,7 +8,7 @@ import {
8
8
  FileWordFilled,
9
9
  FileZipFilled,
10
10
  FolderFilled,
11
- } from '@ant-design/icons';
11
+ } from '@fe-free/icons';
12
12
  import AudioIcon from './icon/AudioIcon';
13
13
  import VideoIcon from './icon/VideoIcon';
14
14
 
@@ -1,4 +1,4 @@
1
- import { DeleteOutlined, PlusOutlined } from '@ant-design/icons';
1
+ import { DeleteOutlined, PlusOutlined } from '@fe-free/icons';
2
2
  import { Button } from 'antd';
3
3
  import classNames from 'classnames';
4
4
 
@@ -1,5 +1,5 @@
1
- import { DeleteOutlined, EditOutlined, PlusOutlined } from '@ant-design/icons';
2
1
  import { ModalForm } from '@ant-design/pro-components';
2
+ import { DeleteOutlined, EditOutlined, PlusOutlined } from '@fe-free/icons';
3
3
  import { Button } from 'antd';
4
4
  import React from 'react';
5
5
 
@@ -1,11 +1,11 @@
1
- import { DownOutlined, UpOutlined } from '@ant-design/icons';
1
+ import { DownOutlined, UpOutlined } from '@fe-free/icons';
2
2
  import { useState } from 'react';
3
3
 
4
4
  function DeepSeekBlock(props: { children: string }) {
5
5
  const [show, setShow] = useState(true);
6
6
 
7
7
  return (
8
- <div className="markdown-body-deep-seek-block mb-3 text-[#00000099] text-[14px] flex flex-col gap-2">
8
+ <div className="markdown-body-deep-seek-block mb-3 flex flex-col gap-2 text-[14px] text-[#00000099]">
9
9
  <div
10
10
  className="cursor-pointer"
11
11
  onClick={() => {
@@ -1,5 +1,5 @@
1
- import { MoreOutlined, PlusOutlined } from '@ant-design/icons';
2
1
  import { ModalForm, ProFormText } from '@ant-design/pro-components';
2
+ import { MoreOutlined, PlusOutlined } from '@fe-free/icons';
3
3
  import { Dropdown } from 'antd';
4
4
  import type { DataNode } from 'antd/es/tree';
5
5
  import classNames from 'classnames';
@@ -1,4 +1,4 @@
1
- import { DeleteOutlined, InboxOutlined, PlusOutlined, UploadOutlined } from '@ant-design/icons';
1
+ import { DeleteOutlined, InboxOutlined, PlusOutlined, UploadOutlined } from '@fe-free/icons';
2
2
  import type { UploadProps as AntdUploadProps, UploadFile } from 'antd';
3
3
  import { Upload as AntdUpload, Avatar, Button, message } from 'antd';
4
4
  import type { UploadChangeParam } from 'antd/es/upload';