@searchstax-inc/searchstudio-ux-react 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -983,9 +983,13 @@ example of sorting widget initialization with template override
983
983
  orderChange(e.target.value);
984
984
  }}
985
985
  >
986
- <option value=""> Relevance </option>
987
- <option value="date desc"> Newest Content </option>
988
- <option value="date asc"> Oldest Content </option>
986
+ {sortingData.sortOptions.map(function (sortOption) {
987
+ return (
988
+ <option key={sortOption.key} value={sortOption.key}>
989
+ {sortOption.value}
990
+ </option>
991
+ );
992
+ })}
989
993
  </select>
990
994
  </div>
991
995
  )}
@@ -2,6 +2,7 @@ import type { Searchstax } from "@searchstax-inc/searchstudio-ux-js";
2
2
  import type { IRouterConfig, ISearchObject, ISearchstaxParsedResult } from "@searchstax-inc/searchstudio-ux-js";
3
3
  declare function SearchstaxWrapper(props: {
4
4
  language?: string;
5
+ sessionId?: string;
5
6
  analyticsBaseUrl?: string;
6
7
  analyticsSrc?: string;
7
8
  searchURL: string;