Closed opr closed 2 months ago
@james-allan thanks a lot for the review, and for the confirmation and screenshots of each step, that's great.
I would prefer to get the WC Blocks PR merged first (just so we know that the approach is correct, and the highlightChecked
prop will be added to the component).
When is the next release after April 11?
Thanks!
When is the next release after April 11?
We release on the second Thursday of each month so May 9th will be the next scheduled release.
That's fantastic, thanks. WC 8.9 is slated for release on May 9th, so this works OK. I will see if we can't get it merged before 11th April though.
This PR is part of https://github.com/woocommerce/woocommerce/pull/46150 and should be merged in time for WC 8.9. Ideally WC Subscriptions will ship this patch before WC 8.9 is released.
Description
This PR adds new props to the
ShippingRatesControlPackage
used to display the recurring shipping packages. The purpose of them are to allow the selected method to be highlighted in the Checkout block.context
is whether the component is rendered in the Cart or Checkout block andhighlightChecked
determines if the checked option should be highlighted.This change needs to be made here as well as in WC Core because we default to not highlighting the selected item to preserve backward compatibility with any other consumers of the component.
How to test this PR
Product impact