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

Move Panel to components package #11698

Merged
merged 2 commits into from
Nov 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion packages/checkout/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
1 change: 1 addition & 0 deletions packages/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading