Default and Documentation stories should not share states
Hi,
When we change something in Default story like for example button (I've changed its variant type to success), then we switch back to Documentation, the documentation takes the same values.
However its code block doesn't get updated.
Steps to reproduce
- Go to Default story which have non-default category and variant, https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-button--default&args=category:secondary;variant:success
- Check the Documentation story (just above the Default story)
Here I have two thoughts
- Either the documentation story should not update when we update the Default story, since it'll leave wrong impression for a user who first landed on Default one then checked out the documentation
- Or we should also update the code block associated with it.
Edited by Ankur Parihar