feat: custom-radio + file-viewer (integration build) - #89
Conversation
✅ Deploy Preview for kleros-v2-ui-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Caution Review failedPull request was closed or merged during review WalkthroughThis PR introduces two new UI component families: a FileViewer component for safely rendering remote documents with Markdown and SVG support, and a CustomRadio form component with flexible composition options. It also extracts a reusable RadioIndicator component and refactors the existing RadioGroup to use it, adds supporting Storybook stories demonstrating both features, and updates package dependencies and exports. ChangesFileViewer and CustomRadio Components with Form Integration
🎯 3 (Moderate) | ⏱️ ~25 minutes
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
|
Closing — this is an integration branch for local testing only, not for merge. Devs can check it out directly: |



This branch exists only to produce a combined `yarn build` that includes both feature sets at once. It is the merge of two independently-reviewed branches:
Do not merge this into `main`. Merge the individual PRs separately so each feature keeps its own review history. This PR is a draft for building/testing the fused output.
What's included
CustomRadio,CustomRadioItem,RadioIndicator+ sharedradio-indicatorextraction; refactoredRadio.FileViewerwithmarkdown-viewer/svg-viewer.src/lib/index.tsmerged with no conflict (exports added in separate regions).yarn install+yarn buildpass;dist/emits artifacts for both features.🤖 Generated with Claude Code
PR-Codex overview
This PR focuses on updating the
@kleros/ui-components-librarywith new features, enhancements, and dependency updates, including the introduction of a newFileViewercomponent and improvements to existing components likeCustomRadioandRadioIndicator.Detailed summary
package.jsonfrom3.7.0to3.8.0.FileViewercomponent insrc/lib/file-viewer.SvgDocRendererandMarkdownDocRendererfor rendering SVG and Markdown.CustomRadioandRadioIndicatorcomponents..gitignoreto include*.tgzfiles.@cyntler/react-doc-viewerandreact-markdown.Summary by CodeRabbit
New Features
Chores