diff --git a/packages/pointers-react/CHANGELOG.md b/packages/pointers-react/CHANGELOG.md index ead9b07d6b..f5b68198b7 100644 --- a/packages/pointers-react/CHANGELOG.md +++ b/packages/pointers-react/CHANGELOG.md @@ -13,6 +13,9 @@ root [`CHANGELOG.md`](../../CHANGELOG.md). from `@ethdebug/pointers`. Import `Raw` and `Machine` from `@ethdebug/common`. `createMockState`, `formatData` and `formatDataShort` take and give `Raw` values. +- **Breaking:** the package no longer re-exports the `Pointer` type from + `@ethdebug/format` or the `Cursor` type from `@ethdebug/pointers`. + Import them from those packages. - The `react` and `react-dom` peer ranges now include React 19 (`^18.0.0 || ^19.0.0`) ([#374]). The components' return types now read `React.JSX.Element`, which both React 18 and 19 types define; diff --git a/packages/pointers-react/src/index.ts b/packages/pointers-react/src/index.ts index d542371e27..dd2123bcc1 100644 --- a/packages/pointers-react/src/index.ts +++ b/packages/pointers-react/src/index.ts @@ -38,10 +38,6 @@ export { type MockStateSpec, } from "#utils/mockState"; -// Re-export types from dependencies for convenience -export type { Pointer } from "@ethdebug/format"; -export type { Cursor } from "@ethdebug/pointers"; - // CSS - the package ships stylesheets under dist/src/components/. // Import variables.css first (the component stylesheets use its // --pointers-* custom properties without fallbacks), then whichever