This website requires JavaScript.
Explore
Help
Sign In
Steve-Dee-Designs
/
woocommerce
mirror of
https://github.com/woocommerce/woocommerce.git
Watch
1
Star
0
Fork
You've already forked woocommerce
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
7073e3bb5f
woocommerce
/
plugins
/
woocommerce-blocks
/
assets
/
js
/
base
/
context
/
hooks
/
shipping
/
index.js
3 lines
89 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Add new hooks related to payment methods and checkout and remove obsolete. (https://github.com/woocommerce/woocommerce-blocks/pull/1929) * add various hooks and improve hooks folder structure - Also restructures hooks directory to make things a bit more organized - Add useStoreOrder placeholder (followed up in future pull) - Add useBillingData hook. * implement usePaymentMethodInterface hook in payment method components * remove obsolete hooks and implement new checkout context hooks - add useCheckoutSubmit which exposes checkout submit button interface - add useCheckoutRedirectUrl which exposes checkout redirect url interface * add alias for `@woocommerce/base-utils` to jest config * use consistent variable names for payment method id
2020-03-11 10:50:12 +00:00
export
*
from
'./use-select-shipping-rate'
;
Subscriptions Shipping Packages Integration Points (https://github.com/woocommerce/woocommerce-blocks/pull/3687) * Expose schemas * Accept strings for select shipping rate * strings are allowed * Refactor shipping package to hold it's own state * Add extension data to cart hook * Progress but state is broken * Move state back to hook * Progress but state is broken * use shipping hook updates * Fix re-render issue * hide x1 * Shipping slot fill * Working slot fills * Do not export package * Update extend usage in unit tests * update mock test data * Package per slotfill * Resolved merge conflicts * Update assets/js/blocks/cart-checkout/subscriptions-integration.js Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com> * rename slot * deriveSelectedRates return doc * useCallback in throwError * final class ExtendRestApi * spacing * Move shipping rate selection to package level * remove const for counts * Remove schemas from extend * unused use * move to a single fill for packages * add todos * move subs code * fix extra extensions Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
2021-01-28 14:24:01 +00:00
export
*
from
'./use-select-shipping-rates'
;