2ba75fdc25
* Add line pricing for cart items in the API (https://github.com/woocommerce/woocommerce-blocks/pull/1979) * Add line pricing for cart items * Update checkout linePrice * Fix tests * Update schema - add dinero * Implement dinero in cart totals * Update preview and remove line totals * Update package lock * Update checkout review * Fix preview and default data shapes * return first and last name in shipping address * remove shippingAsBilling option from editor settings * remove billing data from store * move to context * hook billing to hook and sync with shipping * add email to billingData * hydrate billing data * some refactors * move hydrated billing data to reducer initial state and fix stale dependencies * fix stale useCallback * better checks in php types * get isEditor from context * update typedefs * skip state update if nothing changed * fix rebase * update snapshots * rebase package * wrap setEmail in useCallback * remove ValidationContextProvider * fix docs Co-authored-by: Mike Jolley <mike.jolley@me.com> |
||
---|---|---|
.. | ||
cart-checkout | ||
editor | ||
test | ||
index.js | ||
inner-block-configuration-context.js | ||
product-layout-context.js | ||
query-state-context.js | ||
store-notices-context.js | ||
utils.js |