Skip to content

feat(react): expose reactive selection capture state#331

Merged
vamgan merged 1 commit into
mainfrom
feat/react-selection-state
Jun 7, 2026
Merged

feat(react): expose reactive selection capture state#331
vamgan merged 1 commit into
mainfrom
feat/react-selection-state

Conversation

@vamgan

@vamgan vamgan commented Jun 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add selectionState to React region and text selection capture hooks
  • Keep selectionState in sync when selected context is pinned, cleared, cancelled, or destroyed
  • Document using selectionState for selected-context confirmation and inline composer UI

Tests

  • npm --workspace packages/react test -- --run
  • npm run build --workspace packages/react

No version bump: this is a small API addition and not a release-sized batch.

@vercel

vercel Bot commented Jun 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
askable Ready Ready Preview, Comment Jun 7, 2026 11:01pm

@pkg-pr-new

pkg-pr-new Bot commented Jun 7, 2026

Copy link
Copy Markdown

Open in StackBlitz

@askable-ui/context

npm i https://pkg.pr.new/@askable-ui/context@331

@askable-ui/core

npm i https://pkg.pr.new/@askable-ui/core@331

@askable-ui/create-app

npm i https://pkg.pr.new/@askable-ui/create-app@331

@askable-ui/mcp

npm i https://pkg.pr.new/@askable-ui/mcp@331

@askable-ui/react

npm i https://pkg.pr.new/@askable-ui/react@331

@askable-ui/react-native

npm i https://pkg.pr.new/@askable-ui/react-native@331

@askable-ui/svelte

npm i https://pkg.pr.new/@askable-ui/svelte@331

@askable-ui/vue

npm i https://pkg.pr.new/@askable-ui/vue@331

commit: 543b7e5

@vamgan vamgan merged commit 6076fa1 into main Jun 7, 2026
9 checks passed
@vamgan vamgan deleted the feat/react-selection-state branch June 7, 2026 23:03
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