diff --git a/assets/js/base/components/cart-checkout/order-summary/index.tsx b/assets/js/base/components/cart-checkout/order-summary/index.tsx index 92ed94c4271..2138ac7ed7b 100644 --- a/assets/js/base/components/cart-checkout/order-summary/index.tsx +++ b/assets/js/base/components/cart-checkout/order-summary/index.tsx @@ -3,7 +3,7 @@ */ import { __ } from '@wordpress/i18n'; import { useContainerWidthContext } from '@woocommerce/base-context'; -import { Panel } from '@woocommerce/blocks-checkout'; +import { Panel } from '@woocommerce/blocks-components'; import type { CartItem } from '@woocommerce/types'; /** diff --git a/assets/js/base/components/cart-checkout/shipping-rates-control-package/index.tsx b/assets/js/base/components/cart-checkout/shipping-rates-control-package/index.tsx index ab373d2ca75..bcd00395ae4 100644 --- a/assets/js/base/components/cart-checkout/shipping-rates-control-package/index.tsx +++ b/assets/js/base/components/cart-checkout/shipping-rates-control-package/index.tsx @@ -4,8 +4,7 @@ import classNames from 'classnames'; import { _n, sprintf } from '@wordpress/i18n'; import { decodeEntities } from '@wordpress/html-entities'; -import { Panel } from '@woocommerce/blocks-checkout'; -import { Label } from '@woocommerce/blocks-components'; +import { Label, Panel } from '@woocommerce/blocks-components'; import { useCallback } from '@wordpress/element'; import { useShippingData } from '@woocommerce/base-context/hooks'; import { sanitizeHTML } from '@woocommerce/utils'; diff --git a/packages/checkout/components/index.ts b/packages/checkout/components/index.ts index 198e4677359..2fed7d618bc 100644 --- a/packages/checkout/components/index.ts +++ b/packages/checkout/components/index.ts @@ -4,7 +4,7 @@ export { default as ExperimentalOrderMeta } from './order-meta'; export { default as ExperimentalDiscountsMeta } from './discounts-meta'; export { default as ExperimentalOrderShippingPackages } from './order-shipping-packages'; export { default as ExperimentalOrderLocalPickupPackages } from './order-local-pickup-packages'; -export { default as Panel } from './panel'; +export { default as Panel } from '../../components/panel'; export { default as Button } from './button'; export { default as Label } from './label'; export { default as StoreNoticesContainer } from './store-notices-container'; diff --git a/packages/components/index.ts b/packages/components/index.ts index 5d4730bf63a..591010a1280 100644 --- a/packages/components/index.ts +++ b/packages/components/index.ts @@ -3,6 +3,7 @@ export { Chip, RemovableChip } from './chip'; export { default as FormStep } from './form-step'; export { default as FormattedMonetaryAmount } from './formatted-monetary-amount'; export { default as Label } from './label'; +export { default as Panel } from './panel'; export { default as RadioControl, RadioControlOption, diff --git a/packages/checkout/components/panel/index.tsx b/packages/components/panel/index.tsx similarity index 100% rename from packages/checkout/components/panel/index.tsx rename to packages/components/panel/index.tsx diff --git a/packages/checkout/components/panel/style.scss b/packages/components/panel/style.scss similarity index 100% rename from packages/checkout/components/panel/style.scss rename to packages/components/panel/style.scss