woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout
Mike Jolley ec22a5c6c4 Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting (https://github.com/woocommerce/woocommerce-blocks/pull/3383)
* Remove custom fieldconfig for shipping calculator so required fields for shipping are collected

* If the store config requires an address before shipping, do not return rates or totals

Totals, calculated by the cart, would be set to 0 in this scenario which could lead to customer confusion (why is the rate $10 but shipping shown as $0?)

* The shipping total row is missing a border

* Revert "If the store config requires an address before shipping, do not return rates or totals"

This reverts commit f3a4f24f5785392eb43bfc69a5548d398c47d8bb.

* Add hasCalculatedShipping to schema and hooks

* Show shipping notices with updated wording based on if shipping has calculated yet or not

* Refactor shipping row display to use new API props

* Remove block level isShippingCostHidden

* fix test

* Correct the math in the shipping preview in cart

* Document null

* Remove test—this option no longer exists

* Remove unused settings/constants
2020-11-17 11:58:38 +00:00
..
address-form Fix React hook dependency warnings in Cart & Checkout blocks + withAttributes HOC (https://github.com/woocommerce/woocommerce-blocks/pull/3314) 2020-10-27 15:37:18 +01:00
form-step Split Checkout block component into smaller files (https://github.com/woocommerce/woocommerce-blocks/pull/3062) 2020-08-31 12:17:42 +02:00
order-summary Merge ProductPrice atomic block and component (https://github.com/woocommerce/woocommerce-blocks/pull/3065) 2020-09-14 12:56:10 +02:00
payment-method-icons Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
payment-method-label Update base/components classnames (https://github.com/woocommerce/woocommerce-blocks/pull/2711) 2020-06-17 11:53:42 +02:00
place-order-button Replace usage of `cart-checkout/button` with `@woocommerce/base-components/button` (https://github.com/woocommerce/woocommerce-blocks/pull/2781) 2020-06-25 16:50:48 +01:00
policies Use @wordpress/base-styles and @automattic/color-studio as a base for our styles (https://github.com/woocommerce/woocommerce-blocks/pull/3300) 2020-10-22 12:40:32 +02:00
product-backorder-badge Cart block: show products on backorder (https://github.com/woocommerce/woocommerce-blocks/pull/2833) 2020-07-14 17:25:53 +02:00
product-badge Cart block: show products on backorder (https://github.com/woocommerce/woocommerce-blocks/pull/2833) 2020-07-14 17:25:53 +02:00
product-image Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
product-low-stock-badge Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
product-metadata Remove text color from Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2745) 2020-06-23 11:13:53 +01:00
product-name Merge ProductPrice atomic block and component (https://github.com/woocommerce/woocommerce-blocks/pull/3065) 2020-09-14 12:56:10 +02:00
product-sale-badge Update dependency wordpress-element to v2.17.1 (https://github.com/woocommerce/woocommerce-blocks/pull/3104) 2020-09-26 09:51:21 -04:00
product-summary Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
product-variation-data Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
return-to-cart-button Remove text color from Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2745) 2020-06-23 11:13:53 +01:00
shipping-calculator Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting (https://github.com/woocommerce/woocommerce-blocks/pull/3383) 2020-11-17 11:58:38 +00:00
shipping-location Enable and fix all jsdoc rule violations (https://github.com/woocommerce/woocommerce-blocks/pull/3168) 2020-09-20 19:54:08 -04:00
shipping-rates-control Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting (https://github.com/woocommerce/woocommerce-blocks/pull/3383) 2020-11-17 11:58:38 +00:00
totals Cart and checkout should respect the global "Hide shipping costs until an address is entered" setting (https://github.com/woocommerce/woocommerce-blocks/pull/3383) 2020-11-17 11:58:38 +00:00
index.js Merge ProductPrice atomic block and component (https://github.com/woocommerce/woocommerce-blocks/pull/3065) 2020-09-14 12:56:10 +02:00