Releases: Tencent/tdesign-vue-next
Releases · Tencent/tdesign-vue-next
1.12.0
🌈 1.12.0 2025-04-24
🚀 Features
Breadcrumb
: 新增ellipsis
、maxItems
、itemsAfterCollapse
、itemsBeforeCollapse
相关 API,用于折叠面包屑的场景,具体使用请参考文档示例 @Wesley-0808 (#5261)ColorPicker
: 新增onClear
清除按钮事件回调 @mikasayw (#5109)DatePicker
: 新增readonly
属性,用于只读配置 @mikasayw (#5293)Drawer
- 新增
DrawerPlugin
,支持插件函数式
调用 @Wesley-0808 (#5067) - 新增
drawerClassName
API,用于定义抽屉本身的相关类名 @Wesley-0808 (#5067)
- 新增
Form
: 新增requiredMarkPosition
,可定义必填符号的位置 @Wesley-0808 (#5223)Icon
: 新增logo-miniprogram
小程序、logo-cnb
云原生构建、seal
印章、quote
引号等图标 @taowensheng1997 @uyarn @RADWIMPS426 (#5355)Select
: 取消勾选面板中的已选项时触发remove
事件回调 @QuentinHsu (#5333)Swiper
: 新增cardScale
,支持自定义卡片模式下的缩放比例 @joinmouse (#5272)Upload
:image-flow
模式下支持自定义错误文本 @ngyyuusora (#5326)
🐞 Bug Fixes
ColorPicker
: 修复切换颜色无效的问题 @mikasayw (#5282)Drawer
: 优化拖拽调整大小的过程中,Drawer 页内容会被选中的问题 @joinmouse (#5233)DatePicker
: 修复readonly
为true
时,clearable
仍然生效的问题 @xiaojueshi (#5303) (#5305)InputNumber
:- 修复
tips
插槽重复渲染的问题 @mikasayw (#5286) - 优化数字输入框的边界问题 @Sight-wcg(#5358)
- 修复
Menu
: 修复menu-item
的onClick
事件触发两次的问题 @RSS1102 (#5235)Select
Swiper
: 优化默认容器高度,避免 navigator 位置异常的问题 @uyarn (#5278)Table
:Tabs
:- 优化路由切换过程中,Tabs 未初始化出现卸载错误的场景 @RSS1102 (#5359)
- 优化选项卡存在超长 label 时的滑动效果 @wonkzhang(#5316)
Textarea
: 调整 focus 时机延迟到组件完全渲染之后 @RSS1102 (#5153)TreeSelect
: 修复当valueType='object '
时无初始化选中数据时产生意外错误 @RSS1102 (#5322)
📝 Documentation
Swiper
: 优化Swiper
组件跳转沙箱演示缺失示例样式的问题 @uyarn (#5278)Dialog
: 优化文档内容,统一内容描述 @Wesley-0808 (#5067)
1.11.5
🌈 1.11.5 2025-03-25
🐞 Bug Fixes
Table
:Menu
: 修复menu-item
的props
中to
定义时缺少string
类型的问题 @calandnong (#5198)TreeSelect
: 修复panelTopContent
和panelBottomContent
的定义缺失问题 @uyarn (#5220)Bundle
: 修复1.11.0
版本的esm
产物的使用问题 @zhangpaopao0609 (#5192)
1.11.4
🌈 1.11.4 2025-03-15
🚀 Features
Button
: 默认shape
补充相关类名,方便相关定制 @Saraph1nes (#5187)
🐞 Bug Fixes
Table
: 修复1.11.3
版本中浮层向上状态时的箭头位置异常问题 @uyarn (common#2088)Plugin
: 修复WebStorm
中 DescriptionsItem 组件的提示问题 @liweijie0812 (#5182)
1.11.3
🌈 1.11.3 2025-03-13
🚀 Features
🐞 Bug Fixes
Dialog
: 修复自定义cancelBtn
文本时仍保留t-dialog__cancel
样式问题 @RSS1102 (#5157)Table
: 修复表格内容未渲染时,设置drag-sort
拖动事件报错的问题 @Wesley-0808 (#5140)Select
: 修复使用filter
时无需设置filterable
@RSS1102 (#5169)DatePicker
: 修复日期禁用范围错误 @RSS1102 (#5119)ColorPicker
: 修复点击清除按钮未触发onChange
回调问题 @wakisun (#5111)Select
: 修复当valueType = 'object'
时,在有已选择数据的情况下筛选数据,全选产生错误 Tag 显示的问题。 @RSS1102 (#5167)DatePicker
: 修复prefixIcon
插槽告警的问题 @uyarn (#5179)Bundle
: 修复产物中部分类型文件路径异常的问题 @zhangpaopao0609 (#5174)
1.11.2
🌈 1.11.2 2025-03-05
🚀 Features
ImageViewer
: 新增imageReferrerpolicy
API,适用于配置Referrerpolicy的场景 @Wesley-0808 (#5134)ImageViewer
: 新增onDownload
API,用于自定义下载回调 @Wesley-0808 (#5134)
🐞 Bug Fixes
Dialog
: 修复1.11.0
版本footer
内容不能动态变更的问题 @Wesley-0808 (#5152)
🚧 Others
helper
: 修复部分组件在Webstorm
提示异常的问题 @liweijie0812 (#5136)
1.11.1
🌈 1.11.0
🚀 Features
AutoComplete
: 新增empty
API,用于配置空状态下的下拉内容展示 @liweijie0812 (#4908)Dialog
: 新增dialogCard
组件,用于非脱离文档流场景 @Wesley-0808 (#5002)Table
: 新增validateTableCellData
实例方法,用于校验表格可编辑单元格数据 @Wesley-0808 (#5105)
🐞 Bug Fixes
Select
:Tree
: 修复动态切换expandAll
的功能异常问题 @RSS1102 (#4988)Form
: 修复status
属性没有应用到校验状态上的问题 @RSS1102 (#5008)Statistic
: 修复 decimalPlaces=0 时数值动画期间精度错误的问题 @liweijie0812 (#5055)TreeSelect
: 首次渲染时自动展开选定节点 @RSS1102 (#5003)
📝 Documentation
docs
:ConfigProvider
增加globalConfig
API文档,Layout
子组件Content
新增 API 文档 @liweijie0812 (#5090)docs
: 全局配置页面路由修改为config-provider
,与其他组件保持一致 @liweijie0812 (#5090)
🚧 Others
plugin
: 新增ConfigProvider
、Typography
等组件的编辑器提示功能 @liweijie0812 (#5090)dependency
: 调整组件依赖lodash
为lodash-es
@zhangpaopao0609 (#4959)
🌈 1.10.7
🚀 Features
Icon
: 新增logo-alipay
、logo-behance-filled
等图标,修改logo-wecom
图标,移除不合理的logo-wecom-filled
图标 @uyarn (#4926)Table
: 支持scrollToElement
方法在非虚拟滚动的情况下使用 @Cat1007 (#4946)DatePicker
: 新增multiple
API,用于支持多选场景,具体使用请参考示例 @uyarn (#4854)
🐞 Bug Fixes
Select
:- 修复分组情况下标题不存在
group
的渲染报错的问题 @RSS1102 (#4896) - 修复
option value
为boolean
时控制台类型错误警告 @SaberA1ter (#4932) - 修复使用
empty
API 自定义空状态内容缺失默认样式的问题 @liweijie0812 (#4909) - 修复全选配合选项
disabled
状态使用的错误问题 @msg-fobbit (#4947)
- 修复分组情况下标题不存在
Progress
: 修复progress
为100时,status
无效的问题 @rofixro (#4895)AutoComplete
: 修复选项为空时显示效果异常的问题 @betavs (#4907)Breadcrumb
: 修复herf
和to
同时存在时点击后会先后触发 @rofixro (#4916)Table
: 修复不支持默认的键盘横向操作滚动宽表格的问题 @uyarn (#4904)ImageViewer
: 修复开启closeOnOverlay
时,点击蒙层关闭存在闪烁情况的问题 @huangchen1031 (#4931)ColorPicker
: 修复支持渐变模式下,第一次打开时tabs
位置没有跟随变化的问题 @natural1024 (#4903)Cascader
: 修复某一级的children
长度为1
时导致的样式错误问题 @msg-fobbit (#4951)Tabs
: 修复可滑动Tabs
配合action
使用的样式问题 @Wesley-0808 @tdesign-bot (#4953)DatePicker
: 修复日期范围选择器在跨年场景下,周模式选中范围样式缺失的问题 @uyarn (#4854)
📝 Documentation
Loading
: 移除重复的示例 @RSS1102 (#4949)Descriptions
: 添加对于labelStyle
的使用说明 @RSS1102 (#4950)Plugin
: 更新插件提示内容 @liweijie0812 (#4892)
New Contributors
- @tdesign-bot made their first contribution in #4926
- @SaberA1ter made their first contribution in #4932
- @msg-fobbit made their first contribution in #4936
- @370295005 made their first contribution in #4925
Full Changelog: 1.10.6...1.10.7
🌈 1.10.6
🚀 Features
List
: 新增scrollTo
方法,支持滚动到指定元素,可参考示例使用 @natural1024 (#4863)Radio
: 新增theme
API,用于决定options
方式渲染的Radio
样式 @myronliu347 @liweijie0812 (#4872)
🐞 Bug Fixes
Table
:Cascader
:Dialog
:Swiper
: 修复autopaly=false
, 修改current
无效 @liweijie0812 (#4845)Upload
: 上传组件图片展示样式优化 @huangchen1031 (#4853)Slider
: 滑块可以正常在移动端设备中拖动 @zd5043039119 (#4860)DatePicker
: 优化日期范围选择面板初始化展示的逻辑,保持右侧面板大于左侧面板 @uyarn (#4879)DateRangePicker
: 修复开始结束值同时存在的逻辑判断错误问题 @betavs (#4868)Tree
: 修复使用keys
定义value
无法配合scrollTo
一起使用的问题 @uyarn (#4880)
📝 Documentation
New Contributors
- @HHaoWang made their first contribution in #4829
- @zd5043039119 made their first contribution in #4860
- @natural1024 made their first contribution in #4863
Full Changelog: 1.10.5...1.10.6
🌈 1.10.5
🚀 Features
Vitest
: 升级vitest
版本以及相关依赖到2.1.8
,配合 vscode 插件支持单个单测的运行测试 @PengYYYYY (#4807)TimePicker
: 支持readonly
属性 @RSS1102 (#4812)DatePicker
: 支持readonly
属性 @RSS1102 (#4790)
🐞 Bug Fixes
Tabs
:Transfer
:Table
:Dropdown
: 示例里prefixIcon
字段应该调整为函数形式 @Lnncoco (#4769)Pagination
: 增加class
方便区分组件状态 @uyarn (#4828)ColorPicker
: 修复colorMode
文案国际化 @liweijie0812 (#4778)Dropdown
: 当options
为空时,控制台报错的问题 @betavs (#4785)Drawer
: 修复closeOnOverlayClick
属性默认值为true
导致全局参数无法设置的问题 (#4782) @PengYYYYY (#4801)DatePicker
: 修正needConfirm
为false
的场景下,preset
选择失效的问题 @Cat1007 (#4792)Input
: 修复在Form
设置全局只读下Input
组件的状态异常问题 @xiaojueshi (#4818)Tree
: 修复树开启虚拟滚动后容器宽度发生变化会导致回滚到顶部的问题 @uyarn (#4826)
📝 Documentation
New Contributors
- @Lnncoco made their first contribution in #4769
- @zydemail made their first contribution in #4777
- @lxzlx624 made their first contribution in #4781
Full Changelog: 1.10.4...1.10.5