diff --git a/assets/js/base/components/cart-checkout/totals/discount/index.tsx b/assets/js/base/components/cart-checkout/totals/discount/index.tsx index 4909c5ecd59..1f6cedc75d6 100644 --- a/assets/js/base/components/cart-checkout/totals/discount/index.tsx +++ b/assets/js/base/components/cart-checkout/totals/discount/index.tsx @@ -3,7 +3,7 @@ */ import { __, sprintf } from '@wordpress/i18n'; import LoadingMask from '@woocommerce/base-components/loading-mask'; -import { RemovableChip } from '@woocommerce/base-components/chip'; +import { RemovableChip } from '@woocommerce/blocks-components'; import { applyCheckoutFilter, TotalsItem } from '@woocommerce/blocks-checkout'; import { getSetting } from '@woocommerce/settings'; import { diff --git a/assets/js/base/components/index.ts b/assets/js/base/components/index.ts index 203121ebbbb..8326cd1bccd 100644 --- a/assets/js/base/components/index.ts +++ b/assets/js/base/components/index.ts @@ -1,7 +1,6 @@ export * from './block-error-boundary'; export * from './button'; export * from './cart-checkout'; -export * from './chip'; export * from './combobox'; export * from './country-input'; export * from './drawer'; diff --git a/assets/js/blocks/active-filters/utils.tsx b/assets/js/blocks/active-filters/utils.tsx index c35be234a14..fc11d5f441e 100644 --- a/assets/js/blocks/active-filters/utils.tsx +++ b/assets/js/blocks/active-filters/utils.tsx @@ -3,7 +3,7 @@ */ import { __, sprintf } from '@wordpress/i18n'; import { formatPrice } from '@woocommerce/price-format'; -import { RemovableChip } from '@woocommerce/base-components/chip'; +import { RemovableChip } from '@woocommerce/blocks-components'; import Label from '@woocommerce/base-components/label'; import { getQueryArgs, addQueryArgs, removeQueryArgs } from '@wordpress/url'; import { changeUrl } from '@woocommerce/utils'; diff --git a/assets/js/base/components/chip/chip.tsx b/packages/components/chip/chip.tsx similarity index 100% rename from assets/js/base/components/chip/chip.tsx rename to packages/components/chip/chip.tsx diff --git a/assets/js/base/components/chip/index.ts b/packages/components/chip/index.ts similarity index 100% rename from assets/js/base/components/chip/index.ts rename to packages/components/chip/index.ts diff --git a/assets/js/base/components/chip/removable-chip.tsx b/packages/components/chip/removable-chip.tsx similarity index 100% rename from assets/js/base/components/chip/removable-chip.tsx rename to packages/components/chip/removable-chip.tsx diff --git a/assets/js/base/components/chip/stories/chip.stories.tsx b/packages/components/chip/stories/chip.stories.tsx similarity index 100% rename from assets/js/base/components/chip/stories/chip.stories.tsx rename to packages/components/chip/stories/chip.stories.tsx diff --git a/assets/js/base/components/chip/stories/removable-chip.stories.tsx b/packages/components/chip/stories/removable-chip.stories.tsx similarity index 100% rename from assets/js/base/components/chip/stories/removable-chip.stories.tsx rename to packages/components/chip/stories/removable-chip.stories.tsx diff --git a/assets/js/base/components/chip/style.scss b/packages/components/chip/style.scss similarity index 100% rename from assets/js/base/components/chip/style.scss rename to packages/components/chip/style.scss diff --git a/assets/js/base/components/chip/test/__snapshots__/index.js.snap b/packages/components/chip/test/__snapshots__/index.js.snap similarity index 100% rename from assets/js/base/components/chip/test/__snapshots__/index.js.snap rename to packages/components/chip/test/__snapshots__/index.js.snap diff --git a/assets/js/base/components/chip/test/index.js b/packages/components/chip/test/index.js similarity index 100% rename from assets/js/base/components/chip/test/index.js rename to packages/components/chip/test/index.js diff --git a/packages/components/index.js b/packages/components/index.js index 4293e92612b..599ab85acc2 100644 --- a/packages/components/index.js +++ b/packages/components/index.js @@ -1 +1,2 @@ export { default as CheckboxList } from './checkbox-list'; +export { Chip, RemovableChip } from './chip';