Searchkit 0.8 发布了。
Searchkit 是一套由 React 建立的 UI 组件,它旨在快速创建好看的搜索应用程序。
更新内容:
Breaking Changes
Classname changes,in RefinementListFilter, MenuFilter, NumericRefinementListFilter, Pagination, ViewSwitcherToggle, SortingSelector. We have updated the theme to be backwards compatible, but if you have custom css for those components, you may need to update them.
Notable Changes
New UI Components
Added range input capability to RangeFilter
Added PageSizeSelector for selecting how many results per page
Hits + ViewSwitcherHits now supports listComponent to fully handled the list container.
Pagination now supports showText property, PaginationSelect is a select based implementation of Pagination
SearchkitManager now supports searchOnLoad property which controls whether the initial search runs.
SearchkitManager has a searchUrlPath property which controls the endpoint name (defaults to _search)
exclude/include properties added to RefinementListFilter, MenuFilter. These are just a pass through property to ElasticSearch's Terms Aggregation