From 5d73544d15ba6855105bb25e92229548e9898187 Mon Sep 17 00:00:00 2001 From: Bobo Date: Mon, 21 Oct 2024 11:23:30 +0200 Subject: [PATCH] Add Governance icon --- packages/Icons/index.ts | 4 +++- packages/Icons/src/IconGovernance.vue | 8 ++++++++ packages/export_type.ts | 2 ++ src/stories/Icons/IconGovernance.stories.js | 11 +++++++++++ 4 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 packages/Icons/src/IconGovernance.vue create mode 100644 src/stories/Icons/IconGovernance.stories.js diff --git a/packages/Icons/index.ts b/packages/Icons/index.ts index 2383892..f6e4fee 100644 --- a/packages/Icons/index.ts +++ b/packages/Icons/index.ts @@ -68,6 +68,7 @@ import IconArrowUpRight from "./src/IconArrowUpRight.vue"; import IconProject from "./src/IconProject.vue"; import IconHeart from "./src/IconHeart.vue"; import IconCheck from "./src/IconCheck.vue"; +import IconGovernance from "./src/IconGovernance.vue"; export const IconsPlugin: Plugin = { install(app: App) { @@ -102,6 +103,7 @@ export const IconsPlugin: Plugin = { app.component("astar-icon-help", IconHelp); app.component("astar-icon-vert", IconVert); app.component("astar-icon-history", IconHistory); + app.component("astar-icon-governance", IconGovernance); app.component("astar-icon-group", IconGroup); app.component("astar-icon-sync", IconSync); app.component("astar-icon-expand", IconExpand); @@ -209,5 +211,5 @@ export { IconArrowUpRight, IconProject, IconHeart, - IconCheck + IconCheck, }; diff --git a/packages/Icons/src/IconGovernance.vue b/packages/Icons/src/IconGovernance.vue new file mode 100644 index 0000000..cb33e0a --- /dev/null +++ b/packages/Icons/src/IconGovernance.vue @@ -0,0 +1,8 @@ + diff --git a/packages/export_type.ts b/packages/export_type.ts index 5dcf1b6..fc82b78 100644 --- a/packages/export_type.ts +++ b/packages/export_type.ts @@ -26,6 +26,7 @@ import { IconFacebook, IconForum, IconGithub, + IconGovernance, IconGroup, IconHelp, IconHide, @@ -91,6 +92,7 @@ export interface GlobalComponents { 'astar-icon-facebook': typeof IconFacebook; 'astar-icon-forum': typeof IconForum; 'astar-icon-github': typeof IconGithub; + 'astar-icon-governance': typeof IconGovernance; 'astar-icon-group': typeof IconGroup; 'astar-icon-geko': typeof IconHelp; 'astar-icon-hide': typeof IconHide; diff --git a/src/stories/Icons/IconGovernance.stories.js b/src/stories/Icons/IconGovernance.stories.js new file mode 100644 index 0000000..cd82dd3 --- /dev/null +++ b/src/stories/Icons/IconGovernance.stories.js @@ -0,0 +1,11 @@ +import IconGovernance from 'packages/Icons/src/IconGovernance.vue'; + +export default { + title: 'Icons/IconGovernance', + component: IconGovernance, +}; + +export const DefaultIcon = () => ({ + components: { IconGovernance }, + template: '', +});