Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

docs(Glossary): remove the type prop #432

Merged
merged 2 commits into from
Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

### Documentation
- Add all missing component descriptions and improve those existing @levithomason ([#400](https://github.com/stardust-ui/react/pull/400))
- Replace the `type` prop with `secondary` and `primary` in Glossary @layershifter ([#432](https://github.com/stardust-ui/react/pull/432))

<!--------------------------------[ v0.11.0 ]------------------------------- -->
## [v0.11.0](https://github.com/stardust-ui/react/tree/v0.11.0) (2018-10-30)
Expand Down
12 changes: 4 additions & 8 deletions docs/src/views/Glossary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ export default () => (
<span>
<strong>Description</strong>
</span>,
<span>type: primary</span>,
<span>Used to emphasize a componet's appearance and catch user's attention.</span>,
<span>type: secondary</span>,
<span>Used to de-emphasize a component's appearance.</span>,
<span>type: positive ?</span>,
<span>Used to hint towards a positive consequence.</span>,
<span>type: negative ?</span>,
<span>Used to hint towards a negative consequence.</span>,
<span>children</span>,
<span>The primary content of the component.</span>,
<span>content</span>,
Expand Down Expand Up @@ -170,6 +162,10 @@ export default () => (
Used to describe the shape of the component. For example for the Menu component, beside
the default, we have the following shapes: ('pills', 'pointing', 'underlined')
</span>,
<span>primary</span>,
<span>Used to emphasize a component's appearance and catch user's attention.</span>,
<span>secondary</span>,
<span>Used to de-emphasize a component's appearance.</span>,
]}
</Grid>
<Header as="h2" content="Accessibility Terms" />
Expand Down