Skip to content

feat: add API reference and attribution note to component pages#98

Merged
starc007 merged 1 commit into
mainfrom
feat/api-reference
Jul 7, 2026
Merged

feat: add API reference and attribution note to component pages#98
starc007 merged 1 commit into
mainfrom
feat/api-reference

Conversation

@starc007

@starc007 starc007 commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Auto-generate a props/API reference table per component (and per variant, placed right under each variant's own tabs) via react-docgen-typescript over a single shared ts.Program.
  • Filters out native/framer-motion passthrough attributes not declared by the component itself; always keeps className since every beUI component supports it.
  • Adds a "Keep in mind" attribution note at the bottom of every component page.

Test plan

  • bun run check (typecheck + lint + registry validation)
  • Standalone extraction smoke test across all 42 registry components / 58 unique files, zero errors

Auto-extract each component's own props via react-docgen-typescript
(shared ts.Program, filters out native/motion passthrough attrs) and
render a table per component/variant. Also adds a "Keep in mind"
attribution note at the bottom of every component page.
@starc007 starc007 merged commit d99bdae into main Jul 7, 2026
2 checks passed
@starc007 starc007 deleted the feat/api-reference branch July 7, 2026 11:24
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