@graphcommerce/magento-cart-payment-method 9.0.0-canary.80 → 9.0.0-canary.82
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,5 @@
|
|
|
1
1
|
import { ApolloCartErrorSnackbar } from '@graphcommerce/magento-cart'
|
|
2
|
-
import {
|
|
2
|
+
import { LinkOrButton, LinkOrButtonProps } from '@graphcommerce/next-ui'
|
|
3
3
|
import {
|
|
4
4
|
ComposedSubmit,
|
|
5
5
|
ComposedSubmitProps,
|
|
@@ -50,9 +50,9 @@ export function PaymentMethodButton(props: PaymentMethodButtonProps) {
|
|
|
50
50
|
return (
|
|
51
51
|
<ComposedSubmit
|
|
52
52
|
onSubmitSuccessful={onSubmitSuccessful}
|
|
53
|
-
render={({ submit, buttonState, error
|
|
53
|
+
render={({ submit, buttonState, error }) => {
|
|
54
54
|
const errorVal = buttonState.isSubmitting ? undefined : error
|
|
55
|
-
|
|
55
|
+
|
|
56
56
|
const button = (
|
|
57
57
|
<PaymentMethodButtonRenderer
|
|
58
58
|
buttonProps={buttonProps}
|
|
@@ -67,9 +67,6 @@ export function PaymentMethodButton(props: PaymentMethodButtonProps) {
|
|
|
67
67
|
<>
|
|
68
68
|
{button}
|
|
69
69
|
<ApolloCartErrorSnackbar key='error' error={errorVal} />
|
|
70
|
-
<ErrorSnackbar variant='pill' severity='error' open={!!rootMessage}>
|
|
71
|
-
<>{rootMessage}</>
|
|
72
|
-
</ErrorSnackbar>
|
|
73
70
|
</>
|
|
74
71
|
)
|
|
75
72
|
}}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graphcommerce/magento-cart-payment-method",
|
|
3
3
|
"homepage": "https://www.graphcommerce.org/",
|
|
4
4
|
"repository": "github:graphcommerce-org/graphcommerce",
|
|
5
|
-
"version": "9.0.0-canary.
|
|
5
|
+
"version": "9.0.0-canary.82",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -12,18 +12,18 @@
|
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.
|
|
16
|
-
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.
|
|
17
|
-
"@graphcommerce/framer-scroller": "^9.0.0-canary.
|
|
18
|
-
"@graphcommerce/graphql": "^9.0.0-canary.
|
|
19
|
-
"@graphcommerce/image": "^9.0.0-canary.
|
|
20
|
-
"@graphcommerce/magento-cart": "^9.0.0-canary.
|
|
21
|
-
"@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.
|
|
22
|
-
"@graphcommerce/magento-store": "^9.0.0-canary.
|
|
23
|
-
"@graphcommerce/next-ui": "^9.0.0-canary.
|
|
24
|
-
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.
|
|
25
|
-
"@graphcommerce/react-hook-form": "^9.0.0-canary.
|
|
26
|
-
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.
|
|
15
|
+
"@graphcommerce/ecommerce-ui": "^9.0.0-canary.82",
|
|
16
|
+
"@graphcommerce/eslint-config-pwa": "^9.0.0-canary.82",
|
|
17
|
+
"@graphcommerce/framer-scroller": "^9.0.0-canary.82",
|
|
18
|
+
"@graphcommerce/graphql": "^9.0.0-canary.82",
|
|
19
|
+
"@graphcommerce/image": "^9.0.0-canary.82",
|
|
20
|
+
"@graphcommerce/magento-cart": "^9.0.0-canary.82",
|
|
21
|
+
"@graphcommerce/magento-cart-shipping-address": "^9.0.0-canary.82",
|
|
22
|
+
"@graphcommerce/magento-store": "^9.0.0-canary.82",
|
|
23
|
+
"@graphcommerce/next-ui": "^9.0.0-canary.82",
|
|
24
|
+
"@graphcommerce/prettier-config-pwa": "^9.0.0-canary.82",
|
|
25
|
+
"@graphcommerce/react-hook-form": "^9.0.0-canary.82",
|
|
26
|
+
"@graphcommerce/typescript-config-pwa": "^9.0.0-canary.82",
|
|
27
27
|
"@lingui/core": "^4.2.1",
|
|
28
28
|
"@lingui/macro": "^4.2.1",
|
|
29
29
|
"@lingui/react": "^4.2.1",
|