From a710f5a031a16542fff4f0a18131d63fef6b01be Mon Sep 17 00:00:00 2001 From: olfedias Date: Mon, 5 Nov 2018 16:25:55 +0200 Subject: [PATCH 1/2] docs(Glossary): remove the `type` prop --- docs/src/views/Glossary.tsx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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., ]}
From 78870de14447c71a66a70c0a0aaaf6bddbe6aa56 Mon Sep 17 00:00:00 2001 From: olfedias Date: Mon, 5 Nov 2018 16:29:55 +0200 Subject: [PATCH 2/2] docs(CHANGELOG): add entry --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) 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)