@graphcommerce/magento-customer 3.3.5 → 3.4.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 +18 -0
- package/components/AccountAddresses/index.tsx +3 -3
- package/components/AddressFields/index.tsx +2 -2
- package/components/ApolloCustomerError/ApolloCustomerErrorFullPage.tsx +1 -2
- package/components/ChangeNameForm/index.tsx +0 -2
- package/components/ChangePasswordForm/ChangePasswordForm.tsx +0 -1
- package/components/CreateCustomerAddressForm/index.tsx +0 -1
- package/components/CustomerFab/index.tsx +1 -1
- package/components/EditAddressForm/index.tsx +0 -1
- package/components/ForgotPasswordForm/ForgotPasswordForm.tsx +0 -1
- package/components/ResetPasswordForm/index.tsx +0 -1
- package/components/SignInForm/SignInForm.tsx +0 -1
- package/components/SignUpForm/SignUpFormInline.tsx +0 -1
- package/components/UpdateCustomerEmailForm/index.tsx +0 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,24 @@
|
|
|
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.4.0](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-customer@3.3.5...@graphcommerce/magento-customer@3.4.0) (2021-11-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* move checkmark icons on select fields ([95ce54d](https://github.com/ho-nl/m2-pwa/commit/95ce54d7fd41d11120847f2fdf6b9097a2c93871))
|
|
12
|
+
* remove text='bold', make contained button text stronger by default ([cd277c9](https://github.com/ho-nl/m2-pwa/commit/cd277c9f434a4a765eac372467e5a05c822d5512))
|
|
13
|
+
* remove unused imports ([b832188](https://github.com/ho-nl/m2-pwa/commit/b8321887f10a4a026adc5ca39166eeef90e60669))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* darkTheme ([3ed6647](https://github.com/ho-nl/m2-pwa/commit/3ed664714670315bc9f20542549724f66cb5052d))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
6
24
|
## [3.3.1](https://github.com/ho-nl/m2-pwa/compare/@graphcommerce/magento-customer@3.3.0...@graphcommerce/magento-customer@3.3.1) (2021-10-28)
|
|
7
25
|
|
|
8
26
|
|
|
@@ -53,7 +53,7 @@ export default function AccountAddresses(props: AccountAddressesProps) {
|
|
|
53
53
|
<Skeleton height={128} />
|
|
54
54
|
<Skeleton height={128} />
|
|
55
55
|
</div>
|
|
56
|
-
<Button className={classes.button} variant='contained' color='primary'
|
|
56
|
+
<Button className={classes.button} variant='contained' color='primary' disabled>
|
|
57
57
|
Add new address
|
|
58
58
|
</Button>
|
|
59
59
|
</SectionContainer>
|
|
@@ -69,7 +69,7 @@ export default function AccountAddresses(props: AccountAddressesProps) {
|
|
|
69
69
|
icon={<SvgImageSimple src={iconHome} size='xxl' />}
|
|
70
70
|
button={
|
|
71
71
|
<Link href='/account/addresses/add' passHref>
|
|
72
|
-
<Button size='large' variant='contained' color='primary'
|
|
72
|
+
<Button size='large' variant='contained' color='primary'>
|
|
73
73
|
Add new address
|
|
74
74
|
</Button>
|
|
75
75
|
</Link>
|
|
@@ -87,7 +87,7 @@ export default function AccountAddresses(props: AccountAddressesProps) {
|
|
|
87
87
|
</div>
|
|
88
88
|
|
|
89
89
|
<Link href='/account/addresses/add' passHref>
|
|
90
|
-
<Button className={classes.button} variant='contained' color='primary'
|
|
90
|
+
<Button className={classes.button} variant='contained' color='primary'>
|
|
91
91
|
Add new address
|
|
92
92
|
</Button>
|
|
93
93
|
</Link>
|
|
@@ -139,7 +139,7 @@ export default function AddressFields(props: AddressFieldsProps) {
|
|
|
139
139
|
// onBlur={onBlur}
|
|
140
140
|
InputProps={{
|
|
141
141
|
readOnly,
|
|
142
|
-
endAdornment: <InputCheckmark show={valid.countryCode} />,
|
|
142
|
+
endAdornment: <InputCheckmark show={valid.countryCode} select />,
|
|
143
143
|
}}
|
|
144
144
|
>
|
|
145
145
|
<option value='' />
|
|
@@ -169,7 +169,7 @@ export default function AddressFields(props: AddressFieldsProps) {
|
|
|
169
169
|
helperText={formState.errors.regionId?.message}
|
|
170
170
|
InputProps={{
|
|
171
171
|
readOnly,
|
|
172
|
-
endAdornment: <InputCheckmark show={valid.regionId} />,
|
|
172
|
+
endAdornment: <InputCheckmark show={valid.regionId} select />,
|
|
173
173
|
}}
|
|
174
174
|
>
|
|
175
175
|
<option value='' />
|
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
ApolloErrorFullPage,
|
|
3
3
|
ApolloErrorAlertProps,
|
|
4
4
|
Button,
|
|
5
|
-
SvgImage,
|
|
6
5
|
iconPerson,
|
|
7
6
|
SvgImageSimple,
|
|
8
7
|
} from '@graphcommerce/next-ui'
|
|
@@ -27,7 +26,7 @@ export default function ApolloCustomerErrorFullPage(props: ApolloCustomerErrorFu
|
|
|
27
26
|
button={
|
|
28
27
|
unauthorized ? (
|
|
29
28
|
<PageLink href={signInHref} passHref>
|
|
30
|
-
<Button variant='contained' color='primary'
|
|
29
|
+
<Button variant='contained' color='primary' size='large'>
|
|
31
30
|
Login
|
|
32
31
|
</Button>
|
|
33
32
|
</PageLink>
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
FormActions,
|
|
5
5
|
FormDivider,
|
|
6
6
|
MessageSnackbar,
|
|
7
|
-
SvgImage,
|
|
8
7
|
iconCheckmark,
|
|
9
8
|
SvgImageSimple,
|
|
10
9
|
} from '@graphcommerce/next-ui'
|
|
@@ -45,7 +44,6 @@ export default function ChangeNameForm(props: ChangeNameFormProps) {
|
|
|
45
44
|
<FormActions>
|
|
46
45
|
<Button
|
|
47
46
|
type='submit'
|
|
48
|
-
text='bold'
|
|
49
47
|
color='primary'
|
|
50
48
|
variant='contained'
|
|
51
49
|
size='large'
|
|
@@ -25,7 +25,7 @@ function CustomerFabContent(props: CustomerFabContentProps) {
|
|
|
25
25
|
|
|
26
26
|
return (
|
|
27
27
|
<PageLink href={requireAuth ? guestHref : authHref} passHref>
|
|
28
|
-
<Fab
|
|
28
|
+
<Fab color='inherit' aria-label='Open Menu' size='large' {...FabProps}>
|
|
29
29
|
<StyledBadge
|
|
30
30
|
badgeContent={customerToken?.token ? 1 : 0}
|
|
31
31
|
color={customerToken?.valid ? 'primary' : 'error'}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphcommerce/magento-customer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
6
6
|
"browserslist": [
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@graphcommerce/graphql": "^2.105.2",
|
|
25
25
|
"@graphcommerce/image": "^2.105.2",
|
|
26
26
|
"@graphcommerce/magento-graphql": "^2.104.2",
|
|
27
|
-
"@graphcommerce/magento-store": "^3.
|
|
28
|
-
"@graphcommerce/next-ui": "^3.
|
|
27
|
+
"@graphcommerce/magento-store": "^3.2.0",
|
|
28
|
+
"@graphcommerce/next-ui": "^3.12.0",
|
|
29
29
|
"@graphcommerce/react-hook-form": "^2.102.14",
|
|
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": "
|
|
39
|
+
"gitHead": "b37db76e3e0dfc34a2b25068be5e6c7afcca6bfa"
|
|
40
40
|
}
|