woocommerce/plugins/woocommerce-blocks/assets/js/blocks/cart
Alex Florisca 3089b1888e
Refactor the Order Summary of the Cart & Checkout blocks (#46386)
* Added new OrderSummaryTotals Block

* Refactor order summary and totals block to contain the inner children

* Add migration for Order Summary Block

* Migration to handle older order summary without totals block

* Remove empty lines from order summary migration

* block editor migration for order summary

* Fix isEligible function

* Update Totals title

* Add checkout totals

* Remove echos and dies

* replace individual checkout blocks with totals block

* Change parent of totals inner blocks and add totals block to innerBlockAreas map

* change CART_ORDER_SUMMARY_TOTALS to CHECKOUT_ORDER_SUMMARY_TOTALS

* Fix linting issues

* fix lint warnings

* Add  changelog

* Lock movement of the taxes block in attributes.tsx

* Less indentation in the render function of CartOrderSummaryBlock and CheckoutOrderSummaryBlock

* Rename webpack chunkName for order summary totals
2024-04-17 10:28:30 +01:00
..
cart-cross-sells-product-list Show rating stars for the cross-sells products (#43069) 2023-12-28 16:20:07 +07:00
inner-blocks Refactor the Order Summary of the Cart & Checkout blocks (#46386) 2024-04-17 10:28:30 +01:00
test Remove Shipping calculator settings and link to the WooCommerce admin settings (https://github.com/woocommerce/woocommerce-blocks/pull/11184) 2023-10-11 15:09:43 +01:00
attributes.js Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
block.js Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
context.ts WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00
edit.js Fixed Blocks Linting Errors (#42727) 2023-12-12 15:05:20 -08:00
editor.scss Add dismissible compatibility notice to sidebar when editing Cart and Checkout (https://github.com/woocommerce/woocommerce-blocks/pull/6869) 2022-08-12 15:23:08 +01:00
frontend.js 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 Update Blocks Text Domain 2023-12-09 05:44:54 -08:00
style.scss Adjust spacing in/between elements on the Cart and Checkout block pages (#44160) 2024-02-17 01:50:11 +04:00
types.ts WIP: Add Inner blocks to order summary (https://github.com/woocommerce/woocommerce-blocks/pull/6065) 2022-04-01 15:45:18 +02:00