Tencent/tdesign-miniprogram
 Watch   
 Star   
 Fork   
5 days ago
tdesign-miniprogram

1.9.6

What's Changed

🚀 Features

  • Upload: 支持视频预览 @anlyyao (#3741)
  • Icon: 自定义 icon名称支持使用下划线 @zhonghuipro (#3744)

🐞 Bug Fixes

  • CollapsePanel: 修复部分 css 变量无效的问题 @betavs (#3731)
  • Grid: 修复 GridItem 项数是 columns 列数的非整数倍时边框样式错误 @anlyyao (#3740)

🚧 Others

  • build: 修复 1.9.0 版本在 Windows 环境下 WXSS 文件编译错误 @anlyyao (#3719)
  • site: 官网支持单组件 Changelog @RylanBot (#3725)

New Contributors

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.9.5...1.9.6

18 days ago
tdesign-miniprogram

1.9.5

What's Changed

🚀 Features

  • Picker: 新增 content 插槽,用于处理空数据场景;支持点击选中 @anlyyao (#3711)(#3712)
  • Fab: 未显示传入 icontext 时将启用默认插槽,用于自定义悬浮按钮内容,此时 buttonProps 将失效 @novlan1 (#3684)
  • Upload: 新增 preview 属性,用于关闭/开启图片预览 @anlyyao (#3714)

🐞 Bug Fixes

  • Toast: 使用 flex 替换 fit-content,兼容 skyline 场景 @anlyyao (#3710)
  • TreeSelect: 修复传入非标准 options 数据源时组件控制台报错 @anlyyao (#3708)
  • Rate: 修复点选全星时弹框不显示 @Boomkaa (#3715)

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.9.4...1.9.5

2025-05-29 16:40:00
tdesign-miniprogram

1.9.4

What's Changed

🚀 Features

  • Input: cursor 属性默认值取 -1,确保光标在 value 值末尾 @anlyyao (#3672)
  • Search: cursor 属性默认值取 -1,确保光标在 value 值末尾 @anlyyao (#3672)
  • TreeSelect: 允许 optionschildren 未定义,同时增强 keys 属性,支持为 disabled / children 字段自定义别名 @anlyyao (#3671)

🐞 Bug Fixes

  • Calendar: 修复当 switchMode !== 'none' 时,重置空值后选中的状态未更新的问题 @betavs (#3676)
  • Tabs: 修复 1.8.8 中 bottomLineModeauto/full 时线宽计算错误 @anlyyao (#3668)
  • ImageViewer: 修复图片懒加载无效 。同时新增 lazy 属性,开启后会预加载当前图片、相邻图片 @anlyyao (#3674)
  • Upload: 修复 max = 0 时上传数量仍受限,以及 max = 0 和 source="messageFile" 时无法上传的问题 @anlyyao (#3679)

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.9.3...1.9.4

2025-05-23 17:11:29
tdesign-miniprogram

1.9.3

What's Changed

🐞 Bug Fixes

  • Slider: 修复设置 min 值后 marks 刻度对应位置错误的问题 @betavs (#3653)
  • DateTimePicker: 修复勾选 SWC 编译脚本文件时组件功能异常 @Boomkaa (#3654)
  • ColorPicker: 修复勾选 SWC 编译脚本文件时组件功能异常 @betavs (#3654)
  • Link: 修复在 navigatorProps 中只指定 appId 或者 shortLinktarget="miniProgram" 时样式为禁用状态的问题 @CrazyOrr @betavs (#3643)
  • TreeSelect: 修复 customValue 为空数组时多选报错 @anlyyao (#3662)

🚧 Others

  • fix: 修复 1.9.0 导致的组件类型丢失问题 @anlyyao (#3661)

New Contributors

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.9.2...1.9.3

2025-05-09 17:45:11
tdesign-miniprogram

1.9.2

What's Changed

🐞 Bug Fixes

  • PullDownRefresh: 修复配置 scroll-into-view 不生效问题 @Boomkaa (#3633)
  • DropdownItem: 修复 1.9.1 带来的高度塌陷问题 @betavs (#3635)
  • Dialog: 修复命令式调用时wxml 模版中组件属性不生效 @Boomkaa (#3622)

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.9.1...1.9.2

2025-04-27 15:58:08
tdesign-miniprogram

1.9.1

What's Changed

🚀 Features

  • Icon: 新增 logo-miniprogramlogo-cnbsealquote 图标 @taowensheng1997 @uyarn (#3608)
  • Input: 新增 extra 插槽,用于自定义右侧额外的信息 @Boomkaa (#3614)
  • Cascader: 新增 header 插槽,用于自定义内容头部 @anlyyao (#3617)

🐞 Bug Fixes

  • Icon: 优化多个文件相关图标的绘制效果,修复 gesture-right-slip 的绘制问题 @uyarn(#3608)
  • DropdownItem: 修复动态修改 disabled 属性样式未更新 @Boomkaa (#3612)

New Contributors

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.9.0...1.9.1

2025-04-23 18:49:35
tdesign-miniprogram

1.9.0

What's Changed

🚀 Features

  • DateTimePicker: 支持 showWeek 属性 @anlyyao (#3565 #3570)
  • Dialog: 命令式调用返回触发器数据 @betavs (#3579)
  • Progress: 新增 size 属性,支持自定义环形进度条尺寸 @anlyyao (#3604)
  • Divider: 丰富 css vars,支持自定义分割线高度 @anlyyao (#3603)
  • Upload: 组件新增 addBtnremoveBtn 属性,并支持在文件中设置单个图片的 removeBtn 属性 @anlyyao (#3605)

🐞 Bug Fixes

  • RadioGroup: 修复无法在 form 中获取数据的问题 @Boomkaa (#3558)
  • Switch: 修复深色模式下禁用态背景色错误 @anlyyao (#3564)
  • CountDown: 异步获取 time 导致触发 finish 事件 @anlyyao (#3580)
  • Steps: 修复 themesequence 属性值动态更新后组件未重新渲染的问题 @betavs (#3584)
  • Picker: 修复 keys 属性无效的问题 @anlyyao (#3585)
  • Popup: 当 placement'left' | 'right' 配合 usingCustomNavbar 时,容器高度溢出的问题 @betavs (#3586)
  • DateTimePicker: 修复 startend 属性默认值错误,以系统当前时间为基准 @anlyyao (#3594)
  • PullDownRefresh: 动态设置容器最大高度错误的问题 @betavs (#3592)
  • TreeSelect: 修复多选场景下跨分支点选时选中值不完整 @anlyyao (#3600)

🚧 Others

  • chore: 移除组件对 lodash 的依赖,调整样式引入方式,编译产物移除 md 文档并加入文件压缩 @anlyyao (#3555)
  • site: 站点接入主题生成器 @RylanBot (#3527)

New Contributors

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.8.8...1.9.0

2025-03-23 17:29:11
tdesign-miniprogram

1.8.8

What's Changed

🐞 Bug Fixes

  • StepItem: 移除页面中多余的字符内容 @runoob-coder (#3528)
  • Tabs: 优化指示器初始显示 @jarmywang (#3525)
  • Picker: 修复 API 文档错误,confirmBtncancelBtn 属性仅支持 stringboolean 类型 @anlyyao (#3540)
  • Cascader: 允许 children 为空数组,便于支持数据异步场景 @liuffff (#3542)

🚧 Others

  • other(theme): 补充 --td-brand-color-x 系列色板 @anlyyao (#3531)

New Contributors

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.8.7...1.8.8

2025-03-14 18:03:18
tdesign-miniprogram

1.8.7

What's Changed

🚀 Features

  • Link: 支持 disabled 动态变更 @anlyyao (#3496)
  • DateTimePicker: 新增 formatter 属性 @anlyyao (#3500)
  • Tabs: 新增 bottomLineMode 属性;TabPanel 新增 lazy 属性 @SkylerXie (#3428)

🐞 Bug Fixes

  • Radio: 修复横向单选框样式错误 @anlyyao (#3497)
  • Guide: 修复多个场景组件定位错误 @anlyyao (#3499)
  • Picker: 修复 format 属性无效 @anlyyao (#3500)
  • StepItem: 修复 title 插槽在 skyline 渲染下展示偏右的问题 @runoob-coder (#3519)
  • toast: 新增 warning 主题类型 @theEfrain08 (#3517)

🚧 Others

  • other: 修复因 button 模版带来的控制台告警 @anlyyao (#3523)

New Contributors

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.8.6...1.8.7

2025-02-21 16:21:30
tdesign-miniprogram

1.8.6

What's Changed

🚀 Features

  • Textarea: 新增 placeholderClass 属性 @anlyyao (#3468)
  • Textarea: 新增 readonlyallowInputOverMax 属性 @richardji202 (#3474)
  • Input: 新增 allowInputOverMax 属性 @yangbai1991 (#3473)
  • Radiogroup: 新增 readonly 属性 @yangbai1991 (#3470)

🐞 Bug Fixes

  • Dialog: 修复圆角样式错误,并新增 --td-dialog-border-radius @anlyyao (#3469)
  • Calendar: 修复 confirm-btn 透传缺失部分参数的问题 @betavs (#3464)
  • Cell: 修复部分样式错误,并更新 align 属性描述 @anlyyao (#3466)
  • Input: 移除 --td-input-border-radius @betavs (#3463)

🚧 Others

  • WXS: 所有 wxs 文件模块命名 this 改为 _this @jarmywang (#3488)

Full Changelog: https://github.com/Tencent/tdesign-miniprogram/compare/1.8.5...1.8.6