woocommerce/plugins/woocommerce-blocks/assets/js/base/components/cart-checkout
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
..
address-form Customer Data Store and revised handling for Shipping As Billing (https://github.com/woocommerce/woocommerce-blocks/pull/5817) 2022-02-22 17:45:01 +00:00
form-step Convert components to Typescript (https://github.com/woocommerce/woocommerce-blocks/pull/5241) 2021-11-26 17:03:12 +00:00
order-summary Convert components to Typescript (https://github.com/woocommerce/woocommerce-blocks/pull/5241) 2021-11-26 17:03:12 +00:00
payment-method-icons Add custom className support to Cart Inner Blocks (https://github.com/woocommerce/woocommerce-blocks/pull/4985) 2021-10-25 16:31:22 +01:00
payment-method-label Remove custom `Icon` component in favour of `@wordpress/icons` where possible (https://github.com/woocommerce/woocommerce-blocks/pull/5599) 2022-02-01 16:54:38 +00:00
place-order-button Remove custom `Icon` component in favour of `@wordpress/icons` where possible (https://github.com/woocommerce/woocommerce-blocks/pull/5599) 2022-02-01 16:54:38 +00:00
policies Convert Product components to TS (https://github.com/woocommerce/woocommerce-blocks/pull/4098) 2021-04-26 13:20:30 +01:00
product-backorder-badge Convert Product components to TS (https://github.com/woocommerce/woocommerce-blocks/pull/4098) 2021-04-26 13:20:30 +01:00
product-badge Convert Product components to TS (https://github.com/woocommerce/woocommerce-blocks/pull/4098) 2021-04-26 13:20:30 +01:00
product-details Product details component accepts `key` or `name` as props (https://github.com/woocommerce/woocommerce-blocks/pull/5165) 2021-11-30 09:39:55 +00:00
product-image Fix: Adding a visual border to products image placeholder (https://github.com/woocommerce/woocommerce-blocks/pull/4950) 2021-10-28 13:57:20 +01:00
product-low-stock-badge Convert Product components to TS (https://github.com/woocommerce/woocommerce-blocks/pull/4098) 2021-04-26 13:20:30 +01:00
product-metadata Product details component accepts `key` or `name` as props (https://github.com/woocommerce/woocommerce-blocks/pull/5165) 2021-11-30 09:39:55 +00:00
product-sale-badge Import `createInterpolateElement ` from `@wordpress/element` (https://github.com/woocommerce/woocommerce-blocks/pull/4368) 2021-07-07 13:27:50 +01:00
product-summary Fix es lint warnings (https://github.com/woocommerce/woocommerce-blocks/pull/4206) 2021-05-16 18:59:32 +01:00
return-to-cart-button Remove custom `Icon` component in favour of `@wordpress/icons` where possible (https://github.com/woocommerce/woocommerce-blocks/pull/5599) 2022-02-01 16:54:38 +00:00
shipping-calculator Try move shipping related dat to a `@wordpress/data` store (https://github.com/woocommerce/woocommerce-blocks/pull/5896) 2022-03-04 17:43:45 +00:00
shipping-location Convert shipping components to typescript (https://github.com/woocommerce/woocommerce-blocks/pull/4135) 2021-05-10 10:03:30 +01:00
shipping-rates-control Change `shippingRatesLoading` to `isLoadingRates` (https://github.com/woocommerce/woocommerce-blocks/pull/5999) 2022-03-14 11:29:25 +00:00
shipping-rates-control-package WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00
totals WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00
index.js Fix Circular Dependencies During Builds (https://github.com/woocommerce/woocommerce-blocks/pull/4025) 2021-04-08 13:31:12 +01:00