Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
cff2e4b
feat(main): 设置应用启动时禁止横屏
runoob-coder Oct 28, 2025
1fa3eca
feat(theme): 支持暗黑主题配置和切换功能
runoob-coder Oct 29, 2025
fff9939
docs(readme):优化文档格式与表述
runoob-coder Oct 29, 2025
276cc0d
docs(site): 优化更新文档
runoob-coder Oct 29, 2025
dbf11ab
refactor(theme):优化主题配置与示例代码结构
runoob-coder Oct 29, 2025
a029589
feat(picker): 支持自定义时间单位映射
runoob-coder Oct 29, 2025
1a01b4d
refactor(util):优化屏幕适配逻辑
runoob-coder Oct 29, 2025
d33a279
style(util): 格式化Iterable扩展函数代码
runoob-coder Oct 29, 2025
068fc98
feat(form): 导出表单验证组件
runoob-coder Oct 29, 2025
30fbd64
refactor(example):重构示例页面结构和主题配置
runoob-coder Oct 29, 2025
a1e08f3
style(search):优化搜索框组件,移除 cursorWidth 属性设置
runoob-coder Oct 29, 2025
0a7044c
feat(example): 添加主题切换功能并优化导航栏
runoob-coder Nov 5, 2025
7e81ecc
Merge branch 'develop' into develop
runoob-coder Nov 5, 2025
c5bf979
feat(theme): 添加深色模式切换功能
runoob-coder Nov 6, 2025
891a9a3
feat(theme): 添加深色模式切换功能
runoob-coder Nov 6, 2025
950e085
docs(explain): 添加深色模式使用文档
runoob-coder Nov 6, 2025
67249db
docs(dark-mode): 添加版本提示信息
runoob-coder Nov 6, 2025
926cb2f
docs(dark_test): 更新注释为文档注释风格
runoob-coder Nov 6, 2025
240a9a7
docs(dark-mode): 添加深色主题配置示例
runoob-coder Nov 7, 2025
7d44ee5
chore(deps): 更新flutter插件安卓生命周期依赖版本
runoob-coder Nov 7, 2025
473e659
fix(popup): 调整弹窗面板高度计算逻辑并优化拖拽功能
runoob-coder Nov 7, 2025
adedcbb
Merge branch 'develop' into develop
runoob-coder Nov 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ tdesign-site/ // tdesign flutter 站点

## 开发规范

- 组件命名规范:以 TD 为前缀,组件名称、API名称参考TDesign现有组件和API命名,可以根据 flutter 原生 Widget 的特点进行修改。组件 API 以满足设计要求和使用为准,可根据 flutter 特点做精简或定制。
- 组件命名规范:以 `TD` 为前缀,组件名称、API名称参考 TDesign 现有组件和API命名,可以根据 flutter 原生 Widget 的特点进行修改。组件 API 以满足设计要求和使用为准,可根据 flutter 特点做精简或定制。
- 组件库用到的所有色值、圆角、字体字号等样式属性需全部定义在主题中。
- 代码规范遵循腾讯 Dart 代码规范。
- 对于系统原有组件,如 Text, Image 等,应兼容系统原组件功能,只能扩展,不能阉割,以免业务需要使用系统功能时,必须放弃 TDesign 控件。
- 对于系统原有组件,如 `Text`、`Image` 等,应兼容系统原组件功能,只能扩展,不能阉割,以免业务需要使用系统功能时,必须放弃 TDesign 控件。
- 示例页面尽量使用 ExamplePage + ExampleModule + ExampleItem 组合,按照示例稿的布局实现;页面写完后,在 main.dart 中修改 exampleMap 对应组件的 isTodo 属性即可。
- 组件 API 和演示代码,请参考 [demo_tool/README.md](./tdesign-component/demo_tool/README.md) 文件。
- 组件内部的固定文案,都应该抽离到 TDResourceDelegate 中统一管理,方便业务进行国际化适配。
- 组件内部的固定文案都应该抽离到 TDResourceDelegate 中统一管理方便业务进行国际化适配。
- 如果使用的组件 TD 有封装,尽量使用 TD 已有组件,而非直接使用系统组件。

