@sledge-app/react-instant-search 1.0.76 → 1.0.78
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/SearchResultWidget/Atoms.d.ts +1 -0
- package/dist/components/SearchResultWidget/Atoms.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 +13 -5
- package/dist/sledge-react-instant-search.js.map +1 -1
- package/package.json +1 -1
|
@@ -3011,8 +3011,14 @@ const ProductCard = (props) => {
|
|
|
3011
3011
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "sledge__product-grid-card-desc", children: [
|
|
3012
3012
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "sledge__product-grid-card-title", children: [
|
|
3013
3013
|
show_price ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "sledge__product-grid-card-price", children: [
|
|
3014
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: display_price_style,
|
|
3015
|
-
isOnSale && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3014
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { style: display_price_style, dangerouslySetInnerHTML: { __html: shopifyFormatMoney(price * 100, money_format) } }),
|
|
3015
|
+
isOnSale && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
3016
|
+
"div",
|
|
3017
|
+
{
|
|
3018
|
+
className: "sledge__product-grid-card-compare-at-price",
|
|
3019
|
+
dangerouslySetInnerHTML: { __html: shopifyFormatMoney(compare_at_price * 100, money_format) }
|
|
3020
|
+
}
|
|
3021
|
+
)
|
|
3016
3022
|
] }) : null,
|
|
3017
3023
|
show_vendor && vendor ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "sledge__product-grid-badge-vendor", title: vendor, children: [
|
|
3018
3024
|
"Vendor: ",
|
|
@@ -4514,7 +4520,8 @@ const FacetComponent = (props) => {
|
|
|
4514
4520
|
settings,
|
|
4515
4521
|
scrollElementSelector,
|
|
4516
4522
|
layoutType,
|
|
4517
|
-
collectionId
|
|
4523
|
+
collectionId,
|
|
4524
|
+
colorSwatches
|
|
4518
4525
|
} = props;
|
|
4519
4526
|
let aliases = {};
|
|
4520
4527
|
if (filter.value === "hierarchicalProductType")
|
|
@@ -4522,7 +4529,7 @@ const FacetComponent = (props) => {
|
|
|
4522
4529
|
if (filter.value === "hierarchicalCollections")
|
|
4523
4530
|
aliases = settings.collectionAliases || {};
|
|
4524
4531
|
const { button_load_more } = (generalDataSettings == null ? void 0 : generalDataSettings.languages) || {};
|
|
4525
|
-
const {
|
|
4532
|
+
const { languages: languageSettings } = displaySettings || {};
|
|
4526
4533
|
const {
|
|
4527
4534
|
color: filter_option_color,
|
|
4528
4535
|
font_size: filter_option_font_size,
|
|
@@ -6056,7 +6063,8 @@ const ResultProduct = (props) => {
|
|
|
6056
6063
|
setSeparatedFilterItem,
|
|
6057
6064
|
scrollElementSelector,
|
|
6058
6065
|
layoutType,
|
|
6059
|
-
collectionId
|
|
6066
|
+
collectionId,
|
|
6067
|
+
colorSwatches
|
|
6060
6068
|
}
|
|
6061
6069
|
);
|
|
6062
6070
|
if (display.toLowerCase() === "swatch" && (items == null ? void 0 : items.length))
|