Releases: Tencent/tdesign-react
Releases · Tencent/tdesign-react
0.26.0
❗️ BREAKING CHANGES
🐞 Bug Fixes
- SelectInput:
- 修复点击弹框输入框不高亮 (6dba37f) @Hoofoo-WHU
- 修复
allowInput
无效问题 (4353b93) @chaishi
- Affix:修复 affix 导出问题 (1a2f705) @HQ-Lin
- Dialog: 修复 dialog plugin 聚焦 button 通过键盘频繁触发问题 (41a236c) @HQ-Lin
- Alert: 修复
classname
自定义被覆盖 (fd2864b) @carolin913 - InputNumber: 修复加减按钮边界问题 (8ac9250) @uyarn
- Taginput: 修复
ondragsort
参数类型问题 (99d94b5) @carolin913
🌈 Features
- Input: 支持
maxcharacter
、maxlength
、format
API (cf6f771) @HQ-Lin - TagInput: 支持透传
className
、style
(666f64b) @chaishi - Animation: 支持
globalConfig
全局控制动画开关 (4ac5f0d) @uyarn - Dialog: 支持Esc关闭 (fb66a5d) @psaren
- Form: 支持
setValidateMessage
、errorMessage
API (28f9c8d) @HQ-Lin - Upload: 支持
onCancelUpload
&onSelectChange
api (5c39c74) @wookaoer - TreeSelect: 使用
SelectInput
组件重构 (edc387d) @Hoofoo-WHU
Full Changelog: 0.25.2...0.26.0
0.25.2
🐞 Bug Fixes
- Table: #334 固定列定位计算问题 (56b7a55) @yangguansen
- TagInput: 兼容 value defaultValue 都未设置场景 (a317786) @HQ-Lin
- Slider: 修复刻度计算问题,input number 样式问题 (03aa1dd) @andyjxli
- Popup: 修复 trigger 元素宽高定位变化后位置不更新问题 (933db7c) @HQ-Lin
- Cascader: fix cascader issue 371&&304 (96536c0) @pengYYYYY
- Checkbox: 修复checkbox组件options为空数组时的问题 (ce671c2) @ZhaoRB
- Layout: 支持内嵌动态节点 (54a297f) @insekkei
- Dialog: 多个弹窗关闭一个后出现滚动条 (5cf75c1), closes #382 @psaren
🌈 Features
- SelectInput: 新增组件 SelectInpput 组件 (d2d9cf8) @chaishi
- Input: 支持 auto-width API (cf24ca5) @chaishi
- Notification: 优化组件内部细节 (9cd0a08) @kenzyyang
- TagInput:
- 支持 auto-width API (cf24ca5) @chaishi
- 支持 dragSort 功能 (6872bd9) @LittlehorseXie
New Contributors
Full Changelog: 0.25.1...0.25.2
0.25.1
🐞 Bug Fixes
- Notification: 修复组件状态更新后关闭逻辑报错问题 (2a6eff1) @kenzyyang
- Progress: 修复
percentage
为0
时样式问题 (d481552) @uyarn - TimePicker: 修复鼠标滚轮事件问题 (e0028d5) @uyarn
New Contributors
- @amadeus711 made their first contribution in #364
- @kenzyyang made their first contribution in #365
Full Changelog: 0.25.0...0.25.1
0.25.0
❗️ BREAKING CHANGES
- Textarea: 调整
ref
导出,输出currentElement
及textareaElement
(b0b7dee) @carolin913
🐞 Bug Fixes
- Table:
- Notification: 修复组件状态更新后关闭逻辑报错问题 (#358) (93aa507) @HQ-Lin
- InputNumber: 修复间距丢失问题 (fcabaa9) @HQ-Lin
- Upload: 修复
requestMethod
返回fail
时,图片依然回显问题 (3bbd31b) @teal-front - Select: 修复清空按钮出现时机问题 (2c5c8b1) @carolin913
- Skeleton: 修复
row
col
失效 (c5ecfba) @Yilun-Sun
🌈 Features
- TagInput: 新增 TagInput 组件 (3305efe) @chaishi
- Table:
- TreeSelect:
- 支持
collapsed
API (9b5d46e) @Hoofoo-WHU - 支持
valueDisplay
API (0e981de) @Hoofoo-WHU
- 支持
- Datepicker: 支持
onPick
事件 (6530e9e) @xiaosansiji - Input: 支持
onWheel
、onCompositionstart
、onCompositionend
事件 (b85ea42) @HQ-Lin - Popup: 调整下拉动画实现,使用
clip-path
替代max-height
(f812cd2) @uyarn @HQ-Lin - Select: 优化选项字数过多省略展示 (85017fc), closes #339 @carolin913
- Textarea: 支持
autosize
API (85017fc), closes #339 @carolin913
New Contributors
- @xg4 made their first contribution in #332
- @yangguansen made their first contribution in #341
- @Hoofoo-WHU made their first contribution in #349
Full Changelog: 0.24.2...0.25.0
0.24.2
0.24.1
0.24.0
❗️ BREAKING CHANGES
- Tag:
variant
属性调整,支持outline
、light-outline
,废弃variant="plain"
(780ac25) @carolin913 - Form:
reset
不再触发onReset
事件,使用独立的事件逻辑 (#303) (f9a7bbc) @HQ-Lin
🐞 Bug Fixes
- Cascader:
- 添加
loadingtext
国际化配置 (46ef524) @carolin913 panel
添加波纹动画 (42ad5af) @uyarn
- 添加
- Tree: 修复按需引入样式丢失问题 (#293) (f50b888) @HQ-Lin
- Chekbox: 修复
Checkbox.Group
的value
类型为string
和number
的 bug (1796843) @xinup - Popup: 修复
zIndex
设置错误 (#315) (aacb6f8) @HQ-Lin - Select: 修复
Option.name
丢失导致组件类型判断失效问题 (fea73f0) @uyarn - Table: 修复固定列不指定
colKey
导致header
错位问题 (03d3936) @yunfeic
🌈 Features
- Table:
- Form:
- Config: 调整
locale
、组件配置逻辑 & 支持globalConfig
API (#297) (542c254) @HQ-Lin - Select:
ul
标签添加class
类名 (bb47a94) @HQ-Lin - Breadcrumb: 支持
theme
api (5627c40) @samhou1988 - Drawer: 修复
attch
无效问题 (a16c031) @LittlehorseXie - Input: 支持
align
属性 (#290) (08ce2b5) @HQ-Lin - Dropdown: 修复
ref
警告 (d56b4ba) @carolin913 - Tag: 支持
size
API (780ac25) @carolin913 - Transfer: 支持
Tree
API (f260a3a) @zj2015262624 - Locale:
upload
,tree
组件支持 国际化配置 (34ba53e) @carolin913
New Contributors
- @LittlehorseXie made their first contribution in #298
Full Changelog: 0.23.1...0.24.0
0.23.1
Bug Fixes
- Form:
- Affix: 修复
zIndex
参数无效和offsetTop
为 0 无法固定的问题 (ebeb69c) @jas0ncn - Tabs: 修复滚动问题,支持受控/非受控 (84f033c) @insekkei
- Dialog: 修复
mask
动画缺失问题 (#247) (37d59c1), closes #65 @HQ-Lin - Icon:
size
类名t-size-middle
改为t-size-medium
(aea3f01) @uyarn - Popup: 优化
destroy
动画 & 添加display: none
& 优化全局portal
逻辑 (#246) (391de56), closes #231 @HQ-Lin
Features
- Form:
- Select:
- Table:
- Dropdown:
dropdown
options
支持child
方式传入 (#242) (0cbfd67) @duenyang - Popup: 支持
onScroll
API (fc8d613) @uyarn - Skeleton: 新增骨架屏 (#265) (fd8d980) @Yilun-Sun
- Textarea: 新增
tips
和status
api (#266) (9cc5b72) @duenyang - Tooltip: 支持
duration
api (b28b200) @carolin913 - Upload: 支持
onPreview
api (a004227) @teal-front
New Contributors
- @clark-cui made their first contribution in #239
- @psaren made their first contribution in #245
- @xinup made their first contribution in #249
- @jas0ncn made their first contribution in #251
- @zhangbocodes made their first contribution in #241
Full Changelog: 0.23.0...0.23.1
0.23.0
BREAKING CHANGES
- 调整 ref 获取 Input 组件最外层 Dom 方式为
inputRef.current.currentElement
(7fd11cb) @HQ-Lin - 调整 ref 获取 Form 组件最外层 Dom 方式为
formRef.current.currentElement
(46abe0b) @HQ-Lin
Bug Fixes
- Popup: 修复定位动态计算错误问题 (#226) (6c54abf) @HQ-Lin @uyarn
- Drawer: 修复字符串控制 confirmBtn 无效问题 by @samhou1988 in #216
- Form: 修复
FormItem
动态变化导致formItemsRef
中存在null
值 bug (eaa4f70) @yume316 - TimePicker: 限制输入框内容为数字类型 (e90118c) @uyarn
Features
- Divider: 实现
content
api (0d59f66) @haishancai - Form: 优化
ref
逻辑 (#233) (46abe0b) @HQ-Lin - Upload: 实现
sizelimit
api (e576778) @teal-front - Table: 支持传入
className
,style
(dd27277) @yunfeic - Input: 支持 tips api & 调整ref 获取 Input Dom 方式,暴露 focus、blur、select 方法 & 支持获取内部 input 实例 (#229) (7fd11cb), closes #229 #201 @HQ-Lin @Duncan-zjp
New Contributors
- @dependabot made their first contribution in #149
- @samhou1988 made their first contribution in #216
- @chaishi made their first contribution in #218
Full Changelog: 0.22.1...0.23.0