@graphcommerce/magento-cart-payment-method 3.6.6 → 3.6.8
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,29 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 3.6.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1688](https://github.com/graphcommerce-org/graphcommerce/pull/1688) [`f544401c7`](https://github.com/graphcommerce-org/graphcommerce/commit/f544401c7b653fda39c7c260ad0dcfb3bf543b65) Thanks [@paales](https://github.com/paales)! - Return the promise when changing the URL
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`8393cb266`](https://github.com/graphcommerce-org/graphcommerce/commit/8393cb2662860be0c2aa5df432447bb73c427d8e), [`f544401c7`](https://github.com/graphcommerce-org/graphcommerce/commit/f544401c7b653fda39c7c260ad0dcfb3bf543b65), [`f105d4223`](https://github.com/graphcommerce-org/graphcommerce/commit/f105d4223aa68df30970149e51ae72897e489bf9)]:
|
|
10
|
+
- @graphcommerce/next-ui@4.29.3
|
|
11
|
+
- @graphcommerce/framer-scroller@2.1.45
|
|
12
|
+
- @graphcommerce/magento-cart@4.9.4
|
|
13
|
+
- @graphcommerce/magento-store@4.3.6
|
|
14
|
+
|
|
15
|
+
## 3.6.7
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#1686](https://github.com/graphcommerce-org/graphcommerce/pull/1686) [`1953c7e27`](https://github.com/graphcommerce-org/graphcommerce/commit/1953c7e27eb606a825fce1ad361393b3c781c6da) Thanks [@paales](https://github.com/paales)! - Product page markup and sticky product image when the sidebar is fairly large
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`1953c7e27`](https://github.com/graphcommerce-org/graphcommerce/commit/1953c7e27eb606a825fce1ad361393b3c781c6da)]:
|
|
22
|
+
- @graphcommerce/next-ui@4.29.2
|
|
23
|
+
- @graphcommerce/framer-scroller@2.1.44
|
|
24
|
+
- @graphcommerce/magento-cart@4.9.3
|
|
25
|
+
- @graphcommerce/magento-store@4.3.5
|
|
26
|
+
|
|
3
27
|
## 3.6.6
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -49,7 +49,7 @@ function PaymentMethodActionCard(
|
|
|
49
49
|
...(Array.isArray(sx) ? sx : [sx]),
|
|
50
50
|
]}
|
|
51
51
|
action={
|
|
52
|
-
<Button disableTouchRipple variant='inline' color='secondary'>
|
|
52
|
+
<Button disableTouchRipple variant='inline' color='secondary' tabIndex={-1}>
|
|
53
53
|
<Trans id='Select' />
|
|
54
54
|
</Button>
|
|
55
55
|
}
|
package/hooks/useCartLock.ts
CHANGED
|
@@ -20,17 +20,17 @@ export function useCartLock<E extends CartLockState>() {
|
|
|
20
20
|
const [queryState, setRouterQuery] = useUrlQuery<E>()
|
|
21
21
|
|
|
22
22
|
const lock = (params: Omit<E, 'locked' | 'cart_id'>) => {
|
|
23
|
-
if (!currentCartId) return
|
|
23
|
+
if (!currentCartId) return undefined
|
|
24
24
|
setJustLocked(true)
|
|
25
|
-
setRouterQuery({
|
|
25
|
+
return setRouterQuery({
|
|
26
26
|
locked: '1',
|
|
27
27
|
cart_id: currentCartId,
|
|
28
28
|
...params,
|
|
29
29
|
} as unknown as E)
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
const unlock = (params: Omit<E, 'locked' | 'cart_id' | 'method'>) => {
|
|
33
|
-
setRouterQuery({ cart_id: null, locked: null, method: null, ...params } as E)
|
|
32
|
+
const unlock = async (params: Omit<E, 'locked' | 'cart_id' | 'method'>) => {
|
|
33
|
+
await setRouterQuery({ cart_id: null, locked: null, method: null, ...params } as E)
|
|
34
34
|
return queryState
|
|
35
35
|
}
|
|
36
36
|
|
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": "3.6.
|
|
5
|
+
"version": "3.6.8",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"prettier": "@graphcommerce/prettier-config-pwa",
|
|
8
8
|
"eslintConfig": {
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"@graphcommerce/eslint-config-pwa": "^4.1.10",
|
|
16
16
|
"@graphcommerce/prettier-config-pwa": "^4.0.6",
|
|
17
17
|
"@graphcommerce/typescript-config-pwa": "^4.0.4",
|
|
18
|
-
"@graphcommerce/magento-cart-shipping-address": "3.5.
|
|
18
|
+
"@graphcommerce/magento-cart-shipping-address": "3.5.8",
|
|
19
19
|
"@playwright/test": "^1.21.1",
|
|
20
20
|
"type-fest": "^2.12.2"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@graphcommerce/framer-scroller": "2.1.
|
|
23
|
+
"@graphcommerce/framer-scroller": "2.1.45",
|
|
24
24
|
"@graphcommerce/graphql": "3.5.0",
|
|
25
25
|
"@graphcommerce/image": "3.1.10",
|
|
26
|
-
"@graphcommerce/magento-cart": "4.9.
|
|
27
|
-
"@graphcommerce/magento-store": "4.3.
|
|
28
|
-
"@graphcommerce/next-ui": "4.29.
|
|
26
|
+
"@graphcommerce/magento-cart": "4.9.4",
|
|
27
|
+
"@graphcommerce/magento-store": "4.3.6",
|
|
28
|
+
"@graphcommerce/next-ui": "4.29.3",
|
|
29
29
|
"@graphcommerce/react-hook-form": "3.3.5"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|