This updates the spec for pagination item classes.
The ais-Pagination-item--page and ais-Pagination-item--selected modifiers shouldn't be mutually exclusive. Having ais-Pagination-item--page on all numeric items is useful because it lets you identify them (otherwise there's no way to differentiate between them and "First"/"Previous"/"Next"/"Last".
This is already how the InstantSearch.js pagination (and upcoming <Pagination> in RISH) is implemented. For reference, none of the InstantSearch flavors implement the spec the same way.
This updates the spec for pagination item classes.
The
ais-Pagination-item--page
andais-Pagination-item--selected
modifiers shouldn't be mutually exclusive. Havingais-Pagination-item--page
on all numeric items is useful because it lets you identify them (otherwise there's no way to differentiate between them and "First"/"Previous"/"Next"/"Last".This is already how the InstantSearch.js
pagination
(and upcoming<Pagination>
in RISH) is implemented. For reference, none of the InstantSearch flavors implement the spec the same way.