Skip to content

refactor(TIcon): migrate internal icons to tdesign_icons package#955

Open
runoob-coder wants to merge 8 commits into
Tencent:developfrom
runoob-coder:TIcons
Open

refactor(TIcon): migrate internal icons to tdesign_icons package#955
runoob-coder wants to merge 8 commits into
Tencent:developfrom
runoob-coder:TIcons

Conversation

@runoob-coder

@runoob-coder runoob-coder commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🤔 这个 PR 的性质是?

勾选规则:
1.只要有新增参数,就勾选”新特性提交“
2.只修改内部bug,未新增参数,才勾选”日常 bug 修复“
3.其他选项视具体改动判断

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

🔗 相关 Issue

💡 需求背景和解决方案

  • Remove internal TIcons data mapping and associated font asset
  • Add tdesign_icons dependency to pubspec.yaml
  • Update all components, examples, and tests to use the external icon package

📝 更新日志

  • feat(icon): 图标使用 tdesign_icons 独立包

  • 本条 PR 不需要纳入 Changelog

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

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

  • pr目标分支为develop分支,请勿直接往main分支合并
  • 标题格式为:组件类名: 修改描述(示例:TBottomTabBar: 修复iconText模式,底部溢出2.5像素)
  • ”相关issue“处带上修复的issue链接
  • 相关文档已补充或无须补充

@runoob-coder runoob-coder changed the title refactor: migrate internal icons to tdesign_icons package TIcon: (refactor) migrate internal icons to tdesign_icons package Jun 3, 2026
@tencent-adm

Copy link
Copy Markdown
Member

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ runoob-coder
❌ autofix-ci[bot]
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

完成

📱 APK 下载

tdesign-flutter-0.2.7-670.apk

@runoob-coder runoob-coder changed the title TIcon: (refactor) migrate internal icons to tdesign_icons package refactor(TIcon): migrate internal icons to tdesign_icons package Jun 5, 2026
runoob-coder and others added 8 commits June 10, 2026 18:21
* Remove internal `TIcons` data mapping and associated font asset
* Add `tdesign_icons` dependency to `pubspec.yaml`
* Update all components, examples, and tests to use the external icon package
* Clean up code formatting and imports in affected files
更新图标引入方式,说明可直接使用 tdesign_icons,并更新图标数量为 2340+,移除冗余 API 文档。
从构建脚本中移除图标组件的API生成命令,并删除对应的icon_api.md文件,因为图标组件无需生成API文档。
更新 Icon 组件的引入方式说明,改用 tdesign_icons 库并补充使用提示;
修复 getSpline 方法中各分类的英文映射值;
移除未使用的 tdesign_flutter 导入并格式化代码。
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