diff --git a/CHANGELOG.md b/CHANGELOG.md index c962eaa31e..9a9b903f56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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](https://github.com/stardust-ui/react/tree/v0.11.0) (2018-10-30) diff --git a/docs/src/views/Glossary.tsx b/docs/src/views/Glossary.tsx index 10aafd046a..5c95db0e44 100644 --- a/docs/src/views/Glossary.tsx +++ b/docs/src/views/Glossary.tsx @@ -99,14 +99,6 @@ export default () => ( Description , - type: primary, - Used to emphasize a componet's appearance and catch user's attention., - type: secondary, - Used to de-emphasize a component's appearance., - type: positive ?, - Used to hint towards a positive consequence., - type: negative ?, - Used to hint towards a negative consequence., children, The primary content of the component., content, @@ -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') , + primary, + Used to emphasize a component's appearance and catch user's attention., + secondary, + Used to de-emphasize a component's appearance., ]}