Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workaround for a11y, add icons, small Toast fixes #7

Merged
merged 1 commit into from
Jan 25, 2019

Conversation

colinkey
Copy link

Summary of changes

  • Implemented a workaround for a11y-addon. Added <div id='story-root'> around stories following the instructions here addon-a11y not working on latest next storybookjs/storybook#4889. This is resolved in a newer version of storybook that is in pre-release, but updating introduced some changes that broke the build locally. We can remove the div when that stabilizes and we update our storybook version.
  • Added material design icons via mdi.
  • Removed the icon prop from Toast and let type determine the icon used. Also removed it from type definition.
  • Updated css in Toast and made it much more visually pleasing.

@colinkey colinkey requested a review from chaseWillden January 24, 2019 17:48
@chaseWillden chaseWillden merged commit 146acfb into development Jan 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants