36c1bb7361
* Provider progress * Revert nonce change for debugging * Working emitters * Fix dismiss link alignment in notices * Fix button state and double adds * Remove old context file * Add type defs * Fix context name * Leftovers from merge * Hooks up the variation picker to cart context * Group event emitters in context * Fix external product display * Pass product through to VariationAttributes * Pass around dispatchers * Update assets/js/base/context/add-to-cart-form/form-state/reducer.js Co-authored-by: Darren Ethier <darren@roughsmootheng.in> * Update assets/js/atomic/blocks/product-elements/add-to-cart/product-types/variable/variation-attributes/attribute-select-control.js Co-authored-by: Darren Ethier <darren@roughsmootheng.in> * Update assets/js/base/context/add-to-cart-form/form-state/reducer.js Co-authored-by: Darren Ethier <darren@roughsmootheng.in> * remove placeholder comment * content->container * Clarify variation method comment * update comment * Switch nesting of providers * Variation attribute utils test coverage * If nothing is selected yet, just return all variations. * Comments to explain loops * Use refs to avoid recalculation of attributes on every render * Update memo usage * typo * move mock data to test file * Switch to useShallowEqual * trigger cart fragment refresh after add to cart * Decode option entities Co-authored-by: Darren Ethier <darren@roughsmootheng.in> |
||
---|---|---|
.. | ||
blocks | ||
utils |