You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(pagination): Fix double BEM classes on elements
Fixes#500
BREAKING CHANGE: Removes all `__disabled`, `__first`, `__last`,
`__next`, `__previous`, `__active` and `__page` classes added on the links in the
pagination. It only ads them to the parent `li`. Links instead now
have a `.ais-pagination--link` class
Previously, the same CSS classes where added to both the `item` (`li`) and the
link inside it. I've split them in `--item` and `--link`.
I've also made the various active/first/disabled/etc modifiers as
actual `__modifier` classes.
I've updated the tests, the CSS skeleton, the examples and the docs
accordingly.
0 commit comments