Skip to content

feat(ui): add component metadata contracts - #52

Merged
artiphishle merged 6 commits into
mainfrom
feat/ui-component-metadata-contracts
May 19, 2026
Merged

feat(ui): add component metadata contracts#52
artiphishle merged 6 commits into
mainfrom
feat/ui-component-metadata-contracts

Conversation

@artiphishle

Copy link
Copy Markdown
Contributor

Summary

Implements #46.

Adds provider-neutral UI component metadata contracts for:

  • component categories
  • component prop schemas and prop values
  • array item prop schemas
  • blueprints and default props
  • i18n metadata
  • event metadata and event payload field metadata
  • slot metadata
  • component metadata registries
  • package-level component manifests for extension packages

Also adds:

  • root src/index.ts export
  • ./ui package subpath export
  • serialization tests for component metadata, registries, and extension package manifests
  • minor changeset

Scope intentionally excluded

Verification

I could not run local validation from this session because the environment cannot reliably clone/resolve GitHub repositories.

Please run before merge:

bun install
bun run build
bun run lint:fix
bun run test

Notes

The new metadata contracts are type-only and independent from React, React Native, ZORA, Surface, Studio, and Runtime implementations.

@artiphishle
artiphishle marked this pull request as ready for review May 19, 2026 18:32
@artiphishle
artiphishle merged commit d637fdc into main May 19, 2026
1 check passed
@artiphishle
artiphishle deleted the feat/ui-component-metadata-contracts branch May 19, 2026 18:33
@artiphishle artiphishle self-assigned this May 19, 2026
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