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

refactor(buttons): button group react v18 uplift #1576

Merged
merged 6 commits into from
Jul 19, 2023

Conversation

Francois-Esquire
Copy link
Contributor

@Francois-Esquire Francois-Esquire commented Jul 18, 2023

Description

Uplifts the ButtonGroup component to be to React v18 ready.

Detail

The ButtonGroup refactor removes @zendeskgarden/container-buttongroup in favor of @zendeskgarden/container-selection. It implements the useSelection container in the same fashion as the useButtonGroup had previously done.

Checklist

  • 👌 design updates will be Garden Designer approved (add the designer as a reviewer)
  • 🌐 demo is up-to-date (yarn start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🤘 renders as expected with Bedrock CSS (?bedrock)
  • 💂‍♂️ includes new unit tests. Maintain existing coverage (always >= 96%)
  • ♿ tested for WCAG 2.1 AA accessibility compliance
  • 📝 tested in Chrome, Firefox, Safari, and Edge

packages/buttons/src/elements/Button.tsx Outdated Show resolved Hide resolved
@Francois-Esquire Francois-Esquire merged commit 3cf9563 into main Jul 19, 2023
5 checks passed
@Francois-Esquire Francois-Esquire deleted the mike/refactor/button-group branch July 19, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants