From 4c87890a03f7cea4ab22ff7b182c80317541aec7 Mon Sep 17 00:00:00 2001 From: ben-basten <45583362+ben-basten@users.noreply.github.com> Date: Tue, 4 Jun 2024 23:06:03 -0400 Subject: [PATCH] feat: migrate CircleIconButton and add it to Storybook Breaking change: removing the "buttonSize" prop --- web/src/lib/ui/CircleIconButton.svelte | 44 +++++++++++++++ web/src/stories/Button.stories.svelte | 2 +- .../stories/CircleIconButton.stories.svelte | 53 +++++++++++++++++++ 3 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 web/src/lib/ui/CircleIconButton.svelte create mode 100644 web/src/stories/CircleIconButton.stories.svelte diff --git a/web/src/lib/ui/CircleIconButton.svelte b/web/src/lib/ui/CircleIconButton.svelte new file mode 100644 index 0000000000..9eb67df3d5 --- /dev/null +++ b/web/src/lib/ui/CircleIconButton.svelte @@ -0,0 +1,44 @@ + + + diff --git a/web/src/stories/Button.stories.svelte b/web/src/stories/Button.stories.svelte index 000045d44e..64f9e908a0 100644 --- a/web/src/stories/Button.stories.svelte +++ b/web/src/stories/Button.stories.svelte @@ -2,7 +2,7 @@ import Button from '$lib/ui/Button.svelte'; import { Template } from '@storybook/addon-svelte-csf'; export const meta = { - title: 'Button', + title: 'Components/Buttons/Button', component: Button, }; diff --git a/web/src/stories/CircleIconButton.stories.svelte b/web/src/stories/CircleIconButton.stories.svelte new file mode 100644 index 0000000000..ac9af96dc6 --- /dev/null +++ b/web/src/stories/CircleIconButton.stories.svelte @@ -0,0 +1,53 @@ + + + + + + + +