From 9679073710fbfa5972f940c4a430238bbca524d6 Mon Sep 17 00:00:00 2001 From: Kiril Videlov Date: Tue, 28 Mar 2023 16:20:07 +0200 Subject: [PATCH] format --- src/lib/components/ButtonGroup.svelte | 4 ++-- src/stories/Button.stories.ts | 1 - src/stories/ButtonGroup.stories.ts | 30 +++++++++++++-------------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/src/lib/components/ButtonGroup.svelte b/src/lib/components/ButtonGroup.svelte index b72ca47e0..aabedc005 100644 --- a/src/lib/components/ButtonGroup.svelte +++ b/src/lib/components/ButtonGroup.svelte @@ -17,13 +17,13 @@ {:else}
- -
diff --git a/src/stories/Button.stories.ts b/src/stories/Button.stories.ts index bf123d3d6..afbb41e9b 100644 --- a/src/stories/Button.stories.ts +++ b/src/stories/Button.stories.ts @@ -61,7 +61,6 @@ export const PrimarySmallWide: Story = { } }; - export const PrimaryFilledSmall: Story = { args: { primary: true, diff --git a/src/stories/ButtonGroup.stories.ts b/src/stories/ButtonGroup.stories.ts index 96e2930a6..cb1c67729 100644 --- a/src/stories/ButtonGroup.stories.ts +++ b/src/stories/ButtonGroup.stories.ts @@ -8,9 +8,9 @@ const meta: Meta = { component: ButtonGroup, tags: ['autodocs'], argTypes: { - leftLabel: { control: 'text' }, - rightLabel: { control: 'text' }, - middleLabel: { control: 'text' }, + leftLabel: { control: 'text' }, + rightLabel: { control: 'text' }, + middleLabel: { control: 'text' } } }; @@ -19,32 +19,32 @@ type Story = StoryObj; export const TwoButtons: Story = { args: { - leftLabel: 'Cancel', - rightLabel: 'Submit', + leftLabel: 'Cancel', + rightLabel: 'Submit' } }; export const TwoButtonsWide: Story = { args: { - leftLabel: 'Cancel', - rightLabel: 'Submit', - wide: true, + leftLabel: 'Cancel', + rightLabel: 'Submit', + wide: true } }; export const ThreeButtons: Story = { args: { - leftLabel: 'Left', - middleLabel: 'Middle', - rightLabel: 'Right', + leftLabel: 'Left', + middleLabel: 'Middle', + rightLabel: 'Right' } }; export const ThreeButtonsWide: Story = { args: { - leftLabel: 'Left', - middleLabel: 'Middle', - rightLabel: 'Right', - wide: true, + leftLabel: 'Left', + middleLabel: 'Middle', + rightLabel: 'Right', + wide: true } };