Skip to content

TDesign Weekly Release (Dec 2nd 2022)

Choose a tag to compare

@tdesign-helper tdesign-helper released this 08 Dec 09:10
· 386 commits to main since this release

组件库

Vue2 for Web 发布 0.52.0

❗ Breaking Changes

  • SelectInput: 调整 DOM 结构和类名,同其他框架保持一致,方便全部框架复用同一份 CSS @chaishi (#1880)
  • Menu: 样式优化 @xiaosansiji (#1882)
    • 弹出菜单中箭头不再翻转,间距等样式与 Dropdown 子菜单对齐
    • theme=light 时默认跟随全局浅色/暗色模式切换,theme=dark 保持暗色模式展示
    • 侧边导航,去除第三级自菜单弹出动画,减少操作干扰

🚀 Features

  • ColorPicker: 新增 clearable 及 showPrimaryColorPreview API,控制是否展示颜色选择条右侧预览区域 @uyarn (#1875)
  • SelectInput: selectInputWrapRef 更名为 selectInputRef @chaishi (#1880)
  • Table: @chaishi (#1891)
    • 可筛选表格,新增 filter.popupProps ,支持透传 Popup 组件全部属性,tdesign-vue-next#2088
    • 选中行表格,新增 selectOnRowClick,支持点击行选中,tdesign-vue-next#1954
    • 本地排序功能,支持对默认数据进行排序
  • Upload: onProgress/onSuccess/onFail 等事件参数添加 XMLHttpRequest,用于获取 http status 等数据 @chaishi (#1886)
  • Radio/Checkbox: click 事件更为从最外层输出,防止出现无法在外层阻止冒泡的问题 @chaishi (#1891)

🐞 Bug Fixes

详情见:https://github.com/Tencent/tdesign-vue/releases/tag/0.52.0

Vue3 for Web 发布 0.26.0

❗ Breaking Changes

  • SelectInput:
    • selectInputWrapRef 更名为 selectInputRef @chaishi (#2125)
    • 涉及 DOM 类名变更,和 React 保持一致,方便全部框架复用一份 CSS @chaishi (#2125)

🚀 Features

  • Table:
  • ColorPicker: 新增clearable及showPrimaryColorPreviewAPI,控制是否展示颜色选择条右侧预览区域 @uyarn (#2096)
  • Upload: onProgress 事件新增参数 XMLHttpRequest,用于获取 http status 等信息 @chaishi (#2106)
  • TimePicker: 新增tips和status API,onPick新增context参数回调 @uyarn (#2124)

🐞 Bug Fixes

详情见:https://github.com/Tencent/tdesign-vue-next/releases/tag/0.26.0

React for Web 发布 0.44.1

🚀 Features

  • TimePicker: 新增status、tips和onPick API @uyarn (#1786)
  • ColorPicker: 新增showPrimaryColorPreview API 控制色彩选择条右侧主色区块的展示 @uyarn (#1788)
  • Upload:
    • onProgress/onSuccess/onFail 等事件参数添加 XMLHttpRequest,用于获取 http status 等数据 @chaishi (#1781)
    • fileListDisplay 支持自定义多文件列表 @chaishi (#1781)

🐞 Bug Fixes

详情见:https://github.com/Tencent/tdesign-react/releases/tag/0.44.1

Miniprogram for WeChat 发布 0.29.0

❗ BREAKING CHANGES

🚀 Features

🐞 Bug Fixes

  • Checkbox: 修复数组图标无法使用的问题 @LeeJim (#1135)
  • Cascader: 修复重置 options = [] 时报错的问题 @LeeJim (#1163)

详情见:https://github.com/Tencent/tdesign-miniprogram/releases/tag/0.29.0