Commit 60ccc8ba8cf for woocommerce

commit 60ccc8ba8cff121da890bd04482d12376fc03a65
Author: Raluca Stan <ralucastn@gmail.com>
Date:   Fri May 29 10:34:06 2026 +0200

    Use public @wordpress/core-data export for Taxonomy type (#65386)

    Switch `Taxonomy` type imports in the product collection taxonomy
    controls from `@wordpress/core-data/src/entity-types` (internal path)
    to `@wordpress/core-data`, which has re-exported this entity type from
    its public entrypoint since version 7.x.

    Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

diff --git a/plugins/woocommerce/changelog/decouple-wp-internal-type-imports b/plugins/woocommerce/changelog/decouple-wp-internal-type-imports
new file mode 100644
index 00000000000..882207d0e0d
--- /dev/null
+++ b/plugins/woocommerce/changelog/decouple-wp-internal-type-imports
@@ -0,0 +1,4 @@
+Significance: patch
+Type: dev
+
+Switch `Taxonomy` type imports in product collection taxonomy controls from `@wordpress/core-data/src/entity-types` to the package's public root export.
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/index.tsx b/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/index.tsx
index 7c05a925418..06ec94aac8b 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/index.tsx
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/index.tsx
@@ -1,7 +1,6 @@
 /**
  * External dependencies
  */
-import { Taxonomy } from '@wordpress/core-data/src/entity-types';
 import { useMemo } from '@wordpress/element';
 import { useSelect } from '@wordpress/data';
 import { store as coreStore } from '@wordpress/core-data';
@@ -9,6 +8,7 @@ import ProductCategoryControl from '@woocommerce/editor-components/product-categ
 import ProductTagControl from '@woocommerce/editor-components/product-tag-control';
 import ProductBrandControl from '@woocommerce/editor-components/product-brand-control';
 import type { SearchListItem } from '@woocommerce/editor-components/search-list-control/types';
+import type { Taxonomy } from '@wordpress/core-data';
 import {
 	// eslint-disable-next-line @wordpress/no-unsafe-wp-apis
 	__experimentalToolsPanelItem as ToolsPanelItem,
diff --git a/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/taxonomy-item.tsx b/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/taxonomy-item.tsx
index 7598b07b3b3..3484f1442ea 100644
--- a/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/taxonomy-item.tsx
+++ b/plugins/woocommerce/client/blocks/assets/js/blocks/product-collection/edit/inspector-controls/taxonomy-controls/taxonomy-item.tsx
@@ -7,7 +7,7 @@ import { useState } from '@wordpress/element';
 import { useDebounce } from '@wordpress/compose';
 import { FormTokenField } from '@wordpress/components';
 import { decodeEntities } from '@wordpress/html-entities';
-import type { Taxonomy } from '@wordpress/core-data/src/entity-types';
+import type { Taxonomy } from '@wordpress/core-data';

 type Term = {
 	id: number;