Skip to content

Commit a22a31f

Browse files
committed
refactor(v1-components): Storybook examples moved to a new directory
1 parent 4fa0815 commit a22a31f

File tree

9 files changed

+7
-35
lines changed

9 files changed

+7
-35
lines changed

packages/v1-components/storybook/stories/UiAvatarExamples/ExampleEmptyAvatar.vue renamed to packages/v1-components/storybook/examples/avatar/ExampleEmptyAvatar.vue

File renamed without changes.

packages/v1-components/storybook/stories/UiAvatarExamples/ExampleList.vue renamed to packages/v1-components/storybook/examples/avatar/ExampleList.vue

File renamed without changes.

packages/v1-components/storybook/stories/UiAvatarExamples/ExampleSize.vue renamed to packages/v1-components/storybook/examples/avatar/ExampleSize.vue

File renamed without changes.

packages/v1-components/storybook/stories/UiAvatarExamples/ExampleStatus.vue renamed to packages/v1-components/storybook/examples/avatar/ExampleStatus.vue

File renamed without changes.

packages/v1-components/storybook/stories/UiCopyButtonExamples/ExampleBasic.vue renamed to packages/v1-components/storybook/examples/copy-button/ExampleBasic.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<UiCopyButton text="test" size="sm">
2+
<UiCopyButton text="Текст для копирования" size="sm">
33
<template #hint>
44
Скопировать
55
</template>

packages/v1-components/storybook/stories/UiAvatar.example.vue

Lines changed: 0 additions & 26 deletions
This file was deleted.

packages/v1-components/storybook/stories/UiAvatar.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import ToReact from '../ToReact.ts'
22

3-
import ExampleList from './UiAvatarExamples/ExampleList.vue'
4-
import ExampleSize from './UiAvatarExamples/ExampleSize.vue'
5-
import ExampleStatus from './UiAvatarExamples/ExampleStatus.vue'
6-
import ExampleEmptyAvatar from './UiAvatarExamples/ExampleEmptyAvatar.vue'
3+
import ExampleList from '../examples/avatar/ExampleList.vue'
4+
import ExampleSize from '../examples/avatar/ExampleSize.vue'
5+
import ExampleStatus from '../examples/avatar/ExampleStatus.vue'
6+
import ExampleEmptyAvatar from '../examples/avatar/ExampleEmptyAvatar.vue'
77

88
# UiAvatar
99

packages/v1-components/storybook/stories/UiCopyButton.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import ToReact from '../ToReact.ts'
22

3-
import ExampleBasic from './UiCopyButtonExamples/ExampleBasic.vue'
3+
import ExampleBasic from '../examples/copy-button/ExampleBasic.vue'
44

55
# UiCopyButton
66

@@ -18,7 +18,7 @@ import ExampleBasic from './UiCopyButtonExamples/ExampleBasic.vue'
1818

1919
```html
2020
<template>
21-
<UiCopyButton text="test" size="sm">
21+
<UiCopyButton text="Текст для копирования" size="sm">
2222
<template #hint>
2323
Скопировать
2424
</template>

packages/v1-components/storybook/stories/UiCopyButton.stories.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import { SIZE } from '@/common/components/button'
77
import page from './UiCopyButton.mdx'
88

99
const meta = {
10-
id: 'UiCopyButton',
11-
1210
title: 'Components/UiCopyButton',
1311

1412
component: UiCopyButton,

0 commit comments

Comments
 (0)