woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart-checkout/checkout
Mike Jolley 128ac6d63d Refactor cart shipping settings and shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/1943)
* Move cart attributes to attributes file

* Stop feedback prompt jumping around; consolodate strings

* Update option labels and descriptions

* Match checkout save function

* hasShippingRate helper

* Refactor full cart/frontend views for shipping calc

* Add hasShippingAddress to useShippingRates hook

* Initial shipping calculator in totals row implementation

* Create cart context

* Update preview data to match API response

* Use context provider for cart

* Provide default cart item for placeholder with correct shape

* Remove outdated shape validation from cartlineitemrow

* Use preview data in editor context

* Tidy up components

* Tests/lint

* Update assets/js/base/components/totals/totals-shipping-item/has-shipping-rate.js

Co-Authored-By: Seghir Nadir <nadir.seghir@gmail.com>

* No need to camel case previewdata

* Use isValidElement

* Implement EditorContext

* Use select if no post is given

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2020-03-13 13:41:59 +00:00
..
attributes.js Checkout Block: Add Legal links (https://github.com/woocommerce/woocommerce-blocks/pull/1881) 2020-03-06 12:20:17 +00:00
block.js CSS editor fixes for Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/1949) 2020-03-13 12:02:08 +00:00
edit.js Refactor cart shipping settings and shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/1943) 2020-03-13 13:41:59 +00:00
editor.scss Checkout form options to control field visibility (https://github.com/woocommerce/woocommerce-blocks/pull/1868) 2020-03-05 13:06:47 +00:00
example.js Skeleton Checkout block (https://github.com/woocommerce/woocommerce-blocks/pull/1308) 2019-12-03 15:12:46 +01:00
frontend.js Add checkout sidebar (https://github.com/woocommerce/woocommerce-blocks/pull/1921) 2020-03-12 10:41:35 +01:00
index.js Checkout form options to control field visibility (https://github.com/woocommerce/woocommerce-blocks/pull/1868) 2020-03-05 13:06:47 +00:00
sidebar.js Add checkout sidebar (https://github.com/woocommerce/woocommerce-blocks/pull/1921) 2020-03-12 10:41:35 +01:00
style.scss Option to 'use shipping address for billing': add attribute and make it work in the frontend (https://github.com/woocommerce/woocommerce-blocks/pull/1857) 2020-03-04 15:13:38 +00:00