algolia / react-instantsearch

⚡️ Lightning-fast search for React and React Native applications, by Algolia.
https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/
MIT License
1.97k stars 386 forks source link

feat(HierarchicalMenu): add css class for link of selected menu item #3646

Closed dhayab closed 1 year ago

dhayab commented 1 year ago

Summary

This PR adds a new CSS class modifier for the <HierarchicalMenu> widgets in RIS and RISH, following the addition made in the CSS specs. For RISH, it also adds a dedicated key in classNames.

InstantSearch.css class name Key in classNames (RISH only)
.ais-HierarchicalMenu-link--selected selectedItemLink

FX-1794

codesandbox-ci[bot] commented 1 year ago

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 d7fc1120511a105f8e3f01e4e2ea59c966c2eb44:

Sandbox Source
react-instantsearch-app Configuration
hooks-example Configuration
netlify[bot] commented 1 year ago

Deploy Preview for react-instantsearch ready!

Name Link
Latest commit d7fc1120511a105f8e3f01e4e2ea59c966c2eb44
Latest deploy log https://app.netlify.com/sites/react-instantsearch/deploys/6337128d6e8054000863b719
Deploy Preview https://deploy-preview-3646--react-instantsearch.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.