Introduces a provider that owns the palette open state and installs a single document-level Cmd+K / Ctrl+K listener. Replaces the Phase 8 pattern where CmdKButton synthesized KeyboardEvents and CommandPalette attached its own listener inside a useEffect. Used by CmdKButton (setOpen(true)), CommandPalette (open/setOpen), and Layout's onSearch wiring. Tests cover direct toggle, provider-level keyboard listener (both metaKey and ctrlKey), and the missing-provider throw path. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| components.json | ||
| index.html | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
@paperclipai/ui
Published static assets for the Paperclip board UI.
What gets published
The npm package contains the production build under dist/. It does not ship the UI source tree or workspace-only dependencies.
Typical use
Install the package, then serve or copy the built files from node_modules/@paperclipai/ui/dist.