woocommerce/plugins/woocommerce-blocks/assets/js
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
..
atomic add price package (https://github.com/woocommerce/woocommerce-blocks/pull/3790) 2021-02-04 15:30:28 +00:00
base Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835) 2021-02-17 14:01:20 +01:00
blocks Enhance checkout filter system. (https://github.com/woocommerce/woocommerce-blocks/pull/3835) 2021-02-17 14:01:20 +01:00
blocks-registry Use default "features" values for payment methods. (https://github.com/woocommerce/woocommerce-blocks/pull/3796) 2021-02-05 15:31:34 +00:00
data Decode fees name so special characters are rendered correctly (https://github.com/woocommerce/woocommerce-blocks/pull/3721) 2021-02-04 18:05:47 +01:00
editor-components Add "you don't need lodash/underscore" eslint rule (https://github.com/woocommerce/woocommerce-blocks/pull/3634) 2021-01-05 08:58:18 -05:00
filters Update minimum required WP version to 5.4 (https://github.com/woocommerce/woocommerce-blocks/pull/3537) 2020-12-10 15:39:04 +01:00
hocs Add "you don't need lodash/underscore" eslint rule (https://github.com/woocommerce/woocommerce-blocks/pull/3634) 2021-01-05 08:58:18 -05:00
icons Add subtotal to cart and checkout and update the CartLineItem component with new styles (https://github.com/woocommerce/woocommerce-blocks/pull/3734) 2021-01-27 11:34:59 +00:00
legacy Rename js/components to js/editor-components (https://github.com/woocommerce/woocommerce-blocks/pull/3069) 2020-09-02 10:21:46 +02:00
middleware Improve nonce handling by rejecting stale values (https://github.com/woocommerce/woocommerce-blocks/pull/3770) 2021-02-01 17:09:18 +00:00
module_replacements Add @woocommerce/eslint-plugin dependency (https://github.com/woocommerce/woocommerce-blocks/pull/3115) 2020-09-07 13:31:10 -04:00
payment-method-extensions/payment-methods Introduce payment gateway feature check for cart content. (https://github.com/woocommerce/woocommerce-blocks/pull/3719) 2021-01-29 07:28:44 +01:00
previews Support for multiple fee rows in the cart (https://github.com/woocommerce/woocommerce-blocks/pull/3678) 2021-01-13 16:57:42 +00:00
settings Login via account page (https://github.com/woocommerce/woocommerce-blocks/pull/3844) 2021-02-15 16:46:02 +00:00
shared ⚛️ Introduce Product Element Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2871) 2020-07-22 13:20:54 +01:00
type-defs Update checkout payment methods design. (https://github.com/woocommerce/woocommerce-blocks/pull/3439) 2021-02-02 05:51:47 +01:00
utils Add @woocommerce/eslint-plugin dependency (https://github.com/woocommerce/woocommerce-blocks/pull/3115) 2020-09-07 13:31:10 -04:00
index.js ⚛️ Introduce Product Element Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2871) 2020-07-22 13:20:54 +01:00