Repository navigation
feat(file-upload,file-dropzone): rename reject prop and switch max size to bytes #889 - #949
Conversation
…ze to bytes #889 BREAKING CHANGE: validateIndividually renamed to keepRejectedFiles; maxSize is now in bytes.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: TEDI-Design-System/react/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (9)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughFile upload size limits now use bytes. The ChangesFile upload behavior
TableOfContents manifest
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~12 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change renames a prop and switches the size unit to bytes, with the tests, stories and docs updated to match. No concrete merge-blocking risk was found. Because this is a breaking public API change, mention it in the release notes. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
♿ Accessibility — ✅ no blocking violationsNo accessibility violations in the components changed by this PR.
|
| Component | Rules | Stories |
|---|---|---|
| TEDI-Ready/Components/Buttons/CollapseButton | unknown ×2 |
2 |
| TEDI-Ready/Components/Navigation/Tabs | unknown |
1 |
Stories
- TEDI-Ready/Components/Buttons/CollapseButton — Icon Only Inverted, With Text Inverted
- TEDI-Ready/Components/Navigation/Tabs — With Sub Tabs
🎨 ChromaticNo visual changes. Built from |
# [20.0.0-rc.2](react-20.0.0-rc.1...react-20.0.0-rc.2) (2026-10-14) ### Features * **file-upload,file-dropzone:** rename reject prop and switch max size to bytes [#889](#889) ([#949](#949)) ([472ca22](472ca22)) ### BREAKING CHANGES * **file-upload,file-dropzone:** validateIndividually renamed to keepRejectedFiles; maxSize is now in bytes.
BREAKING CHANGE: validateIndividually renamed to keepRejectedFiles; maxSize is now in bytes.
Summary by CodeRabbit
keepRejectedFilescan retain rejected files in the list with an invalid state. When disabled, only valid files are added.