feat: add FolderSpark icon for workflow

This commit is contained in:
yyh
2026-01-20 13:51:49 +08:00
parent 466f76345b
commit 8154d0af53
7 changed files with 44 additions and 31 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="M1.33333 2.66667C1.33333 2.29848 1.63181 2 1.99999 2H6.66666C6.88956 2 7.0977 2.11141 7.22135 2.29687L8.35677 4H14L14.0684 4.00326C14.4044 4.03748 14.6667 4.32155 14.6667 4.66667V12.6667C14.6667 13.0349 14.3682 13.3333 14 13.3333H7.33333V12H13.3333V5.33333H7.99999C7.77709 5.33333 7.56895 5.22192 7.44531 5.03646L6.30989 3.33333H2.66666V7.33333H1.33333V2.66667Z" fill="#354052"/>
<path d="M4.16031 10.1233L3.69573 8.91537C3.63806 8.76544 3.494 8.6665 3.33334 8.6665C3.17268 8.6665 3.02862 8.76544 2.97095 8.91537L2.50637 10.1233C2.43865 10.2994 2.29952 10.4385 2.12346 10.5062L0.915565 10.9708C0.765618 11.0284 0.666672 11.1725 0.666672 11.3332C0.666672 11.4938 0.765618 11.6379 0.915565 11.6956L2.12346 12.1602C2.29952 12.2278 2.43865 12.367 2.50637 12.543L2.97095 13.751C3.02862 13.9009 3.17268 13.9998 3.33334 13.9998C3.494 13.9998 3.63806 13.9009 3.69573 13.751L4.16031 12.543C4.22803 12.367 4.36716 12.2278 4.54322 12.1602L5.75111 11.6956C5.90106 11.6379 6.00001 11.4938 6.00001 11.3332C6.00001 11.1725 5.90106 11.0284 5.75111 10.9708L4.54322 10.5062C4.36716 10.4385 4.22803 10.2994 4.16031 10.1233Z" fill="#354052"/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -4,11 +4,11 @@
"isRootNode": true,
"name": "svg",
"attributes": {
"xmlns": "http://www.w3.org/2000/svg",
"width": "12",
"height": "12",
"viewBox": "0 0 12 12",
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg"
"fill": "none"
},
"children": [
{

View File

@ -1,26 +0,0 @@
{
"icon": {
"type": "element",
"isRootNode": true,
"name": "svg",
"attributes": {
"width": "12",
"height": "12",
"viewBox": "0 0 12 12",
"fill": "none",
"xmlns": "http://www.w3.org/2000/svg"
},
"children": [
{
"type": "element",
"name": "path",
"attributes": {
"d": "M5.14286 5.14286V3.42857L8 5.71429L5.14286 8V6.28571H0V5.14286H5.14286ZM0.83303 7.42857H2.04658C2.72474 9.10389 4.36721 10.28571 6.28571 10.28571C8.81049 10.28571 10.85717 8.23903 10.85717 5.71429C10.85717 3.18956 8.81049 1.14285 6.28571 1.14285C4.36721 1.14285 2.72474 2.32467 2.04658 4H0.83303C1.56118 1.68165 3.72706 0 6.28571 0C9.4416 0 12 2.55837 12 5.71429C12 8.87014 9.4416 11.42854 6.28571 11.42854C3.72706 11.42854 1.56118 9.74691 0.83303 7.42857Z",
"fill": "currentColor"
},
"children": []
}
]
},
"name": "AssembleVariablesAlt"
}

View File

@ -1,5 +1,4 @@
export { default as AssembleVariables } from './AssembleVariables'
export { default as AssembleVariablesAlt } from './AssembleVariablesAlt'
export { default as AtSign } from './AtSign'
export { default as Bookmark } from './Bookmark'
export { default as Check } from './Check'

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": "M1.33333 2.66667C1.33333 2.29848 1.63181 2 1.99999 2H6.66666C6.88956 2 7.0977 2.11141 7.22135 2.29687L8.35677 4H14L14.0684 4.00326C14.4044 4.03748 14.6667 4.32155 14.6667 4.66667V12.6667C14.6667 13.0349 14.3682 13.3333 14 13.3333H7.33333V12H13.3333V5.33333H7.99999C7.77709 5.33333 7.56895 5.22192 7.44531 5.03646L6.30989 3.33333H2.66666V7.33333H1.33333V2.66667Z",
"fill": "currentColor"
},
"children": []
},
{
"type": "element",
"name": "path",
"attributes": {
"d": "M4.16031 10.1233L3.69573 8.91537C3.63806 8.76544 3.494 8.6665 3.33334 8.6665C3.17268 8.6665 3.02862 8.76544 2.97095 8.91537L2.50637 10.1233C2.43865 10.2994 2.29952 10.4385 2.12346 10.5062L0.915565 10.9708C0.765618 11.0284 0.666672 11.1725 0.666672 11.3332C0.666672 11.4938 0.765618 11.6379 0.915565 11.6956L2.12346 12.1602C2.29952 12.2278 2.43865 12.367 2.50637 12.543L2.97095 13.751C3.02862 13.9009 3.17268 13.9998 3.33334 13.9998C3.494 13.9998 3.63806 13.9009 3.69573 13.751L4.16031 12.543C4.22803 12.367 4.36716 12.2278 4.54322 12.1602L5.75111 11.6956C5.90106 11.6379 6.00001 11.4938 6.00001 11.3332C6.00001 11.1725 5.90106 11.0284 5.75111 10.9708L4.54322 10.5062C4.36716 10.4385 4.22803 10.2994 4.16031 10.1233Z",
"fill": "currentColor"
},
"children": []
}
]
},
"name": "FolderSpark"
}

View File

@ -4,7 +4,7 @@
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 './AssembleVariablesAlt.json'
import data from './FolderSpark.json'
const Icon = (
{
@ -15,6 +15,6 @@ const Icon = (
},
) => <IconBase {...props} ref={ref} data={data as IconData} />
Icon.displayName = 'AssembleVariablesAlt'
Icon.displayName = 'FolderSpark'
export default Icon

View File

@ -8,6 +8,7 @@ export { default as Code } from './Code'
export { default as Datasource } from './Datasource'
export { default as DocsExtractor } from './DocsExtractor'
export { default as End } from './End'
export { default as FolderSpark } from './FolderSpark'
export { default as Home } from './Home'
export { default as Http } from './Http'
export { default as IfElse } from './IfElse'