woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout
Rua Haszard ace2d2bd81 show preview "saved payment methods" in editor (https://github.com/woocommerce/woocommerce-blocks/pull/2151)
* factor out editor preview data for saved payment methods to previews

* add missing imports lost in rebase

* use editorcontext to provide preview data to payment method context

* remove unused `activePaymentMethod` prop in CheckoutProvider and PaymentMethodDataProvider

* don't set the preview saved card as the default

* fix js error with cart in editor - fix EditorContext, pass previewData:
- editor context preview prop has changed;
  - update cart to pass { previewCart } in previewData prop
- correctly destructure cart from previewData in useStoreCart hook
- correct typedefs
  - EditorProvider props.previewData - now just Object
  - similar for EditorDataContext
- correct default for activePaymentMethod state - empty string as before

* preselect 'use a new payment method' in checkout block editor preview

* update unit tests for changes to editor context
2020-04-15 12:05:01 +12:00
..
checkout-order-error Cart item validation and notices in cart/checkout (https://github.com/woocommerce/woocommerce-blocks/pull/2079) 2020-04-02 15:04:43 +01:00
empty-cart Add billing data context (https://github.com/woocommerce/woocommerce-blocks/pull/2027) 2020-03-26 13:31:09 +00:00
no-shipping-placeholder Disable checkout form in the editor (https://github.com/woocommerce/woocommerce-blocks/pull/2128) 2020-04-06 16:35:09 +01:00
sidebar Respect needs_shipping in Cart and Checkout (https://github.com/woocommerce/woocommerce-blocks/pull/2101) 2020-04-02 18:10:36 +01:00
attributes.js Refactor useBillingData to useCheckoutContext and hooking it up to form (https://github.com/woocommerce/woocommerce-blocks/pull/2002) 2020-03-23 21:13:41 +01:00
block.js Refactor checkout status and event emitters to support stripe intents and more complex payment methods. (https://github.com/woocommerce/woocommerce-blocks/pull/2189) 2020-04-14 12:52:23 -04:00
edit.js show preview "saved payment methods" in editor (https://github.com/woocommerce/woocommerce-blocks/pull/2151) 2020-04-15 12:05:01 +12:00
editor.scss Update previews and editor styles for cart and checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2160) 2020-04-08 16:03:39 +01:00
frontend.js Get preview data from Editor Context / (https://github.com/woocommerce/woocommerce-blocks/pull/2134) 2020-04-07 16:41:22 +01:00
index.js Update previews and editor styles for cart and checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2160) 2020-04-08 16:03:39 +01:00
style.scss Fix build styles incosistencies (https://github.com/woocommerce/woocommerce-blocks/pull/2208) 2020-04-14 13:43:10 +02:00