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(table): 支持自定义树形结构图标;支持隐藏排序文本提示 #863

Merged
merged 15 commits into from
May 11, 2022

Conversation

chaishi
Copy link
Collaborator

@chaishi chaishi commented May 10, 2022

关联子仓库:Tencent/tdesign-common#453

🤔 这个 PR 的性质是?

  • 新特性提交

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • feat(Table): 支持自定义树形结构图标 treeExpandAndFoldIcon,同时支持全局配置此图标,issue#717
  • feat(Table): 支持隐藏排序文本提示 hideSortTips,同时支持全局配置是否隐藏排序文本提示,issue#736

treeExpandAndFoldIcon 示例:
treeExpandAndFoldIcon: (h, { type }) => (type === 'expand' ? <ChevronRightIcon /> : <ChevronDownIcon />)

  • 本条 PR 不需要纳入 Changelog

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

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

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

@github-actions
Copy link
Contributor

github-actions bot commented May 10, 2022

完成

@codecov-commenter
Copy link

Codecov Report

Merging #863 (1c6ae7c) into develop (a0db0df) will increase coverage by 3.82%.
The diff coverage is 68.59%.

@@             Coverage Diff             @@
##           develop     #863      +/-   ##
===========================================
+ Coverage    57.56%   61.38%   +3.82%     
===========================================
  Files          346      355       +9     
  Lines        12828    13471     +643     
  Branches      2405     2557     +152     
===========================================
+ Hits          7384     8269     +885     
+ Misses        5200     4942     -258     
- Partials       244      260      +16     
Impacted Files Coverage Δ
src/avatar/group.tsx 97.14% <ø> (ø)
src/breadcrumb/breadcrumb-item-props.ts 100.00% <ø> (ø)
src/calendar/props.ts 70.00% <0.00%> (-30.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/date-picker/panel/date-range.tsx 7.48% <0.00%> (+0.29%) ⬆️
src/dialog/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/dropdown/dropdown-menu.tsx 18.42% <ø> (ø)
src/dropdown/dropdown.tsx 70.00% <0.00%> (+5.00%) ⬆️
... and 130 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 735463c...1c6ae7c. Read the comment docs.

@uyarn uyarn merged commit f57b3e7 into Tencent:develop May 11, 2022
@github-actions github-actions bot mentioned this pull request May 13, 2022
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.

3 participants