1.12.1
What's Changed
Navbar: 新增placeholder属性,默认值为false;新增zIndex属性,默认值为1@anlyyao (#4116)TabBar: 新增placeholder属性,默认值为false;新增zIndex属性,默认值为1@anlyyao (#4116)Badge: @anlyyao (#4137)shape属性新增ribbon-right/ribbon-left/triangle-right/triangle-left可选项,其中ribbon与ribbon-right等效- 优化
ribbon实现,改用background: linear-gradient(),移除伪元素相关样式
Popover: 新增fixedAPI,适用于触发元素为fixed场景。⚠️ 当触发元素为fixed时,除了需要显示指定fixed属性为true,还需在触发元素层添加t-popover-wrapper--fixed类,用于定位触发元素。@Wesley-0808 (#4114)Search: @anlyyao (#4150)- 确保点击清空按钮后,组件内容清空但保持聚焦
- 新增
cursor-color属性
🐞 Bug Fixes
ChatContent: 修复角色为system时文本颜色错误 @anlyyao (#4112)Toast: 修复Toast嵌套调用时close回调陷入循环的问题 @anlyyao (#4110)Attachments: 修复删除按钮在华为pure70机型上显示不完整的问题 @waiterxiaoyy (#4124)DateTimePicker: 修复插槽名重复导致的控制台告警 @anlyyao (#4126)Picker:- 优化性能减少掉帧 @jarmywang @Boomkaa (#4120)
- 修复平铺模式
value变化未能准确监听 @jarmywang (#4120)
ColorPicker: 补充styleIsolation配置项,解决外部样式无法覆盖组件样式问题 @anlyyao (#4138)SwipeCell: 消除IntersectionObserver is using slowest path警告 @anlyyao (#4139)Tabs: 消除IntersectionObserver is using slowest path警告 @anlyyao (#4139)Progress: @anlyyao (#4153)- 修复深色模式下环形进度条内部背景色错误
- 修复环形进度条内部文本间距错误
New Contributors
- @waiterxiaoyy made their first contribution in #4124
- @Copilot made their first contribution in #4114
Full Changelog: 1.12.0...1.12.1