## 贡献指南

请参考:[贡献指南](https://tdesign.tencent.com/flutter/develop)
请参考[贡献指南](https://tdesign.tencent.com/flutter/develop)
12 changes: 6 additions & 6 deletions PUBLISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

## 发布流程

- 从 `develop` 新建 `release/x.y.z` 分支,并修改 `tdesign-component/pubspec.yaml` 中的`version`版本号,推送分支至远程仓库,并提交一个合入`develop`的 Pull Request 到仓库
- 仓库的 Github Action 会自动整理上个版本至今 commit 对应的 CHANGELOG,并将 CHANGELOG 的 draft 作为一个评论推送到该 Pull Request 上
- 发布人检查 CHANGELOG,并优化内容逻辑结构,确认无误后删除对于评论首行提示,Github Action 会将优化后的内容写入 CHANGELOG.md 内
- 确认无误后,合并分支入`develop`
- 合入 `develop` 后,仓库会触发 Github Action 合入`main`分支,并将版本号作为 `tag` 打在仓库上,并触发 Github Action 执行版本发布流程
- 合入 `main` 分支后,站点的部署流水线 web hook 会监听到 `main` 分支的新增 commit,并触发流水线,官网更新站点
1. 从 `develop` 新建 `release/x.y.z` 分支,并修改 `tdesign-component/pubspec.yaml` 中的`version`版本号,推送分支至远程仓库,并提交一个合入`develop`的 Pull Request 到仓库
2. 仓库的 Github Action 会自动整理上个版本至今 commit 对应的 CHANGELOG,并将 CHANGELOG 的 draft 作为一个评论推送到该 Pull Request 上
3. 发布人检查 CHANGELOG,并优化内容逻辑结构,确认无误后删除对于评论首行提示,Github Action 会将优化后的内容写入 CHANGELOG.md 内
4. 确认无误后,合并分支入`develop`
5. 合入 `develop` 后,仓库会触发 Github Action 合入`main`分支,并将版本号作为 `tag` 打在仓库上,并触发 Github Action 执行版本发布流程
6. 合入 `main` 分支后,站点的部署流水线 web hook 会监听到 `main` 分支的新增 commit,并触发流水线,官网更新站点
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Tencent TDesign UI component library of Flutter, suitable for use in mobile proj

# 🎉 Features

- Provides Flutter UI component library in TDesign design style
- Support customizing themes according to App design style
- Provides commonly used Icon library and supports customized replacement
- Provides Flutter UI component library in TDesign design style.
- Support customizing themes according to App design style.
- Provides commonly used Icon library and supports customized replacement.
- Define color groups according to the TDesign specification, which can be viewed in TDColors to facilitate the adaptation of components to the TDesign specification.
- The color value declaration class can add default colors and view the default display effect of color values in real time.

Expand Down
4 changes: 1 addition & 3 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

腾讯TDesign Flutter技术栈组件库,适合在移动端项目中使用。


# 🎉 特性

- 提供 TDesign 设计风格的 Flutter UI 组件库。
Expand Down Expand Up @@ -69,7 +68,6 @@ Icon(TDIcons.activity)

- 有关更多使用示例,请参阅 [example/lib/page](tdesign-component/example/lib/page)


# 其他技术栈实现

- 桌面端 Vue 2.X 版本实现:[tdesign-vue](https://github.com/Tencent/tdesign-vue)
Expand All @@ -90,7 +88,7 @@ TDesign Flutter 依赖以下组件库,感谢作者的开源贡献:

# 贡献

欢迎贡献代码。在提交 [Pull Request](https://github.com/Tencent/tdesign-flutter/pulls) 之前,请先阅读[贡献指南]((CONTRIBUTING.md))。
欢迎贡献代码。在提交 [Pull Request](https://github.com/Tencent/tdesign-flutter/pulls) 之前,请先阅读[贡献指南](CONTRIBUTING.md)。

<a href="https://github.com/Tencent/tdesign-flutter/graphs/contributors">
<img src="https://contrib.rocks/image?repo=Tencent/tdesign-flutter" />
Expand Down
Loading