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

fix(combobox): clean up classes and add tests #263

Merged
merged 10 commits into from
Jul 24, 2024

Conversation

felicia-haggqvist
Copy link
Contributor

Description

This PR ensures no classes styling the same CSS properties are being set on the same HTML element in the Combobox component.

Changes:

  • Renamed classNames in Combobox component.
  • Moved all of option-related classes to a optionClasses function instead
  • Created ComboboxTest.tsx file and added tests

How to test

Either link this branch with @warp-ds/css (fix/cleanup-combobox-classes branch) or replace this for @warp-ds/css dependency in package.json: github:warp-ds/css#component-classes-cleanup with this github:warp-ds/css#fix/cleanup-combobox-classes

@felicia-haggqvist felicia-haggqvist requested a review from a team July 19, 2024 09:23
@felicia-haggqvist felicia-haggqvist self-assigned this Jul 19, 2024
Copy link
Contributor

github-actions bot commented Jul 19, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-07-24 11:42 UTC

@felicia-haggqvist felicia-haggqvist merged commit 99ac75f into component-classes-cleanup Jul 24, 2024
4 checks passed
@felicia-haggqvist felicia-haggqvist deleted the fix/add-tests-combo-box branch July 24, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants