-
-
Notifications
You must be signed in to change notification settings - Fork 50.8k
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
feat: add support to responsive sizes in Avatar component #26244
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 724bff6:
|
Need help with zh-CN translations |
Codecov Report
@@ Coverage Diff @@
## feature #26244 +/- ##
========================================
Coverage 99.57% 99.57%
========================================
Files 382 382
Lines 7349 7359 +10
Branches 2006 2011 +5
========================================
+ Hits 7318 7328 +10
Misses 31 31
Continue to review full report at Codecov.
|
@07akioni I'm not sure why that test is failing, everything runs just fine for me locally. Can you maybe re-run the pipeline? |
/rebase |
This pull request introduces 6 alerts when merging fd5e9da into 949f1f4 - view on LGTM.com new alerts:
|
@07akioni made the updates, let me know if there's anything else. |
@@ -2,4 +2,5 @@ import '../../style/index.less'; | |||
import './index.less'; | |||
|
|||
// style dependencies | |||
// deps-lint-skip: grid |
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.
What does this line for?
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.
Due to the fact I'm using useBreakpoint
, which comes from grid
, the linter fails since it requires the style for grid to be imported within avatar
folder as well, however we're not using anything that depends on style from grid so I guess we're fine with just skipping it
fix lint and test failures update avatar demo card title update ts type check for undefined
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
Resolves #17738
💡 Background and solution
📝 Changelog
size
propsize
道具中传递的屏幕尺寸列表☑️ Self Check before Merge
View rendered components/avatar/demo/responsive.md
View rendered components/avatar/index.en-US.md
View rendered components/avatar/index.zh-CN.md