@wix/headless-stores 0.0.93 → 0.0.94
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.
|
@@ -72,7 +72,7 @@ const RootContent = React.forwardRef((props, ref) => {
|
|
|
72
72
|
...product,
|
|
73
73
|
id: product._id,
|
|
74
74
|
}));
|
|
75
|
-
return (_jsx(GenericList.Root, { items: items,
|
|
75
|
+
return (_jsx(GenericList.Root, { items: items, loadMore: () => productsListService.loadMore(10), hasMore: productsListService.hasMoreProducts.get(), isLoading: productsListService.isLoading.get(), className: className, ref: ref, "data-component-tag": DataComponentTags.productListRoot, "data-testid": TestIds.productListRoot, children: children }));
|
|
76
76
|
});
|
|
77
77
|
/**
|
|
78
78
|
* Raw component that provides direct access to product list data.
|
|
@@ -72,7 +72,7 @@ const RootContent = React.forwardRef((props, ref) => {
|
|
|
72
72
|
...product,
|
|
73
73
|
id: product._id,
|
|
74
74
|
}));
|
|
75
|
-
return (_jsx(GenericList.Root, { items: items,
|
|
75
|
+
return (_jsx(GenericList.Root, { items: items, loadMore: () => productsListService.loadMore(10), hasMore: productsListService.hasMoreProducts.get(), isLoading: productsListService.isLoading.get(), className: className, ref: ref, "data-component-tag": DataComponentTags.productListRoot, "data-testid": TestIds.productListRoot, children: children }));
|
|
76
76
|
});
|
|
77
77
|
/**
|
|
78
78
|
* Raw component that provides direct access to product list data.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-stores",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.94",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "cd ../media && yarn build && cd ../ecom && yarn build",
|
|
@@ -63,13 +63,13 @@
|
|
|
63
63
|
"@wix/ecom": "^1.0.1278",
|
|
64
64
|
"@wix/essentials": "^0.1.24",
|
|
65
65
|
"@wix/headless-ecom": "0.0.31",
|
|
66
|
-
"@wix/headless-media": "0.0.
|
|
67
|
-
"@wix/headless-utils": "0.0.
|
|
66
|
+
"@wix/headless-media": "0.0.15",
|
|
67
|
+
"@wix/headless-utils": "0.0.4",
|
|
68
68
|
"@wix/redirects": "^1.0.83",
|
|
69
69
|
"@wix/services-definitions": "^0.1.4",
|
|
70
70
|
"@wix/services-manager-react": "^0.1.26"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@wix/headless-components": "0.0.
|
|
73
|
+
"@wix/headless-components": "0.0.16"
|
|
74
74
|
}
|
|
75
75
|
}
|