-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Remove external/outside margin from components #9830
Remove external/outside margin from components #9830
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 759acf0 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/616f14fa7d95ed000819f8f7 😎 Browse the preview: https://deploy-preview-9830--carbon-react-next.netlify.app |
A few components listed in the original issue have already had margin removed or were fixed to no longer include margin:
cc @janhassel |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 759acf0 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/616f14faa6a1b00007099399 😎 Browse the preview: https://deploy-preview-9830--carbon-components-react.netlify.app |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 759acf0 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/616f14fab65fba00070ee6a3 😎 Browse the preview: https://deploy-preview-9830--carbon-elements.netlify.app |
Do we need to document these somewhere? Could see it being a surprise under some circumstances. re: feature flag, I think that's a design decision we have to make (or maybe have already made? @joshblack). Is the goal for folks to be able to switch from I could see the benefit of that as far as the adoption of the new package is concerned. |
@vpicone Yeah, great points. I'll add it to the migration doc and put this behind the feature flag. |
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 🏄🏾
Update on this - the storybooks should both remain unchanged as they both have the v11 feature flag turned off. To validate the margin removal, you have to pull down locally and add turn on the v11 feature flag. |
@sstrubberg I added a commit just now passing the |
Closes #5367
Refs #9805
Removes external/outside "harmful margin" from components listed in the original issue. The changes are only within
@carbon/styles
because these are considered breaking changes and should only be used with v11.Changelog
Removed
Testing / Reviewing
carbon-components-react
storybookcarbon-react-next
storybook