From dde4db26af9fe2634893ce2707eb0e9a9151812b Mon Sep 17 00:00:00 2001 From: Gabriel Tiburcio Date: Wed, 28 Feb 2024 08:38:21 -0300 Subject: [PATCH] feat(icons): export icons from the Aquarium --- .gitignore | 4 +-- src/assets/svg/alicorn.svg | 3 +++ src/assets/svg/chart-column.svg | 4 +++ src/assets/svg/chart-line.svg | 3 +++ src/assets/svg/circle-nodes.svg | 3 +++ src/assets/svg/cloud.svg | 3 +++ src/assets/svg/connections.svg | 3 +++ src/assets/svg/database.svg | 3 +++ src/assets/svg/folder-closed.svg | 3 +++ src/assets/svg/gear.svg | 3 +++ src/assets/svg/grid.svg | 3 +++ src/assets/svg/heart.svg | 3 +++ src/assets/svg/lightbulb.svg | 3 +++ src/assets/svg/message-question.svg | 3 +++ src/assets/svg/shield-keyhole.svg | 3 +++ src/assets/svg/sitemap.svg | 4 +++ src/assets/svg/sparkles.svg | 4 +++ src/assets/svg/split.svg | 3 +++ src/assets/svg/users.svg | 3 +++ src/assets/svg/wrench.svg | 3 +++ src/components/icons/index.ts | 41 +++++++++++++++++++++++++++++ src/components/index.ts | 27 ++++++++++++++++--- 22 files changed, 127 insertions(+), 5 deletions(-) create mode 100644 src/assets/svg/alicorn.svg create mode 100644 src/assets/svg/chart-column.svg create mode 100644 src/assets/svg/chart-line.svg create mode 100644 src/assets/svg/circle-nodes.svg create mode 100644 src/assets/svg/cloud.svg create mode 100644 src/assets/svg/connections.svg create mode 100644 src/assets/svg/database.svg create mode 100644 src/assets/svg/folder-closed.svg create mode 100644 src/assets/svg/gear.svg create mode 100644 src/assets/svg/grid.svg create mode 100644 src/assets/svg/heart.svg create mode 100644 src/assets/svg/lightbulb.svg create mode 100644 src/assets/svg/message-question.svg create mode 100644 src/assets/svg/shield-keyhole.svg create mode 100644 src/assets/svg/sitemap.svg create mode 100644 src/assets/svg/sparkles.svg create mode 100644 src/assets/svg/split.svg create mode 100644 src/assets/svg/users.svg create mode 100644 src/assets/svg/wrench.svg create mode 100644 src/components/icons/index.ts diff --git a/.gitignore b/.gitignore index 1b905fd56..117694ac2 100644 --- a/.gitignore +++ b/.gitignore @@ -89,7 +89,6 @@ out # Nuxt.js build / generate output .nuxt -dist # Gatsby files .cache/ @@ -138,4 +137,5 @@ out/ test/reports test/test-bundle.js.map test/stub/test-stub-bundle.js -**/dist \ No newline at end of file + +dist/ \ No newline at end of file diff --git a/src/assets/svg/alicorn.svg b/src/assets/svg/alicorn.svg new file mode 100644 index 000000000..5c4bab4fe --- /dev/null +++ b/src/assets/svg/alicorn.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/chart-column.svg b/src/assets/svg/chart-column.svg new file mode 100644 index 000000000..9aff09957 --- /dev/null +++ b/src/assets/svg/chart-column.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/svg/chart-line.svg b/src/assets/svg/chart-line.svg new file mode 100644 index 000000000..b9bf69e93 --- /dev/null +++ b/src/assets/svg/chart-line.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/circle-nodes.svg b/src/assets/svg/circle-nodes.svg new file mode 100644 index 000000000..7f575b158 --- /dev/null +++ b/src/assets/svg/circle-nodes.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/cloud.svg b/src/assets/svg/cloud.svg new file mode 100644 index 000000000..fefc77300 --- /dev/null +++ b/src/assets/svg/cloud.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/connections.svg b/src/assets/svg/connections.svg new file mode 100644 index 000000000..8b9622fc4 --- /dev/null +++ b/src/assets/svg/connections.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/database.svg b/src/assets/svg/database.svg new file mode 100644 index 000000000..7500aeb41 --- /dev/null +++ b/src/assets/svg/database.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/folder-closed.svg b/src/assets/svg/folder-closed.svg new file mode 100644 index 000000000..9c6c71e5e --- /dev/null +++ b/src/assets/svg/folder-closed.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/gear.svg b/src/assets/svg/gear.svg new file mode 100644 index 000000000..462717ad0 --- /dev/null +++ b/src/assets/svg/gear.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/grid.svg b/src/assets/svg/grid.svg new file mode 100644 index 000000000..17c823a33 --- /dev/null +++ b/src/assets/svg/grid.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/heart.svg b/src/assets/svg/heart.svg new file mode 100644 index 000000000..4c2313807 --- /dev/null +++ b/src/assets/svg/heart.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/lightbulb.svg b/src/assets/svg/lightbulb.svg new file mode 100644 index 000000000..012b306d9 --- /dev/null +++ b/src/assets/svg/lightbulb.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/message-question.svg b/src/assets/svg/message-question.svg new file mode 100644 index 000000000..67a73cd50 --- /dev/null +++ b/src/assets/svg/message-question.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/shield-keyhole.svg b/src/assets/svg/shield-keyhole.svg new file mode 100644 index 000000000..036ba79f5 --- /dev/null +++ b/src/assets/svg/shield-keyhole.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/sitemap.svg b/src/assets/svg/sitemap.svg new file mode 100644 index 000000000..f024ebad7 --- /dev/null +++ b/src/assets/svg/sitemap.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/svg/sparkles.svg b/src/assets/svg/sparkles.svg new file mode 100644 index 000000000..051c3d508 --- /dev/null +++ b/src/assets/svg/sparkles.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/svg/split.svg b/src/assets/svg/split.svg new file mode 100644 index 000000000..d9d8dc96b --- /dev/null +++ b/src/assets/svg/split.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/users.svg b/src/assets/svg/users.svg new file mode 100644 index 000000000..9c35630cd --- /dev/null +++ b/src/assets/svg/users.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/assets/svg/wrench.svg b/src/assets/svg/wrench.svg new file mode 100644 index 000000000..7b0600d83 --- /dev/null +++ b/src/assets/svg/wrench.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/icons/index.ts b/src/components/icons/index.ts new file mode 100644 index 000000000..caaf79401 --- /dev/null +++ b/src/components/icons/index.ts @@ -0,0 +1,41 @@ +import ChartLineIcon from 'src/assets/svg/chart-line.svg?react' +import ConnectionsIcon from 'src/assets/svg/connections.svg?react' +import DatabaseIcon from 'src/assets/svg/database.svg?react' +import GridIcon from 'src/assets/svg/grid.svg?react' +import ShieldKeyholeIcon from 'src/assets/svg/shield-keyhole.svg?react' +import UsersIcon from 'src/assets/svg/users.svg?react' +import WrenchIcon from 'src/assets/svg/wrench.svg?react' +import AlicornIcon from 'src/assets/svg/alicorn.svg?react' +import MessageQuestionIcon from 'src/assets/svg/message-question.svg?react' +import GearIcon from 'src/assets/svg/gear.svg?react' +import SparklesIcon from 'src/assets/svg/sparkles.svg?react' +import SiteMapIcon from 'src/assets/svg/sitemap.svg?react' +import ChartColumnIcon from 'src/assets/svg/chart-column.svg?react' +import HeartIcon from 'src/assets/svg/heart.svg?react' +import LightBulbIcon from 'src/assets/svg/lightbulb.svg?react' +import SplitIcon from 'src/assets/svg/split.svg?react' +import CircleNodesIcon from 'src/assets/svg/circle-nodes.svg?react' +import CloudIcon from 'src/assets/svg/cloud.svg?react' +import FolderClosedIcon from 'src/assets/svg/folder-closed.svg?react' + +export { + ChartLineIcon, + ConnectionsIcon, + DatabaseIcon, + GridIcon, + ShieldKeyholeIcon, + UsersIcon, + WrenchIcon, + AlicornIcon, + MessageQuestionIcon, + GearIcon, + SparklesIcon, + SiteMapIcon, + ChartColumnIcon, + HeartIcon, + LightBulbIcon, + SplitIcon, + CircleNodesIcon, + CloudIcon, + FolderClosedIcon, +} diff --git a/src/components/index.ts b/src/components/index.ts index be5b0b3fa..434ee92e0 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -70,7 +70,7 @@ export { type SubMenuType, type MenuItemGroupType, type MenuDividerType, - type IMenuInfo + type IMenuInfo, } from './navigation/Menu/Menu' export { ConfigProvider, type IConfigProviderProps } from './other/ConfigProvider/ConfigProvider' export { Affix, type IAffixProps } from './other/Affix/Affix' @@ -90,10 +90,31 @@ export type { INavigationCreateGroup, INavigationCreateItem, } from 'src/components/navigation/GlobalNavigation/NavigationCreate' -export type { +export type { INavigationOrg, INavigationWorkspace, INavigationAccount, IWorkspaceSelectorDisplayItem, IWorkspaceSelectorItem, -} from './navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorItems' \ No newline at end of file +} from './navigation/GlobalNavigation/WorkspaceSelector/WorkspaceSelectorItems' +export { + ChartLineIcon, + ConnectionsIcon, + DatabaseIcon, + GridIcon, + ShieldKeyholeIcon, + UsersIcon, + WrenchIcon, + AlicornIcon, + MessageQuestionIcon, + GearIcon, + SparklesIcon, + SiteMapIcon, + ChartColumnIcon, + HeartIcon, + LightBulbIcon, + SplitIcon, + CircleNodesIcon, + CloudIcon, + FolderClosedIcon, +} from './icons/index'