@graphcommerce/magento-product 9.1.0-canary.51 → 9.1.0-canary.53

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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0-canary.53
4
+
5
+ ## 9.1.0-canary.52
6
+
7
+ ### Patch Changes
8
+
9
+ - [`abdda4c`](https://github.com/graphcommerce-org/graphcommerce/commit/abdda4c052cdf0452dfe0daa36866541ccf502f0) - Solve issue where Specs table values would still be shown when the value would be '0' ([@paales](https://github.com/paales))
10
+
3
11
  ## 9.1.0-canary.51
4
12
 
5
13
  ## 9.1.0-canary.50
@@ -19,7 +19,7 @@ export function ProductSpecs(props: ProductSpecsProps) {
19
19
  const { aggregations, items, title, children, sx = [] } = props
20
20
  const filter = ['price', 'category_id', 'size', 'new', 'sale', 'color']
21
21
  const specs = aggregations?.filter(
22
- (attr) => !filter.includes(attr?.attribute_code ?? '') && attr?.options?.[0]?.value !== '0',
22
+ (attr) => !filter.includes(attr?.attribute_code ?? '') && attr?.options?.[0]?.label !== '0',
23
23
  )
24
24
 
25
25
  if (specs?.length === 0) return null
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": "9.1.0-canary.51",
5
+ "version": "9.1.0-canary.53",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -18,18 +18,18 @@
18
18
  "typescript": "5.7.2"
19
19
  },
20
20
  "peerDependencies": {
21
- "@graphcommerce/ecommerce-ui": "^9.1.0-canary.51",
22
- "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.51",
23
- "@graphcommerce/framer-next-pages": "^9.1.0-canary.51",
24
- "@graphcommerce/framer-scroller": "^9.1.0-canary.51",
25
- "@graphcommerce/graphql": "^9.1.0-canary.51",
26
- "@graphcommerce/graphql-mesh": "^9.1.0-canary.51",
27
- "@graphcommerce/image": "^9.1.0-canary.51",
28
- "@graphcommerce/magento-cart": "^9.1.0-canary.51",
29
- "@graphcommerce/magento-store": "^9.1.0-canary.51",
30
- "@graphcommerce/next-ui": "^9.1.0-canary.51",
31
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.51",
32
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.51",
21
+ "@graphcommerce/ecommerce-ui": "^9.1.0-canary.53",
22
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.53",
23
+ "@graphcommerce/framer-next-pages": "^9.1.0-canary.53",
24
+ "@graphcommerce/framer-scroller": "^9.1.0-canary.53",
25
+ "@graphcommerce/graphql": "^9.1.0-canary.53",
26
+ "@graphcommerce/graphql-mesh": "^9.1.0-canary.53",
27
+ "@graphcommerce/image": "^9.1.0-canary.53",
28
+ "@graphcommerce/magento-cart": "^9.1.0-canary.53",
29
+ "@graphcommerce/magento-store": "^9.1.0-canary.53",
30
+ "@graphcommerce/next-ui": "^9.1.0-canary.53",
31
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.53",
32
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.53",
33
33
  "@lingui/core": "^4.2.1",
34
34
  "@lingui/macro": "^4.2.1",
35
35
  "@lingui/react": "^4.2.1",