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

docs(Toggles): add label examples to stories; remove a11yProps #6770

Merged

Conversation

dakahn
Copy link
Contributor

@dakahn dakahn commented Sep 2, 2020

Noticed while triaging an issue that we didn't have labels on our Toggle examples. So I threw some on Toggle and ToggleSmall 👍

Also removed a11yProps and just added the label to the main props object.

Also removed the unneeded aria label since we have explicit labeling with the <label> element 🏄

@dakahn dakahn requested a review from a team as a code owner September 2, 2020 23:57
@netlify
Copy link

netlify bot commented Sep 3, 2020

Deploy preview for carbon-elements ready!

Built with commit 842d8be

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

@netlify
Copy link

netlify bot commented Sep 3, 2020

Deploy preview for carbon-components-react ready!

Built with commit 842d8be

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

@netlify
Copy link

netlify bot commented Sep 3, 2020

Deploy preview for carbon-elements ready!

Built with commit 623e340

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

@netlify
Copy link

netlify bot commented Sep 3, 2020

Deploy preview for carbon-components-react ready!

Built without sensitive environment variables with commit 623e340

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

@tw15egan
Copy link
Collaborator

tw15egan commented Sep 8, 2020

Just noticed there is a difference in margin between the skeleton label and the non-skeleton label. Also noticed that there are no skeleton styles...

If we don't have skeleton styles defined (not sure they are needed for a toggle?) perhaps we should just remove the examples and any styles associated with them

Copy link
Contributor

@joshblack joshblack 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 outside of the feedback from TJ above 👍

@joshblack
Copy link
Contributor

bump @dakahn when you have a sec 👀

@dakahn
Copy link
Contributor Author

dakahn commented Sep 16, 2020

@tw15egan sorry, coming back to this after -- too too long.

I fixed the spacing issue by getting the skeleton code in line with the regular toggle code. So you think we should maybe scrap Toggle.Skeleton and all it's styles altogether?

@joshblack
Copy link
Contributor

For skeleton I bet we could just remove it from the story until we add in the styles for it 👀

@tw15egan
Copy link
Collaborator

Yeah I'd just remove the skeleton stories until we implement it 😄 Everything else looks great!

@tw15egan
Copy link
Collaborator

I think we just need to remove the ToggleSmall skeleton then we're good to GO ✈️

@dakahn
Copy link
Contributor Author

dakahn commented Sep 18, 2020

@tw15egan oh duh, sorry

@joshblack
Copy link
Contributor

bump @tw15egan I think it's missing 1 review for the auto-merge if you have a sec to approve 👀

Copy link
Collaborator

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

🎉

@kodiakhq kodiakhq bot merged commit f9b1030 into carbon-design-system:master Sep 22, 2020
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.

3 participants