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

feat(accordion): add size variants to Accordion #7038

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

tw15egan
Copy link
Member

Related to #5455

Adds in sm (32px) and xl (48px) variants to Accordion

Changelog

New

  • size prop added to Accordion. Adds in two variants sm and xl.

Changed

  • Updated snapshots

Testing / Reviewing

Ensure all size variants look correct

@netlify
Copy link

netlify bot commented Oct 13, 2020

Deploy preview for carbon-elements ready!

Built with commit fc94749

https://deploy-preview-7038--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Oct 13, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit fc94749

https://deploy-preview-7038--carbon-components-react.netlify.app

Copy link
Member

@emyarod emyarod left a 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 pending visual review

Copy link
Contributor

@jeanservaas jeanservaas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great and I want to approve. I just have one question, is it possible to call this a "Large" variant vs. an "Extra Large" variant? Since we're starting to add large variants everywhere, we should be consistent. The 64px button variant is only called "Large" and the 48px search I believe might even be default.

Thoughts on this?

@tw15egan
Copy link
Member Author

@jeanservaas we'll be able to do that on the next major release, but right now we're just aligning it to all the other form input sizes (sm and xl). In the next major release, we'll switch to small and large as the two variants.

Copy link
Contributor

@johnbister johnbister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Weird Al would be proud.

weirdal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants