-
Notifications
You must be signed in to change notification settings - Fork 2
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
Toast component #217
Toast component #217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lots of code comments.
As noted, the buttons aren't readable in dark mode.
Also, there's no way to manually dismiss them. Is one of the buttons supposed to always be "dismiss"? Is it possible to have no buttons, since they are slotted? Probably should discuss some of this stuff.
packages/web-components/src/components/cbp-toast/cbp-toast.scss
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/cbp-toast/cbp-toast.scss
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/cbp-toast/cbp-toast.scss
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/cbp-toast/cbp-toast.scss
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some more code comments, but looking good.
packages/web-components/src/components/cbp-toast/cbp-toast.scss
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/cbp-toast/cbp-toast.scss
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/cbp-toast/cbp-toast.stories.tsx
Outdated
Show resolved
Hide resolved
packages/web-components/src/components/cbp-toast/cbp-toast.stories.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See code comments
Creation of the CBP Toast component