@typai/ui
v0.0.0-beta.0
Published
Internal unstable DOM UI utilities for typai adapters.
Downloads
55
Readme
@typai/ui
Internal framework-free UI utilities for Typai adapters.
This package is internal and unstable. It is packed only because public Typai packages currently depend on it; it is not a public UI API promise. It exists to reduce repeated popover, settings, debug, accessibility, and style logic across Typai adapters.
Scope
- DOM utilities only.
- No React dependency.
- No CodeMirror dependency.
- No adapter-specific dependency.
- No remote completion UI.
- No ghost text UI.
- No next-edit logging.
Utilities
- Correction popover for blue applied corrections.
- Spelling popover for red unresolved spelling issues.
- Settings panel for local deterministic correction settings.
- Debug table for local event summaries and aggregate counts.
- Polite live region helper.
- Focus and Escape-key helpers.
- Shared
typai-*CSS string and style injection helpers.
Adapters can use these utilities when migration is safe. Existing adapter behavior remains the source of truth until each adapter opts in.
