@graphcommerce/magento-customer 3.5.2 → 3.5.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 CHANGED
@@ -3,6 +3,31 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.5.5](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-customer@3.5.4...@graphcommerce/magento-customer@3.5.5) (2021-11-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * design ([a095309](https://github.com/ho-nl/m2-pwa/commit/a095309bb3d77228985e08e30f626cd26e878f57))
12
+ * login error message should wrap ([6b8e61f](https://github.com/ho-nl/m2-pwa/commit/6b8e61fa6523391e5faa3dfd37b9fcd648d831bb))
13
+ * snackbar styling and consistant grammar ([3f6a4f9](https://github.com/ho-nl/m2-pwa/commit/3f6a4f9a1c8b2d5220268d59d0c8e5a11c9ce6a8))
14
+
15
+
16
+
17
+
18
+
19
+ ## [3.5.4](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-customer@3.5.3...@graphcommerce/magento-customer@3.5.4) (2021-11-12)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **checkout-email-form:** spacing too large ([f54e217](https://github.com/ho-nl/m2-pwa/commit/f54e2170b5c47c1c33e74db45e3bcae3d3523c4e))
25
+ * **use-form-is-email-available:** invalid email resets sign in/up state ([87b3965](https://github.com/ho-nl/m2-pwa/commit/87b39656760372f2be69eca045e3db8120006137))
26
+
27
+
28
+
29
+
30
+
6
31
  # [3.5.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-customer@3.4.15...@graphcommerce/magento-customer@3.5.0) (2021-11-09)
7
32
 
8
33
 
@@ -93,7 +93,7 @@ export default function AccountAddresses(props: AccountAddressesProps) {
93
93
  </Link>
94
94
 
95
95
  <MessageSnackbar sticky open={router.query.confirm_delete !== undefined}>
96
- <>Address was deleted</>
96
+ <>Successfully deleted address</>
97
97
  </MessageSnackbar>
98
98
  </SectionContainer>
99
99
  )}
@@ -55,10 +55,7 @@ export default function ChangeNameForm(props: ChangeNameFormProps) {
55
55
  <ApolloCustomerErrorAlert error={error} />
56
56
  </Form>
57
57
  <MessageSnackbar open={formState.isSubmitSuccessful && !error} variant='pill'>
58
- <>
59
- <SvgImageSimple src={iconCheckmark} size='small' />
60
- Changes saved
61
- </>
58
+ <>Successfully saved changes</>
62
59
  </MessageSnackbar>
63
60
  </>
64
61
  )
@@ -85,7 +85,7 @@ export default function ChangePasswordForm() {
85
85
  </FormActions>
86
86
 
87
87
  <MessageSnackbar sticky open={Boolean(formState.isSubmitSuccessful && data)}>
88
- <>Password changed</>
88
+ <>Successfully changed password</>
89
89
  </MessageSnackbar>
90
90
  </Form>
91
91
  )
@@ -23,8 +23,8 @@ export default function NameFields(props: NameFieldProps) {
23
23
 
24
24
  return (
25
25
  <>
26
- <FormRow>
27
- {prefix && (
26
+ {prefix && (
27
+ <FormRow>
28
28
  <Controller
29
29
  defaultValue='Dhr.'
30
30
  control={control}
@@ -41,7 +41,7 @@ export default function NameFields(props: NameFieldProps) {
41
41
  inputRef={ref}
42
42
  InputProps={{
43
43
  readOnly,
44
- endAdornment: <InputCheckmark show={valid.prefix} />,
44
+ endAdornment: <InputCheckmark show={valid.prefix} select />,
45
45
  }}
46
46
  {...field}
47
47
  >
@@ -53,8 +53,8 @@ export default function NameFields(props: NameFieldProps) {
53
53
  </TextField>
54
54
  )}
55
55
  />
56
- )}
57
- </FormRow>
56
+ </FormRow>
57
+ )}
58
58
 
59
59
  <FormRow>
60
60
  <TextField
@@ -61,9 +61,6 @@ export default function SignInForm(props: SignInFormProps) {
61
61
  id='current-password'
62
62
  required={required.password}
63
63
  {...muiRegister('password', { required: required.password })}
64
- FormHelperTextProps={{
65
- className: classes.forgotPass,
66
- }}
67
64
  InputProps={{
68
65
  endAdornment: (
69
66
  <PageLink href='/account/forgot-password' key='forgot-password' passHref>
@@ -44,10 +44,7 @@ export default function useFormIsEmailAvailable(props: useFormIsEmailAvailablePr
44
44
  return
45
45
  }
46
46
  if (isSubmitting) return
47
- if (!isValid) {
48
- setMode('email')
49
- return
50
- }
47
+ if (!isValid) return
51
48
  if (!isDirty && isSubmitted && isSubmitSuccessful && isValid)
52
49
  setMode(hasAccount ? 'signin' : 'signup')
53
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-customer",
3
- "version": "3.5.2",
3
+ "version": "3.5.6",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -24,8 +24,8 @@
24
24
  "@graphcommerce/graphql": "^2.105.4",
25
25
  "@graphcommerce/image": "^2.105.3",
26
26
  "@graphcommerce/magento-graphql": "^2.104.4",
27
- "@graphcommerce/magento-store": "^3.2.17",
28
- "@graphcommerce/next-ui": "^3.15.0",
27
+ "@graphcommerce/magento-store": "^3.2.20",
28
+ "@graphcommerce/next-ui": "^3.16.0",
29
29
  "@graphcommerce/react-hook-form": "^2.103.1",
30
30
  "@graphql-typed-document-node/core": "^3.1.0",
31
31
  "@material-ui/core": "^4.12.3",
@@ -36,5 +36,5 @@
36
36
  "react": "^17.0.2",
37
37
  "react-dom": "^17.0.2"
38
38
  },
39
- "gitHead": "0d7e797850cec8d51ef8d88937a104aab6af4c35"
39
+ "gitHead": "1c54da5e12541a73e71f3414ee53d7170e0685f9"
40
40
  }