woocommerce/plugins/woocommerce-blocks/assets/js/previews
Mike Jolley eb196226d8 WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065)
* Sub/Total/Fee inner blocks

* Row blocks within the inner block

* Update icons

* Resolve stying issues

* Remove old block

* Pin totals row

* Locking logic update

* Heading inner block

* Refactor where inner blocks are defined

* Add todos

* Todo for Consider deprecating OrderMetaSlotFill and DiscountSlotFill in favour of inner block areas.

* Improve frontend registration of components using new entrypoint

* Experiment- external block context

* Revert "Experiment- external block context"

This reverts commit 4b75668ec7eb62f065c6a488cd942a666e26204f.

* Duplicate inner blocks to avoid conflicts with context

* Remove todo

* Rename block dir

* Some test fixes

* Fix import

* fix import

* linting

* Remove unused attributes

* Optional classname

* fix coupons import

* fix shipping mocks

* Styling

* Fix selectors in e2e tests

* Add back the wc-block-components-totals-wrapper class that was used for each segment in the totals Order summary

Because, removing them was:
-  a breaking change for the old structure
- was making it harder to target the inner blocks. Before the class was used to target each segment
- it was making the wc-block-components-totals-item behave as a child or parent depending on the inner block, inconsitency

* Reuse the TotalsWrapper component for C& C blocks inner blocks

This component was removed in this PR, but  we wrap components in the Cart and Checkout sidebar in a TotalsWrapper. This will ensure consistent spacing and borders are applied to items in the sidebar.

Co-authored-by: Nadir Seghir <nadir.seghir@gmail.com>
Co-authored-by: Raluca Stan <ralucastn@gmail.com>
2022-04-01 15:45:18 +02:00
..
cart.ts WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00
categories.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
grid-block.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
index.js Use real previews for the Cart and Checkout blocks (https://github.com/woocommerce/woocommerce-blocks/pull/2992) 2020-08-13 14:24:51 +01:00
products.js fix: Category List element not visible on all products item edit (https://github.com/woocommerce/woocommerce-blocks/pull/5688) 2022-02-02 12:57:52 +01:00
reviews.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00
saved-payment-methods.js Remove Built-in Stripe Integration in favour of Stripe Extension (https://github.com/woocommerce/woocommerce-blocks/pull/5449) 2022-01-11 10:53:38 +00:00
shipping-rates.ts Convert shipping components to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/4135) 2021-05-10 10:03:30 +01:00
single-product-block.js Audit and Move Image Assets, update error state (https://github.com/woocommerce/woocommerce-blocks/pull/4389) 2021-06-29 15:04:24 +01:00