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: InputNumber supports controls #31548

Merged
merged 1 commit into from
Jul 27, 2021
Merged

Conversation

afc163
Copy link
Member

@afc163 afc163 commented Jul 27, 2021

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

close #31411

💡 Background and solution

<InputNumber controls={boolean} />

📝 Changelog

Language Changelog
🇺🇸 English InputNumber now supports controls for displaying +- buttons or not.
🇨🇳 Chinese InputNumber 新增 controls 属性用于控制是否显示加减按钮。

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@github-actions
Copy link
Contributor

github-actions bot commented Jul 27, 2021

@codecov
Copy link

codecov bot commented Jul 27, 2021

Codecov Report

Merging #31548 (8fa18b2) into feature (b3c4ceb) will not change coverage.
The diff coverage is n/a.

❗ Current head 8fa18b2 differs from pull request most recent head 4ff0895. Consider uploading reports for the commit 4ff0895 to get more accurate results
Impacted file tree graph

@@           Coverage Diff            @@
##           feature   #31548   +/-   ##
========================================
  Coverage    99.96%   99.96%           
========================================
  Files          407      407           
  Lines         7605     7605           
  Branches      2140     2140           
========================================
  Hits          7602     7602           
  Misses           3        3           

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 b3c4ceb...4ff0895. Read the comment docs.

@afc163
Copy link
Member Author

afc163 commented Jul 27, 2021

体积的问题是 Tree 和 TreeSelect 的。

@github-actions
Copy link
Contributor

Size Change: +24 B (0%)

Total Size: 861 kB

Filename Size Change
./dist/antd-with-locales.min.js 357 kB +23 B (0%)
./dist/antd.min.js 309 kB +1 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/antd.compact.min.css 64.3 kB
./dist/antd.dark.min.css 65.6 kB
./dist/antd.min.css 64.5 kB

compressed-size-action

@afc163 afc163 requested review from xrkffgg and zombieJ July 27, 2021 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants