woocommerce/plugins/woocommerce-blocks/packages/checkout
Seghir Nadir 30c2079af4 Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835)
* Add filter to extend product price

* Remove code targeting WC Subscriptions

* Rename filter

* Use extendibility API instead of filters

* Remove __EXPERIMENTAL_CART_ITEM_PRICE_FILTER from docs

* throw errors on validation

* Don't catch filter errors for admins

* Add tests

* wrap filter calls in memo

* pass extensions as top level prop

* abstract errors

* add jsdoc

* update tests

* review

* turn __experimentalApplyCheckoutFilter into a hook and move useMemo inside it

* revert name

* wrap getCheckoutFilters in useMemo

* refactor filter function so memozation is done inside components

* unify true instance

* fix rebase

Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com>
2021-02-17 14:01:20 +01:00
..
error-boundary Create @woocommerce/checkout to export components to a global (https://github.com/woocommerce/woocommerce-blocks/pull/3654) 2021-01-07 13:02:21 +01:00
order-meta Add guards to useSlot and move shared code to a new file. (https://github.com/woocommerce/woocommerce-blocks/pull/3772) 2021-02-08 12:37:55 +01:00
order-shipping-packages Add guards to useSlot and move shared code to a new file. (https://github.com/woocommerce/woocommerce-blocks/pull/3772) 2021-02-08 12:37:55 +01:00
panel Update Cart and Checkout sidebar design (https://github.com/woocommerce/woocommerce-blocks/pull/3797) 2021-02-09 09:10:45 +01:00
registry Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835) 2021-02-17 14:01:20 +01:00
shipping Use cart item key instead of name as the React key in Package (https://github.com/woocommerce/woocommerce-blocks/pull/3814) 2021-02-10 12:37:58 +01:00
slot Add guards to useSlot and move shared code to a new file. (https://github.com/woocommerce/woocommerce-blocks/pull/3772) 2021-02-08 12:37:55 +01:00
totals Update Cart and Checkout sidebar design (https://github.com/woocommerce/woocommerce-blocks/pull/3797) 2021-02-09 09:10:45 +01:00
utils Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835) 2021-02-17 14:01:20 +01:00
index.js Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835) 2021-02-17 14:01:20 +01:00
style.scss Create @woocommerce/checkout to export components to a global (https://github.com/woocommerce/woocommerce-blocks/pull/3654) 2021-01-07 13:02:21 +01:00