refactor(TIcon): migrate internal icons to tdesign_icons package#955
Open
runoob-coder wants to merge 8 commits into
Open
refactor(TIcon): migrate internal icons to tdesign_icons package#955runoob-coder wants to merge 8 commits into
TIcon): migrate internal icons to tdesign_icons package#955runoob-coder wants to merge 8 commits into
Conversation
tdesign_icons packageTIcon: (refactor) migrate internal icons to tdesign_icons package
Member
|
|
Contributor
📱 APK 下载 |
TIcon: (refactor) migrate internal icons to tdesign_icons packageTIcon): migrate internal icons to tdesign_icons package
* 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 导入并格式化代码。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

🤔 这个 PR 的性质是?
🔗 相关 Issue
💡 需求背景和解决方案
TIconsdata mapping and associated font assettdesign_iconsdependency topubspec.yaml📝 更新日志
feat(icon): 图标使用
tdesign_icons独立包本条 PR 不需要纳入 Changelog
☑️ 请求合并前的自查清单
组件类名: 修改描述(示例:TBottomTabBar: 修复iconText模式,底部溢出2.5像素)