@graphcommerce/magento-cart-payment-method 8.1.0-canary.37 → 8.1.0-canary.38

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,12 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.1.0-canary.38
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2305](https://github.com/graphcommerce-org/graphcommerce/pull/2305) [`77e8297`](https://github.com/graphcommerce-org/graphcommerce/commit/77e82976816994336c616208a651cb18ce9ea270) - Fix bug with persist not applying saved changes by moving <FromPersist/> below the form components
8
+ ([@Giovanni-Schroevers](https://github.com/Giovanni-Schroevers))
9
+
3
10
  ## 8.1.0-canary.37
4
11
 
5
12
  ## 8.1.0-canary.36
@@ -109,7 +109,6 @@ export function PaymentMethodActionCardListForm(props: PaymentMethodActionCardLi
109
109
 
110
110
  return (
111
111
  <>
112
- <FormPersist form={form} name='PaymentMethodActionCardList' />
113
112
  <ActionCardListForm<PaymentOptionsProps & ActionCardProps, FormFields>
114
113
  control={control}
115
114
  name='paymentMethod'
@@ -126,6 +125,7 @@ export function PaymentMethodActionCardListForm(props: PaymentMethodActionCardLi
126
125
  }))}
127
126
  render={PaymentMethodActionCard}
128
127
  />
128
+ <FormPersist form={form} name='PaymentMethodActionCardList' />
129
129
  </>
130
130
  )
131
131
  }
@@ -90,7 +90,6 @@ export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
90
90
  ...(Array.isArray(sx) ? sx : [sx]),
91
91
  ]}
92
92
  >
93
- <FormPersist form={form} name='PaymentMethodToggles' />
94
93
  <input type='hidden' {...register('code', { required: true })} required />
95
94
  <FormRow className={classes.root} sx={{ position: 'relative', padding: 0 }}>
96
95
  <ScrollerProvider scrollSnapAlign='center'>
@@ -215,6 +214,7 @@ export function PaymentMethodToggles(props: PaymentMethodTogglesProps) {
215
214
  </Box>
216
215
  </ScrollerProvider>
217
216
  </FormRow>
217
+ <FormPersist form={form} name='PaymentMethodToggles' />
218
218
  </Form>
219
219
  )
220
220
  }
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": "8.1.0-canary.37",
5
+ "version": "8.1.0-canary.38",
6
6
  "sideEffects": false,
7
7
  "prettier": "@graphcommerce/prettier-config-pwa",
8
8
  "eslintConfig": {
@@ -12,17 +12,17 @@
12
12
  }
13
13
  },
14
14
  "peerDependencies": {
15
- "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.37",
16
- "@graphcommerce/framer-scroller": "^8.1.0-canary.37",
17
- "@graphcommerce/graphql": "^8.1.0-canary.37",
18
- "@graphcommerce/image": "^8.1.0-canary.37",
19
- "@graphcommerce/magento-cart": "^8.1.0-canary.37",
20
- "@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.37",
21
- "@graphcommerce/magento-store": "^8.1.0-canary.37",
22
- "@graphcommerce/next-ui": "^8.1.0-canary.37",
23
- "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.37",
24
- "@graphcommerce/react-hook-form": "^8.1.0-canary.37",
25
- "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.37",
15
+ "@graphcommerce/eslint-config-pwa": "^8.1.0-canary.38",
16
+ "@graphcommerce/framer-scroller": "^8.1.0-canary.38",
17
+ "@graphcommerce/graphql": "^8.1.0-canary.38",
18
+ "@graphcommerce/image": "^8.1.0-canary.38",
19
+ "@graphcommerce/magento-cart": "^8.1.0-canary.38",
20
+ "@graphcommerce/magento-cart-shipping-address": "^8.1.0-canary.38",
21
+ "@graphcommerce/magento-store": "^8.1.0-canary.38",
22
+ "@graphcommerce/next-ui": "^8.1.0-canary.38",
23
+ "@graphcommerce/prettier-config-pwa": "^8.1.0-canary.38",
24
+ "@graphcommerce/react-hook-form": "^8.1.0-canary.38",
25
+ "@graphcommerce/typescript-config-pwa": "^8.1.0-canary.38",
26
26
  "@lingui/core": "^4.2.1",
27
27
  "@lingui/macro": "^4.2.1",
28
28
  "@lingui/react": "^4.2.1",