-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #142 from wpmudev/select-component-documentation
Select Documentation
- Loading branch information
Showing
21 changed files
with
1,269 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
import { Source } from '@storybook/addon-docs'; | ||
import { Page } from '@wpmudev/storybook'; | ||
import { Page } from "@wpmudev/storybook" | ||
import { Unstyled } from "@storybook/blocks" | ||
|
||
import TabUsage from './tabs/TabUsage.mdx'; | ||
import TabCode from './tabs/TabCode.mdx'; | ||
import TabExamples from './tabs/TabExamples.mdx'; | ||
import TabUsage from "./tabs/TabUsage.mdx" | ||
import TabCode from "./tabs/TabCode.mdx" | ||
import TabExamples from "./tabs/TabExamples.mdx" | ||
|
||
<Page.Tabs | ||
title="Select" | ||
subtitle={ | ||
<> | ||
The Select element is use to create a drop-down list. This element is most often used in a form, to collect user input. Select inputs let users select a predefined value from a list of options | ||
</> | ||
} | ||
status="draft" | ||
> | ||
<div id="usage" label="Usage"> | ||
<TabUsage /> | ||
</div> | ||
<div id="code" label="Code"> | ||
<TabCode /> | ||
</div> | ||
<div id="examples" label="Examples"> | ||
<TabExamples /> | ||
</div> | ||
</Page.Tabs> | ||
<Unstyled> | ||
<Page.Tabs | ||
title="Select" | ||
subtitle="The Select element is used for a drop-down options. This element is most often used in a form, to collect user input. Select inputs let users select a predefined value from a list of options" | ||
status="draft" | ||
> | ||
<div id="usage" label="Usage"> | ||
<TabUsage /> | ||
</div> | ||
<div id="code" label="Code"> | ||
<TabCode /> | ||
</div> | ||
<div id="examples" label="Examples"> | ||
<TabExamples /> | ||
</div> | ||
</Page.Tabs> | ||
</Unstyled> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
70 changes: 70 additions & 0 deletions
70
packages/components/select/stories/images/expanded-anatomy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
87 changes: 87 additions & 0 deletions
87
packages/components/select/stories/images/expanded-states.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
109 changes: 109 additions & 0 deletions
109
packages/components/select/stories/images/multiselect-anatomy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions
130
packages/components/select/stories/images/multiselect-states.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions
14
packages/components/select/stories/images/single-anatomy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.