-
Notifications
You must be signed in to change notification settings - Fork 112
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
Split Button Component #264
Comments
Split Button Component Design Meeting ReportDate: 05.10.2022 15:30 (UTC+3)
|
Split Button (ADR)Our goal is to create a new button type: the Split Button. Similar to the dropdown component, the key distinction lies in the fact that the Split Button presents one action as the primary focus. (Figma) StatusProposed (Feb 05, 2024) Last edit (Feb 08, 2024) DecisionWe can utilize the existing codebase for our dropdown component, except for the element You can review this in We need to be extremely careful with focused states. This implies that if the user presses the TAB button, it can shift the focus between the button and the popover opener. (Accessibility related) We should inherit every attribute of RationaleIntegration<bl-split-button label="Split Button" variant="secondary" size="large">
<bl-dropdown-group caption="Caption">
<bl-dropdown-item>Action 1</bl-dropdown-item>
<bl-dropdown-item>Action 2</bl-dropdown-item>
</bl-dropdown-group>
<bl-dropdown-item>Action 3</bl-dropdown-item>
<bl-dropdown-item icon="info">Action 4</bl-dropdown-item>
<bl-dropdown-item>Action 5</bl-dropdown-item>
<bl-dropdown-group caption="Caption">
<bl-dropdown-item icon="heart">Action 6</bl-dropdown-item>
<bl-dropdown-item>Action 7</bl-dropdown-item>
</bl-dropdown-group>
</bl-split-button> Split Button
Dropdown ItemWe should add these attributes for the Split Button component.
Integration Considerations
ConsequencesLet's discuss this either under this comment or during our weekly meetings. |
Split button component completed. Closes #264 Co-authored-by: mehmetcan.boz <mehmetcan.boz@trendyol.com> Co-authored-by: Erbil <erbilnas071@gmail.com>
🎉 This issue has been resolved in version 3.0.0-beta.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This issue has been resolved in version 3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Figma
The text was updated successfully, but these errors were encountered: