@graphcommerce/magento-product 4.0.3 → 4.0.6
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/CHANGELOG.md +242 -429
- package/components/JsonLdProduct/{index.tsx → jsonLdProduct.tsx} +0 -0
- package/components/ProductAddToCart/ProductAddToCart.tsx +24 -9
- package/components/ProductListFilters/FilterCheckboxType.tsx +4 -4
- package/components/ProductListFilters/FilterEqualType.tsx +2 -2
- package/components/ProductListFilters/FilterRangeType.tsx +1 -1
- package/components/ProductListFilters/ProductListFilters.tsx +5 -5
- package/components/ProductListFiltersContainer/{index.tsx → ProductListFiltersContainer.tsx} +24 -21
- package/components/ProductListItem/{index.tsx → ProductListItem.tsx} +2 -2
- package/components/ProductListItems/ProductListItems.tsx +6 -0
- package/components/ProductListItems/ProductListItemsBase.tsx +2 -2
- package/components/ProductListItems/ProductListParamsProvider.tsx +1 -1
- package/components/ProductListItems/filterTypes.tsx +1 -1
- package/components/ProductListItems/getFilterTypes.ts +1 -2
- package/components/ProductListItems/renderer.tsx +2 -4
- package/components/ProductListLink/ProductListLink.tsx +35 -35
- package/components/ProductListPagination/{index.tsx → ProductListPagination.tsx} +3 -7
- package/components/ProductListPrice/{index.tsx → ProductListPrice.tsx} +1 -1
- package/components/ProductListSort/{index.tsx → ProductListSort.tsx} +2 -2
- package/components/ProductPageCategory/{index.ts → productPageCategory.ts} +1 -1
- package/components/ProductPageDescription/{index.tsx → ProductPageDescription.tsx} +1 -1
- package/components/ProductPageGallery/ProductImage.tsx +1 -1
- package/components/ProductPageGallery/{index.tsx → ProductPageGallery.tsx} +1 -1
- package/components/ProductPageGallery/ProductVideo.tsx +1 -2
- package/components/ProductPageMeta/{index.tsx → ProductPageMeta.tsx} +1 -2
- package/components/ProductShortDescription/{index.tsx → ProductShortDescription.tsx} +1 -1
- package/components/ProductSidebarDelivery/{index.tsx → ProductSidebarDelivery.tsx} +3 -3
- package/components/ProductSpecs/{index.tsx → ProductSpecs.tsx} +1 -1
- package/components/ProductWeight/{index.tsx → ProductWeight.tsx} +1 -1
- package/components/index.ts +16 -26
- package/index.ts +0 -2
- package/package.json +11 -11
- package/components/ProductListItems/index.tsx +0 -6
package/components/index.ts
CHANGED
|
@@ -1,40 +1,30 @@
|
|
|
1
|
-
export * from './JsonLdProduct'
|
|
1
|
+
export * from './JsonLdProduct/jsonLdProduct'
|
|
2
2
|
export * from './ProductAddToCart/ProductAddToCart'
|
|
3
|
-
export { default as ProductAddToCart } from './ProductAddToCart/ProductAddToCart'
|
|
4
3
|
export * from './ProductList/ProductList.gql'
|
|
5
4
|
export * from './ProductListCount/ProductListCount'
|
|
6
5
|
export * from './ProductListFilters/ProductListFilters'
|
|
7
|
-
export
|
|
8
|
-
export * from './
|
|
9
|
-
export
|
|
10
|
-
export * from './ProductListItem'
|
|
11
|
-
export { default as ProductListItem } from './ProductListItem'
|
|
12
|
-
export { default as ProductListItems } from './ProductListItems'
|
|
6
|
+
export * from './ProductListFiltersContainer/ProductListFiltersContainer'
|
|
7
|
+
export * from './ProductListItem/ProductListItem'
|
|
8
|
+
export * from './ProductListItems/ProductListItems'
|
|
13
9
|
export * from './ProductListItems/filteredProductList'
|
|
14
10
|
export * from './ProductListItems/filterTypes'
|
|
15
11
|
export * from './ProductListItems/getFilterTypes'
|
|
16
12
|
export * from './ProductListItems/ProductListItems.gql'
|
|
17
13
|
export * from './ProductListItems/ProductListItemsBase'
|
|
18
|
-
export
|
|
19
|
-
export { default as ProductListParamsProvider } from './ProductListItems/ProductListParamsProvider'
|
|
14
|
+
export * from './ProductListItems/ProductListParamsProvider'
|
|
20
15
|
export * from './ProductListItems/renderer'
|
|
21
16
|
export * from './ProductListLink/ProductListLink'
|
|
22
|
-
export
|
|
23
|
-
export * from './
|
|
24
|
-
export
|
|
25
|
-
export * from './
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export * from './ProductPageDescription'
|
|
29
|
-
export { default as ProductPageDescription } from './ProductPageDescription'
|
|
30
|
-
export { default as ProductPageGallery } from './ProductPageGallery'
|
|
31
|
-
export { default as ProductPageMeta } from './ProductPageMeta'
|
|
17
|
+
export * from './ProductListPagination/ProductListPagination'
|
|
18
|
+
export * from './ProductListSort/ProductListSort'
|
|
19
|
+
export * from './ProductPageCategory/productPageCategory'
|
|
20
|
+
export * from './ProductPageDescription/ProductPageDescription'
|
|
21
|
+
export * from './ProductPageGallery/ProductPageGallery'
|
|
22
|
+
export * from './ProductPageMeta/ProductPageMeta'
|
|
32
23
|
export * from './ProductRelated/RelatedProducts.gql'
|
|
33
|
-
export
|
|
24
|
+
export * from './ProductShortDescription/ProductShortDescription'
|
|
34
25
|
export * from './ProductShortDescription/ProductShortDescription.gql'
|
|
35
|
-
export
|
|
36
|
-
export * from './ProductSpecs'
|
|
37
|
-
export
|
|
38
|
-
export { getProductStaticPaths } from './ProductStaticPaths/getProductStaticPaths'
|
|
26
|
+
export * from './ProductSidebarDelivery/ProductSidebarDelivery'
|
|
27
|
+
export * from './ProductSpecs/ProductSpecs'
|
|
28
|
+
export * from './ProductStaticPaths/getProductStaticPaths'
|
|
39
29
|
export * from './ProductUpsells/UpsellProducts.gql'
|
|
40
|
-
export
|
|
30
|
+
export * from './ProductWeight/ProductWeight'
|
package/index.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './components'
|
|
2
|
-
|
|
3
2
|
export * from './Api/ProductListItem.gql'
|
|
4
3
|
export * from './Api/ProductPageItem.gql'
|
|
5
|
-
|
|
6
4
|
export * from './hooks/useProductLink'
|
|
7
5
|
export * from './hooks/useProductListLinkReplace'
|
|
8
6
|
export * from './hooks/useProductListParamsContext'
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-product",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "4.0.
|
|
5
|
+
"version": "4.0.6",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,19 +12,19 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
|
-
"@graphcommerce/eslint-config-pwa": "^4.0.
|
|
16
|
-
"@graphcommerce/prettier-config-pwa": "^4.0.
|
|
15
|
+
"@graphcommerce/eslint-config-pwa": "^4.0.5",
|
|
16
|
+
"@graphcommerce/prettier-config-pwa": "^4.0.3",
|
|
17
17
|
"@graphcommerce/typescript-config-pwa": "^4.0.2",
|
|
18
|
-
"@playwright/test": "^1.19.
|
|
18
|
+
"@playwright/test": "^1.19.2"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@graphcommerce/framer-scroller": "^2.0.
|
|
22
|
-
"@graphcommerce/graphql": "^3.0.
|
|
23
|
-
"@graphcommerce/image": "^3.1.
|
|
24
|
-
"@graphcommerce/magento-cart": "^4.1.
|
|
25
|
-
"@graphcommerce/magento-store": "^4.
|
|
26
|
-
"@graphcommerce/next-ui": "^4.
|
|
27
|
-
"schema-dts": "^1.
|
|
21
|
+
"@graphcommerce/framer-scroller": "^2.0.6",
|
|
22
|
+
"@graphcommerce/graphql": "^3.0.4",
|
|
23
|
+
"@graphcommerce/image": "^3.1.1",
|
|
24
|
+
"@graphcommerce/magento-cart": "^4.1.4",
|
|
25
|
+
"@graphcommerce/magento-store": "^4.1.2",
|
|
26
|
+
"@graphcommerce/next-ui": "^4.2.4",
|
|
27
|
+
"schema-dts": "^1.1.0",
|
|
28
28
|
"type-fest": "^2.12.0"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import ProductListItemsBase, { ProductItemsGridProps } from './ProductListItemsBase'
|
|
2
|
-
import renderer from './renderer'
|
|
3
|
-
|
|
4
|
-
export default function ProductListItems(props: Omit<ProductItemsGridProps, 'renderers'>) {
|
|
5
|
-
return <ProductListItemsBase renderers={renderer} {...props} />
|
|
6
|
-
}
|