@sledge-app/react-instant-search 0.0.23 → 0.0.25

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.
@@ -20,8 +20,8 @@ const SEPARATE_COMPONENT_DISPLAY_NAME = {
20
20
  PRODUCT: {
21
21
  CARDS: "ProductCards"
22
22
  },
23
- OTHER_INDEX_LISTS: "OtherIndexLists",
24
- SUGGESTION_KEYWORD_LISTS: "SuggestionKeywordLists"
23
+ SUGGESTION_KEYWORD_LISTS: "SuggestionKeywordLists",
24
+ OTHER_INDEX_LISTS: "OtherIndexLists"
25
25
  };
26
26
  const SHOPIFY_GID = "gid://shopify/";
27
27
  const SHOPIFY_GID_PRODUCT_ID = `${SHOPIFY_GID}Product/`;
@@ -2286,7 +2286,10 @@ const SuggestionKeywordLists = ({ listsComponent, keywords }) => {
2286
2286
  };
2287
2287
  const OtherIndexLists = ({ listsComponent, name, items }) => {
2288
2288
  return listsComponent ? listsComponent({ name, items }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
2289
- /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sledge-instant-search__icon-widget-search-form-result-title", children: name }),
2289
+ /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "sledge-instant-search__icon-widget-search-form-result-title", children: [
2290
+ name,
2291
+ " testttt"
2292
+ ] }),
2290
2293
  (items == null ? void 0 : items.length) ? /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "sledge-instant-search__icon-widget-search-form-result-list", children: items.map((hit, index) => {
2291
2294
  const { title, url } = hit;
2292
2295
  return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx("a", { href: url, className: "sledge-instant-search__icon-widget-search-form-result-list-link", children: title }) }, index);
@@ -2424,6 +2427,8 @@ const SearchIconWidgetPopup = () => {
2424
2427
  suggestionKeywordListsComponent,
2425
2428
  otherIndexListsComponent
2426
2429
  });
2430
+ console.log("suggestionKeywordListsComponent widget popup", suggestionKeywordListsComponent);
2431
+ console.log("otherIndexListsComponent widget popup", otherIndexListsComponent);
2427
2432
  setTimeout(() => {
2428
2433
  if (searchFieldRef == null ? void 0 : searchFieldRef.current) {
2429
2434
  searchFieldRef.current.focus();