Feature/map search filters
This merge request:
- Fixes wrong typings for button htmlType props, which caused TS issues in the frontend
- Adds helper functions to map index UI state filters, like menu, refinementList and toggle to a single search filters parameter string that can be used for passing along filters from one search context to another (like with the map)
Example usage:
const indexUiState = uiState[APP_OPTIONS.parameters.searchkitIndexAllProjects];
// Copy over the filters from this search to the map search.
setSearchParameters({
filters: getSearchFiltersParameter(indexUiState || {}),
page: 0,
});