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 > Components > Buttons : Add "not in ODS" alert message for Toggle states #1118

Closed
2 tasks done
isabellechanclou opened this issue Feb 28, 2022 · 1 comment
Closed
2 tasks done

Comments

@isabellechanclou
Copy link
Member

Prerequisites

Proposal

Buttons toggle states:
There is a possible confusion about the presented components that contain the word toggle in their labels and the ones presented in the 'Toggle buttons with labels' sections in the design system. One may wonder if they are the same components or not. Apparently, the Boosted are inherited from Bootstrap and don't have any equivalent in ODS. If so, it could be useful in Boosted's Docs to add the warning message saying that these components do not belong in ODS.

Motivation and context

Avoid confusion and using a component in ODS that should not.

@isabellechanclou
Copy link
Member Author

A design callout message was added at the beginning of the Button plugin section.
It states:

These variants with only one toggle button should not be used because they do not respect the Orange Design System specifications. From the Orange Design System point of view and for usability reasons, a toggle button should not be used alone.
Instead, consider using our Boosted Checks, Radios or Radio toggle buttons components.

Therefore, I'm closing this issue.

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