@graphcommerce/magento-store 4.2.34 → 4.3.0

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,25 @@
1
1
  # Change Log
2
2
 
3
+ ## 4.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1642](https://github.com/graphcommerce-org/graphcommerce/pull/1642) [`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8) Thanks [@paales](https://github.com/paales)! - Introduced `<AddProductsToCartForm/>`, which is allows for adding all product types to the cart with a single react-hook-form form.
8
+
9
+ Which allows you to fully compose the form on the product page without having to modify the page.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`ad63ebf4e`](https://github.com/graphcommerce-org/graphcommerce/commit/ad63ebf4e33bfb0e5c9e5e68ab69b14775f3f8a8)]:
14
+ - @graphcommerce/next-ui@4.27.0
15
+
16
+ ## 4.2.35
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`42e7fac75`](https://github.com/graphcommerce-org/graphcommerce/commit/42e7fac75712f9bda7a6b919ede14b3c75d07771)]:
21
+ - @graphcommerce/next-ui@4.26.0
22
+
3
23
  ## 4.2.34
4
24
 
5
25
  ### Patch Changes
package/Money.tsx CHANGED
@@ -44,7 +44,7 @@ export function Money(props: MoneyProps) {
44
44
  )
45
45
  const numberFormatter = useNumberFormat(options)
46
46
 
47
- if (!value) return null
47
+ if (typeof value === 'undefined' || value === null) return null
48
48
 
49
49
  return <>{numberFormatter.format(value)}</>
50
50
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-store",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "4.2.34",
5
+ "version": "4.3.0",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -22,7 +22,7 @@
22
22
  "@graphcommerce/graphql": "3.4.8",
23
23
  "@graphcommerce/graphql-mesh": "4.2.0",
24
24
  "@graphcommerce/image": "3.1.9",
25
- "@graphcommerce/next-ui": "4.25.0"
25
+ "@graphcommerce/next-ui": "4.27.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@lingui/react": "^3.13.2",