Skip to content

Add Anchor behavior grid-based editor and stories#8336

Open
LuniMoon wants to merge 7 commits intomasterfrom
AlignmentGrid
Open

Add Anchor behavior grid-based editor and stories#8336
LuniMoon wants to merge 7 commits intomasterfrom
AlignmentGrid

Conversation

@LuniMoon
Copy link
Collaborator

Add grid-based selection component for Anchor behavior editor.

LuniMoon and others added 3 commits February 26, 2026 12:23
Add stories for both the compact and full versions of the Anchor
behavior editor, along with Anchor behavior test data in TestProject.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… fixtures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@LuniMoon LuniMoon requested a review from 4ian as a code owner February 27, 2026 11:30
LuniMoon and others added 4 commits February 27, 2026 12:40
Explicitly type loop variables as number to avoid incompatible-type
error when Flow infers the union type 0 | 1 | 2 from GridRect fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add type annotations to the rect and proportional parameters in the
applyGridRect useCallback, which Flow cannot infer from local context.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Changing the component from grid based to input/line based.
Fixing spacing issues in the component to match the original design.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant