From 433f7a74cfe92bbd0ad770df35fcd526eb3f417d Mon Sep 17 00:00:00 2001 From: itwillwork Date: Wed, 29 May 2024 15:31:00 +0300 Subject: [PATCH] docs(*): add Docs.mdx --- src/components/ActionTooltip/__stories__/Docs.mdx | 7 +++++++ src/components/ArrowToggle/__stories__/Docs.mdx | 7 +++++++ src/components/Avatar/__stories__/Docs.mdx | 7 +++++++ src/components/Breadcrumbs/__stories__/Docs.mdx | 7 +++++++ src/components/ClipboardButton/__stories__/Docs.mdx | 7 +++++++ src/components/ClipboardIcon/__stories__/Docs.mdx | 7 +++++++ src/components/Dialog/__stories__/Docs.mdx | 7 +++++++ src/components/Disclosure/__stories__/Docs.mdx | 7 +++++++ src/components/DropdownMenu/__stories__/Docs.mdx | 7 +++++++ src/components/Hotkey/__stories__/Docs.mdx | 7 +++++++ src/components/List/__stories__/Docs.mdx | 7 +++++++ src/components/Loader/__stories__/Docs.mdx | 7 +++++++ src/components/Menu/__stories__/Docs.mdx | 7 +++++++ src/components/Modal/__stories__/Docs.mdx | 7 +++++++ src/components/Pagination/__stories__/Docs.mdx | 7 +++++++ src/components/Popover/__stories__/Docs.mdx | 7 +++++++ src/components/Popup/__stories__/Docs.mdx | 7 +++++++ src/components/Portal/__stories__/Docs.mdx | 7 +++++++ src/components/Progress/__stories__/Docs.mdx | 7 +++++++ src/components/Select/__stories__/Docs.mdx | 7 +++++++ src/components/Sheet/__stories__/Docs.mdx | 7 +++++++ src/components/Skeleton/__stories__/Docs.mdx | 7 +++++++ src/components/Spin/__stories__/Docs.mdx | 7 +++++++ src/components/Table/__stories__/Docs.mdx | 7 +++++++ src/components/Tabs/__stories__/Docs.mdx | 7 +++++++ src/components/Text/__stories__/Docs.mdx | 7 +++++++ src/components/Toaster/__stories__/Docs.mdx | 7 +++++++ src/components/Toc/__stories__/Docs.mdx | 7 +++++++ src/components/Tooltip/__stories__/Docs.mdx | 7 +++++++ src/components/User/__stories__/Docs.mdx | 7 +++++++ src/components/UserLabel/__stories__/Docs.mdx | 7 +++++++ src/components/controls/TextArea/__stories__/Docs.mdx | 7 +++++++ src/components/controls/TextInput/__stories__/Docs.mdx | 7 +++++++ 33 files changed, 231 insertions(+) create mode 100644 src/components/ActionTooltip/__stories__/Docs.mdx create mode 100644 src/components/ArrowToggle/__stories__/Docs.mdx create mode 100644 src/components/Avatar/__stories__/Docs.mdx create mode 100644 src/components/Breadcrumbs/__stories__/Docs.mdx create mode 100644 src/components/ClipboardButton/__stories__/Docs.mdx create mode 100644 src/components/ClipboardIcon/__stories__/Docs.mdx create mode 100644 src/components/Dialog/__stories__/Docs.mdx create mode 100644 src/components/Disclosure/__stories__/Docs.mdx create mode 100644 src/components/DropdownMenu/__stories__/Docs.mdx create mode 100644 src/components/Hotkey/__stories__/Docs.mdx create mode 100644 src/components/List/__stories__/Docs.mdx create mode 100644 src/components/Loader/__stories__/Docs.mdx create mode 100644 src/components/Menu/__stories__/Docs.mdx create mode 100644 src/components/Modal/__stories__/Docs.mdx create mode 100644 src/components/Pagination/__stories__/Docs.mdx create mode 100644 src/components/Popover/__stories__/Docs.mdx create mode 100644 src/components/Popup/__stories__/Docs.mdx create mode 100644 src/components/Portal/__stories__/Docs.mdx create mode 100644 src/components/Progress/__stories__/Docs.mdx create mode 100644 src/components/Select/__stories__/Docs.mdx create mode 100644 src/components/Sheet/__stories__/Docs.mdx create mode 100644 src/components/Skeleton/__stories__/Docs.mdx create mode 100644 src/components/Spin/__stories__/Docs.mdx create mode 100644 src/components/Table/__stories__/Docs.mdx create mode 100644 src/components/Tabs/__stories__/Docs.mdx create mode 100644 src/components/Text/__stories__/Docs.mdx create mode 100644 src/components/Toaster/__stories__/Docs.mdx create mode 100644 src/components/Toc/__stories__/Docs.mdx create mode 100644 src/components/Tooltip/__stories__/Docs.mdx create mode 100644 src/components/User/__stories__/Docs.mdx create mode 100644 src/components/UserLabel/__stories__/Docs.mdx create mode 100644 src/components/controls/TextArea/__stories__/Docs.mdx create mode 100644 src/components/controls/TextInput/__stories__/Docs.mdx diff --git a/src/components/ActionTooltip/__stories__/Docs.mdx b/src/components/ActionTooltip/__stories__/Docs.mdx new file mode 100644 index 0000000000..86bae5f53b --- /dev/null +++ b/src/components/ActionTooltip/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './ActionTooltip.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/ArrowToggle/__stories__/Docs.mdx b/src/components/ArrowToggle/__stories__/Docs.mdx new file mode 100644 index 0000000000..ea2f2d5528 --- /dev/null +++ b/src/components/ArrowToggle/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './ArrowToggle.new.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Avatar/__stories__/Docs.mdx b/src/components/Avatar/__stories__/Docs.mdx new file mode 100644 index 0000000000..5f8111719e --- /dev/null +++ b/src/components/Avatar/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Avatar.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Breadcrumbs/__stories__/Docs.mdx b/src/components/Breadcrumbs/__stories__/Docs.mdx new file mode 100644 index 0000000000..b64532f95f --- /dev/null +++ b/src/components/Breadcrumbs/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Breadcrumbs.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/ClipboardButton/__stories__/Docs.mdx b/src/components/ClipboardButton/__stories__/Docs.mdx new file mode 100644 index 0000000000..f5f72be6e4 --- /dev/null +++ b/src/components/ClipboardButton/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './ClipboardButton.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/ClipboardIcon/__stories__/Docs.mdx b/src/components/ClipboardIcon/__stories__/Docs.mdx new file mode 100644 index 0000000000..3e9945b5f7 --- /dev/null +++ b/src/components/ClipboardIcon/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './ClipboardIcon.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Dialog/__stories__/Docs.mdx b/src/components/Dialog/__stories__/Docs.mdx new file mode 100644 index 0000000000..bf0d8bb2f4 --- /dev/null +++ b/src/components/Dialog/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Dialog.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Disclosure/__stories__/Docs.mdx b/src/components/Disclosure/__stories__/Docs.mdx new file mode 100644 index 0000000000..21cffeaebf --- /dev/null +++ b/src/components/Disclosure/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Disclosure.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/DropdownMenu/__stories__/Docs.mdx b/src/components/DropdownMenu/__stories__/Docs.mdx new file mode 100644 index 0000000000..e8585a2ba8 --- /dev/null +++ b/src/components/DropdownMenu/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './DropdownMenu.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Hotkey/__stories__/Docs.mdx b/src/components/Hotkey/__stories__/Docs.mdx new file mode 100644 index 0000000000..25dbf7451f --- /dev/null +++ b/src/components/Hotkey/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Hotkey.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/List/__stories__/Docs.mdx b/src/components/List/__stories__/Docs.mdx new file mode 100644 index 0000000000..5660fdf0ce --- /dev/null +++ b/src/components/List/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './List.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Loader/__stories__/Docs.mdx b/src/components/Loader/__stories__/Docs.mdx new file mode 100644 index 0000000000..3f7639fe54 --- /dev/null +++ b/src/components/Loader/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Loader.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Menu/__stories__/Docs.mdx b/src/components/Menu/__stories__/Docs.mdx new file mode 100644 index 0000000000..553e79bb81 --- /dev/null +++ b/src/components/Menu/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Menu.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Modal/__stories__/Docs.mdx b/src/components/Modal/__stories__/Docs.mdx new file mode 100644 index 0000000000..fe718adc36 --- /dev/null +++ b/src/components/Modal/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Modal.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Pagination/__stories__/Docs.mdx b/src/components/Pagination/__stories__/Docs.mdx new file mode 100644 index 0000000000..7b309f63df --- /dev/null +++ b/src/components/Pagination/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Pagination.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Popover/__stories__/Docs.mdx b/src/components/Popover/__stories__/Docs.mdx new file mode 100644 index 0000000000..f7a8df2af0 --- /dev/null +++ b/src/components/Popover/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Popover.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Popup/__stories__/Docs.mdx b/src/components/Popup/__stories__/Docs.mdx new file mode 100644 index 0000000000..a470e86180 --- /dev/null +++ b/src/components/Popup/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Popup.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Portal/__stories__/Docs.mdx b/src/components/Portal/__stories__/Docs.mdx new file mode 100644 index 0000000000..e166680e62 --- /dev/null +++ b/src/components/Portal/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Portal.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Progress/__stories__/Docs.mdx b/src/components/Progress/__stories__/Docs.mdx new file mode 100644 index 0000000000..388d402475 --- /dev/null +++ b/src/components/Progress/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Progress.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Select/__stories__/Docs.mdx b/src/components/Select/__stories__/Docs.mdx new file mode 100644 index 0000000000..a1c42fb188 --- /dev/null +++ b/src/components/Select/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Select.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Sheet/__stories__/Docs.mdx b/src/components/Sheet/__stories__/Docs.mdx new file mode 100644 index 0000000000..d9a8a703ee --- /dev/null +++ b/src/components/Sheet/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './DefaultShowcase/DefaultShowcase.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Skeleton/__stories__/Docs.mdx b/src/components/Skeleton/__stories__/Docs.mdx new file mode 100644 index 0000000000..390fbfb1fc --- /dev/null +++ b/src/components/Skeleton/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Skeleton.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Spin/__stories__/Docs.mdx b/src/components/Spin/__stories__/Docs.mdx new file mode 100644 index 0000000000..a76a97996e --- /dev/null +++ b/src/components/Spin/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Spin.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Table/__stories__/Docs.mdx b/src/components/Table/__stories__/Docs.mdx new file mode 100644 index 0000000000..1ee1fed6b0 --- /dev/null +++ b/src/components/Table/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Table.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Tabs/__stories__/Docs.mdx b/src/components/Tabs/__stories__/Docs.mdx new file mode 100644 index 0000000000..e832604fbf --- /dev/null +++ b/src/components/Tabs/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Tabs.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Text/__stories__/Docs.mdx b/src/components/Text/__stories__/Docs.mdx new file mode 100644 index 0000000000..daa4e6f09c --- /dev/null +++ b/src/components/Text/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Text.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Toaster/__stories__/Docs.mdx b/src/components/Toaster/__stories__/Docs.mdx new file mode 100644 index 0000000000..0cab077663 --- /dev/null +++ b/src/components/Toaster/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Toaster.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Toc/__stories__/Docs.mdx b/src/components/Toc/__stories__/Docs.mdx new file mode 100644 index 0000000000..9e3f7dcf8c --- /dev/null +++ b/src/components/Toc/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Toc.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/Tooltip/__stories__/Docs.mdx b/src/components/Tooltip/__stories__/Docs.mdx new file mode 100644 index 0000000000..7a630e0310 --- /dev/null +++ b/src/components/Tooltip/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './Tooltip.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/User/__stories__/Docs.mdx b/src/components/User/__stories__/Docs.mdx new file mode 100644 index 0000000000..e015143278 --- /dev/null +++ b/src/components/User/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './User.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/UserLabel/__stories__/Docs.mdx b/src/components/UserLabel/__stories__/Docs.mdx new file mode 100644 index 0000000000..e3b94de49c --- /dev/null +++ b/src/components/UserLabel/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './UserLabel.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/controls/TextArea/__stories__/Docs.mdx b/src/components/controls/TextArea/__stories__/Docs.mdx new file mode 100644 index 0000000000..ece4d73305 --- /dev/null +++ b/src/components/controls/TextArea/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './TextArea.stories'; +import Readme from '../README.md?raw'; + + + +{Readme} diff --git a/src/components/controls/TextInput/__stories__/Docs.mdx b/src/components/controls/TextInput/__stories__/Docs.mdx new file mode 100644 index 0000000000..138d260f98 --- /dev/null +++ b/src/components/controls/TextInput/__stories__/Docs.mdx @@ -0,0 +1,7 @@ +import {Meta, Markdown} from '@storybook/addon-docs'; +import * as Stories from './TextInput.stories'; +import Readme from '../README.md?raw'; + + + +{Readme}