feat(RadioGroup): add custom item slots#6744
Conversation
|
Hey @benjamincanac, hope you're doing well! I didn't add a version badge to the title of the example I added; is that something you handle when preparing your release? Or is it something I could add by myself to make your review easier to validate? Let me know. Thanks for your review :) |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds optional per-item and shared content slots to Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
|
I added the soon badge you suggested. Let me know if I could do anything else. Thank you :) |
❓ Type of change
📚 Description
This PR adds support for custom content slots in
URadioGroupitems.Developers can now define a
slotproperty on an item to replace its label and description with custom content. A genericcontentslot is also available for items without a custom slot.The existing public slot types for
legend,label, anddescriptionremain unchanged. Documentation, an example, and component tests have been added.📝 Checklist