August 26, 2024 (canary)
Pre-release@graphcommerce/[email protected]
Patch Changes
-
#2341
7085b4a
- Updated all form FieldElements to also accept defaultValue, shouldUnregister and disabled. Moved AutoCompleteElement, CheckboxElement, MultiSelectElement, SliderElement, SwitchElement, ToggleButtonGroup to useController. Removed all parseError props (@Giovanni-Schroevers) -
#2341
022cbd6
- Moved ActionCardListForm to @graphcommerce/ecommerce-ui to resolve issue with circular dependencies. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
e01fd4a
- Prevent retriggering a scrollTo animation when the current scrollLeft/scrollTop is a float (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
e3fe4f7
- Solve an issue where the BillingPage query would be re-queried after setting the payment method. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
7a2f715
- Make sure the InContextMask only warns when a block is renderer during the initial ssr render. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
8d96e64
- Prevent a reloading the ShippingPage query when selecting a shipping method. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
- #2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
Patch Changes
- #2341
97522bd
- Solve issue where the CartEditForm would temporarily show an empty cart after saving. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
- #2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
Patch Changes
-
#2341
3043f94
- In the shipping step show errors with a ApolloCartErrorSnackbar instead of a ApolloCartErrorAlert (@Giovanni-Schroevers) -
#2341
3101681
- When saving a shipping address it would always save the company after it was once saved. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
- #2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
- #2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
Patch Changes
-
#2341
cc1c6e8
- The AddressCountryRegion select would show a warning if the countries weren't loaded yet. It will now show a readonly field with the country code. (@Giovanni-Schroevers) -
#2341
b8b621a
- The CompanyFields toggle wouldn't be valid when Private was selected and would only validate if Business was selected. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
86ecf9a
- Payment method will now throw an error in onComplete to handle obscure errors (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
- #2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
86ecf9a
- Payment method will now throw an error in onComplete to handle obscure errors (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
86ecf9a
- Payment method will now throw an error in onComplete to handle obscure errors (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
- #2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
86ecf9a
- Payment method will now throw an error in onComplete to handle obscure errors (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Patch Changes
- #2341
c57614d
- ActionCardList can now recieve focus, allowing form submissions to scroll to the field. Focussed fields now are now highlighted even when there is an error. (@Giovanni-Schroevers)
@graphcommerce/[email protected]
Minor Changes
-
#2341
16e2980
- useFormGql and it's derived hooks now have a newskipUnchanged
prop. The form will only be submitted when there are fields dirty in a form. This reduces the amount of queries ran in the checkout greatly. (@Giovanni-Schroevers) -
#2341
1d6512d
- Rename experimental_useV2 prop to deprecated_useV1 in useFromGql and enable it by default (@Giovanni-Schroevers)
Patch Changes
- #2341
af45239
- When a useFormGql throws an error in the onBeforeSubmit method or onComplete method it will setError('root.thrown') with the message, allowing it to be displayed somewhere. PaymentMethodButton will now render this as an ErrorSnackbar. (@Giovanni-Schroevers)