-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(toggle): convert ToggleSmall to a variant of Toggle #7380
feat(toggle): convert ToggleSmall to a variant of Toggle #7380
Conversation
Deploy preview for carbon-elements ready! Built with commit 4b9c6b9 |
Deploy preview for carbon-components-react ready! Built with commit 4b9c6b9 https://deploy-preview-7380--carbon-components-react.netlify.app |
✔️ Deploy preview for carbon-elements ready! 🔨 Explore the source changes: c10b592 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-elements/deploys/5fca50e181be9c0008e2211a 😎 Browse the preview: https://deploy-preview-7380--carbon-elements.netlify.app |
✔️ Deploy preview for carbon-components-react ready! 🔨 Explore the source changes: c10b592 🔍 Inspect the deploy logs: https://app.netlify.com/sites/carbon-components-react/deploys/5fca50e1fe6dc600079e8137 😎 Browse the preview: https://deploy-preview-7380--carbon-components-react.netlify.app |
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.
cool
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.
looks good!
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.
looks good to me
974d1d5
to
e784c6b
Compare
Closes #6653
Closes #7327
Refs carbon-design-system/carbon-components-svelte#401
Deprecates
ToggleSmall
and addssize
prop toToggle
since the two components are basically identical.Changelog
New
size
prop forToggle
that acceptssm
to enable the small toggle variantToggle
Changed
ToggleSmall
in Dev modeToggleSmall
to the storybookToggleSmall
tests from failing because of the deprecation warningRemoved
Testing / Reviewing
Try changing the size of
Toggle
in the storybook and ensure all styles look correct