@wix/headless-stores 0.0.53 → 0.0.55
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/cjs/dist/react/Product.d.ts +102 -1
- package/cjs/dist/react/Product.js +138 -1
- package/cjs/dist/react/ProductList.d.ts +116 -0
- package/cjs/dist/react/ProductList.js +156 -0
- package/cjs/dist/react/core/Product.d.ts +38 -1
- package/cjs/dist/react/core/Product.js +33 -2
- package/cjs/dist/react/index.d.ts +4 -3
- package/cjs/dist/react/index.js +4 -3
- package/cjs/dist/services/selected-variant-service.js +1 -1
- package/dist/react/Product.d.ts +102 -1
- package/dist/react/Product.js +138 -1
- package/dist/react/ProductList.d.ts +116 -0
- package/dist/react/ProductList.js +156 -0
- package/dist/react/core/Product.d.ts +38 -1
- package/dist/react/core/Product.js +33 -2
- package/dist/react/index.d.ts +4 -3
- package/dist/react/index.js +4 -3
- package/dist/services/selected-variant-service.js +1 -1
- package/package.json +2 -2
package/dist/react/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
export * as CategoryListCore from './core/CategoryList.js';
|
|
2
2
|
export * as CategoryCore from './core/Category.js';
|
|
3
|
-
export * as
|
|
3
|
+
export * as ProductCore from './core/Product.js';
|
|
4
4
|
export * as ProductModifiers from './core/ProductModifiers.js';
|
|
5
|
-
export * as
|
|
5
|
+
export * as ProductListCore from './core/ProductList.js';
|
|
6
6
|
export * as ProductListFilters from './core/ProductListFilters.js';
|
|
7
7
|
export * as ProductListPagination from './core/ProductListPagination.js';
|
|
8
8
|
export * as ProductListSort from './core/ProductListSort.js';
|
|
9
9
|
export * as ProductVariantSelector from './core/ProductVariantSelector.js';
|
|
10
10
|
export * as SelectedVariant from './core/SelectedVariant.js';
|
|
11
|
-
export * as
|
|
11
|
+
export * as Product from './Product.js';
|
|
12
|
+
export * as ProductList from './ProductList.js';
|
|
12
13
|
export * as Option from './Option.js';
|
|
13
14
|
export * as Choice from './Choice.js';
|
|
14
15
|
export * as CategoryList from './CategoryList.js';
|
package/dist/react/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
export * as CategoryListCore from './core/CategoryList.js';
|
|
2
2
|
export * as CategoryCore from './core/Category.js';
|
|
3
|
-
export * as
|
|
3
|
+
export * as ProductCore from './core/Product.js';
|
|
4
4
|
export * as ProductModifiers from './core/ProductModifiers.js';
|
|
5
|
-
export * as
|
|
5
|
+
export * as ProductListCore from './core/ProductList.js';
|
|
6
6
|
export * as ProductListFilters from './core/ProductListFilters.js';
|
|
7
7
|
export * as ProductListPagination from './core/ProductListPagination.js';
|
|
8
8
|
export * as ProductListSort from './core/ProductListSort.js';
|
|
9
9
|
export * as ProductVariantSelector from './core/ProductVariantSelector.js';
|
|
10
10
|
export * as SelectedVariant from './core/SelectedVariant.js';
|
|
11
|
-
export * as
|
|
11
|
+
export * as Product from './Product.js';
|
|
12
|
+
export * as ProductList from './ProductList.js';
|
|
12
13
|
export * as Option from './Option.js';
|
|
13
14
|
export * as Choice from './Choice.js';
|
|
14
15
|
export * as CategoryList from './CategoryList.js';
|
|
@@ -249,7 +249,7 @@ export const SelectedVariantService = implementService.withConfig()(SelectedVari
|
|
|
249
249
|
else if (prod?.compareAtPriceRange?.minValue?.amount) {
|
|
250
250
|
rawAmount = prod.compareAtPriceRange.minValue.amount;
|
|
251
251
|
}
|
|
252
|
-
return rawAmount ? `$${rawAmount}` : null;
|
|
252
|
+
return rawAmount && rawAmount !== '0' ? `$${rawAmount}` : null;
|
|
253
253
|
});
|
|
254
254
|
const isInStock = signalsService.computed(() => {
|
|
255
255
|
const variant = currentVariant.get();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/headless-stores",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"prebuild": "cd ../media && yarn build && cd ../ecom && yarn build",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"@wix/ecom": "^1.0.1278",
|
|
64
64
|
"@wix/essentials": "^0.1.24",
|
|
65
65
|
"@wix/headless-ecom": "^0.0.14",
|
|
66
|
-
"@wix/headless-media": "^0.0.
|
|
66
|
+
"@wix/headless-media": "^0.0.10",
|
|
67
67
|
"@wix/redirects": "^1.0.83",
|
|
68
68
|
"@wix/services-definitions": "^0.1.4",
|
|
69
69
|
"@wix/services-manager-react": "^0.1.26"
|