From c1be2938b9bf39f6f61def19477f03f3b1aff16c Mon Sep 17 00:00:00 2001 From: alexnatalia Date: Tue, 8 Dec 2020 21:25:38 +0300 Subject: [PATCH 1/2] Refactored stories props. --- src/stories/Dropdown/SDropdown.stories.ts | 2 +- src/stories/Intro/Customization.stories.ts | 2 +- src/stories/Menu/SMenu.stories.ts | 6 +++--- src/stories/SButton.stories.ts | 4 ++-- src/stories/SCard.stories.ts | 4 ++-- src/stories/SCheckbox.stories.ts | 6 +++--- src/stories/SDatePicker.stories.ts | 4 ++-- src/stories/SDialog.stories.ts | 2 +- src/stories/SInput.stories.ts | 2 +- src/stories/SPagination.stories.ts | 4 ++-- src/stories/STooltip.stories.ts | 2 +- src/stories/Select/SSelect.stories.ts | 4 ++-- src/stories/Tab/STabs.stories.ts | 2 +- 13 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/stories/Dropdown/SDropdown.stories.ts b/src/stories/Dropdown/SDropdown.stories.ts index b01e3d03..b1bb21c6 100644 --- a/src/stories/Dropdown/SDropdown.stories.ts +++ b/src/stories/Dropdown/SDropdown.stories.ts @@ -17,7 +17,7 @@ export const configurable = () => ({ template: ` ({ diff --git a/src/stories/Menu/SMenu.stories.ts b/src/stories/Menu/SMenu.stories.ts index 246c197b..01e7ab66 100644 --- a/src/stories/Menu/SMenu.stories.ts +++ b/src/stories/Menu/SMenu.stories.ts @@ -13,7 +13,7 @@ export const basicMenu = () => ({ template: ` @@ -62,7 +62,7 @@ export const sideBar = () => ({ template: ` @@ -121,7 +121,7 @@ export const topBar = () => ({ template: ` Navigator One diff --git a/src/stories/SButton.stories.ts b/src/stories/SButton.stories.ts index 011e73d1..bda6dcb7 100644 --- a/src/stories/SButton.stories.ts +++ b/src/stories/SButton.stories.ts @@ -20,7 +20,7 @@ export const configurable = () => ({ :icon="type === 'action' ? 'back' : ''" :type="type" :size="size" - :borderRadius="borderRadius" + :border-radius="borderRadius" :rounded="rounded" :alternative="alternative" @click="handleClick" @@ -117,7 +117,7 @@ export const withDifferentBorderRadius = () => ({ {{ item.label }} diff --git a/src/stories/SCard.stories.ts b/src/stories/SCard.stories.ts index 1150b755..b98d05e8 100644 --- a/src/stories/SCard.stories.ts +++ b/src/stories/SCard.stories.ts @@ -13,11 +13,11 @@ export default { export const configurable = () => ({ components: { SCard, SRow, SDropdown, SDropdownItem }, template: ` - +