-
-
Notifications
You must be signed in to change notification settings - Fork 53.5k
feat: ConfigProvider support classnames and styles for Alert #52669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
👁 Visual Regression Report for PR #52669 Failed ❌
Warning There are more diffs not shown in the table. Please check the Full Report for details. Important There are 131 diffs found in this PR: 🔄
|
|
components/alert/Alert.tsx
Outdated
@@ -20,6 +20,7 @@ export interface AlertRef { | |||
nativeElement: HTMLDivElement; | |||
} | |||
|
|||
type SemanticName = 'root' | 'icon' | 'content' | 'message' | 'description' | 'action'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The introduction of SemanticName
type is a good addition for better type safety and clarity when dealing with class names and styles.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v6 里正好可以改成 title 了
size-limit report 📦
|
Bundle ReportChanges will increase total bundle size by 7.88MB (211.36%) ⬆️
Affected Assets, Files, and Routes:view changes for bundle: antd.min-array-pushAssets Changed:
Files in
Files in
|
More templates
commit: |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## next #52669 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 765 765
Lines 13738 13745 +7
Branches 3578 3583 +5
=========================================
+ Hits 13738 13745 +7 ☔ View full report in Codecov by Sentry. |
🤔 This is a ...
📝 Change Log