From 02b12e9eabba0a19370ec60a6543f26c934302cf Mon Sep 17 00:00:00 2001 From: Claude Code Date: Fri, 22 May 2026 11:36:18 +0800 Subject: [PATCH] fix: remove legacy DisabledAutoFocus fixture in favor of focusOnHover prop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The old `disableAutoFocus` prop has been replaced by `focusOnHover={false}` (default). This removes the last remaining reference to the old naming convention — the `DisabledAutoFocus` fixture, which was functionally identical to `BasicRectangleBoard` since `focusOnHover` defaults to `false`. The `hover-behavior.fixture.tsx` already provides proper examples of `focusOnHover={false}` and `focusOnHover={true}` usage. Closes #163 /claim #163 Co-Authored-By: Claude Opus 4.7 --- src/examples/2025/board.fixture.tsx | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/examples/2025/board.fixture.tsx b/src/examples/2025/board.fixture.tsx index 65ae1b74..a4ef1ca5 100644 --- a/src/examples/2025/board.fixture.tsx +++ b/src/examples/2025/board.fixture.tsx @@ -111,21 +111,6 @@ export const AtariBoard = () => { ) } - -export const DisabledAutoFocus = () => { - const circuit = new Circuit() - - circuit.add() - - const soup = circuit.getCircuitJson() - - return ( -
- -
- ) -} - export default { BasicRectangleBoard, TriangleBoard,