Skip to content
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(card): support ref, actions ,size. #1225

Merged
merged 16 commits into from
Dec 7, 2020
Merged

feat(card): support ref, actions ,size. #1225

merged 16 commits into from
Dec 7, 2020

Conversation

rdmclin2
Copy link
Member

@rdmclin2 rdmclin2 commented Dec 7, 2020

  1. ProCard 支持 ref 转发。
  2. ProCard 支持 size 为small 类型的小卡片。
  3. ProCard 支持 actions 配置操作项。 close 👑 [需求]ProCard不支持antd/Card原有的参数吗? #779
  4. 卡片 tabpane 的卡片属性修改为 cardProps 。

@github-actions
Copy link

github-actions bot commented Dec 7, 2020

🎊 PR Preview 898f98c has been successfully built and deployed to https://ant-design-pro-components-preview-pr-1225.surge.sh

🕐 Build time: 521.82s

🤖 By surge-preview

@github-actions
Copy link

github-actions bot commented Dec 7, 2020

size-limit report

Path Size
packages/card/dist/card.js, packages/card/dist/card.min.js 186.89 KB (+0.24% 🔺)
packages/descriptions/dist/descriptions.js, packages/descriptions/dist/descriptions.min.js 534.76 KB (0%)
packages/field/dist/field.js, packages/field/dist/field.min.js 177.98 KB (0%)
packages/form/dist/form.js, packages/form/dist/form.min.js 498.31 KB (0%)
packages/layout/dist/layout.js, packages/layout/dist/layout.min.js 279.29 KB (0%)
packages/list/dist/list.js, packages/list/dist/list.min.js 954.16 KB (0%)
packages/provider/dist/provider.js, packages/provider/dist/provider.min.js 14.04 KB (0%)
packages/skeleton/dist/skeleton.js, packages/skeleton/dist/skeleton.min.js 23.51 KB (0%)
packages/table/dist/table.js, packages/table/dist/table.min.js 657.79 KB (0%)

@codecov
Copy link

codecov bot commented Dec 7, 2020

Codecov Report

Merging #1225 (898f98c) into master (f12ed9b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1225   +/-   ##
=======================================
  Coverage   97.03%   97.04%           
=======================================
  Files         145      146    +1     
  Lines        3986     3993    +7     
  Branches     1441     1444    +3     
=======================================
+ Hits         3868     3875    +7     
  Misses        114      114           
  Partials        4        4           
Impacted Files Coverage Δ
packages/card/src/components/TabPane/index.tsx 100.00% <ø> (ø)
packages/card/src/components/Actions/index.tsx 100.00% <100.00%> (ø)
packages/card/src/index.tsx 95.23% <100.00%> (+0.05%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f12ed9b...898f98c. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

👑 [需求]ProCard不支持antd/Card原有的参数吗?
2 participants