fix(input): correct classNames and styles TypeScript definitions#54162
fix(input): correct classNames and styles TypeScript definitions#54162afc163 merged 3 commits intoant-design:masterfrom
Conversation
|
|
📝 WalkthroughSummary by CodeRabbit
Walkthrough本次变更为 Input 组件引入了 Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant InputComponent
participant RcInput
User->>InputComponent: 传递 classNames/styles 属性
InputComponent->>InputComponent: 合并 context 和 props 的 classNames/styles
InputComponent->>RcInput: 传递合并后的 classNames/styles
RcInput-->>InputComponent: 渲染带有自定义样式的输入框
Assessment against linked issues
Assessment against linked issues: Out-of-scope changes(未发现超出已关联 issue 目标的代码变更。) Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (16)
🔇 Additional comments (8)
✨ Finishing Touches
🧪 Generate Unit Tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
👁 Visual Regression Report for PR #54162 Passed ✅
🎊 Congrats! No visual-regression diff found.
|
More templates
commit: |
Bundle ReportChanges will decrease total bundle size by 6.29MB (-64.95%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #54162 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 774 774
Lines 14032 14032
Branches 3713 3713
=========================================
Hits 14032 14032 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|


🤔 This is a ...
🔗 Related Issues
💡 Background and Solution
📝 Change Log
classNamesandstylesprops to match documented APIclassNames和styles属性的 TypeScript 类型定义,与文档 API 保持一致