chore(web): add FileAdd and FolderAdd icons

This commit is contained in:
yyh
2026-02-05 16:54:40 +08:00
parent 9893bf267e
commit 23f7f188bd
7 changed files with 122 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.66665 11.3335H6.66665V12.6668H4.66665V14.6668H3.33331V12.6668H1.33331V11.3335H3.33331V9.3335H4.66665V11.3335Z" fill="#354052"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.66665 1.3335C8.90745 1.3335 9.07492 1.46573 9.23566 1.62646L13.0403 5.43115C13.2011 5.59195 13.3333 5.75924 13.3333 6.00016C13.3333 6.04697 13.3333 6.09209 13.3333 6.13818V13.6668C13.3333 14.2191 12.8856 14.6668 12.3333 14.6668H7.33331V13.3335H12V6.66683H8.99998C8.4477 6.66683 7.99998 6.21911 7.99998 5.66683V2.66683H3.99998V8.00016H2.66665V2.3335C2.66665 1.78121 3.11436 1.3335 3.66665 1.3335H8.52863C8.57467 1.3335 8.61987 1.3335 8.66665 1.3335ZM9.33331 5.3335H11.0573L9.33331 3.60954V5.3335Z" fill="#354052"/>
</svg>

After

Width:  |  Height:  |  Size: 809 B

View File

@@ -0,0 +1,4 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.959 11.0475H5.959V12.3809H3.959V14.3809H2.62567V12.3809H0.625671V11.0475H2.62567V9.04753H3.959V11.0475Z" fill="#354052"/>
<path d="M6.44729 2.38086C6.78164 2.38086 7.09385 2.54798 7.27932 2.82617L8.31578 4.38086H13.6257C14.178 4.38086 14.6257 4.82857 14.6257 5.38086V12.7142C14.6256 13.2664 14.1779 13.7142 13.6257 13.7142H7.29234V12.3809H13.2923V5.71419H8.13739C7.80309 5.71418 7.49083 5.54701 7.30536 5.26888L6.2689 3.71419H2.62567V7.71419H1.29234V3.38086C1.29234 2.82858 1.74007 2.38088 2.29234 2.38086H6.44729Z" fill="#354052"/>
</svg>

After

Width:  |  Height:  |  Size: 648 B

View File

@@ -0,0 +1,37 @@
{
"icon": {
"type": "element",
"isRootNode": true,
"name": "svg",
"attributes": {
"width": "16",
"height": "16",
"viewBox": "0 0 16 16",
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg"
},
"children": [
{
"type": "element",
"name": "path",
"attributes": {
"d": "M4.66665 11.3335H6.66665V12.6668H4.66665V14.6668H3.33331V12.6668H1.33331V11.3335H3.33331V9.3335H4.66665V11.3335Z",
"fill": "currentColor"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"fill-rule": "evenodd",
"clip-rule": "evenodd",
"d": "M8.66665 1.3335C8.90745 1.3335 9.07492 1.46573 9.23566 1.62646L13.0403 5.43115C13.2011 5.59195 13.3333 5.75924 13.3333 6.00016C13.3333 6.04697 13.3333 6.09209 13.3333 6.13818V13.6668C13.3333 14.2191 12.8856 14.6668 12.3333 14.6668H7.33331V13.3335H12V6.66683H8.99998C8.4477 6.66683 7.99998 6.21911 7.99998 5.66683V2.66683H3.99998V8.00016H2.66665V2.3335C2.66665 1.78121 3.11436 1.3335 3.66665 1.3335H8.52863C8.57467 1.3335 8.61987 1.3335 8.66665 1.3335ZM9.33331 5.3335H11.0573L9.33331 3.60954V5.3335Z",
"fill": "currentColor"
},
"children": []
}
]
},
"name": "FileAdd"
}

View File

@@ -0,0 +1,20 @@
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import type { IconData } from '@/app/components/base/icons/IconBase'
import * as React from 'react'
import IconBase from '@/app/components/base/icons/IconBase'
import data from './FileAdd.json'
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.RefObject<HTMLOrSVGElement>>
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'FileAdd'
export default Icon

View File

@@ -0,0 +1,35 @@
{
"icon": {
"type": "element",
"isRootNode": true,
"name": "svg",
"attributes": {
"width": "16",
"height": "16",
"viewBox": "0 0 16 16",
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg"
},
"children": [
{
"type": "element",
"name": "path",
"attributes": {
"d": "M3.959 11.0475H5.959V12.3809H3.959V14.3809H2.62567V12.3809H0.625671V11.0475H2.62567V9.04753H3.959V11.0475Z",
"fill": "currentColor"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"d": "M6.44729 2.38086C6.78164 2.38086 7.09385 2.54798 7.27932 2.82617L8.31578 4.38086H13.6257C14.178 4.38086 14.6257 4.82857 14.6257 5.38086V12.7142C14.6256 13.2664 14.1779 13.7142 13.6257 13.7142H7.29234V12.3809H13.2923V5.71419H8.13739C7.80309 5.71418 7.49083 5.54701 7.30536 5.26888L6.2689 3.71419H2.62567V7.71419H1.29234V3.38086C1.29234 2.82858 1.74007 2.38088 2.29234 2.38086H6.44729Z",
"fill": "currentColor"
},
"children": []
}
]
},
"name": "FolderAdd"
}

View File

@@ -0,0 +1,20 @@
// GENERATE BY script
// DON NOT EDIT IT MANUALLY
import type { IconData } from '@/app/components/base/icons/IconBase'
import * as React from 'react'
import IconBase from '@/app/components/base/icons/IconBase'
import data from './FolderAdd.json'
const Icon = (
{
ref,
...props
}: React.SVGProps<SVGSVGElement> & {
ref?: React.RefObject<React.RefObject<HTMLOrSVGElement>>
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'FolderAdd'
export default Icon

View File

@@ -1,6 +1,7 @@
export { default as Copy } from './Copy'
export { default as CopyCheck } from './CopyCheck'
export { default as File02 } from './File02'
export { default as FileAdd } from './FileAdd'
export { default as FileArrow01 } from './FileArrow01'
export { default as FileCheck02 } from './FileCheck02'
export { default as FileDownload01 } from './FileDownload01'
@@ -10,3 +11,4 @@ export { default as FilePlus02 } from './FilePlus02'
export { default as FileText } from './FileText'
export { default as FileUpload } from './FileUpload'
export { default as Folder } from './Folder'
export { default as FolderAdd } from './FolderAdd'