aymeric-giraudet / svelte-algolia-instantsearch

A Svelte component library for Algolia InstantSearch.js
https://svelte-algolia-instantsearch.vercel.app/
MIT License
45 stars 12 forks source link

`RefinementList` has no class for `input` #24

Closed djdembeck closed 11 months ago

djdembeck commented 11 months ago

Currently the RefinementList component has no html class override for the input element, only the parent. This seems to be an omission, since the input for SearchBox has a class: https://github.com/aymeric-giraudet/svelte-algolia-instantsearch/blob/5f0998a536b9db9b33b3d65bd4da9c80bb8d3195/src/lib/widgets/SearchBox.svelte#L114

Missing classes line: https://github.com/aymeric-giraudet/svelte-algolia-instantsearch/blob/5f0998a536b9db9b33b3d65bd4da9c80bb8d3195/src/lib/widgets/RefinementList.svelte#L164

I would propose classes.input is added, to stay consistent with SearchBox's convention