a30615e2cb
* Create ShippingMethodsControl component * Hook up shipping methods to API * Add support for several packages * Add tests to useShippingRates * Fix shipping_rates property name * Only show the products list if there are several packages * Use <FormattedMonetaryAmount> to display shipping rate prices * Make 'country' optional in CartShippingRates * Make CartShippingRate API return currency info * Minor improvements * Fix shipping fields hidden in editor * Fix missing currency in Checkout shipping rates selector * Add links to issues in @todo comments * Improve ShippingRatesControl useEffect * Remove unnecessary tab * Remove unnecessary id in RadioControl * API: Add error when country is invalid * Debounce shipping rates API requests * 'Country key' -> 'Country code' * Don't display radio input when there is only one option * Add message when there are no results * Minor enhacements * Remove unnecessary Fragment * Simplify RadioControlOption export * Refactor 'renderOptions' and split it into several components * Prevent Card sidebar from taking too much width * Move country request check outside of the loop * Fix failing test |
||
---|---|---|
.. | ||
index.js | ||
option-layout.js | ||
option.js | ||
style.scss |