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(currentRefinements): implement noRefinementRoot modifier class #5114

Merged
merged 1 commit into from Sep 22, 2022

Conversation

dhayab
Copy link
Member

@dhayab dhayab commented Sep 22, 2022

Summary

This PR adds a noRefinementRoot css class to currentRefinements, to match with the InstantSearch CSS specs and allow for more customization depending on the state this widget can have.

Result

The currentRefinements widget now has a ais-CurrentRefinements--noRefinement class name when no refinements are active, and it can be further customized with the new noRefinementRoot key in cssClasses.

FX-1729

@dhayab dhayab requested review from a team, FabienMotte and sarahdayan and removed request for a team September 22, 2022 09:17
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit f9fcf9e:

Sandbox Source
InstantSearch.js Configuration

@dhayab dhayab merged commit cb66830 into master Sep 22, 2022
@dhayab dhayab deleted the fix/currentrefinements-norefinement-class branch September 22, 2022 13:17
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.

None yet

3 participants