Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Move the totals components to the components package #11687

Closed
opr opened this issue Nov 8, 2023 · 0 comments · Fixed by #11773
Closed

Move the totals components to the components package #11687

opr opened this issue Nov 8, 2023 · 0 comments · Fixed by #11773
Assignees
Labels
category: extensibility Work involving adding or updating extensibility. Useful to combine with other scopes impacted. focus: components Work that introduces new or updates existing components. type: enhancement The issue is a request for an enhancement.

Comments

@opr
Copy link
Contributor

opr commented Nov 8, 2023

Move the TotalsWrapper component and the totals folder and all the components inside it (TotalsFees, TotalsItem, Subtotal, TotalsTaxes) in the @woocommerce/blocks-checkout package into the @woocommerce/blocks-components package.

Note, these should still be exported from @woocommerce/blocks-checkout too but the code should live in the components package.

You should be able to get all of the existing totals components and the TotalsWrapper from window.wc.blocksCheckout and window.wc.blocksComponents

@opr opr added type: enhancement The issue is a request for an enhancement. category: extensibility Work involving adding or updating extensibility. Useful to combine with other scopes impacted. focus: components Work that introduces new or updates existing components. labels Nov 8, 2023
@opr opr self-assigned this Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
category: extensibility Work involving adding or updating extensibility. Useful to combine with other scopes impacted. focus: components Work that introduces new or updates existing components. type: enhancement The issue is a request for an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant