woocommerce/plugins/woocommerce-blocks/assets/js
Darren Ethier 80f692404f Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960)
* Include shipping and billing address data in cart schema

* update cart hook (and data api) with new properties from endpoint

* add use-shipping-address hook and implement in use-shipping-rates

* update usages of useShippingRates through code

* update tests for use-shipping-rates

* update use-payment-method-interface and typedef to remove country field

This is provided reliably via the shippingAddress now.

* restore pluck comparison to effect.

Also added some clarification docs for why `iniitalAddress` is not included in the effect dependencies.

* remove billingAddress from cart schema

* clear city and postcode when changing country

* Update REST Api schemas aftere rebase

- CustomerSchema no longer exists
- Added ShippingAddressSchema implemented by Cart and Order schemas
- fix broken js because of bad merge conflict resolution.

* remove duplicate keys
2020-03-13 15:04:03 -04:00
..
atomic Add contexts for checkout (https://github.com/woocommerce/woocommerce-blocks/pull/1915) 2020-03-10 09:39:21 -04:00
base Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) 2020-03-13 15:04:03 -04:00
blocks Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) 2020-03-13 15:04:03 -04:00
blocks-registry Update payment registration config to include `edit` components (https://github.com/woocommerce/woocommerce-blocks/pull/1928) 2020-03-10 12:35:30 -04:00
components Switch out usage from withComponentId to tree-shaken withInstanceId (https://github.com/woocommerce/woocommerce-blocks/pull/1923) 2020-03-10 14:40:30 +00:00
data Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) 2020-03-13 15:04:03 -04:00
filters Only populate default attributes on initial mount of block. (https://github.com/woocommerce/woocommerce-blocks/pull/1640) 2020-01-24 11:53:15 -05:00
hocs Refactor cart shipping settings and shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/1943) 2020-03-13 13:41:59 +00:00
icons Prevent wp.components loading on frontend (https://github.com/woocommerce/woocommerce-blocks/pull/1918) 2020-03-10 11:20:40 +00:00
legacy All Products with Inner Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/1032) 2019-10-28 09:53:09 -04:00
payment-methods-demo Update payment registration config to include `edit` components (https://github.com/woocommerce/woocommerce-blocks/pull/1928) 2020-03-10 12:35:30 -04:00
previews Refactor cart shipping settings and shipping calculator (https://github.com/woocommerce/woocommerce-blocks/pull/1943) 2020-03-13 13:41:59 +00:00
settings Include address fields in the AddressForm component (https://github.com/woocommerce/woocommerce-blocks/pull/1892) 2020-03-09 14:23:16 +00:00
type-defs Refactor Cart to include shippingAddress (https://github.com/woocommerce/woocommerce-blocks/pull/1960) 2020-03-13 15:04:03 -04:00
utils Cart and checkout error boundaries (https://github.com/woocommerce/woocommerce-blocks/pull/1853) 2020-03-06 11:43:40 +00:00
index.js Give Woo Icon special treatment by making it a component (https://github.com/woocommerce/woocommerce-blocks/pull/1702) 2020-02-10 14:24:02 +01:00