@graphcommerce/magento-customer 3.3.3 → 3.4.1

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,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' text='bold' disabled>
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' text='bold'>
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' text='bold'>
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' text='bold' size='large'>
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'
@@ -79,7 +79,6 @@ export default function ChangePasswordForm() {
79
79
  color='primary'
80
80
  variant='contained'
81
81
  size='large'
82
- text='bold'
83
82
  >
84
83
  Save new password
85
84
  </Button>
@@ -84,7 +84,6 @@ export default function CreateCustomerAddressForm() {
84
84
  variant='contained'
85
85
  color='primary'
86
86
  size='large'
87
- text='bold'
88
87
  loading={formState.isSubmitting}
89
88
  >
90
89
  Save changes
@@ -25,7 +25,7 @@ function CustomerFabContent(props: CustomerFabContentProps) {
25
25
 
26
26
  return (
27
27
  <PageLink href={requireAuth ? guestHref : authHref} passHref>
28
- <Fab style={{ boxShadow: 'none' }} aria-label='Open Menu' size='large' {...FabProps}>
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'}
@@ -113,7 +113,6 @@ export default function EditAddressForm(props: EditAddressFormProps) {
113
113
  variant='contained'
114
114
  color='primary'
115
115
  size='large'
116
- text='bold'
117
116
  loading={formState.isSubmitting}
118
117
  >
119
118
  Save changes
@@ -63,7 +63,6 @@ export default function ForgotPasswordForm() {
63
63
  color='primary'
64
64
  variant='contained'
65
65
  size='large'
66
- text='bold'
67
66
  >
68
67
  Send password reset email
69
68
  </Button>
@@ -88,7 +88,6 @@ export default function ResetPasswordForm(props: ResetPasswordFormProps) {
88
88
  color='primary'
89
89
  variant='contained'
90
90
  size='large'
91
- text='bold'
92
91
  >
93
92
  Save new password
94
93
  </Button>
@@ -85,7 +85,6 @@ export default function SignInForm(props: SignInFormProps) {
85
85
  color='primary'
86
86
  variant='contained'
87
87
  size='large'
88
- text='bold'
89
88
  >
90
89
  Log In
91
90
  </Button>
@@ -101,7 +101,6 @@ export default function SignUpFormInline({
101
101
  loading={formState.isSubmitting}
102
102
  color='secondary'
103
103
  variant='pill'
104
- text='bold'
105
104
  >
106
105
  Sign up
107
106
  </Button>
@@ -114,7 +114,6 @@ export default function UpdateCustomerEmailForm(props: UpdateCustomerEmailFormPr
114
114
  <FormActions>
115
115
  <Button
116
116
  type='submit'
117
- text='bold'
118
117
  color='primary'
119
118
  variant='contained'
120
119
  size='large'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphcommerce/magento-customer",
3
- "version": "3.3.3",
3
+ "version": "3.4.1",
4
4
  "sideEffects": false,
5
5
  "prettier": "@graphcommerce/prettier-config-pwa",
6
6
  "browserslist": [
@@ -14,27 +14,27 @@
14
14
  },
15
15
  "devDependencies": {
16
16
  "@graphcommerce/browserslist-config-pwa": "^3.0.2",
17
- "@graphcommerce/eslint-config-pwa": "^3.1.2",
17
+ "@graphcommerce/eslint-config-pwa": "^3.1.3",
18
18
  "@graphcommerce/prettier-config-pwa": "^3.0.3",
19
19
  "@graphcommerce/typescript-config-pwa": "^3.1.1",
20
20
  "@playwright/test": "^1.16.2"
21
21
  },
22
22
  "dependencies": {
23
23
  "@apollo/client": "^3.4.16",
24
- "@graphcommerce/graphql": "^2.105.1",
25
- "@graphcommerce/image": "^2.105.1",
26
- "@graphcommerce/magento-graphql": "^2.104.1",
27
- "@graphcommerce/magento-store": "^3.1.6",
28
- "@graphcommerce/next-ui": "^3.11.3",
29
- "@graphcommerce/react-hook-form": "^2.102.13",
24
+ "@graphcommerce/graphql": "^2.105.2",
25
+ "@graphcommerce/image": "^2.105.2",
26
+ "@graphcommerce/magento-graphql": "^2.104.2",
27
+ "@graphcommerce/magento-store": "^3.2.1",
28
+ "@graphcommerce/next-ui": "^3.12.1",
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",
32
32
  "@material-ui/lab": "^4.0.0-alpha.60",
33
33
  "clsx": "^1.1.1",
34
34
  "framer-motion": "^4.1.17",
35
- "next": "^12.0.1",
35
+ "next": "^12.0.2",
36
36
  "react": "^17.0.2",
37
37
  "react-dom": "^17.0.2"
38
38
  },
39
- "gitHead": "570a61e72f88ef0a4bd1472d48c7a7dd28154f59"
39
+ "gitHead": "034145dd36551a6c71be6c51f0f1560ef50cb77a"
40
40
  }