Skip to content

feat(storybook): add XML config generator crate from component schemas#73

Open
geoffjay wants to merge 1 commit into
issue-50from
issue-51
Open

feat(storybook): add XML config generator crate from component schemas#73
geoffjay wants to merge 1 commit into
issue-50from
issue-51

Conversation

@geoffjay
Copy link
Copy Markdown
Owner

Closes #51

Summary

  • New crate crates/nemo-storybook-generator/ with both a library API and a standalone binary
  • generate_storybook_xml() creates a complete Nemo XML config by reading ComponentRegistry
  • Groups all components by category (Layout, Display, Input, Data, Feedback, Navigation, Charts)
  • Each component page includes: title, description, property table, and Preview/XML tab pair
  • Property table data is generated from ConfigSchema (name, type, default, required)
  • Standalone binary accepts --output <path> flag, defaults to stdout
  • Added to workspace Cargo.toml members and dependencies

Part of epic #9.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@geoffjay
Copy link
Copy Markdown
Owner Author

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