@sledge-app/react-instant-search 0.0.21 → 0.0.23
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/dist/components/SearchIconWidget/SearchIconWidget.d.ts.map +1 -1
- package/dist/components/SearchIconWidget/SearchIconWidgetPopup.d.ts.map +1 -1
- package/dist/sledge-react-instant-search.cjs +1 -1
- package/dist/sledge-react-instant-search.cjs.map +1 -1
- package/dist/sledge-react-instant-search.js +6 -1
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/package.json +1 -1
|
@@ -2209,6 +2209,10 @@ const SearchIconWidget = (props) => {
|
|
|
2209
2209
|
if (React__default.isValidElement(child) && isFunction(child.type)) {
|
|
2210
2210
|
const { component } = (child == null ? void 0 : child.props) || {};
|
|
2211
2211
|
switch (child.type.name) {
|
|
2212
|
+
case SEPARATE_COMPONENT_DISPLAY_NAME.PRODUCT.CARDS:
|
|
2213
|
+
console.log("productCardsComponent", component);
|
|
2214
|
+
productCardsComponent = component;
|
|
2215
|
+
break;
|
|
2212
2216
|
case SEPARATE_COMPONENT_DISPLAY_NAME.SUGGESTION_KEYWORD_LISTS:
|
|
2213
2217
|
console.log("suggestionKeywordListsComponent", component);
|
|
2214
2218
|
suggestionKeywordListsComponent = component;
|
|
@@ -2261,8 +2265,9 @@ const SearchIconWidget = (props) => {
|
|
|
2261
2265
|
};
|
|
2262
2266
|
const SearchIconWidgetPopup$1 = "";
|
|
2263
2267
|
const SuggestionKeywordLists = ({ listsComponent, keywords }) => {
|
|
2268
|
+
console.log("listsComponent", listsComponent);
|
|
2264
2269
|
return listsComponent ? listsComponent({ keywords }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
2265
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sledge-instant-search__icon-widget-search-form-result-title", children: "Suggestions" }),
|
|
2270
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "sledge-instant-search__icon-widget-search-form-result-title", children: "Suggestions testttt" }),
|
|
2266
2271
|
/* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "sledge-instant-search__icon-widget-search-form-result-list", children: keywords.map((keyword, index) => {
|
|
2267
2272
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
2268
2273
|
"a",
|