From 14f46308a940699dd99e9cf2a10ae7a99a7159cb Mon Sep 17 00:00:00 2001 From: AkaraChen Date: Wed, 4 Dec 2024 14:10:17 +0800 Subject: [PATCH] chore: gen icon for selection icon --- .../public/knowledge/selection-mod.svg} | 0 .../src/public/knowledge/SelectionMod.json | 116 ++++++++++++++++++ .../src/public/knowledge/SelectionMod.tsx | 16 +++ .../base/icons/src/public/knowledge/index.ts | 1 + 4 files changed, 133 insertions(+) rename web/app/components/{datasets/assets/selection-mod-nocolor.svg => base/icons/assets/public/knowledge/selection-mod.svg} (100%) create mode 100644 web/app/components/base/icons/src/public/knowledge/SelectionMod.json create mode 100644 web/app/components/base/icons/src/public/knowledge/SelectionMod.tsx diff --git a/web/app/components/datasets/assets/selection-mod-nocolor.svg b/web/app/components/base/icons/assets/public/knowledge/selection-mod.svg similarity index 100% rename from web/app/components/datasets/assets/selection-mod-nocolor.svg rename to web/app/components/base/icons/assets/public/knowledge/selection-mod.svg diff --git a/web/app/components/base/icons/src/public/knowledge/SelectionMod.json b/web/app/components/base/icons/src/public/knowledge/SelectionMod.json new file mode 100644 index 0000000000..ff8174a572 --- /dev/null +++ b/web/app/components/base/icons/src/public/knowledge/SelectionMod.json @@ -0,0 +1,116 @@ +{ + "icon": { + "type": "element", + "isRootNode": true, + "name": "svg", + "attributes": { + "width": "10", + "height": "10", + "viewBox": "0 0 10 10", + "fill": "none", + "xmlns": "http://www.w3.org/2000/svg" + }, + "children": [ + { + "type": "element", + "name": "g", + "attributes": { + "id": "Group" + }, + "children": [ + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector", + "d": "M2.5 10H0V7.5H2.5V10Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_2", + "d": "M6.25 6.25H3.75V3.75H6.25V6.25Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_3", + "d": "M2.5 6.25H0V3.75H2.5V6.25Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_4", + "d": "M6.25 2.5H3.75V0H6.25V2.5Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_5", + "d": "M2.5 2.5H0V0H2.5V2.5Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_6", + "d": "M10 2.5H7.5V0H10V2.5Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_7", + "d": "M9.58332 7.91663H7.91666V9.58329H9.58332V7.91663Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_8", + "d": "M9.58332 4.16663H7.91666V5.83329H9.58332V4.16663Z", + "fill": "#676F83" + }, + "children": [] + }, + { + "type": "element", + "name": "path", + "attributes": { + "id": "Vector_9", + "d": "M5.83332 7.91663H4.16666V9.58329H5.83332V7.91663Z", + "fill": "#676F83" + }, + "children": [] + } + ] + } + ] + }, + "name": "SelectionMod" +} \ No newline at end of file diff --git a/web/app/components/base/icons/src/public/knowledge/SelectionMod.tsx b/web/app/components/base/icons/src/public/knowledge/SelectionMod.tsx new file mode 100644 index 0000000000..19125b7063 --- /dev/null +++ b/web/app/components/base/icons/src/public/knowledge/SelectionMod.tsx @@ -0,0 +1,16 @@ +// GENERATE BY script +// DON NOT EDIT IT MANUALLY + +import * as React from 'react' +import data from './SelectionMod.json' +import IconBase from '@/app/components/base/icons/IconBase' +import type { IconBaseProps, IconData } from '@/app/components/base/icons/IconBase' + +const Icon = React.forwardRef, Omit>(( + props, + ref, +) => ) + +Icon.displayName = 'SelectionMod' + +export default Icon diff --git a/web/app/components/base/icons/src/public/knowledge/index.ts b/web/app/components/base/icons/src/public/knowledge/index.ts index 00786b5782..24bcf3e41c 100644 --- a/web/app/components/base/icons/src/public/knowledge/index.ts +++ b/web/app/components/base/icons/src/public/knowledge/index.ts @@ -1,2 +1,3 @@ export { default as GeneralType } from './GeneralType' export { default as ParentChildType } from './ParentChildType' +export { default as SelectionMod } from './SelectionMod'