Skip to content

Releases: Tencent/tdesign-react

0.45.0

22 Dec 06:46
01963fc
Compare
Choose a tag to compare

❗ Breaking Changes

  • Dialog: 重构 Dialog,兼容 mode="normal" 属性更改为 DialogCard 实现,新增控制台警告 @honkinglin (#1830)

🚀 Features

🐞 Bug Fixes

Full Changelog: 0.44.2...0.45.0

0.44.2

14 Dec 08:38
868b321
Compare
Choose a tag to compare

🚀 Features

  • Table:
    • 支持任意行高虚拟滚动和树形结构虚拟滚动、支持滚动定位到任意元素 @chaishi (#1798)
    • 树形结构,支持点击行展开树节点 @chaishi (#1800)
    • 树形结构,点击树节点展开图标的时候,不再冒泡到行点击事件 onRowClick @chaishi (#1800)

🐞 Bug Fixes

Full Changelog: 0.44.1...0.44.2

0.44.1

08 Dec 05:23
c60ea6f
Compare
Choose a tag to compare

🚀 Features

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

🐞 Bug Fixes

Full Changelog: 0.44.0...0.44.1

0.44.0

30 Nov 13:28
a3f66b1
Compare
Choose a tag to compare

❗ Breaking Changes

  • Jumper: Jumper 更名为 PaginationMini 组件,正在使用 Jumper 组件的同学请从 Pagination 中导出替换 @honkinglin (#1749)
  • Tooltip: 移除 placement 的 mouse 模式,该场景请使用 TooltipLite @carolin913 (#1751)

🚀 Features

  • TooltipLite: placement 支持 mouse 模式,实现原生title体验 @carolin913 (#1751)
  • Table: 选中行功能,新增 reserveSelectedRowOnPaginate,用于支持在分页场景中,仅选中当前页数据,切换分页时清空选中结果,全选仅选中当前页数据 @chaishi (#1755)
  • Drawer: 默认不显示关闭按钮,有取消和确认按钮足矣,同其他框架保持一致 @chaishi (#1746)
  • AutoComplete: 新增组件 AutoComplete @chaishi (#1752)
  • Calendar: 调整卡片类型的控制面板尺寸大小 @uyarn (#1766)

🐞 Bug Fixes

Full Changelog: 0.43.1...0.44.0

0.43.1

23 Nov 12:44
aa1a7af
Compare
Choose a tag to compare

🚀 Features

  • Select: Select option子组件搜索以label优先 支持复杂children为node节点的搜索 @uyarn (#1717)
  • ColorPicker: 增加对OnChange事件区分最近使用和预设的颜色的点击事件 @josonyang (#1722)
  • InputNumber:
    • 支持 allowInputOverLimit,用于设置是否允许输入数字超过 max min 范围的值 @chaishi (#1723)
    • 新增和减少按钮支持 allowInputOverLimit @chaishi (#1727)
  • Table: 减少表格渲染次数,issue#1731 @chaishi (#1732)
  • TreeSelect: 优化checkable时点击非叶子节点选中的问题 @uyarn (#1734)
  • Dialog: 优化关闭动画不流畅问题 @honkinglin (#1729)
  • Other: 兼容 React 18 render 警告 @honkinglin (#1718)

🐞 Bug Fixes

New Contributors

Full Changelog: 0.43.0...0.43.1

0.43.0

17 Nov 02:51
e55f5ac
Compare
Choose a tag to compare

❗ Breaking Changes

🚀 Features

  • Breadcrumb: 新增icon API @uyarn (#1702)
  • Select: 支持使用Option Children形式时使用过滤等功能 @uyarn (#1715)

🐞 Bug Fixes

  • swiper: swiper控制current交互和正常保持一致 @duenyang (#1693)
  • Loading: 处理loading在dialog等场景中样式异常的问题 @uyarn (#1694)
  • Breadcrumbe: 修复文字省略样式丢失的问题 @uyarn (#1702)
  • popconfirm: 修复官网demo气泡框描述文案字体颜色 @iLunZ (#1705)
  • InputNumber: 组件支持受控 @chaishi (#1703)
  • Form: 修复拦截 checkbox 默认值为 undefined 控制台警告问题 @HQ-Lin (#1682)
  • popconfirm: 修复官网demo气泡框描述文案字体颜色 @iLunZ (#1705)
  • TreeSelect:
  • Tooltip: 修复非受控问题 @HQ-Lin (#1712)

New Contributors

Full Changelog: 0.42.6...0.43.0

0.42.6

07 Nov 12:23
aead522
Compare
Choose a tag to compare

🚀 Features

🐞 Bug Fixes

  • Table: 当禁用resizable时,基础表格表头默认使用用户定义的列宽 @ZTao-z (#1662)
  • Dropdown: 修复Children变化时没有重新渲染的异常 @uyarn (#1673)
  • Select:
    • 修复选项文案过程内容未正确显示的问题 @uyarn (#1676)
    • 修复可过滤选择器选中项目失去焦点选中失败问题 @HQ-Lin (#1675)
  • InputNumber: 修复最小值为0仍可点击减号至-1的问题 @lilonghe @uyarn (#1676)
  • Input: 修复在输入框进行预渲染处于 display: none 状态时,宽度计算不正确问题,tdesign-vue#1678 @chaishi (#1669)
  • Pagination: 修复 selectProps warn @chaishi (#1669)
  • Form: 修复提交后 onChange 校验不清除状态问题 @HQ-Lin (#1664)
  • TreeSelect: 修复 valueDisplay 和 filterable 同时设置时的显示问题 @moecasts (#1674)

Full Changelog: 0.42.5...0.42.6

0.42.5

02 Nov 08:23
2033dae
Compare
Choose a tag to compare

🚀 Features

  • Collapse: 支持 expandIcon 属性 @asbstty (#1651)
  • Pagination: 透传selectPropsselectProps.popupProps 到组件 Pagination,以便实现挂载节点等复杂场景需求, issue#1611 @chaishi (#1638)
  • Input:

🐞 Bug Fixes

New Contributors

Full Changelog: 0.42.4...0.42.5

0.42.4

26 Oct 06:05
c658211
Compare
Choose a tag to compare

🚀 Features

🐞 Bug Fixes

  • Drawer: 修复浮层关闭后聚焦问题 @NWYLZW (#1591)
  • Input: 修复input 限制字符无效问题 @HQ-Lin (#1624)
  • Slider: 修复 slider marks 为 object 时刻度位置异常 @HelKyle (#1600)
  • Popup: 兼容 trigger 元素获取异常报错问题 @HQ-Lin (#1626)
  • Form: 调整 requireMark showErrorMessage等默认值 @HQ-Lin (#1602)
  • Select: 修复 onChange 回调参数缺失问题 @uyarn (#1603)
  • Swiper: 当轮播只有一个时,点击左侧按钮后,按钮失效问题 @yatessss (#1604)
  • Dropdown:
    • 修复子组件平铺渲染时渲染异常的问题 @uyarn (#1599)
    • 修复无法使用三元表达式渲染item组件的问题 @uyarn (#1599)
  • Upload:
  • Tabs:

🚧 Others

New Contributors

Full Changelog: 0.42.3...0.42.4

0.42.3

14 Oct 08:41
57b61b7
Compare
Choose a tag to compare

🚀 Features

  • Form: 调整 requiredMark api 可独立控制星号展示 @HQ-Lin (#1580)

🐞 Bug Fixes

  • Table:
    • 唯一 key 不再和 rowIndex 相加,避免重复问题 @chaishi (#1594)
    • 拖拽排序失效问题,primaryTableRef 丢失 @chaishi (#1594)
  • DatePicker: 修复 range 数据格式化异常问题 @HQ-Lin (#1587)
  • Collapse: 修复 defaultExpandAll 属性没有生效 & 包含 form 表单的时候样式出现溢出问题 @duanbaosheng (#1579)
  • Form: 修复 getInternalHooks 警告问题 @HQ-Lin (#1577)

Full Changelog: 0.42.2...0.42.3