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: 新增 showFirstAndLastPageBtn、showPreviousAndNextBtn、showPageSize、showPageNumber api #808

Merged
merged 2 commits into from Apr 28, 2022

Conversation

honkinglin
Copy link
Collaborator

@honkinglin honkinglin commented Apr 27, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(Pagination): 新增 showFirstAndLastPageBtn、showPreviousAndNextBtn、showPageSize、showPageNumber api

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@honkinglin
Copy link
Collaborator Author

image

@github-actions
Copy link
Contributor

Size Change: +625 B (0%)

Total Size: 634 kB

Filename Size Change
./dist/tdesign.js 351 kB +319 B (0%)
./dist/tdesign.min.js 202 kB +306 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 42.8 kB
./dist/tdesign.min.css 38.1 kB

@codecov-commenter
Copy link

Codecov Report

Merging #808 (c4f101b) into develop (a0db0df) will increase coverage by 4.03%.
The diff coverage is 66.53%.

@@             Coverage Diff             @@
##           develop     #808      +/-   ##
===========================================
+ Coverage    57.56%   61.59%   +4.03%     
===========================================
  Files          346      354       +8     
  Lines        12828    13264     +436     
  Branches      2405     2503      +98     
===========================================
+ Hits          7384     8170     +786     
+ Misses        5200     4840     -360     
- Partials       244      254      +10     
Impacted Files Coverage Δ
src/avatar/group.tsx 97.14% <ø> (ø)
src/breadcrumb/breadcrumb-item-props.ts 100.00% <ø> (ø)
src/cascader/props.ts 91.66% <ø> (ø)
src/cascader/utils/inputContent.ts 59.45% <0.00%> (+6.68%) ⬆️
src/date-picker/date-picker.tsx 46.57% <0.00%> (+0.72%) ⬆️
src/dialog/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/hooks/useVirtualScroll.ts 24.51% <ø> (ø)
src/input/index.ts 100.00% <ø> (ø)
src/menu/menu.tsx 61.90% <ø> (ø)
src/pagination/props.ts 75.00% <0.00%> (-25.00%) ⬇️
... and 125 more

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 141efed...c4f101b. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented Apr 27, 2022

完成

@honkinglin honkinglin force-pushed the feat/pagination/first-last-btn branch 2 times, most recently from 5721501 to 0cfe120 Compare April 27, 2022 08:17
@honkinglin honkinglin force-pushed the feat/pagination/first-last-btn branch from 0cfe120 to 0f57127 Compare April 27, 2022 08:22
@github-actions
Copy link
Contributor

Size Change: +626 B (0%)

Total Size: 635 kB

Filename Size Change
./dist/tdesign.js 352 kB +318 B (0%)
./dist/tdesign.min.js 202 kB +308 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 42.9 kB
./dist/tdesign.min.css 38.1 kB

@github-actions
Copy link
Contributor

Size Change: +691 B (0%)

Total Size: 635 kB

Filename Size Change
./dist/tdesign.js 352 kB +346 B (0%)
./dist/tdesign.min.js 202 kB +345 B (0%)
ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 42.9 kB
./dist/tdesign.min.css 38.1 kB

@honkinglin honkinglin changed the title feat: 新增 showFirstAndLastPageBtn、showPreviousAndNextBtn api feat: 新增 showFirstAndLastPageBtn、showPreviousAndNextBtn、showPageSize、showPageNumber api Apr 27, 2022
@uyarn uyarn merged commit c4ec9dd into develop Apr 28, 2022
@uyarn uyarn deleted the feat/pagination/first-last-btn branch April 28, 2022 07:07
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.

None yet

3 participants