feat(registry): publish key-value-editor-utils as a registry:lib item
KO
1d ago+146+146+012345678901234567890123456789-135-135-012345678901234567890123456789
What and why
Step 2 of the native plan on #132. This adds @drift-ui/key-value-editor-utils, a registry:lib item with just lib/key-value-editor-utils.ts. The React Native key-value-editor in drift-ui/native will list it in registryDependencies and install the same parsing and duplicate logic the web version uses, so there's one copy of it.
The web key-value-editor item doesn't change. It still ships the lib file inline, so web installs behave exactly as before.
I've only added the one item the pilot needs. Others get their own item when a native port needs them.
Stacked on #142. The item name depends on the rename, so the first two commits here are #142's. Merge #142 first and this diff drops to the registry.json entry.
Refs #132
Checklist
-
bun run typecheck,bun run lintandbun run testpass - Tests cover the change, including keyboard interaction for UI components
- New components are added to
registry.json,lib/catalog.ts,components/docs/preview-registry.tsxandlib/agent-docs/component-usage.ts, each at its alphabetical position - Checked in light and dark mode