@graphcommerce/magento-customer 9.1.0-canary.53 → 9.1.0-canary.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 9.1.0-canary.55
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2539](https://github.com/graphcommerce-org/graphcommerce/pull/2539) [`427833d`](https://github.com/graphcommerce-org/graphcommerce/commit/427833d3fa46ec6096853bdc3dfd81321df6e63b) - Forward address field props ([@paales](https://github.com/paales))
8
+
9
+ - [#2539](https://github.com/graphcommerce-org/graphcommerce/pull/2539) [`183d8dd`](https://github.com/graphcommerce-org/graphcommerce/commit/183d8ddef6059f07ffe585b0f05a51731b12b371) - Remove odd nonNullable that is also available in @graphcommmerce/next-ui ([@paales](https://github.com/paales))
10
+
11
+ ## 9.1.0-canary.54
12
+
3
13
  ## 9.1.0-canary.53
4
14
 
5
15
  ## 9.1.0-canary.52
@@ -13,6 +13,7 @@ export function AddressAddition<
13
13
 
14
14
  return (
15
15
  <TextFieldElement
16
+ {...props}
16
17
  control={control}
17
18
  name={name.addition}
18
19
  variant='outlined'
@@ -13,6 +13,7 @@ export function AddressCity<
13
13
 
14
14
  return (
15
15
  <TextFieldElement
16
+ {...props}
16
17
  control={control}
17
18
  name={name.city}
18
19
  variant='outlined'
@@ -13,6 +13,7 @@ export function AddressHousenumber<
13
13
  const { control, name, readOnly, required } = form
14
14
  return (
15
15
  <TextFieldElement
16
+ {...props}
16
17
  control={control}
17
18
  name={name.houseNumber}
18
19
  required={required[name.houseNumber]}
@@ -13,6 +13,7 @@ export function AddressPostcode<
13
13
 
14
14
  return (
15
15
  <TextFieldElement
16
+ {...props}
16
17
  control={control}
17
18
  name={name.postcode}
18
19
  variant='outlined'
@@ -12,6 +12,7 @@ export function AddressStreet<
12
12
  const { control, name, readOnly, required } = form
13
13
  return (
14
14
  <TextFieldElement
15
+ {...props}
15
16
  variant='outlined'
16
17
  control={control}
17
18
  required={required[name.street]}
@@ -45,6 +45,7 @@ export function ReorderItems(props: ReorderItemsProps) {
45
45
  error={error}
46
46
  userErrors={errors?.filter(nonNullable)}
47
47
  showSuccess={!!cart}
48
+ cart={cart}
48
49
  />
49
50
  </Box>
50
51
  )
@@ -1,7 +1,7 @@
1
1
  import type { WaitForQueriesProps } from '@graphcommerce/ecommerce-ui'
2
2
  import { mergeErrors, WaitForQueries } from '@graphcommerce/ecommerce-ui'
3
3
  import type { FullPageMessageProps } from '@graphcommerce/next-ui'
4
- import { FullPageMessage, iconPerson, IconSvg } from '@graphcommerce/next-ui'
4
+ import { FullPageMessage, iconPerson, IconSvg, nonNullable } from '@graphcommerce/next-ui'
5
5
  import { Trans } from '@lingui/react'
6
6
  import { Button, CircularProgress } from '@mui/material'
7
7
  import React from 'react'
@@ -15,10 +15,6 @@ export type WaitForCustomerProps = SetOptional<WaitForQueriesProps, 'waitFor'> &
15
15
  allowError?: boolean
16
16
  }
17
17
 
18
- export function nonNullable<T>(value: T): value is NonNullable<T> {
19
- return value !== null && value !== undefined
20
- }
21
-
22
18
  /**
23
19
  * A full page wrapper to render customer specific information.
24
20
  *
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graphcommerce/magento-customer",
3
3
  "homepage": "https://www.graphcommerce.org/",
4
4
  "repository": "github:graphcommerce-org/graphcommerce",
5
- "version": "9.1.0-canary.53",
5
+ "version": "9.1.0-canary.55",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,19 +12,19 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/ecommerce-ui": "^9.1.0-canary.53",
16
- "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.53",
17
- "@graphcommerce/framer-next-pages": "^9.1.0-canary.53",
18
- "@graphcommerce/framer-utils": "^9.1.0-canary.53",
19
- "@graphcommerce/graphql": "^9.1.0-canary.53",
20
- "@graphcommerce/graphql-mesh": "^9.1.0-canary.53",
21
- "@graphcommerce/image": "^9.1.0-canary.53",
22
- "@graphcommerce/magento-graphql": "^9.1.0-canary.53",
23
- "@graphcommerce/magento-store": "^9.1.0-canary.53",
24
- "@graphcommerce/next-ui": "^9.1.0-canary.53",
25
- "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.53",
26
- "@graphcommerce/react-hook-form": "^9.1.0-canary.53",
27
- "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.53",
15
+ "@graphcommerce/ecommerce-ui": "^9.1.0-canary.55",
16
+ "@graphcommerce/eslint-config-pwa": "^9.1.0-canary.55",
17
+ "@graphcommerce/framer-next-pages": "^9.1.0-canary.55",
18
+ "@graphcommerce/framer-utils": "^9.1.0-canary.55",
19
+ "@graphcommerce/graphql": "^9.1.0-canary.55",
20
+ "@graphcommerce/graphql-mesh": "^9.1.0-canary.55",
21
+ "@graphcommerce/image": "^9.1.0-canary.55",
22
+ "@graphcommerce/magento-graphql": "^9.1.0-canary.55",
23
+ "@graphcommerce/magento-store": "^9.1.0-canary.55",
24
+ "@graphcommerce/next-ui": "^9.1.0-canary.55",
25
+ "@graphcommerce/prettier-config-pwa": "^9.1.0-canary.55",
26
+ "@graphcommerce/react-hook-form": "^9.1.0-canary.55",
27
+ "@graphcommerce/typescript-config-pwa": "^9.1.0-canary.55",
28
28
  "@lingui/core": "^4.2.1",
29
29
  "@lingui/macro": "^4.2.1",
30
30
  "@lingui/react": "^4.2.1",