diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index fcc4d3f2b..37bcea997 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -54,10 +54,11 @@ jobs: with: ref: ${{ steps.comment.outputs.branch }} - name: Commit and push if needed + env: + BODY: ${{ github.event.comment.body }} run: | txt=$(cat CHANGELOG.md) - body='${{ github.event.comment.body }}' - echo "${txt%%##*}${body}${txt##*---}" > CHANGELOG.md + echo "${txt%%##*} $BODY ${txt##*---}" > CHANGELOG.md git add . git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" diff --git a/CHANGELOG.md b/CHANGELOG.md index 66a83777f..9dfa37efa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,77 +5,132 @@ toc: false docClass: timeline --- -## 🌈 1.4.7 `2023-07-11` +## 🌈 1.4.8 `2023-07-18` + +### 🚀 Features + +- `DatePicker`: 优化关闭浮层后重置默认选中区域 @honkinglin ([#2585](https://github.com/Tencent/tdesign-vue/pull/2585)) +- `Checkbox`: @chaishi ([#2583](https://github.com/Tencent/tdesign-vue/pull/2583) + - 新增支持 `lazyLoad`,懒加载,用于需要渲染大量数据,或加载复杂内容/图片的场景 + - 渲染性能优化,选择或取消某一个选项时,不再重复渲染全部复选框 + - 新增支持键盘控制选项选中或取消选中 + - 新增支持 CheckboxGroup 使用 `options` 定义选项列表的同时,使用插槽 `label` 定义选项内容。可用于数据量较大的场景,不会重复渲染 + +### 🐞 Bug Fixes + +- `Checkbox`: @chaishi ([#2583](https://github.com/Tencent/tdesign-vue/pull/2583)) + - 复选框禁用逻辑优先级顺序修复,应当为:`Form.disabled < CheckboxGroup.disabled < Checkbox.disabled` + - 修复带禁用按钮的全选逻辑问题 +- `Input`: 输入框的值类型移除 `Number` 类型 @liweijie0812 ([#2582](https://github.com/Tencent/tdesign-vue/pull/2582)) +- `AutoComplete`: 修复表单内 `AutoComplete` 输入框宽度与 `Input` 组件不一致的问题 @liweijie0812 ([common#1524](https://github.com/Tencent/tdesign-common/pull/1524)) +- `InputNumber`: + - 修复大尺寸的 `padding` 样式问题 @uyarn ([common#1533](https://github.com/Tencent/tdesign-common/pull/1533)) + - 数字为空时,返回 `null`,而非 `undefined` @uyarn ([common#1533](https://github.com/Tencent/tdesign-common/pull/1533)) +- `Transfer`: 优化 transfer item 类名优先级问题 @xixileng ([common#1530](https://github.com/Tencent/tdesign-common/pull/1530)) +- `TagInput`: 修复 tag-input 前缀不居中且会发生抖动的问题 @xixileng ([common#1532](https://github.com/Tencent/tdesign-common/pull/1532)) +- `Dialog`: 修复组件销毁后,没有正确销毁 DOM,导致的内存泄漏问题 @loganylwu ([#2581](https://github.com/Tencent/tdesign-vue/pull/2581)) + +### 🚧 Others + +- `Grid`: 移除 `span` 默认值,`gutter` 类型补充 `lg/xl/xxl` @liweijie0812 ([#2584](https://github.com/Tencent/tdesign-vue/pull/2584)) + +## 🌈 1.4.7 `2023-07-11` + ### 🚀 Features + - `Upload`: @chaishi ([#2568](https://github.com/Tencent/tdesign-vue/pull/2568)) - 新增组件实例方法,`uploadFilePercent` 用于更新文件上传进度 - `theme=image`,支持使用 `fileListDisplay` 自定义 UI 内容 - - `theme=image`,支持点击名称打开新窗口访问图片,[issue#2338](https://github.com/Tencent/tdesign-vue/issues/2338) + - `theme=image`,支持点击名称打开新窗口访问图片,[issue#2338](https://github.com/Tencent/tdesign-vue/issues/2338) - 拖拽上传场景,支持 `accept` 文件类型限制,[issue#3075](https://github.com/Tencent/tdesign-vue-next/issues/3075) - `Dialog`: 为内容区域增加超长时滚动条样式实现 @liweijie0812 ([common#1523](https://github.com/Tencent/tdesign-common/pull/1523)) + ### 🐞 Bug Fixes + - `Alert`: 修复内部自定义元素透明度变化,意外导致 Alert 隐藏的问题 @xiaosansiji ([#2571](https://github.com/Tencent/tdesign-vue/pull/2571)) - `Upload`: 自定义上传方法,修复未能正确返回上传成功或失败后的文件问题 @chaishi ([#2568](https://github.com/Tencent/tdesign-vue/pull/2568)) - `Popup`: 修复 `trigger=hover` 时首次鼠标快速移动导致父级关闭的问题 @ikeq ([#2573](https://github.com/Tencent/tdesign-vue/pull/2573)) -## 🌈 1.4.6 `2023-07-04` +## 🌈 1.4.6 `2023-07-04` + ### 🚀 Features + - `DatePicker`: 新增 `onConfirm` 事件 @liweijie0812 ([#2545](https://github.com/Tencent/tdesign-vue/pull/2545)) - `Table`: 树形结构,添加行层级类名,方便业务设置不同层级的样式 @chaishi ([#2547](https://github.com/Tencent/tdesign-vue/pull/2547)) + ### 🐞 Bug Fixes -- `DatePicker`: 修复默认值为 `null` 时点击日期选择器报错的问题 @liweijie0812 ([common#1499](https://github.com/Tencent/tdesign-common/pull/1499)) + +- `DatePicker`: 修复默认值为 `null` 时点击日期选择器报错的问题 @liweijie0812 ([common#1499](https://github.com/Tencent/tdesign-common/pull/1499)) - `Input`: 修复 `limitNumber` 部分在 `disabled` 状态下的样式问题 @uyarn ([#2557](https://github.com/Tencent/tdesign-vue/pull/2557)) -- `Tree`: 修复单独设置 `checkable` 属性的功能 @TabSpace @uyarn ([#2557](https://github.com/Tencent/tdesign-vue/pull/2557)) +- `Tree`: 修复单独设置 `checkable` 属性的功能 @TabSpace @uyarn ([#2557](https://github.com/Tencent/tdesign-vue/pull/2557)) - `InputNumber`: 修复 `value = 0`时自动校正不生效的问题 @imp2002 ([#2546](https://github.com/Tencent/tdesign-vue/pull/2546)) + ### 🚧 Others + - `编辑器插件`: 更新 WebStorm 等编辑器的组件提示 @liweijie0812 ([#2544](https://github.com/Tencent/tdesign-vue/pull/2544)) -## 🌈 1.4.5 `2023-06-27` +## 🌈 1.4.5 `2023-06-27` + ### 🚀 Features -- `Dialog`: 支持full-screen模式 @Ghostdar ([#2529](https://github.com/Tencent/tdesign-vue/pull/2529)) + +- `Dialog`: 支持 full-screen 模式 @Ghostdar ([#2529](https://github.com/Tencent/tdesign-vue/pull/2529)) - `Table`: 列宽调整场景,新增事件 `onColumnResizeChange`,在列宽调整后触发 @chaishi ([#2535](https://github.com/Tencent/tdesign-vue/pull/2535)) - `Menu`: 为默认侧边导航菜单滚动条增加优化样式 @liweijie0812 ([common#1421](https://github.com/Tencent/tdesign-common/pull/1421)) + ### 🐞 Bug Fixes + - `Table`: 列配置和列宽调整场景,修复列数量由多变少时未能更新宽度问题;[tdesign-vue-next#2951](https://github.com/Tencent/tdesign-vue-next/issues/2951) @chaishi ([#2535](https://github.com/Tencent/tdesign-vue/pull/2535)) - ### 🚧 Others - `官网`: 官网新增英文版本,支持中英文切换 @uyarn ([#2521](https://github.com/Tencent/tdesign-vue/pull/2521)) -## 🌈 1.4.4 `2023-06-20` +## 🌈 1.4.4 `2023-06-20` + ### 🐞 Bug Fixes + - `Drawer`: 修复 `destroyOnClose` 不符合预期问题 @Aicmortal ([#2517](https://github.com/Tencent/tdesign-vue/pull/2517)) - `TextArea`: 修复设置 `value` 值后 autosize 自适应失效的问题 @xiaosansiji ([#2527](https://github.com/Tencent/tdesign-vue/pull/2527)) - `Swiper`: 修复 `navigation` 插槽失效的问题 @uyarn ([#2514](https://github.com/Tencent/tdesign-vue/pull/2514)) - `Table`: 减少斑马纹样式影响范围,避免自定义元素被自定义 @chaishi ([common#1415](https://github.com/Tencent/tdesign-common/pull/1415)) - `Menu`: 侧边导航超长时,不再隐藏滚动条,防止鼠标操作环境下不能拖动滚动条的问题 @xiaosansiji ([common#1416](https://github.com/Tencent/tdesign-common/pull/1416)) + ### 🚧 Others + - `Dropdown`: 新增带图标的下拉菜单示例 @aomnisz ([#2523](https://github.com/Tencent/tdesign-vue/pull/2523)) -## 🌈 1.4.2 `2023-06-13` +## 🌈 1.4.2 `2023-06-13` + ### 🚀 Features + - `Menu`: - Submenu 新增 popupProps 属性,允许透传设置底层 Popup 弹窗属性 @xiaosansiji ([#2504](https://github.com/Tencent/tdesign-vue/pull/2504)) - 去除子菜单 inline 样式,改为样式类实现,方便通过全局 Design Token 方式调整尺寸和间距等 @xiaosansiji ([#2496](https://github.com/Tencent/tdesign-vue/pull/2496)) - `InputNumber`: 初始值为 `undefined/null`,且存在 decimalPlaces 时,不再进行小数点纠正 @chaishi ([#2483](https://github.com/Tencent/tdesign-vue/pull/2483)) + ### 🐞 Bug Fixes -- `Menu`: + +- `Menu`: - 修复弹出类菜单内容未对齐的问题 @xiaosansiji ([#2496](https://github.com/Tencent/tdesign-vue/pull/2496)) - 修复侧边导航横向内容可以滚动的问题 @xiaosansiji ([common#1398](https://github.com/Tencent/tdesign-common/pull/1398)) - 修复菜单项与展开箭头 icon 未两端对齐的问题 @xiaosansiji ([common#1390](https://github.com/Tencent/tdesign-common/pull/1390)) - `Timeline`: 修复 `timeline-item` 响应式渲染丢失的问题 @uyarn ([#2501](https://github.com/Tencent/tdesign-vue/pull/2501)) - `Table`: 修复通过 `current` 修改分页,序列号没有变化的问题 @LoopZhou ([#2506](https://github.com/Tencent/tdesign-vue/pull/2506)) - `ColorPicker`: 初始化为渐变模式时 支持空字符串作为初始值 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511)) -- `TreeSelect`: 修复 keys配合 `valueType = object` 时使用的异常问题 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511)) +- `TreeSelect`: 修复 keys 配合 `valueType = object` 时使用的异常问题 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511)) - `Cascader`: 修复空数组选项展示异常的问题 @uyarn ([#2511](https://github.com/Tencent/tdesign-vue/pull/2511)) - `Upload`: 删除 Upload 中对 loading 的重复颜色设置 @sinbadmaster ([common#1399](https://github.com/Tencent/tdesign-common/pull/1399)) -## 🌈 1.4.0 `2023-06-06` +## 🌈 1.4.0 `2023-06-06` + ### 🚀 Features + - `Menu`: @xiaosansiji ([#2461](https://github.com/Tencent/tdesign-vue/pull/2461)) - 设置 `href` 时使用 `` 标签渲染菜单项 [#1671](https://github.com/Tencent/tdesign-vue-next/issues/1671) - 使用 Popup 重构 Menu 弹出菜单实现 -- `Select`: 优化选项结构 移除多余的span节点 @uyarn ([#2480](https://github.com/Tencent/tdesign-vue/pull/2480)) +- `Select`: 优化选项结构 移除多余的 span 节点 @uyarn ([#2480](https://github.com/Tencent/tdesign-vue/pull/2480)) - `InputNumber`: 支持默认格式化小数点 @chaishi ([#2478](https://github.com/Tencent/tdesign-vue/pull/2478)) + ### 🐞 Bug Fixes + - `Loading`: 修复多次调用关闭全屏函数时控制台报错问题 @huangpiqiao ([#2465](https://github.com/Tencent/tdesign-vue/pull/2465)) - `Menu`: @xiaosansiji ([#2461](https://github.com/Tencent/tdesign-vue/pull/2461)) - 修复收起菜单时超出内容无法滚动的问题 [#2435](https://github.com/Tencent/tdesign-vue/issues/2435) @@ -87,26 +142,35 @@ docClass: timeline - `ImageViewer`: 修复 closeBtn `prop = false` 时渲染异常的问题 @sinbadmaster ([#2472](https://github.com/Tencent/tdesign-vue/pull/2472)) - `类型问题`: 修复`Radio Checkbox Input Tabs Popup`等组件缺少 type 的问题 @chaishi ([#2475](https://github.com/Tencent/tdesign-vue/pull/2475)) -## 🌈 1.3.4 `2023-05-30` +## 🌈 1.3.4 `2023-05-30` + ### 🚀 Features + - `TimePicker`: 没有选中值时不允许点击确认按钮 @uyarn ([#2448](https://github.com/Tencent/tdesign-vue/pull/2448)) - `Menu`: 侧边导航菜单收起时,支持 Tooltip 展示菜单内容 @xiaosansiji ([#2455](https://github.com/Tencent/tdesign-vue/pull/2455)) + ### 🐞 Bug Fixes + - `Message`: 修复通过命令调用时,attach 所在 Dom 被清空后,新的 message 无法显示问题修复 @luguokong ([#2443](https://github.com/Tencent/tdesign-vue/pull/2443)) - `Backtop`: 修复 visibleHeight 只触发一次的缺陷 @uyarn ([#2449](https://github.com/Tencent/tdesign-vue/pull/2449)) - `StickyTool`: 修复控制台告警 @uyarn ([#2450](https://github.com/Tencent/tdesign-vue/pull/2450)) - `InputAdornment`: 修复 `prepend/append` 为空字符串时仍然渲染节点的问题 @uyarn ([#2457](https://github.com/Tencent/tdesign-vue/pull/2457)) - `Badge`: 修正在部分情况下未重置`box-sizing`而导致的样式错误 @PDieE ([common#1340](https://github.com/Tencent/tdesign-common/pull/1340)) -## 🌈 1.3.3 `2023-05-19` +## 🌈 1.3.3 `2023-05-19` + ### 🐞 Bug Fixes + - `Tooltip`: 修复箭头偏移问题 @uyarn ([#1347](https://github.com/Tencent/tdesign-common/pull/1347)) +## 🌈 1.3.2 `2023-05-19` -## 🌈 1.3.2 `2023-05-19` ### 🚀 Features -- `Cascader`: 选项支持自定义样式 @ZekunWu ([#2396](https://github.com/Tencent/tdesign-vue/pull/2396)) + +- `Cascader`: 选项支持自定义样式 @ZekunWu ([#2396](https://github.com/Tencent/tdesign-vue/pull/2396)) + ### 🐞 Bug Fixes + - `Tree`: 修复 Tree 组件过滤并允许折叠状态下,每次搜索条件变更都展开路径节点 @TabSpace ([#2419](https://github.com/Tencent/tdesign-vue/pull/2419)) - `TagInput`: 修复组件初始值异常的问题 @uyarn ([#2423](https://github.com/Tencent/tdesign-vue/pull/2423)) - `Textarea`: 修复 autosize 为 null 报错的问题 @uyarn ([#2423](https://github.com/Tencent/tdesign-vue/pull/2423)) @@ -114,11 +178,14 @@ docClass: timeline - `TreeSelect`: 修复异步加载数据没有正常显示 label 的问题 @uyarn ([#2424](https://github.com/Tencent/tdesign-vue/pull/2424)) - `Upload`: 修复多图上传增加丢失的间距的样式问题 @PDieE ([common#1344](https://github.com/Tencent/tdesign-common/pull/1344)) +## 🌈 1.3.1 `2023-05-11` -## 🌈 1.3.1 `2023-05-11` ### 🚀 Features + - `ColorPicker`: 新增`size` API @uyarn ([#2388](https://github.com/Tencent/tdesign-vue/pull/2388)) + ### 🐞 Bug Fixes + - `Table`: 修复表格右侧冻结时表头无法对齐问题 @huangpiqiao ([#2371](https://github.com/Tencent/tdesign-vue/pull/2371)) - `Form`: 修复`disabled`下部分组件未禁用的缺陷 @uyarn ([#2405](https://github.com/Tencent/tdesign-vue/pull/2405)) - `TagInput`: 修复`disabled`响应丢失导致无法切换可清空状态的缺陷 @uyarn ([#2406](https://github.com/Tencent/tdesign-vue/pull/2406)) @@ -128,38 +195,52 @@ docClass: timeline - `Popup`: 修复 `onScrollToBottom` 在部分 windows 环境下无法触发的问题 @uyarn ([#2404](https://github.com/Tencent/tdesign-vue/pull/2404)) - `DatePicker`: 修复默认时间不生效的问题,将原本漏掉的 result 对于 defaultTime 的处理补充回来 @Ericleungs ([common#1331](https://github.com/Tencent/tdesign-common/pull/1331)) -## 🌈 1.3.0 `2023-04-27` +## 🌈 1.3.0 `2023-04-27` + ### 🚀 Features + - `StickyTool`: 新增 `StickyTool` 侧边栏组件 @ZekunWu ([#2213](https://github.com/Tencent/tdesign-vue/pull/2213)) - `BackTop`: 新增 `BackTop` 回到顶部组件 @uyarn @shinyina ([#2368](https://github.com/Tencent/tdesign-vue/pull/2368)) - `Input`: 支持在 disabled 状态下,hover 时提示展示全部内容 @uyarn ([#2372](https://github.com/Tencent/tdesign-vue/pull/2372)) + ### 🐞 Bug Fixes + - `Select`: 修复多选下尺寸的样式问题 @uyarn ([#2349](https://github.com/Tencent/tdesign-vue/pull/2349)) - `Table`: 修复 SSR 服务端渲染报错问题 @chaishi ([#2357](https://github.com/Tencent/tdesign-vue/pull/2357)) -- `Datepicker`: +- `Datepicker`: - 修复单独使用 `DatePickerPanel`,且启用 enable-time-picker 时,时分秒无法双向绑定且无法滚动的问题 @Ericleungs ([#2353](https://github.com/Tencent/tdesign-vue/pull/2353)) - 修复在时间戳模式下 panel 会显示 Invalid value 的问题 @Ericleungs ([common#1268](https://github.com/Tencent/tdesign-common/pull/1268)) - 修复第二次点击面板关闭异常问题 @honkinglin ([#2373](https://github.com/Tencent/tdesign-vue/pull/2373)) - `Space`: 修复插槽丢失响应式的缺陷 @uyarn ([#2372](https://github.com/Tencent/tdesign-vue/pull/2372)) -## 🌈 1.2.7 `2023-04-20` +## 🌈 1.2.7 `2023-04-20` + ### 🚀 Features + - `Datepicker`: 新增 `onPresetClick` 事件 @honkinglin ([#2342](https://github.com/Tencent/tdesign-vue/pull/2342)) + ### 🐞 Bug Fixes + - `DatePicker`: 修复时间戳模式下控制台警告 props 类型错误的问题 @Ericleungs ([#2328](https://github.com/Tencent/tdesign-vue/pull/2328)) -- `Table`: 修复table组件在开启固定列单列 resizable 禁用时,相邻 resizable 启用的列列宽调整范围与预期不一致的问题 @chuyueZhang ([#2335](https://github.com/Tencent/tdesign-vue/pull/2335)) +- `Table`: 修复 table 组件在开启固定列单列 resizable 禁用时,相邻 resizable 启用的列列宽调整范围与预期不一致的问题 @chuyueZhang ([#2335](https://github.com/Tencent/tdesign-vue/pull/2335)) - `Cascader`: 修复 `valueType = full` 模式下,设置 `minCollapsedNum` 渲染报错的问题 @xiaosansiji ([#2343](https://github.com/Tencent/tdesign-vue/pull/2343)) - `ColorPicker`: 修复渐变模式下 `hex` 和 `rgb` 模式下输入无法修改渐变点颜色的缺陷 @uyarn ([common#1289](https://github.com/Tencent/tdesign-common/pull/1289)) - Popup: 修复 nuxt 环境中报错的问题 @uyarn (https://github.com/Tencent/tdesign-vue/pull/2347) + ### 🚧 Others + - `文档`: icon 调整 manifest 统一入口导出 esm 模块说明 @Layouwen ([#2341](https://github.com/Tencent/tdesign-vue/pull/2341)) - `主题生成器`: 官网主题生成器升级 1.0 版本,支持色彩智能推荐及尺寸调整,新增腾讯云皮肤 @uyarn ([#2345](https://github.com/Tencent/tdesign-vue/pull/2345)) -## 🌈 1.2.6 `2023-04-13` +## 🌈 1.2.6 `2023-04-13` + ### 🚀 Features + - `Loading`: 完善指令使用方式,支持 `v-loading` 配置复杂属性 @akinocccc ([#2318](https://github.com/Tencent/tdesign-vue/pull/2318)) - `Select`: 支持 `boolean` 类型的 value @uyarn ([#2325](https://github.com/Tencent/tdesign-vue/pull/2325)) + ### 🐞 Bug Fixes + - `Upload`: 修复 `triggerButtonProps` 在 `theme=file-input` 时失效的问题 @qqw78901 ([#2319](https://github.com/Tencent/tdesign-vue/pull/2319)) - `Transfer`: 修复筛选后全选功能 @akinocccc ([#2315](https://github.com/Tencent/tdesign-vue/pull/2315)) - `Table`: @chuyueZhang ([#2324](https://github.com/Tencent/tdesign-vue/pull/2324)) @@ -173,39 +254,48 @@ docClass: timeline - `InputNumber`: 移除 autowidth 模式下多余的样式 @uyarn ([common#1258](https://github.com/Tencent/tdesign-common/pull/1258)) - `Datepicker`: 修正区域时间选择,在右输入框点击了一年的最后一周之后,左右输入框的 value 前后对调的问题 @Ericleungs ([common#1257](https://github.com/Tencent/tdesign-common/pull/1257)) +## 🌈 1.2.5 `2023-04-06` -## 🌈 1.2.5 `2023-04-06` ### 🐞 Bug Fixes + - `Popup`: 修复部分构建工具无法自动注册 Popup 插件的问题 @uyarn ([#2294](https://github.com/Tencent/tdesign-vue/pull/2294)) - `InputAdornment`: 修复 slot 方式直接使用字符串时 class 类名缺失的问题 @ccccpj ([#2293](https://github.com/Tencent/tdesign-vue/pull/2293)) - `Form`: 修复重置操作后错误为 data 数据添加了 `undefined` key 的问题 @akinocccc ([#2296](https://github.com/Tencent/tdesign-vue/pull/2296)) - `DatePicker`: 修复日期输入框值不更新的问题 @akinocccc ([#2299](https://github.com/Tencent/tdesign-vue/pull/2299)) -- `Tree`: 修复懒加载子节点时点击label会触发选中的问题 @uyarn ([#2298](https://github.com/Tencent/tdesign-vue/pull/2298)) -- `InputNumber`: - - 修复当浮点数和整数相加时,因为 JS 浮点精度计算问题导致的数据错误 @Ericleungs ([common#1251](https://github.com/Tencent/tdesign-common/pull/1251)) - - 修复小数位操作以 0 结尾时部分边界场景异常的问题 @uyarn ([#2304](https://github.com/Tencent/tdesign-vue/pull/2304)) +- `Tree`: 修复懒加载子节点时点击 label 会触发选中的问题 @uyarn ([#2298](https://github.com/Tencent/tdesign-vue/pull/2298)) +- `InputNumber`: + - 修复当浮点数和整数相加时,因为 JS 浮点精度计算问题导致的数据错误 @Ericleungs ([common#1251](https://github.com/Tencent/tdesign-common/pull/1251)) + - 修复小数位操作以 0 结尾时部分边界场景异常的问题 @uyarn ([#2304](https://github.com/Tencent/tdesign-vue/pull/2304)) + +## 🌈 1.2.4 `2023-03-30` -## 🌈 1.2.4 `2023-03-30` ### 🚀 Features + - `Table`: 支持设置 `filterRow=null` 隐藏过滤结果行 @chaishi ([#2267](https://github.com/Tencent/tdesign-vue/pull/2267)) + ### 🐞 Bug Fixes + - `Table`: 修复 SSR 环境 document 报错问题 @chaishi ([#2267](https://github.com/Tencent/tdesign-vue/pull/2267)) - `TagInput`: 修复基于`TagInput`的组件使用筛选时删除关键词时会删除已选值的问题 @chiyu1996 ([#2270](https://github.com/Tencent/tdesign-vue/pull/2270)) -- `DatePicker`: 修复 format 为12小时制时功能异常的问题 @uyarn ([#2276](https://github.com/Tencent/tdesign-vue/pull/2276)) +- `DatePicker`: 修复 format 为 12 小时制时功能异常的问题 @uyarn ([#2276](https://github.com/Tencent/tdesign-vue/pull/2276)) - `Alert`: 修复关闭按钮为文字时的居中和字体大小问题 @Wen1kang ([common#1229](https://github.com/Tencent/tdesign-common/pull/1229)) -- `Loading`: 兜底部分插件场景加载loading的时机问题 @uyarn ([common#1230](https://github.com/Tencent/tdesign-common/pull/1230)) +- `Loading`: 兜底部分插件场景加载 loading 的时机问题 @uyarn ([common#1230](https://github.com/Tencent/tdesign-common/pull/1230)) - `ImageViewer`: 转义样式中的 min 函数,防止 ESM 产物中 less 产物编译失败 @scshsy ([common#1225](https://github.com/Tencent/tdesign-common/pull/1225)) -- `Select/SelectInput`: 修复重复触发 `blur/clear/focus` 事件的问题 @xiaosansiji ([#2278](https://github.com/Tencent/tdesign-vue/pull/2278)) +- `Select/SelectInput`: 修复重复触发 `blur/clear/focus` 事件的问题 @xiaosansiji ([#2278](https://github.com/Tencent/tdesign-vue/pull/2278)) + +## 🌈 1.2.3 `2023-03-23` -## 🌈 1.2.3 `2023-03-23` ### 🚀 Features + - `Table`: @chaishi ([#2251](https://github.com/Tencent/tdesign-vue/pull/2251)) - 支持使用 `filterIcon` 支持不同列显示不同的筛选图标,[issue#2088](https://github.com/Tencent/tdesign-vue/issues/2088) - 支持横向滚动到固定列,[issue#1992](https://github.com/Tencent/tdesign-vue/issues/1992) - `ColorPicker`: 新增`enableMultipleGradient`, 支持渐变色只存在起始和结束梯度 @uyarn ([#2260](https://github.com/Tencent/tdesign-vue/pull/2260)) - `TimePicker`: 新增`size` API , 用于控制时间输入框大小,`pick`事件增加`context`回调参数 @uyarn ([#2260](https://github.com/Tencent/tdesign-vue/pull/2260)) -- `Dropdown`: 支持透传popupProps的`on-visible-change`的写法 @uyarn ([#2260](https://github.com/Tencent/tdesign-vue/pull/2260)) +- `Dropdown`: 支持透传 popupProps 的`on-visible-change`的写法 @uyarn ([#2260](https://github.com/Tencent/tdesign-vue/pull/2260)) + ### 🐞 Bug Fixes + - `Popup`: 修复需多次点击才能关闭的问题 @ikeq ([#2247](https://github.com/Tencent/tdesign-vue/pull/2247)) - `TreeSelect`: - 修复树选择组件,在表格组件里面时,显示两个 Tips 的问题,[issue#2131](https://github.com/Tencent/tdesign-vue/issues/2131) @chaishi ([#2251](https://github.com/Tencent/tdesign-vue/pull/2251)) @@ -214,8 +304,10 @@ docClass: timeline - 单行选中功能,修复 `allowUncheck: false` 无效问题,[tdesign-vue-next#2561](https://github.com/Tencent/tdesign-vue-next/issues/2561) @chaishi ([#2256](https://github.com/Tencent/tdesign-vue/pull/2256)) - 修复 lazyload 的问题 @yanxugong ([#2250](https://github.com/Tencent/tdesign-vue/pull/2250)) -## 🌈 1.2.2 `2023-03-16` +## 🌈 1.2.2 `2023-03-16` + ### 🚀 Features + - `Table`: @chaishi ([#2227](https://github.com/Tencent/tdesign-vue/pull/2227)) - 可编辑单元格(行)功能,支持编辑模式下,数据变化时实时校验,`col.edit.validateTrigger`, [tdesign-vue-nex#2445](https://github.com/Tencent/tdesign-vue-next/issues/2445) - 只有固定列存在时,才会设置类名 `.t-table__content--scrollable-to-left` 和 `.t-table__content--scrollable-to-right` @@ -228,7 +320,9 @@ docClass: timeline - `国际化`: - 新增繁体中文(台湾地区)语言包 @puppetsheep ([common#1189](https://github.com/Tencent/tdesign-common/pull/1189)) - 新增俄语及意大利语言包 @LIjiAngChen8 ([common#1202](https://github.com/Tencent/tdesign-common/pull/1202)) + ### 🐞 Bug Fixes + - `Table`: @chaishi ([#2227](https://github.com/Tencent/tdesign-vue/pull/2227)) - 修复表格宽度抖动问题 - 修复 Dialog 中使用 Table 时列宽调整的问题,[tdesign-vue-next#2359](https://github.com/Tencent/tdesign-vue-next/issues/2359) @@ -237,32 +331,40 @@ docClass: timeline - 修复存在表格冻结列,滚动时冻结列与表格内容未对齐的问题 @huangpiqiao ([common#1197](https://github.com/Tencent/tdesign-common/pull/1197)) - `TreeSelect`: 修复 `label` 设置未生效的问题 @ccccpj ([#2230](https://github.com/Tencent/tdesign-vue/pull/2230)) - `SelectInput`: 修复 `valueDisplay` 和 `label` 插槽实现位置错误的问题 @uyarn ([#2231](https://github.com/Tencent/tdesign-vue/pull/2231)) -- `InputNumber`: 修复小数点后存在非0数字后无法再输入0的问题 @huangpiqiao ([#2236](https://github.com/Tencent/tdesign-vue/pull/2236)) +- `InputNumber`: 修复小数点后存在非 0 数字后无法再输入 0 的问题 @huangpiqiao ([#2236](https://github.com/Tencent/tdesign-vue/pull/2236)) - `Form`: 修复未设置 `label` 属性时,仍渲染多余对应节点的问题 @honkinglin ([#2240](https://github.com/Tencent/tdesign-vue/pull/2240)) - `Datepicker`: @honkinglin ([#2234](https://github.com/Tencent/tdesign-vue/pull/2234)) - 修复时间格式化问题 ([common#1194](https://github.com/Tencent/tdesign-common/pull/1194)) - 修复 `status` 数据类型报错 - `Cascader`: 修复动态加载模式下 `valueType = full` 时回显异常的问题 @huangpiqiao ([#2225](https://github.com/Tencent/tdesign-vue/pull/2225)) -## 🌈 1.2.1 `2023-03-09` +## 🌈 1.2.1 `2023-03-09` + ### 🚀 Features + - `DatePicker`: 支持 `defaultTime` 用于设置默认时间 @honkinglin ([#2215](https://github.com/Tencent/tdesign-vue/pull/2215)) - `Popup`: 支持通过 `this.$popup` 方法直接调用弹出层,具体使用方式请看文档示例 @uyarn ([#2219](https://github.com/Tencent/tdesign-vue/pull/2219)) - `Tag`: 修改 `maxWidth` 生效的 DOM 节点,方便控制文本内容长度 @huangpiqiao ([#2220](https://github.com/Tencent/tdesign-vue/pull/2220)) + ### 🐞 Bug Fixes + - `DatePicker`: 修复月份为 0 时展示当前月份问题 @honkinglin ([#2205](https://github.com/Tencent/tdesign-vue/pull/2205)) -- `Tree`: @TabSpace +- `Tree`: @TabSpace - 完善过滤样式和虚拟滚动样式 ([#2209](https://github.com/Tencent/tdesign-vue/pull/2209)) - 修正激活态切换时,旧激活态未消失的问题 ([#2209](https://github.com/Tencent/tdesign-vue/pull/2209)) - 解决 operations 示例中,节点插入引发死循环的问题 ([#2212](https://github.com/Tencent/tdesign-vue/pull/2212)) - `Badge`: 修复徽标错误行为 @Aicmortal ([#2206](https://github.com/Tencent/tdesign-vue/pull/2206)) - `Table`: 修复 IE 上 affix 表头和表尾出现滚动条的问题 @huangpiqiao ([#2216](https://github.com/Tencent/tdesign-vue/pull/2216)) - `Pagination`: 修复某些情况下 mouseover 触发导致按钮闪烁的问题 @KMethod ([#2214](https://github.com/Tencent/tdesign-vue/pull/2214)) + ### 🚧 Others + - `tree`: 完善激活态单元测试 @TabSpace ([#2209](https://github.com/Tencent/tdesign-vue/pull/2209)) -## 🌈 1.2.0 `2023-03-02` +## 🌈 1.2.0 `2023-03-02` + ### 🚀 Features + - `Textarea`: 为解决 Textarea 字符限制文案会遮挡文本内容的问题,内容长度限制提示位置由组件内右下角移动到组件之外的右下角,与 tips 在同一行 @duanbaosheng ([#2194](https://github.com/Tencent/tdesign-vue/pull/2194)) - `Upload`: 自定义上传方法,支持一个请求上传返回多个文件的数据回显 @chaishi ([common #1165](https://github.com/Tencent/tdesign-common/pull/1165)) - `Image`: @chaishi ([#2182](https://github.com/Tencent/tdesign-vue/pull/2182)) @@ -270,8 +372,10 @@ docClass: timeline - 新增图片全局配置 `globalConfig.image.replaceImageSrc`,用于统一替换图片地址 - `Tree`: 支持虚拟滚动 @TabSpace ([#2181](https://github.com/Tencent/tdesign-vue/pull/2181)) - `Dialog`: 支持插件调用形式接收来自 `ConfigProvider` 的配置 @uyarn ([#2191](https://github.com/Tencent/tdesign-vue/pull/2191)) -- `全局类型`: 新增公共 types 文件的导出 @uyarn ([#2201](https://github.com/Tencent/tdesign-vue/pull/2201)) +- `全局类型`: 新增公共 types 文件的导出 @uyarn ([#2201](https://github.com/Tencent/tdesign-vue/pull/2201)) + ### 🐞 Bug Fixes + - `Table`: @chaishi ([#2183](https://github.com/Tencent/tdesign-vue/pull/2183)) - 列宽调整功能,修复左右侧固定列宽度调整问题,[issue#2168](https://github.com/Tencent/tdesign-vue/issues/2168) - 列宽调整功能,修复吸顶表头列宽调整问题 @@ -281,41 +385,49 @@ docClass: timeline - 去除 Tree 多余的滚动条样式设置 @honkinglin ([common #1168](https://github.com/Tencent/tdesign-common/pull/1168)) - `Dialog`: 修复全局配置 `confirmBtnTheme` 属性失效的问题 @uyarn ([#2191](https://github.com/Tencent/tdesign-vue/pull/2191)) -## 🌈 1.1.3 `2023-02-22` +## 🌈 1.1.3 `2023-02-22` + ### 🚀 Features + - `Message`: MessagePlugin 插件支持传入 `className/style`,以便自定义消息样式 @chaishi ([#2151](https://github.com/Tencent/tdesign-vue/pull/2151)) - `Dialog`: 确认按钮主题不再跟随 Dialog 主题变动 @xiaosansiji ([#2172](https://github.com/Tencent/tdesign-vue/pull/2172)) -- `Guide`: 定义步骤浮层内容 @chaishi ([#2170](https://github.com/Tencent/tdesign-vue/pull/2170)) +- `Guide`: 定义步骤浮层内容 @chaishi ([#2170](https://github.com/Tencent/tdesign-vue/pull/2170)) - 支持使用插槽 `body` `title` `content` 自定义相关内容 - 支持透传 `popupProps` 属性,以便自定义更多特性,如 `popupProps.overlayInnerClassName` -- `Select`: 支持Option自定义title属性 @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) -- `Popup`: 新增onScrollToBottom事件,新增popperOptions API @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) +- `Select`: 支持 Option 自定义 title 属性 @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) +- `Popup`: 新增 onScrollToBottom 事件,新增 popperOptions API @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) + ### 🐞 Bug Fixes + - `Timeline`: 修复自定义图标未能显示在正中间的问题 @chaishi ([#2150](https://github.com/Tencent/tdesign-vue/pull/2150)) - `Table`: - 表格宽度向下取整,修复表格宽度出现小数时导致吸顶和吸底出现横向滚动条 @huangpiqiao ([#2159](https://github.com/Tencent/tdesign-vue/pull/2159)) - - 修复 ssr 场景下构建报错的问题 @KMethod ([#2166](https://github.com/Tencent/tdesign-vue/pull/2166)) + - 修复 ssr 场景下构建报错的问题 @KMethod ([#2166](https://github.com/Tencent/tdesign-vue/pull/2166)) - `Guide`: @chaishi ([#2170](https://github.com/Tencent/tdesign-vue/pull/2170)) - 修复 `@next-step-click` `@prev-step-click` `@skip` 等事件未能触发问题 - 修复 `上一步`、`下一步`、`跳过` 等按钮的标识类名未能正确添加问题 @chaishi ([#2170](https://github.com/Tencent/tdesign-vue/pull/2170)) - `SelectInput`: @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) - 修复基于 SelectInput 的输入类组件单选可输入模式下回删无法完全清空,及其导致的一系列问题 - - 修复onBlur事件触发时机的问题 @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) + - 修复 onBlur 事件触发时机的问题 @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) - `Tabs`: 修复在 tabs 内容区域使用图标大小异常的问题 @uyarn ([#2176](https://github.com/Tencent/tdesign-vue/pull/2176)) - `Drawer/Dialog`: 修复滚动条检测问题 @honkinglin ([#2173](https://github.com/Tencent/tdesign-vue/pull/2173)) - `Button`: 修复按钮 block 样式优先级问题 @honkinglin ([common #1152](https://github.com/Tencent/tdesign-common/pull/1152)) -## 🌈 1.1.2 `2023-02-15` +## 🌈 1.1.2 `2023-02-15` + ### 🚀 Features + - `TreeSelect`: 支持使用 `keys` 定义字段别名 @chaishi ([#2128](https://github.com/Tencent/tdesign-vue/pull/2128)) - `List`: ListItem 支持 `onClick` 事件 @yaogengzhu ([#1923](https://github.com/Tencent/tdesign-vue/pull/1923)) - `Timeline`: @chaishi ([#2138](https://github.com/Tencent/tdesign-vue/pull/2138)) - - 支持使用属性函数 `props.slot: () => ` 自定义连接点 + - 支持使用属性函数 `props.slot: () => ` 自定义连接点 - 支持使用插槽和属性函数 `content` 自定义内容 - 支持使用插槽和属性函数 `label` 自定义时间文本 + ### 🐞 Bug Fixes + - `Table`: @chaishi ([#2130](https://github.com/Tencent/tdesign-vue/pull/2130)) - - 修复 `affixHeader` 在IE上高度异常问题 @huangpiqiao ([#2129](https://github.com/Tencent/tdesign-vue/pull/2129)) + - 修复 `affixHeader` 在 IE 上高度异常问题 @huangpiqiao ([#2129](https://github.com/Tencent/tdesign-vue/pull/2129)) - 修复添加 `resizable` 属性后,在 Dialog 组件中宽度计算问题,并非提前设置好的 column.width,[issue#2116](https://github.com/Tencent/tdesign-vue/issues/2116) - 修复 `column.resizable=false` 在某些场景下无效问题,[issue#1765](https://github.com/Tencent/tdesign-vue/issues/1765) - 修复在自定义列数量场景,表格宽度未能根据列数自适应,[issue#1861](https://github.com/Tencent/tdesign-vue/issues/1861) @@ -326,31 +438,36 @@ docClass: timeline - `Timeline`: 修复 `TimelineItem.labelAlign` 优先级不是最高的问题 @chaishi ([#2138](https://github.com/Tencent/tdesign-vue/pull/2138)) - `Drawer`: 修复组件销毁时未正常移除锁定样式的问题 @honkinglin ([#2133](https://github.com/Tencent/tdesign-vue/pull/2133)) -## 🌈 1.1.1 `2023-02-09` +## 🌈 1.1.1 `2023-02-09` + ### 🐞 Bug Fixes -- `TreeSelect`: @chaishi - - 修复第一次点击无法显示下拉框问题 ([#2126](https://github.com/Tencent/tdesign-vue/pull/2126)) - - 修复1.1.0版本中 `treeProps.keys` 无效问题 ([#2126](https://github.com/Tencent/tdesign-vue/pull/2126)) +- `TreeSelect`: @chaishi + - 修复第一次点击无法显示下拉框问题 ([#2126](https://github.com/Tencent/tdesign-vue/pull/2126)) + - 修复 1.1.0 版本中 `treeProps.keys` 无效问题 ([#2126](https://github.com/Tencent/tdesign-vue/pull/2126)) + +## 🌈 1.1.0 `2023-02-08` -## 🌈 1.1.0 `2023-02-08` ### 🚀 Features + - `Cascader`: @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - 支持自定义 `tips/label/suffix/suffixIcon` 等节点 - 支持 `collapsedItems` 定义折叠的元素, https://github.com/Tencent/tdesign-vue/issues/2102 - `SelectInput`: 支持自定义 `tips` 节点 @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) -- `TagInput`: `collapsedItems` 的参数 `count` 含义更为折叠的标签数量 @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) +- `TagInput`: `collapsedItems` 的参数 `count` 含义更为折叠的标签数量 @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - `Tree`: change 事件新增参数 `{ e }` @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - `Select`: 支持自定义 `tips/label/suffix/suffixIcon` 等节点 @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - `TreeSelect`: @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - 支持 `defaultPopupVisible` - 新增事件 `onEnter` - 支持自定义 `tips/label/suffix/suffixIcon` -- `Dropdown`: submenu层级结构调整,增加一层`t-dropdown__submenu-wrapper` @uyarn ([#2119](https://github.com/Tencent/tdesign-vue/pull/2119)) +- `Dropdown`: submenu 层级结构调整,增加一层`t-dropdown__submenu-wrapper` @uyarn ([#2119](https://github.com/Tencent/tdesign-vue/pull/2119)) + ### 🐞 Bug Fixes + - `Avatar`: 修复图片头像的 `size` 属性失效的问题 @yaogengzhu ([common#2092](https://github.com/Tencent/tdesign-common/pull/1141)) -- `Loading`: 修复loading在部分windows设备中晃动的问题 @uyarn ([#2092](https://github.com/Tencent/tdesign-vue/pull/2092)) -- `Table`: 修复固定列 columns数据不一致导致的报错 [issue#2089] @thinkanymore ([#2091](https://github.com/Tencent/tdesign-vue/pull/2091)) +- `Loading`: 修复 loading 在部分 windows 设备中晃动的问题 @uyarn ([#2092](https://github.com/Tencent/tdesign-vue/pull/2092)) +- `Table`: 修复固定列 columns 数据不一致导致的报错 [issue#2089] @thinkanymore ([#2091](https://github.com/Tencent/tdesign-vue/pull/2091)) - `Dialog`: - 修复 `closeOnClickOverlay = false `时,`overlayClick` 事件未触发问题 @KMethod ([#2087](https://github.com/Tencent/tdesign-vue/pull/2087)) - `ImageViewer`: 支持 `errorText mirrorTipText originalSizeTipText rotateTipText` 等字段配置 @whitexie ([#2103](https://github.com/Tencent/tdesign-vue/pull/2103)) @@ -363,14 +480,14 @@ docClass: timeline - 修复点击下拉面板触发 onBlur 事件问题,期望不触发 - 支持 @enter 和 onEnter 事件 - `Popup`: 点击浮层面板时,禁止触发 onVisibleChange(trigger=document) 事件 @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) -- `Tag`: @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) +- `Tag`: @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - 修复 `maxWidth` 最大宽度限制未包含图标宽度问题 - 修复超出省略场景,元素缺少 title 属性问题 - `TagInput`: @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - 修复 `readonly` 无效问题 - 修复失去焦点时,没有清空 inputValue 问题 - 修复输入文本为空时,按下无法触发 onEnter 事件问题 - - 修复 @click @enter @mouseenter @mouseleave @remove 等事件无效问题 + - 修复 @click @enter @mouseenter @mouseleave @remove 等事件无效问题 - 修复 inputProps 优先级不是最高,进而难以覆盖任意属性问题 - `Select`: 修复 `collapsedItems` 参数 `value/collapsedSelectedItems` 和文档不一致问题,缺少 label 等信息,无法正常渲染节点 @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) - `TreeSelect`: @chaishi ([#2096](https://github.com/Tencent/tdesign-vue/pull/2096)) @@ -383,34 +500,42 @@ docClass: timeline - `Dropdown`: 修复多层超长菜单的异常问题 @uyarn ([#2119](https://github.com/Tencent/tdesign-vue/pull/2119)) - `Watermark`: 修复`unplugin`方式使用`watermark`组件报错的问题 @uyarn ([#2119](https://github.com/Tencent/tdesign-vue/pull/2119)) -## 🌈 1.0.8 `2023-02-02` +## 🌈 1.0.8 `2023-02-02` + ### 🚀 Features + - `TreeSelect`: 支持`tips`和`status` API @uyarn ([#2084](https://github.com/Tencent/tdesign-vue/pull/2084)) + ### 🐞 Bug Fixes -- `Loading`: 加载组件包裹元素时,无法显示内容问题 @chaishi ([#2083](https://github.com/Tencent/tdesign-vue/pull/2083)) +- `Loading`: 加载组件包裹元素时,无法显示内容问题 @chaishi ([#2083](https://github.com/Tencent/tdesign-vue/pull/2083)) -## 🌈 1.0.7 `2023-02-01` +## 🌈 1.0.7 `2023-02-01` ### 🐞 Bug Fixes -- `Table`: @chaishi - - 修复插槽 `cell-empty-content` 无效问题 ([#2068](https://github.com/Tencent/tdesign-vue/pull/2068)) - - 修复本地数据排序,异步获取数据,修复取消排序时,清空数据问题 ([#2073](https://github.com/Tencent/tdesign-vue/pull/2073)) + +- `Table`: @chaishi + - 修复插槽 `cell-empty-content` 无效问题 ([#2068](https://github.com/Tencent/tdesign-vue/pull/2068)) + - 修复本地数据排序,异步获取数据,修复取消排序时,清空数据问题 ([#2073](https://github.com/Tencent/tdesign-vue/pull/2073)) - `Loading`: 当属性 `loading=false` 时,不允许存在任何加载组件相关元素 @chaishi ([#2068](https://github.com/Tencent/tdesign-vue/pull/2068)) - `TreeSelect`: 修复单选下选中值后没有触发`onblur`的问题 @uyarn ([#2069](https://github.com/Tencent/tdesign-vue/pull/2069)) -## 🌈 1.0.6 `2023-01-31` +## 🌈 1.0.6 `2023-01-31` + ### 🚀 Features + - `ColorPicker`: 切换单色-渐变模式时触发色值及 onChange 变化 @uyarn ([#2056](https://github.com/Tencent/tdesign-vue/pull/2056)) - `Upload`: @chaishi ([#2058](https://github.com/Tencent/tdesign-vue/pull/2058)) - 可拖拽的单图片/单文件上传,支持自定义文件信息内容 - 一个请求上传多个文件时,去除重复参数 `file`,保留 `file[0]` `file[1]` 即可,同时新增参数 `length` 表示本次上传文件的数量 - - onError/onSuccess/onProgress` 添加关键事件参数 `XMLHttpRequest`,用于获取上传请求更详细的信息 + - onError/onSuccess/onProgress`添加关键事件参数`XMLHttpRequest`,用于获取上传请求更详细的信息 - `tips` 支持插槽和函数配置 - 新增上传请求超时也会执行 `onError` - 支持 `onCancelUpload` 事件 - 支持 `mockProgressDuration`,用于设置模拟上传进度间隔时间 + ### 🐞 Bug Fixes + - `SelectInput`: 修复下拉弹窗状态未改变时,重复触发 `onPopupVisibleChange` 事件的问题 @xiaosansiji ([#2050](https://github.com/Tencent/tdesign-vue/pull/2050)) - `Table`: 修复可编辑单元格无法退出问题 @chaishi ([#2055](https://github.com/Tencent/tdesign-vue/pull/2055)) - `TreeSelect`: @uyarn ([#2060](https://github.com/Tencent/tdesign-vue/pull/2060)) @@ -429,33 +554,39 @@ docClass: timeline - 修复 `theme=image-flow` 且 `autoUpload=false` 时,`onChange` 事件第一个参数丢失 file.url 问题 - 修复非自动上传场景 `onChange` 事件第二个参数 `file` 值并非当前文件问题 -## 🌈 1.0.5 `2023-01-17` +## 🌈 1.0.5 `2023-01-17` + ### 🚀 Features + - `Avatar`: @chaishi ([#2032](https://github.com/Tencent/tdesign-vue/pull/2032)) - 组件内部支持使用 Image 组件渲染图片 - - 新增 `avatar.imageProps`,用于透传图片组件全部属性。插槽也和 Image 组件保持同名 + - 新增 `avatar.imageProps`,用于透传图片组件全部属性。插槽也和 Image 组件保持同名 - 支持使用 `props.default/props.content` 定义内容 - 支持 `@error` 监听事件,并新增事件参数 `{ e: Event }` - `Image`: 支持 `@load` 和 `@error` 监听事件,并新增事件参数 `{ e: Event }` @chaishi ([#2032](https://github.com/Tencent/tdesign-vue/pull/2032)) - `Input`: @chaishi ([#2041](https://github.com/Tencent/tdesign-vue/pull/2041)) - `change` 事件新增 `trigger` 参数,用于表示触发本次数据变化的场景 - 去除非必要的类名 `t-is-default` - - 新增 click 点击事件 + - 新增 click 点击事件 - `Popup`: 移除多余 `div` 包裹元素 @ikeq ([#2047](https://github.com/Tencent/tdesign-vue/pull/2047)) + ### 🐞 Bug Fixes + - `AutoComplete`: 修复初次聚焦,键盘事件无法上下选中问题 @chaishi ([#2041](https://github.com/Tencent/tdesign-vue/pull/2041)) - `Image`: @chaishi ([#2043](https://github.com/Tencent/tdesign-vue/pull/2043)) - 修复无法使用 `loading` 自定义加载状态节点问题 - 修复无法使用 `error` 自定义错误状态节点问题 - 修复无法使用 `overlayContent ` 自定义浮层问题 - 修复无法使用 `placeholder` 自定义图片占位问题 - - 修复动态修改src值图片无法显示问题 @sechi747 ([#2036](https://github.com/Tencent/tdesign-vue/pull/2036)) + - 修复动态修改 src 值图片无法显示问题 @sechi747 ([#2036](https://github.com/Tencent/tdesign-vue/pull/2036)) - `Space`: 修复无法显示纯文本元素问题 @chaishi ([#2043](https://github.com/Tencent/tdesign-vue/pull/2043)) - `TimePicker`: 修复 TimePickerPanel 没有自动注册的问题 @uyarn ([#2049](https://github.com/Tencent/tdesign-vue/pull/2049)) - `Menu`: 修正菜单项 active 态文字颜色 @xiaosansiji ([common #1122](https://github.com/Tencent/tdesign-common/pull/1122)) -## 🌈 1.0.4 `2023-01-10` +## 🌈 1.0.4 `2023-01-10` + ### 🚀 Features + - `Select`: - 支持全选 @skytt ([#2009](https://github.com/Tencent/tdesign-vue/pull/2009)) - `valueDisplay`回调新增`displayValue`参数,用于设置`minCollapsedNum`的场景 @uyarn ([#2013](https://github.com/Tencent/tdesign-vue/pull/2013)) @@ -463,12 +594,14 @@ docClass: timeline - 支持键盘事件:tab 键切换选项,enter 键选中 - RadioGroup 支持 `allowUncheck`,[issue#1693](https://github.com/Tencent/tdesign-vue/issues/1693) - `Table`: @chaishi ([#2016](https://github.com/Tencent/tdesign-vue/pull/2016)) - - 可编辑单元格,支持使用 `col.edit.on` 透传组件事件 + - 可编辑单元格,支持使用 `col.edit.on` 透传组件事件 - 可编辑单元格,支持使用 `validateTableData` 校验处于编辑态的单元格 - 可编辑单元格,单元格的值 cellValue 不再进行解构处理,[tdesign-vue-next#2236](https://github.com/Tencent/tdesign-vue-next/issues/2236) - 新增 `attach`,用于统一设置超出省略浮层、筛选过滤下拉框等元素的挂载元素。如:`attach={() => document.body}` - `Dialog`: 组件实例方法从可选更为必须存在 @chaishi ([#2026](https://github.com/Tencent/tdesign-vue/pull/2026)) + ### 🐞 Bug Fixes + - `Dialog`: 组件销毁前立即移除当前节点,不需要 `setTimeout` 等待时间 @chaishi ([#2011](https://github.com/Tencent/tdesign-vue/pull/2011)) - `Select`: 修复子组件方式混合传入分组与单个选项时,可能导致顺序错乱、筛选结果有误的问题 @skytt ([#2009](https://github.com/Tencent/tdesign-vue/pull/2009)) - `Radio`: 修复 RadioGroup 和 Radio 组合使用时,`allowUncheck` 无效问题 @chaishi ([#2010](https://github.com/Tencent/tdesign-vue/pull/2010)) @@ -480,8 +613,10 @@ docClass: timeline - `TreeSelect`: 修复选项文案过长样式的异常 @uyarn ([#2023](https://github.com/Tencent/tdesign-vue/pull/2023)) - `Space`: 修复组件 size 类型定义问题 @chaishi ([#2026](https://github.com/Tencent/tdesign-vue/pull/2026)) -## 🌈 1.0.3 `2023-01-05` +## 🌈 1.0.3 `2023-01-05` + ### 🚀 Features + - `AutoComplete`: @chaishi ([#1983](https://github.com/Tencent/tdesign-vue/pull/1983)) - 新增清空功能 `clearable` - 新增自动聚焦功能 `autofocus` @@ -490,9 +625,11 @@ docClass: timeline - `Upload`: 支持配置模拟进度间隔时间,用于设置小文件上传进度触发频次 @chaishi ([#2001](https://github.com/Tencent/tdesign-vue/pull/2001)) - `ImageViewer`: 默认 z-index 调整为 3000,支持全局 CSS Token 调整 @Ylushen ([common #1104](https://github.com/Tencent/tdesign-common/pull/1104)) - 语言包: 新增阿拉伯语的语言包 @sunshineYuanlei ([common #1097](https://github.com/Tencent/tdesign-common/pull/1097)) + ### 🐞 Bug Fixes + - `Select`: @skytt - - 调整 select 标记字段位置 修复部分场景使用option子组件报错的问题 ([#1975](https://github.com/Tencent/tdesign-vue/pull/1975)) + - 调整 select 标记字段位置 修复部分场景使用 option 子组件报错的问题 ([#1975](https://github.com/Tencent/tdesign-vue/pull/1975)) - 修复 option slots 部分情况下异常渲染更新的问题 ([#1981](https://github.com/Tencent/tdesign-vue/pull/1981)) - `Table`: - 修复本地数据分页功能中,`onPageChange` 参数 `newData` 数值不正确问题 @chaishi ([#1973](https://github.com/Tencent/tdesign-vue/pull/1973)) @@ -501,61 +638,76 @@ docClass: timeline - `Tree`: 修复 data 变化时无法更新树结构问题 @TabSpace ([#1976](https://github.com/Tencent/tdesign-vue/pull/1976)) - `Tag`: 修复 disabled 状态下关闭按钮 icon 依然高亮显示的问题 @byq1213 ([#1998](https://github.com/Tencent/tdesign-vue/pull/1998)) - `Input`: - - 修复 value 为空时在IE上无法失焦的问题 @huangpiqiao ([#1996](https://github.com/Tencent/tdesign-vue/pull/1996)) + - 修复 value 为空时在 IE 上无法失焦的问题 @huangpiqiao ([#1996](https://github.com/Tencent/tdesign-vue/pull/1996)) - 处理在 clear 事件中无法获取到最新 value 问题 @chaishi ([#2000](https://github.com/Tencent/tdesign-vue/pull/2000)) - `AutoComplete`: 修复 `options` 不存在时,组件因缺少判空报错问题 @chaishi ([#1983](https://github.com/Tencent/tdesign-vue/pull/1983)) - `Upload`: 上传组件的输入框模式在 Form 表单中的宽度问题修复 @chaishi ([#1999](https://github.com/Tencent/tdesign-vue/pull/1999)) - `Checkbox`: 修复禁用的选项依然会被选中的问题 @chaishi ([#2001](https://github.com/Tencent/tdesign-vue/pull/2001)) - `Datepicker`: 修复月份切换时响应错误的问题 @honkinglin ([#2008](https://github.com/Tencent/tdesign-vue/pull/2008)) - `Menu`: 优化弹出型子菜单最大展示高度,兼容大部分情况下正常展示菜单,且不出现全局滚动条 @xiaosansiji ([common #1111](https://github.com/Tencent/tdesign-common/pull/1111)) + ### 🚧 Others + - `Button`: 移除没有使用到的类名 `t-size-m` @chaishi ([#1977](https://github.com/Tencent/tdesign-vue/pull/1977)) - `Link/Input`: 去掉非必要的类名 `t-size-m` @chaishi ([#1983](https://github.com/Tencent/tdesign-vue/pull/1983)) -## 🌈 1.0.2 `2022-12-28` +## 🌈 1.0.2 `2022-12-28` + ### 🚀 Features + - `Loading`: 新增`v-loading` 支持 @uyarn ([#1964](https://github.com/Tencent/tdesign-vue/pull/1964)) - `Tabs`: 新增初始化时选中选项溢出自动滚动到具体位置的能力 @uyarn ([#1965](https://github.com/Tencent/tdesign-vue/pull/1965)) - `TooltipLite`: mouse 模式下新增定位边界检查,保证内容在可视范围内 @moecasts ([common #1093](https://github.com/Tencent/tdesign-common/pull/1093)) + ### 🐞 Bug Fixes + - `DatePicker`: 修复年份选择器区间展示错误 @honkinglin ([#1963](https://github.com/Tencent/tdesign-vue/pull/1963)) - `Input`: - - 修复input在autowidth为true时,在ie上ResizeObserver监听事件中计算宽度不正常问题 @huangpiqiao ([#1967](https://github.com/Tencent/tdesign-vue/pull/1967)) - - 光标移动至中间输入等部分场景下Input光标位置异常的问题 @uyarn ([#1968](https://github.com/Tencent/tdesign-vue/pull/1968)) -- `Cascader`: empty为字符串时没有默认样式 @uyarn ([#1962](https://github.com/Tencent/tdesign-vue/pull/1962)) + - 修复 input 在 autowidth 为 true 时,在 ie 上 ResizeObserver 监听事件中计算宽度不正常问题 @huangpiqiao ([#1967](https://github.com/Tencent/tdesign-vue/pull/1967)) + - 光标移动至中间输入等部分场景下 Input 光标位置异常的问题 @uyarn ([#1968](https://github.com/Tencent/tdesign-vue/pull/1968)) +- `Cascader`: empty 为字符串时没有默认样式 @uyarn ([#1962](https://github.com/Tencent/tdesign-vue/pull/1962)) - `TextArea`: 修复中文输入法等 IME 情况下,`autosize` 计算失效的问题 @xiaosansiji ([#1969](https://github.com/Tencent/tdesign-vue/pull/1969)) - `Menu`: 修复 logo 区域高度样式问题 @xiaosansiji ([common #1969](https://github.com/Tencent/tdesign-common/pull/1094)) - `Tag`: 去除选中文字透明色的样式 @uyarn ([common #1095](https://github.com/Tencent/tdesign-common/pull/1095)) -## 🌈 1.0.1 `2022-12-23` +## 🌈 1.0.1 `2022-12-23` + ### 🐞 Bug Fixes + - `Menu`: 修复弹出模式子菜单样式展示问题 @xiaosansiji ([#1960](https://github.com/Tencent/tdesign-vue/pull/1960)) -## 🌈 1.0.0 `2022-12-22` +## 🌈 1.0.0 `2022-12-22` + ### 🚀 Features + - `Table`: @chaishi ([#1948](https://github.com/Tencent/tdesign-vue/pull/1948)) - 列配置支持 `stopPropagation: true`,用于设置某一列单元格阻止事件冒泡 - 虚拟滚动支持行高动态变化 - 固定表头背景色始终保持为灰色底,无论内容是否溢出 - `TreeSelect`: `onVisibleChange` 事件增加回调参数 @uyarn ([#1949](https://github.com/Tencent/tdesign-vue/pull/1949)) -- `Guide`: 新增`Guide`引导组件 @uyarn @zhangpaopao0609 ([#1952](https://github.com/Tencent/tdesign-vue/pull/1952)) +- `Guide`: 新增`Guide`引导组件 @uyarn @zhangpaopao0609 ([#1952](https://github.com/Tencent/tdesign-vue/pull/1952)) - `Select`: 提升部分情况下组件内部 options 处理的性能 优化大量数据加载卡顿的问题 @skytt ([#1945](https://github.com/Tencent/tdesign-vue/pull/1945)) ### 🐞 Bug Fixes + - `Input`: 修复 Input 文字长度省略异常的问题 @uyarn ([#1939](https://github.com/Tencent/tdesign-vue/pull/1939)) - `Table`: 修复表格宽度过小时出现抖动的问题 @chaishi ([#1948](https://github.com/Tencent/tdesign-vue/pull/1948)) - `Drawer`: 修复 visible 默认为 `true` 时内容不展示问题 @honkinglin ([#1940](https://github.com/Tencent/tdesign-vue/pull/1940)) -## 🌈 0.52.2 `2022-12-14` +## 🌈 0.52.2 `2022-12-14` + ### 🚀 Features -- `Table`: @chaishi + +- `Table`: @chaishi - 树形结构,支持点击行展开树节点,[issue#1847](https://github.com/Tencent/tdesign-vue/issues/1847) ([#1915](https://github.com/Tencent/tdesign-vue/pull/1915)) - 树形结构,点击树节点展开图标时,不触发 `onRowClick` 行点击事件 - 虚拟滚动支持滚动到具体的某一个元素,用于呈现选中行/选中项 ([#1914](https://github.com/Tencent/tdesign-vue/pull/1914)) - 虚拟滚动支持数据变化时不重置,进而支持树形结构无限滚动 - 虚拟滚动支持表格高度变化,[vue-next #1374](https://github.com/Tencent/tdesign-vue-next/issues/1374) + ### 🐞 Bug Fixes -- `Table`: 修复点击展开行报错的异常 @chaishi ([#1910](https://github.com/Tencent/tdesign-vue/pull/1910)) + +- `Table`: 修复点击展开行报错的异常 @chaishi ([#1910](https://github.com/Tencent/tdesign-vue/pull/1910)) - `Space`: 修复`separator` slot 无效的问题 @yaogengzhu ([#1922](https://github.com/Tencent/tdesign-vue/pull/1922)) - `Datepicker`: - 修复右侧面板月份展示错误问题 @honkinglin ([#1924](https://github.com/Tencent/tdesign-vue/pull/1924)) @@ -566,24 +718,30 @@ docClass: timeline - `Select`: 修复虚拟滚动未关闭下拉框切换页面导致告警的问题 @uyarn ([#1910](https://github.com/Tencent/tdesign-vue/pull/1935)) - `SelectInput`: 修复多选空值场景下的右侧内边距问题 @chaishi ([common #1082](https://github.com/Tencent/tdesign-common/pull/1082)) - `Timepicker`: 修复清空 rangepicker 时返回值异常的问题 @uyarn ([#1936](https://github.com/Tencent/tdesign-vue/pull/1936)) + ### 🚧 Others + - `Calendar/Card/Collapse/Form/ImageViewer/Image`: demo 样例优化 @pengYYYYY ([#1932](https://github.com/Tencent/tdesign-vue/pull/1932)) -## 🌈 0.52.1 `2022-12-09` +## 🌈 0.52.1 `2022-12-09` ### 🐞 Bug Fixes -- `SelectInput`: 修复 popup 与包裹元素导出 ref 重名 导致0.52.0 虚拟滚动失效的问题 @skytt ([#1909](https://github.com/Tencent/tdesign-vue/pull/1909)) -- `TreeSelec`: 修复选中异步加载树节点时 label展示异常的问题 +- `SelectInput`: 修复 popup 与包裹元素导出 ref 重名 导致 0.52.0 虚拟滚动失效的问题 @skytt ([#1909](https://github.com/Tencent/tdesign-vue/pull/1909)) +- `TreeSelec`: 修复选中异步加载树节点时 label 展示异常的问题 ## 🌈 0.52.0 `2022-12-08` + ### ❗ Breaking Changes + - `SelectInput`: 调整 DOM 结构和类名,同其他框架保持一致,方便全部框架复用同一份 CSS @chaishi ([#1880](https://github.com/Tencent/tdesign-vue/pull/1880)) - `Menu`: 样式优化 @xiaosansiji ([#1882](https://github.com/Tencent/tdesign-vue/pull/1882)) - 弹出菜单中箭头不再翻转,间距等样式与 Dropdown 子菜单对齐 - `theme=light` 时默认跟随全局浅色/暗色模式切换,`theme=dark` 保持暗色模式展示 - 侧边导航,去除第三级自菜单弹出动画,减少操作干扰 + ### 🚀 Features + - `ColorPicker`: 新增 `clearable` 及 `showPrimaryColorPreview` API,控制是否展示颜色选择条右侧预览区域 @uyarn ([#1875](https://github.com/Tencent/tdesign-vue/pull/1875)) - `SelectInput`: `selectInputWrapRef ` 更名为 `selectInputRef` @chaishi ([#1880](https://github.com/Tencent/tdesign-vue/pull/1880)) - `Table`: @chaishi ([#1891](https://github.com/Tencent/tdesign-vue/pull/1891)) @@ -592,11 +750,13 @@ docClass: timeline - 本地排序功能,支持对默认数据进行排序 - `Upload`: `onProgress/onSuccess/onFail` 等事件参数添加 `XMLHttpRequest`,用于获取 http status 等数据 @chaishi ([#1886](https://github.com/Tencent/tdesign-vue/pull/1886)) - `Radio/Checkbox`: `click` 事件更为从最外层输出,防止出现无法在外层阻止冒泡的问题 @chaishi ([#1891](https://github.com/Tencent/tdesign-vue/pull/1891)) + ### 🐞 Bug Fixes + - `ColorPicker`: 修复无法删除颜色值的问题 @uyarn ([#1875](https://github.com/Tencent/tdesign-vue/pull/1875)) - `SelectInput`: 宽度自适应模式,边距问题修复,[issue#1842](https://github.com/Tencent/tdesign-vue/issues/1842) @chaishi ([#1880](https://github.com/Tencent/tdesign-vue/pull/1880)) - `TagInput`: 宽度自适应模式,左右边距保持一致 @chaishi ([#1880](https://github.com/Tencent/tdesign-vue/pull/1880)) -- `Textarea`: 修复多行文本autofocus失效的问题 @yaogengzhu ([#1879](https://github.com/Tencent/tdesign-vue/pull/1879)) +- `Textarea`: 修复多行文本 autofocus 失效的问题 @yaogengzhu ([#1879](https://github.com/Tencent/tdesign-vue/pull/1879)) - `InputNumber`: 无法输入小数点后面的第一位数字 `0`,[tdesign-vue-next#2103](https://github.com/Tencent/tdesign-vue-next/issues/2103) @chaishi ([#1885](https://github.com/Tencent/tdesign-vue/pull/1885)) - `InputNumber`: 修复无法使用清空按钮清除输入数字问题,[issue#1855](https://github.com/Tencent/tdesign-vue/issues/1855) @chaishi ([#1885](https://github.com/Tencent/tdesign-vue/pull/1885)) - `SelectInput`: 修复出现的异常`tips` 节点 @pengYYYYY ([#1889](https://github.com/Tencent/tdesign-vue/pull/1889)) @@ -606,20 +766,28 @@ docClass: timeline - `ImageViewer`: 修复缺少移除动画的问题 @honkinglin ([#1877](https://github.com/Tencent/tdesign-vue/pull/1877)) - `RangeInput`: 修复 `status`设置无效的问题 @honkinglin ([#1878](https://github.com/Tencent/tdesign-vue/pull/1878)) - `InputAdornment`: 修复 InputAdornment 相关样式问题 @honkinglin ([#1888](https://github.com/Tencent/tdesign-vue/pull/1888)) + ### 🚧 Others + - `Table`: demo 样例优化 @pengYYYYY ([#1889](https://github.com/Tencent/tdesign-vue/pull/1889)) - `Menu`: demo 样例优化 @xiaosansiji ([#1882](https://github.com/Tencent/tdesign-vue/pull/1882)) -## 🌈 0.51.1 `2022-11-30` +## 🌈 0.51.1 `2022-11-30` + ### ❗ Breaking Changes + - `Jumper`: Jumper 更名为 PaginationMini 组件,正在使用 Jumper 组件的同学请从 Pagination 中导出替换 @honkinglin ([#1845](https://github.com/Tencent/tdesign-vue/pull/1845)) + ### 🚀 Features + - `Calendar`: - 日历组件支持多个高亮单元格; @PsTiu ([#1850](https://github.com/Tencent/tdesign-vue/pull/1850)) - 卡片样式菜单操作栏样式调整 @uyarn ([#1863](https://github.com/Tencent/tdesign-vue/pull/1863)) - `Table`: 选中行功能,新增 `reserveSelectedRowOnPaginate`,用于支持在分页场景中,仅选中当前页数据,切换分页时清空选中结果,全选仅选中当前页数据 @chaishi ([#1849](https://github.com/Tencent/tdesign-vue/pull/1849)) - `Tree`: 使用 composition api 重构组件 @TabSpace ([#837](https://github.com/Tencent/tdesign-vue/pull/837)) + ### 🐞 Bug Fixes + - `Drawer`: - 修复 `closeOnOverlayClick` 存在默认值导致全局配置失效问题 @chaishi ([#1844](https://github.com/Tencent/tdesign-vue/pull/1844)) - 修复 drawer 动画失效的问题 @honkinglin ([#1858](https://github.com/Tencent/tdesign-vue/pull/1858)) @@ -630,51 +798,65 @@ docClass: timeline - 行选中事件参数选中数据支持 `data.push`, [issue#1747](https://github.com/Tencent/tdesign-vue/issues/1747) - `AutoComplete`: 支持使用 `triggerElement` 自定义触发元素 @chaishi ([#1848](https://github.com/Tencent/tdesign-vue/pull/1848)) - `Input`: 宽度自适应 `auto-width` 支持中文拼音输入也实时调整宽度,[issue#2079](https://github.com/Tencent/tdesign-vue-next/issues/2079) @chaishi ([#1853](https://github.com/Tencent/tdesign-vue/pull/1853)) -- `Dialog`: 修复 destroyOnClose 设置后关闭弹窗无动画效果问题 @honkinglin ([#1857](https://github.com/Tencent/tdesign-vue/pull/1857)) +- `Dialog`: 修复 destroyOnClose 设置后关闭弹窗无动画效果问题 @honkinglin ([#1857](https://github.com/Tencent/tdesign-vue/pull/1857)) - `TagInput`: @chaishi ([#1860](https://github.com/Tencent/tdesign-vue/pull/1860)) - 不同尺寸的间距和高度问题修复,[issue#1843](https://github.com/Tencent/tdesign-vue/issues/1843) - 修复右侧图标会和标签重合问题 - 修复 `onRemove` 事件参数未能返回最新 `value` 问题 - 修复未能正确透传 `inputProps` 问题 - `Menu`: 修复二级菜单子菜单纵向左边距丢失的问题 @uyarn ([#1863](https://github.com/Tencent/tdesign-vue/pull/1863)) + ### 🚧 Others + - 支持插件 valor 代码提示 @chaishi ([#1841](https://github.com/Tencent/tdesign-vue/pull/1841)) - 优化 Form/Divider 组件 demo @pattybaby110 ([#1829](https://github.com/Tencent/tdesign-vue/pull/1829)) -## 🌈 0.50.1 `2022-11-24` +## 🌈 0.50.1 `2022-11-24` + ### 🚀 Features + - `InputNumber`: 支持 `allowInputOverLimit`,用于设置是否允许输入数字超过 `max` `min` 范围的值 @chaishi ([#1811](https://github.com/Tencent/tdesign-vue/pull/1811)) - `SelectInput`: 支持`multiple`和`single`模式切换,适用于动态表单或低码平台场景 @uyarn ([#1818](https://github.com/Tencent/tdesign-vue/pull/1818)) - `AutoComplete`: 新增自动填充组件 @chaishi ([#1784](https://github.com/Tencent/tdesign-vue/pull/1784)) - `TimePicker`: `TimePicker` 新增`tips`和 `status` API @uyarn ([#1830](https://github.com/Tencent/tdesign-vue/pull/1830)) - `Switch`: 优化`Switch`样式 区分打开与关闭按钮大小 @Wen1kang @uyarn ([#1834](https://github.com/Tencent/tdesign-vue/pull/1834)) - 添加 Webstorm 和 Vetur 组件代码提示 @chaishi ([#1835](https://github.com/Tencent/tdesign-vue/pull/1835)) + ### 🐞 Bug Fixes + - `InputNumber`: 修复删除数字时数据类型会从 number 变为 string 问题 @chaishi ([#1811](https://github.com/Tencent/tdesign-vue/pull/1811)) - `Select`: 修复限制可选条目数下禁用态不能反选的问题 (#1819) @skytt ([#1825](https://github.com/Tencent/tdesign-vue/pull/1825)) - `Tabs`: 修复 list 定义的 tabs 删除时,remove 方法循环调用的问题 (#1696) @LoopZhou ([#1832](https://github.com/Tencent/tdesign-vue/pull/1832)) - `TimePicker`: 修复面板打开时清空内容回填的问题 @uyarn ([#1830](https://github.com/Tencent/tdesign-vue/pull/1830)) - `Table`: 可编辑行,修复因没有监听数据变化,出现的校验不通过的问题,[issue#1822](https://github.com/Tencent/tdesign-vue/issues/1822) @chaishi ([#1833](https://github.com/Tencent/tdesign-vue/pull/1833)) -- `Progress`: 修复percentage值为100时,会忽略 status 设置的问题 @yusongh ([#1836](https://github.com/Tencent/tdesign-vue/pull/1836)) +- `Progress`: 修复 percentage 值为 100 时,会忽略 status 设置的问题 @yusongh ([#1836](https://github.com/Tencent/tdesign-vue/pull/1836)) - `ColorPicker`: 修复在渐变区域滑竿滑动时,触发 picker 关闭的问题 @S-mohan ([#1806](https://github.com/Tencent/tdesign-vue/pull/1806)) - `DatePicker`: 修复周选择器高亮错误的问题 @honkinglin ([#1814](https://github.com/Tencent/tdesign-vue/pull/1814)) + ### 🚧 Others -- `Test`: 完善 `Form/Steps/Space/Rate/Layout/Grid` 组件测试用例 @xiaosansiji ([#1820](https://github.com/Tencent/tdesign-vue/pull/1820)) -- `Pagination`: 优化 demo 展示效果 @Ccppmmm ([#1824](https://github.com/Tencent/tdesign-vue/pull/1824)) + +- `Test`: 完善 `Form/Steps/Space/Rate/Layout/Grid` 组件测试用例 @xiaosansiji ([#1820](https://github.com/Tencent/tdesign-vue/pull/1820)) +- `Pagination`: 优化 demo 展示效果 @Ccppmmm ([#1824](https://github.com/Tencent/tdesign-vue/pull/1824)) - `Cascader`: 优化自定义 collapsed demo 展示 @xiaosansiji ([#1827](https://github.com/Tencent/tdesign-vue/pull/1827)) -## 🌈 0.50.0 `2022-11-16` +## 🌈 0.50.0 `2022-11-16` + ### ❗ Breaking Changes + - `Comment/Slider/ImageViewer`: 组件 DOM 结构调整,有覆盖样式的同学请关注 @HQ-Lin ([#1785](https://github.com/Tencent/tdesign-vue/pull/1785)、[#1794](https://github.com/Tencent/tdesign-vue/pull/1794)、[#1788](https://github.com/Tencent/tdesign-vue/pull/1788)) -- 部分组件间距、尺寸等样式统一调整,支持使用尺寸相关Design Token调整间距、尺寸大小 @uyarn ([common #993](https://github.com/Tencent/tdesign-common/pull/993)) @Wen1kang ([common #977](https://github.com/Tencent/tdesign-common/pull/977)) +- 部分组件间距、尺寸等样式统一调整,支持使用尺寸相关 Design Token 调整间距、尺寸大小 @uyarn ([common #993](https://github.com/Tencent/tdesign-common/pull/993)) @Wen1kang ([common #977](https://github.com/Tencent/tdesign-common/pull/977)) + ### 🚀 Features + - `Breadcrumb`: 新增`icon` API @uyarn ([#1781](https://github.com/Tencent/tdesign-vue/pull/1781)) - `TreeSelect`: 支持`borderless`、`tagProps`、`selectInputProps`等 API @uyarn ([#1795](https://github.com/Tencent/tdesign-vue/pull/1795)) - `Button`: 新增`suffix` 插槽 适用文字后置图标场景 @uyarn ([#1799](https://github.com/Tencent/tdesign-vue/pull/1799)) - `TreeSelect`: - - TreeSelect 底层重构为基于 SelectInput 实现,复用SelectInput样式,减少兼容样式代码 @uyarn ([#1795](https://github.com/Tencent/tdesign-vue/pull/1795)) + - TreeSelect 底层重构为基于 SelectInput 实现,复用 SelectInput 样式,减少兼容样式代码 @uyarn ([#1795](https://github.com/Tencent/tdesign-vue/pull/1795)) - 补充 readonly 只读属性,@yaogengzhu ([#1783](https://github.com/Tencent/tdesign-vue/pull/1783)) + ### 🐞 Bug Fixes + - `Breadcrumb`: 修复文字省略样式失效的问题 @uyarn ([#1781](https://github.com/Tencent/tdesign-vue/pull/1781)) - `Select`: 搜索修复模糊大小写 (fixed: #1786) @skytt ([#1787](https://github.com/Tencent/tdesign-vue/pull/1787)) - `TagInput`: 修复 `autoWidth = true` 时宽度跟随内容自适应失效的问题;修复标签超出滚动时,显示异常的问题。 @xiaosansiji ([#1793](https://github.com/Tencent/tdesign-vue/pull/1793)) @@ -683,28 +865,34 @@ docClass: timeline - `Form`: 修复 InputNumber `min = 0` 的边界场景校验异常的问题 @yaogengzhu ([#1772](https://github.com/Tencent/tdesign-vue/pull/1772)) - `DatePicker`: @HQ-Lin - 修复区间日期选择器分隔符丢失的问题 ([#1805](https://github.com/Tencent/tdesign-vue/pull/1805)) - - 修复disableDate 动态调整失效的问题 ([#1803](https://github.com/Tencent/tdesign-vue/pull/1803)) + - 修复 disableDate 动态调整失效的问题 ([#1803](https://github.com/Tencent/tdesign-vue/pull/1803)) + +## 🌈 0.49.6 `2022-11-11` -## 🌈 0.49.6 `2022-11-11` ### 🐞 Bug Fixes -- `Form`: 修复InputNumber min为0的边界场景校验异常的问题 @yaogengzhu ([#1772](https://github.com/Tencent/tdesign-vue/pull/1772)) -- `Dialog`: 修复组件在一些种场景下销毁时没有删除body上的t-dialog-lock类的问题 @huangpiqiao ([#1766](https://github.com/Tencent/tdesign-vue/pull/1766)) + +- `Form`: 修复 InputNumber min 为 0 的边界场景校验异常的问题 @yaogengzhu ([#1772](https://github.com/Tencent/tdesign-vue/pull/1772)) +- `Dialog`: 修复组件在一些种场景下销毁时没有删除 body 上的 t-dialog-lock 类的问题 @huangpiqiao ([#1766](https://github.com/Tencent/tdesign-vue/pull/1766)) - `Loading`: 修复全屏实例无法全部销毁问题 @huangpiqiao ([#1774](https://github.com/Tencent/tdesign-vue/pull/1774)) - `Form`: 修复`requiredMark`默认值的问题 @uyarn ([#1776](https://github.com/Tencent/tdesign-vue/pull/1776)) +## 🌈 0.49.5 `2022-11-10` -## 🌈 0.49.5 `2022-11-10` ### 🐞 Bug Fixes -- `Form`: 修复0.49.4版本表单检验异常的问题 @uyarn ([#1768](https://github.com/Tencent/tdesign-vue/pull/1768)) -- `Collapse`: 修复动态设置`collapse-panel`时panel展示异常的问题 @asbstty ([#1767](https://github.com/Tencent/tdesign-vue/pull/1767)) -## 🌈 0.49.4 `2022-11-09` +- `Form`: 修复 0.49.4 版本表单检验异常的问题 @uyarn ([#1768](https://github.com/Tencent/tdesign-vue/pull/1768)) +- `Collapse`: 修复动态设置`collapse-panel`时 panel 展示异常的问题 @asbstty ([#1767](https://github.com/Tencent/tdesign-vue/pull/1767)) + +## 🌈 0.49.4 `2022-11-09` + ### 🚀 Features + - `Tree`: 支持拖拽功能,详见示例代码 @xixileng ([#1745](https://github.com/Tencent/tdesign-vue/pull/1745)) - `Timeline`: 新增 Timeline 时间轴组件,@weijiyang @uyarn ([#1638](https://github.com/Tencent/tdesign-vue/pull/1638)) ### 🐞 Bug Fixes -- `Table`: `resizable = false` 时,基础表格表头默认使用用户定义的列宽 @ZTao-z ([#1733](https://github.com/Tencent/tdesign-vue/pull/1733)) + +- `Table`: `resizable = false` 时,基础表格表头默认使用用户定义的列宽 @ZTao-z ([#1733](https://github.com/Tencent/tdesign-vue/pull/1733)) - `Transfer`: 带分页的穿梭框,修复两侧全量勾选时报错的问题 @yaogengzhu ([#1741](https://github.com/Tencent/tdesign-vue/pull/1741)) - `Input`: 修复在输入框进行预渲染处于 `display: none` 状态时,宽度计算不正确的问题,[issue#1678](https://github.com/Tencent/tdesign-vue/issues/1678) @chaishi ([#1749](https://github.com/Tencent/tdesign-vue/pull/1749)) - `Select`: @skytt ([#1755](https://github.com/Tencent/tdesign-vue/pull/1755)) @@ -716,12 +904,16 @@ docClass: timeline - `InputNumber`: 修复`theme=column`时,`autoWidth` 无效问题,[issue#1652](https://github.com/Tencent/tdesign-react/issues/1652) @chaishi ([common #969](https://github.com/Tencent/tdesign-common/pull/969)) - `Form/Upload`: 修复 `formRule` `uploadFile` 类型未导出的问题 @uyarn ([#1762](https://github.com/Tencent/tdesign-vue/pull/1762)) - `Form`: 修复表单中使用 DateRangePicker,校验失败时样式缺少红框展示的问题 @LoopZhou ([common #965](https://github.com/Tencent/tdesign-common/pull/965)) + ### 🚧 Others + - `Alert`: 官网示例的宽度根据屏幕宽度自动撑开 @aomnisz ([#1658](https://github.com/Tencent/tdesign-vue/pull/1658)) -## 🌈 0.49.3 `2022-11-02` +## 🌈 0.49.3 `2022-11-02` + ### 🚀 Features -- `Input`: @chaishi ([#1700](https://github.com/Tencent/tdesign-vue/pull/1700)) + +- `Input`: @chaishi ([#1700](https://github.com/Tencent/tdesign-vue/pull/1700)) - 支持在输入框实时显示数字限制 - 支持对 `unicode` 字符长度的判定 - `status` 为空时,不再添加无效类名 `t-is-default` @@ -730,7 +922,9 @@ docClass: timeline - `TimePicker`: 新增`onPick` API 用于每次选中面板值进行回调处理 @uyarn ([#1728](https://github.com/Tencent/tdesign-vue/pull/1728)) - `ConfigReceiver`: `getKeepAnimationMixins` 支持读取 `defaultGlobalConfig` @qqw78901 ([#1699](https://github.com/Tencent/tdesign-vue/pull/1699)) - 支持局部注册组件时,不再需要手动引入 `Composition-API` @qqw78901 ([#1697](https://github.com/Tencent/tdesign-vue/pull/1697)) + ### 🐞 Bug Fixes + - `Table`: @chaishi ([#1702](https://github.com/Tencent/tdesign-vue/pull/1702)) - EnchancedTable 支持可编辑单元格,[issue#1689](https://github.com/Tencent/tdesign-vue/issues/1689) - 修复吸顶表头超出省略问题,[issue#1639](https://github.com/Tencent/tdesign-vue/issues/1639) @@ -743,29 +937,37 @@ docClass: timeline - 修复单选日期时间无法保存的问题 @HQ-Lin ([#1716](https://github.com/Tencent/tdesign-vue/pull/1716)) - `Collapse`: 修复`ExpandIcon`的实现 @asbstty ([#1717](https://github.com/Tencent/tdesign-vue/pull/1717)) - `Calendar`: 调整日历组件单元格外层 `DOM` 样式,修复在使用 `cellAppend` 插槽后可能样式会有异常的问题 @PsTiu ([#1721](https://github.com/Tencent/tdesign-vue/pull/1721)) -- `Textarea`: 修复`status`的类型问题 @yaogengzhu ([#1710](https://github.com/Tencent/tdesign-vue/pull/1710)) -- `TimePicker`: 修复12小时制时分的显示异常 @uyarn ([#1728](https://github.com/Tencent/tdesign-vue/pull/1728)) +- `Textarea`: 修复`status`的类型问题 @yaogengzhu ([#1710](https://github.com/Tencent/tdesign-vue/pull/1710)) +- `TimePicker`: 修复 12 小时制时分的显示异常 @uyarn ([#1728](https://github.com/Tencent/tdesign-vue/pull/1728)) - `Dropdown`: 修复下拉菜单可视无法完全受控的问题 @uyarn ([#1729](https://github.com/Tencent/tdesign-vue/pull/1729)) -- `Checkbox`: 修复Checkbox的options 参数属性变化时未重新渲染的问题 @uyarn ([#1730](https://github.com/Tencent/tdesign-vue/pull/1730)) +- `Checkbox`: 修复 Checkbox 的 options 参数属性变化时未重新渲染的问题 @uyarn ([#1730](https://github.com/Tencent/tdesign-vue/pull/1730)) + ### 🚧 Others + - `Tooltip/popup`: 新增测试用例 @byq1213 ([#1688](https://github.com/Tencent/tdesign-vue/pull/1688)) - `Test`: 测试方案由 Jest 切换到 Vitest @xiaosansiji ([#1687](https://github.com/Tencent/tdesign-vue/pull/1687)) -## 🌈 0.49.2 `2022-10-27` +## 🌈 0.49.2 `2022-10-27` + ### 🐞 Bug Fixes + - `Select` - - 修复单选清除失效的问题 @uyarn ([#1690](https://github.com/Tencent/tdesign-vue/pull/1690)) - - 修复分组样式问题 @uyarn ([#1690](https://github.com/Tencent/tdesign-vue/pull/1690)) -- `TreeSelect`: 修复0.49.1版本样式丢失的异常 @uyarn ([common#934](https://github.com/Tencent/tdesign-common/pull/934)) + - 修复单选清除失效的问题 @uyarn ([#1690](https://github.com/Tencent/tdesign-vue/pull/1690)) + - 修复分组样式问题 @uyarn ([#1690](https://github.com/Tencent/tdesign-vue/pull/1690)) +- `TreeSelect`: 修复 0.49.1 版本样式丢失的异常 @uyarn ([common#934](https://github.com/Tencent/tdesign-common/pull/934)) + +## 🌈 0.49.1 `2022-10-26` -## 🌈 0.49.1 `2022-10-26` ### 🚀 Features + - `Select`: - `onChange` 事件增加 option 参数返回 [issue#1664](https://github.com/Tencent/tdesign-vue/issues/1664) @skytt ([#1667](https://github.com/Tencent/tdesign-vue/pull/1667)) - 添加 options 参数监听, 优化部分场景下 option 更新逻辑 [issue#1681](https://github.com/Tencent/tdesign-vue/issues/1681) @skytt ([#1682](https://github.com/Tencent/tdesign-vue/pull/1682)) - `Upload`: 多图片上传,图片文件名支持 `abridgeName` @chaishi ([#1669](https://github.com/Tencent/tdesign-vue/pull/1669)) -- `dialog`: 优化非模态对话框拖拽事件鼠标表现 @huoyuhao ([#1352](https://github.com/Tencent/tdesign-vue/pull/1352)) +- `dialog`: 优化非模态对话框拖拽事件鼠标表现 @huoyuhao ([#1352](https://github.com/Tencent/tdesign-vue/pull/1352)) + ### 🐞 Bug Fixes + - `Select`: 空值兼容 null 的情况 [issue#1668](https://github.com/Tencent/tdesign-vue/issues/1668) @skytt ([#1667](https://github.com/Tencent/tdesign-vue/pull/1667)) - `Upload`: @chaishi ([#1669](https://github.com/Tencent/tdesign-vue/pull/1669)) - 修复 `name` 无效的问题 @@ -778,18 +980,24 @@ docClass: timeline - `Textarea`: 修复禁用状态字数限制区域的样式问题 @uyarn ([#1684](https://github.com/Tencent/tdesign-vue/pull/1684)) - `Space`: 修复子节点为空的报错 @uyarn ([#1684](https://github.com/Tencent/tdesign-vue/pull/1684)) - `Dialog`: 修复 theme 为非 default 时 body 节点类名的问题 @uyarn ([#1684](https://github.com/Tencent/tdesign-vue/pull/1684)) + ### 🚧 Others + - `Popconfirm`: 修复官网 demo 气泡框描述文案字体颜色 @iLunZ ([#1677](https://github.com/Tencent/tdesign-vue/pull/1677)) - 官网: 主题生成器新增阴影配置能力 @uyarn @yilaierwang ([#1655](https://github.com/Tencent/tdesign-vue/pull/1655)) - `Avatar`: demo 中删除重复头像并调整展示顺序 @tutaizi ([#1612](https://github.com/Tencent/tdesign-vue/pull/1612)) -## 🌈 0.49.0 `2022-10-19` +## 🌈 0.49.0 `2022-10-19` + ### ❗ Breaking Changes + - `Dropdown`: 调整`Dropdown`样式,优化多层菜单样式结构,多层菜单结构有变动 @uyarn ([#1607](https://github.com/Tencent/tdesign-vue/pull/1607)) + ### 🚀 Features + - `Dropdown`: @uyarn ([#1607](https://github.com/Tencent/tdesign-vue/pull/1607)) - 支持`direction` API,支持向左展开菜单 - - 新增`theme`等API 支持自定义菜单项主题 + - 新增`theme`等 API 支持自定义菜单项主题 - 支持直接使用 `t-dropdown-menu` 作为子节点,同时继续支持 `dropdown` 的具名插槽,插槽方式支持多级菜单嵌套 - `Tag`: 样式优化,实现 `light-outline` 风格 @HelKyle ([#1617](https://github.com/Tencent/tdesign-vue/pull/1617)) - `Table`: @chaishi ([#1633](https://github.com/Tencent/tdesign-vue/pull/1633)) @@ -798,7 +1006,9 @@ docClass: timeline - 超出省略功能,支持同时设置省略浮层内容 `ellipsis.content` 和属性透传 `ellipsis.props` - 增强型表格,支持列配置,支持不传 `displayColumns` 时默认显示全部列,[issue#1784](https://github.com/Tencent/tdesign-vue-next/issues/1784) - `Card`: Card 样式调整 @yilaierwang ([#1631](https://github.com/Tencent/tdesign-vue/pull/1631)) ([common#901](https://github.com/Tencent/tdesign-common/pull/901)) + ### 🐞 Bug Fixes + - `Form`: - Form 可以禁用 Select/Cascader/DatePicker,及其 `clearable` 属性 @Summer-Shen ([#1351](https://github.com/Tencent/tdesign-vue/pull/1351)) - 调整 `requiredMark` 支持独立控制星号展示 @HQ-Lin ([#1606](https://github.com/Tencent/tdesign-vue/pull/1606)) @@ -813,29 +1023,39 @@ docClass: timeline - `Upload`: 只有多个上传请求同时触发时才需触发 onOneFileFail 回调 @xixileng ([#1652](https://github.com/Tencent/tdesign-vue/pull/1652)) - `Input`: 修复初始化或者赋值时,format 不生效的问题 @LoopZhou ([#1650](https://github.com/Tencent/tdesign-vue/pull/1650)) -## 🌈 0.48.5 `2022-10-10` +## 🌈 0.48.5 `2022-10-10` + ### 🚀 Features + - `Select`: 调整下拉交互 允许输入时不关闭下拉面板 减少相关交互问题 @uyarn ([#1600](https://github.com/Tencent/tdesign-vue/pull/1600)) - `Datepicker`: 支持 `valueType` 格式化日期用法 @HQ-Lin ([#1578](https://github.com/Tencent/tdesign-vue/pull/1578)) - `ImageViewer`: 移除额外的根元素 @sinbadmaster ([#1598](https://github.com/Tencent/tdesign-vue/pull/1598)) + ### 🐞 Bug Fixes + - `Upload`: - 修复 `upload` 导出预期外的变量导致组件注册时出现告警 @pengYYYYY ([#1583](https://github.com/Tencent/tdesign-vue/pull/1583)) - 添加参数 `response` 到事件 `onSuccess`,单文件是对象,多文件是数组,[tdesign-vue-next#1774](https://github.com/Tencent/tdesign-vue-next/issues/1774) @chaishi ([#1584](https://github.com/Tencent/tdesign-vue/pull/1584)) - `TimePicker`: 关闭面板不再滚动 避免部分场景滚动未结束关闭面板继续滚动引发的问题 @uyarn ([#1590](https://github.com/Tencent/tdesign-vue/pull/1590)) - `Select`: value 参数类型检测报错修复,增加 value 传值异常流的控制台提示 @skytt ([#1574](https://github.com/Tencent/tdesign-vue/pull/1574)) -## 🌈 0.48.4 `2022-09-28` +## 🌈 0.48.4 `2022-09-28` + ### 🚀 Features + - `Upload`: 支持使用 ImageViewer 预览图片 @chaishi ([#1579](https://github.com/Tencent/tdesign-vue/pull/1579)) + ### 🐞 Bug Fixes + - `InputNumber`: 输入中文或特殊符号时,清空数字为 `undefined` @chaishi ([#1579](https://github.com/Tencent/tdesign-vue/pull/1579)) - `Upload`: - 请求支持带上自定义 `headers` @chaishi ([#1579](https://github.com/Tencent/tdesign-vue/pull/1579)) - 请求支持带上 `withCredentials` @chaishi ([#1579](https://github.com/Tencent/tdesign-vue/pull/1579)) -## 🌈 0.48.3 `2022-09-28` +## 🌈 0.48.3 `2022-09-28` + ### 🚀 Features + - `ImageViewer`: 新增 `ImageViewer` 图片预览组件 @sinbadmaster ([#1520](https://github.com/Tencent/tdesign-vue/pull/1520)) - `Upload`: 组件重构 @chaishi ([#1561](https://github.com/Tencent/tdesign-vue/pull/1561)) - ⚠️ `formatResponse` 不再对 `file` 对象进行格式化,仅处理 `response` 属性进行处理。如果要扩展 `file` 对象,请在 `onChange` @@ -851,7 +1071,9 @@ docClass: timeline - `Table`: 新增 `showHeader`,支持隐藏表头 @chaishi ([#1562](https://github.com/Tencent/tdesign-vue/pull/1562)) - `Table`: 新增 `column.colKey = serial-number`,支持序号列功能 @chaishi ([#1562](https://github.com/Tencent/tdesign-vue/pull/1562)) - `Table`: 新增 `showSortColumnBgColor`,用于控制是否显示排序列背景色 @chaishi ([#1562](https://github.com/Tencent/tdesign-vue/pull/1562)) + ### 🐞 Bug Fixes + - `Select`: @skytt ([#1566](https://github.com/Tencent/tdesign-vue/pull/1566)) - 修复可创建新条目场景下回车选择错误的问题(#1563 ) - 修复创建条目和选中已有条目同时触发的问题 @@ -868,75 +1090,95 @@ docClass: timeline - 修复手动清空输入框关闭弹窗没有重置数据问题 @HQ-Lin ([#1565](https://github.com/Tencent/tdesign-vue/pull/1565)) - 修复 `disableDate` 传入 lambda 函数被频繁触发的问题 @HQ-Lin ([#1569](https://github.com/Tencent/tdesign-vue/pull/1569)) - `TimePicker`: 修复部分场景 `style` 属性内的 token 缺失导致滚动异常的问题 @uyarn ([common#877](https://github.com/Tencent/tdesign-common/pull/877)) + ### 🚧 Others + - `Swiper`: 修复组件的 demo 显示不正确问题 @yusongH ([#1557](https://github.com/Tencent/tdesign-vue/pull/1557)) - `TimePicker`: 调整 TimePicker 底部边距及点击动画 @wanghanzhen ([#1558](https://github.com/Tencent/tdesign-vue/pull/1558)) -## 🌈 0.48.2 `2022-09-23` +## 🌈 0.48.2 `2022-09-23` + ### 🐞 Bug Fixes -- `Swiper`: 修复active类名问题导致的样式异常 @sechi747 ([#1552](https://github.com/Tencent/tdesign-vue/pull/1552)) -- `Upload`: 修复sizeLimit计算错误的问题 @uyarn ([#1553](https://github.com/Tencent/tdesign-vue/pull/1553)) + +- `Swiper`: 修复 active 类名问题导致的样式异常 @sechi747 ([#1552](https://github.com/Tencent/tdesign-vue/pull/1552)) +- `Upload`: 修复 sizeLimit 计算错误的问题 @uyarn ([#1553](https://github.com/Tencent/tdesign-vue/pull/1553)) - `TreeSelect` 优化 padding 样式 @fenbitou ([#1539](https://github.com/Tencent/tdesign-vue/pull/1539)) +## 🌈 0.48.1 `2022-09-22` -## 🌈 0.48.1 `2022-09-22` ### 🐞 Bug Fixes + - `Table` - - 修复初始化获取数据,吸底滚动条位置计算不正确问题 @LoopZhou ([#1546](https://github.com/Tencent/tdesign-vue/pull/1546)) - - 处理不存在分页吸底和滚动条吸底的表格控制台报错的问题 @uyarn ([#1550](https://github.com/Tencent/tdesign-vue/pull/1550)) + - 修复初始化获取数据,吸底滚动条位置计算不正确问题 @LoopZhou ([#1546](https://github.com/Tencent/tdesign-vue/pull/1546)) + - 处理不存在分页吸底和滚动条吸底的表格控制台报错的问题 @uyarn ([#1550](https://github.com/Tencent/tdesign-vue/pull/1550)) + ### 🚧 Others -- `Dropdown`: Dropdown组件添加单元测试 @james-curtis ([#1516](https://github.com/Tencent/tdesign-vue/pull/1516)) -- `Collapse`: Collapse组件添加单元测试 @isanxia ([#1536](https://github.com/Tencent/tdesign-vue/pull/1536)) -## 🌈 0.48.0 `2022-09-21` +- `Dropdown`: Dropdown 组件添加单元测试 @james-curtis ([#1516](https://github.com/Tencent/tdesign-vue/pull/1516)) +- `Collapse`: Collapse 组件添加单元测试 @isanxia ([#1536](https://github.com/Tencent/tdesign-vue/pull/1536)) + +## 🌈 0.48.0 `2022-09-21` + ### ❗ Breaking Changes + - `DatePicker`: 移除 `valueType` api,可使用返回的 dayjs 对象自行格式化 @HQ-Lin ([#1510](https://github.com/Tencent/tdesign-vue/pull/1510)) ### 🚀 Features + - `Table`: 新增 column.resizable 支持自定义任意列是否可拖拽调整宽度 @ZTao-z ([#1523](https://github.com/Tencent/tdesign-vue/pull/1523)) - `Message`: `Message` 新增 `onClose` 事件 @zhangpaopao0609 ([#1467](https://github.com/Tencent/tdesign-vue/pull/1467)) - `Rate`: 新增`Rate`评分组件 @Yilun-Sun ([#1462](https://github.com/Tencent/tdesign-vue/pull/1462)) - `DatePicker`: 交互优化,二次修改日期不规范时清空另一侧数据 @HQ-Lin ([#1521](https://github.com/Tencent/tdesign-vue/pull/1521)) ### 🐞 Bug Fixes -- `Steps`: 步骤条demo错误 @Micro-sun ([#1515](https://github.com/Tencent/tdesign-vue/pull/1515)) + +- `Steps`: 步骤条 demo 错误 @Micro-sun ([#1515](https://github.com/Tencent/tdesign-vue/pull/1515)) - `jumper`: 修复 tips props 类型缺失 @HelKyle ([#1511](https://github.com/Tencent/tdesign-vue/pull/1511)) - `Demos`: 修复 `select-input` 示例展示 ([issue #1640](https://github.com/Tencent/tdesign-vue-next/issues/1640)) ([issue #1641](https://github.com/Tencent/tdesign-vue-next/issues/1641)) @pengYYYYY ([#1514](https://github.com/Tencent/tdesign-vue/pull/1514)) -- `Icon`: 修复修改prefix替换组件前缀对图标的影响 [#common842](https://github.com/Tencent/tdesign-common/pull/842) @uyarn ([#1531](https://github.com/Tencent/tdesign-vue/pull/1531)) +- `Icon`: 修复修改 prefix 替换组件前缀对图标的影响 [#common842](https://github.com/Tencent/tdesign-common/pull/842) @uyarn ([#1531](https://github.com/Tencent/tdesign-vue/pull/1531)) - `Table` - - 修复数据变化时 分页吸底位置没有变化的问题 @uyarn ([#1528](https://github.com/Tencent/tdesign-vue/pull/1528)) - - 修复数据变化时,吸底滚动条位置没有变化的问题 @LoopZhou ([#1535](https://github.com/Tencent/tdesign-vue/pull/1535)) - - 修复分页操作会触发两次 onPageChange 的问题 @yusongH ([#1535](https://github.com/Tencent/tdesign-vue/pull/1535)) -- `TimePicker`: 修复部分场景滚动异常无法选中23:59:59的问题 @uyarn ([#1534](https://github.com/Tencent/tdesign-vue/pull/1534)) -- `InputNumber`: 处理0比较的异常 [#common850](https://github.com/Tencent/tdesign-common/pull/850) @uyarn ([#1530](https://github.com/Tencent/tdesign-vue/pull/1530)) -- `Swiper`: - - 修复鼠标悬停移出后没有重新轮播问题 @yusongH ([#1540](https://github.com/Tencent/tdesign-vue/pull/1540)) - - 修复`trigger`属性不生效问题 @yusongH ([#1540](https://github.com/Tencent/tdesign-vue/pull/1540)) - - 修复鼠标悬停移出后没有重新轮播问题 @yusongH ([#1540](https://github.com/Tencent/tdesign-vue/pull/1540)) -- `Collapse`: 增加节点和类名处理IE样式 @huangpiqiao ([#1530](https://github.com/Tencent/tdesign-vue/pull/1530)) + - 修复数据变化时 分页吸底位置没有变化的问题 @uyarn ([#1528](https://github.com/Tencent/tdesign-vue/pull/1528)) + - 修复数据变化时,吸底滚动条位置没有变化的问题 @LoopZhou ([#1535](https://github.com/Tencent/tdesign-vue/pull/1535)) + - 修复分页操作会触发两次 onPageChange 的问题 @yusongH ([#1535](https://github.com/Tencent/tdesign-vue/pull/1535)) +- `TimePicker`: 修复部分场景滚动异常无法选中 23:59:59 的问题 @uyarn ([#1534](https://github.com/Tencent/tdesign-vue/pull/1534)) +- `InputNumber`: 处理 0 比较的异常 [#common850](https://github.com/Tencent/tdesign-common/pull/850) @uyarn ([#1530](https://github.com/Tencent/tdesign-vue/pull/1530)) +- `Swiper`: + - 修复鼠标悬停移出后没有重新轮播问题 @yusongH ([#1540](https://github.com/Tencent/tdesign-vue/pull/1540)) + - 修复`trigger`属性不生效问题 @yusongH ([#1540](https://github.com/Tencent/tdesign-vue/pull/1540)) + - 修复鼠标悬停移出后没有重新轮播问题 @yusongH ([#1540](https://github.com/Tencent/tdesign-vue/pull/1540)) +- `Collapse`: 增加节点和类名处理 IE 样式 @huangpiqiao ([#1530](https://github.com/Tencent/tdesign-vue/pull/1530)) - 修复默认导入引用文件缺失问题 @HQ-Lin ([#1519](https://github.com/Tencent/tdesign-vue/pull/1519)) - `Input`: 修复默认状态提示文字颜色错误问题 @xiaosansiji ([#1508](https://github.com/Tencent/tdesign-vue/pull/1508)) ### 🚧 Others + - `Jumper`: 补充`Jumper`单元测试 @HelKyle ([#1511](https://github.com/Tencent/tdesign-vue/pull/1511)) - `Pagination`: 增加 pagination 单元测试 @HelKyle ([#1522](https://github.com/Tencent/tdesign-vue/pull/1522)) -## 🌈 0.47.0 `2022-09-14` +## 🌈 0.47.0 `2022-09-14` + ### ❗ Breaking Changes + - 支持 `es module` 导出不带样式产物,调整 lib 包内容,新增 `cjs` 产物支持 `commonjs` 导出不带样式产物 @HQ-Lin ([#1493](https://github.com/Tencent/tdesign-vue/pull/1493)) + ### 🚀 Features + - `DatePicker`: @HQ-Lin - 支持二次更改时间选择器时可单次变更日期 ([#1498](https://github.com/Tencent/tdesign-vue/pull/1498)) - 默认时间调整成 00:00:00 [#1500](https://github.com/Tencent/tdesign-vue/pull/1500)) - `Image`: 新增 Image 图片组件 @insekkei ([#1503](https://github.com/Tencent/tdesign-vue/pull/1503)) + ### 🐞 Bug Fixes + - `Tabs`: 修复替换 `classPrefix` 时组件渲染异常的问题 @uyarn ([#1494](https://github.com/Tencent/tdesign-vue/pull/1494)) - `Upload`: 修复在 `wujie` 环境中,部分按钮会触发两次的问题 @chaishi ([#1502](https://github.com/Tencent/tdesign-vue/pull/1502)) - `TimePicker`: 修复往前点击时间时滚动异常的问题 @uyarn ([#1499](https://github.com/Tencent/tdesign-vue/pull/1499)) - `DatePicker`: 修复 `cell-click` 返回日期错误 @HQ-Lin ([#1490](https://github.com/Tencent/tdesign-vue/pull/1490)) -## 🌈 0.46.4 `2022-09-07` +## 🌈 0.46.4 `2022-09-07` + ### 🚀 Features + - `Popup`: 新增 `delay` 属性用于控制延时显示或隐藏浮层,修复子 Popup 销毁时父级意外关闭的问题 @ikeq ([#1436](https://github.com/Tencent/tdesign-vue/pull/1436)) - `Table`: @chaishi ([#1454](https://github.com/Tencent/tdesign-vue/pull/1454)) - 树形结构,新增 `getTreeExpandedRow`,用于获取展开的树形节点 @@ -944,12 +1186,14 @@ docClass: timeline - `DaterPicker`: 区间日期选择时,联动开始/结束时间面板月份选择,防止出现两个面板均在同一月份的情况 ([issue #1469](https://github.com/Tencent/tdesign-vue/issues/1469)) @simpleAndElegant ([#1470](https://github.com/Tencent/tdesign-vue/pull/1470)) - `TimePicker`: 支持带快捷标签 @chiyu1996 ([#1407](https://github.com/Tencent/tdesign-vue/pull/1407)) - 官网:在线主题器支持全局圆角配置 @uyarn ([#1459](https://github.com/Tencent/tdesign-vue/pull/1459)) + ### 🐞 Bug Fixes + - `Select`: - 修复 creatable 模式下的 filter 能力 @skytt ([#1427](https://github.com/Tencent/tdesign-vue/pull/1427)) - 修复过滤掉数据后上下键仍可以选择过滤外的数据的问题 @sechi747 ([#1434](https://github.com/Tencent/tdesign-vue/pull/1434)) - `Button`: 区分 `loading` 和 `disabled` 状态,修复幽灵按钮 loading 状态背景色 @DevinXian ([#1432](https://github.com/Tencent/tdesign-vue/pull/1432)) -- `Popup`: 修复overlayInnerClassName丢失的问题 @ikeq ([#1442](https://github.com/Tencent/tdesign-vue/pull/1442)) +- `Popup`: 修复 overlayInnerClassName 丢失的问题 @ikeq ([#1442](https://github.com/Tencent/tdesign-vue/pull/1442)) - `Table`: - 修复列宽调整时宽度计算错误的问题 @ZTao-z ([#1456](https://github.com/Tencent/tdesign-vue/pull/1456)) - 修复 `onColumnControllerVisibleChange` 的 `trigger` 参数返回错误的问题 @sechi747 ([#1456](https://github.com/Tencent/tdesign-vue/pull/1480)) @@ -959,7 +1203,7 @@ docClass: timeline - 修复 `loadingText` 无效 ([vue-next #1555](https://github.com/Tencent/tdesign-vue-next/issues/1555)) - 修复 `value` 为 `number` 类型时有告警的问题 ([vue-next #1570](https://github.com/Tencent/tdesign-vue-next/issues/1570)) - 修复在输入时 `entry` 键会默认全选第一个选项的全部内容 ([vue-next #1529](https://github.com/Tencent/tdesign-vue-next/issues/1529)) - - 修复通过 `SelectInputProps` 透传方法属性导致传入 `SelectInput` 的数据变成的数组 ([vue-next #1502](https://github.com/Tencent/tdesign-vue-next/issues/1502)) + - 修复通过 `SelectInputProps` 透传方法属性导致传入 `SelectInput` 的数据变成的数组 ([vue-next #1502](https://github.com/Tencent/tdesign-vue-next/issues/1502)) - 修复 `ellipsisTitle` 配置优先级低于 `ellipsis` 的问题 @Tomaolala ([#1408](https://github.com/Tencent/tdesign-vue/pull/1408)) - `SelectInput`: 修复多选清除无效导致 `Cascader` 点击清除按钮表现异常的问题 @pengYYYYY ([#1457](https://github.com/Tencent/tdesign-vue/pull/1457)) - `Watermark`: 修复 `removable` 属性设置不生效,及 `content` 不支持动态修改变化的问题 @carolin913 ([#1473](https://github.com/Tencent/tdesign-vue/pull/1473)) @@ -967,15 +1211,17 @@ docClass: timeline - `TimePicker`: 修复部分设备滚动边界的跳动异常 ([issue #1012](https://github.com/Tencent/tdesign-vue-next/issues/1012)) @uyarn ([#1475](https://github.com/Tencent/tdesign-vue/pull/1475)) - `Dialog`: 修复插件调用时丢失淡入动画的问题 @sechi747 ([#1423](https://github.com/Tencent/tdesign-vue/pull/1423)) - `Tree`: 父节点 `disable` 时不允许选中但允许展开 @uyarn ([#1476](https://github.com/Tencent/tdesign-vue/pull/1476)) ([#1483](https://github.com/Tencent/tdesign-vue/pull/1483)) -- `TreeSelect`: 修复数字类型的value时控制台报错的异常 @uyarn ([#1476](https://github.com/Tencent/tdesign-vue/pull/1476)) +- `TreeSelect`: 修复数字类型的 value 时控制台报错的异常 @uyarn ([#1476](https://github.com/Tencent/tdesign-vue/pull/1476)) - `Form`: 修复 `labelAlign = top` 时,FormItem label 为空还会占据空间的问题 @ojhaywood ([#1438](https://github.com/Tencent/tdesign-vue/pull/1438)) - `Button`: 修复幽灵按钮 loading 状态背景色 @DevinXian ([#1432](https://github.com/Tencent/tdesign-vue/pull/1432)) - `DatePicker`: - 修复 `cell-click` 事件 `partial` 字段错误 @HQ-Lin ([#1440](https://github.com/Tencent/tdesign-vue/pull/1440)) - 修复 `value` 为空字符串时导致页面崩溃的问题 @HQ-Lin ([#1453](https://github.com/Tencent/tdesign-vue/pull/1453)) -## 🌈 0.46.3 `2022-08-31` +## 🌈 0.46.3 `2022-08-31` + ### 🚀 Features + - `Grid`: `align` 可选值新增 `start/end/center`,修复 `justify`和 `align` 同为 `center` 属性冲突问题 @Micro-sun ([#1359](https://github.com/Tencent/tdesign-vue/pull/1359)) - `Notification`: 鼠标移入时不会关闭通知 @sechi747 ([#1366](https://github.com/Tencent/tdesign-vue/pull/1366)) - `Cascader`: CascaderPanel 点击选项时派发 `click` 事件 @luwuer ([#1396](https://github.com/Tencent/tdesign-vue/pull/1396)) @@ -983,23 +1229,27 @@ docClass: timeline - `Input`: 优化 `clearable` 按钮显示逻辑,区分 `password` 输入框 @PDieE ([#1415](https://github.com/Tencent/tdesign-vue/pull/1415)) - `Popconfirm/Table` 组件样式优化 @zhangpaopao0609 ([#1388](https://github.com/Tencent/tdesign-vue/pull/1388)) - `Watermark`: 新增`Watermark` 水印组件 @samhou1988 ([#1347](https://github.com/Tencent/tdesign-vue/pull/1347)) + ### 🐞 Bug Fixes -- `useModel`: 兼容因 `v-model` 初始值为 `undefined` 导致 `useModel` 失效的问题 @zhangpaopao0609 ([#1363](https://github.com/Tencent/tdesign-vue/pull/1363)) + +- `useModel`: 兼容因 `v-model` 初始值为 `undefined` 导致 `useModel` 失效的问题 @zhangpaopao0609 ([#1363](https://github.com/Tencent/tdesign-vue/pull/1363)) - `Table`: - 修复 `editableCellState` 表现与预期相反的问题 @sechi747 ([#1367](https://github.com/Tencent/tdesign-vue/pull/1367)) - 修复多级表头下不支持调整列宽的问题 @ZTao-z ([#1395](https://github.com/Tencent/tdesign-vue/pull/1395)) - `Select`: 去除组件注册时的 map props @skytt ([#1399](https://github.com/Tencent/tdesign-vue/pull/1399)) - `InputNumber`: 修复 `string/number` 类型比较错误及其导致的分页组件样式异常的问题 [common#784](https://github.com/Tencent/tdesign-common/pull/784) @uyarn ([#1413](https://github.com/Tencent/tdesign-vue/pull/1413)) -- `DatePicker`: @HQ-Lin +- `DatePicker`: @HQ-Lin - 优化不设置 valueType 场景下与 format 表现一致 ([#1398](https://github.com/Tencent/tdesign-vue/pull/1398)) - 修复左右面板切换错位问题 ([#1400](https://github.com/Tencent/tdesign-vue/pull/1400)) - 修复 `cell-click` 事件失效问题 ([#1420](https://github.com/Tencent/tdesign-vue/pull/1420)) - 修复 `panel-click` 事件失效问题 ([#1421](https://github.com/Tencent/tdesign-vue/pull/1421)) - `Calendar`: 优化组件事件设置示例 @PsTiu ([#1405](https://github.com/Tencent/tdesign-vue/pull/1405)) -- `Upload`: 修复`theme`为`flow-list`时 remove事件file参数丢失的问题 @uyarn ([#1430](https://github.com/Tencent/tdesign-vue/pull/1430)) +- `Upload`: 修复`theme`为`flow-list`时 remove 事件 file 参数丢失的问题 @uyarn ([#1430](https://github.com/Tencent/tdesign-vue/pull/1430)) + +## 🌈 0.46.2 `2022-08-24` -## 🌈 0.46.2 `2022-08-24` ### 🚀 Features + - `Table`: @chaishi ([#1341](https://github.com/Tencent/tdesign-vue/pull/1341)) - 支持行拖拽排序和列拖拽排序同时存在,[issue#1290](https://github.com/Tencent/tdesign-vue/issues/1290) - 可编辑单元格/行功能,新增 `editableCellState` 用于控制单元格是否可编辑,[issue#1387](https://github.com/Tencent/tdesign-vue-next/issues/1387) @@ -1008,14 +1258,16 @@ docClass: timeline - 多级表头的拖拽排序,表头的任意层级调整影响较大,需求面较小,完善拖拽事件参数,业务侧根据参数自由调整自己想要的表头关系,[issue#1177](https://github.com/Tencent/tdesign-vue/issues/1177) - `Select`: @skytt ([#1318](https://github.com/Tencent/tdesign-vue/pull/1318)) - 远程搜索场景增加 label 回显能力 - - 调整loading态显示优先于empty属性 + - 调整 loading 态显示优先于 empty 属性 - Dialog: @huoyuhao ([#1325](https://github.com/Tencent/tdesign-vue/pull/1325)) - 支持回车键确认弹框,`onConfirm` 事件参数 `e` 或为键盘事件 - 支持多个弹框同时存在时,通过 `ESC` 键盘逐个关闭 - `confirmBtn` 支持数据类型 `null` - `Collapse/Comment/Cascader`: 组件样式优化 [issue#155](https://github.com/Tencent/tdesign/issues/155)、[issue#152](https://github.com/Tencent/tdesign/issues/152)、[issue#145](https://github.com/Tencent/tdesign/issues/145) @zhangpaopao0609 ([#1322](https://github.com/Tencent/tdesign-vue/pull/1322)) -- `Upload`: `locale` API 支持upload组件全部文案的配置 @uyarn ([#1362](https://github.com/Tencent/tdesign-vue/pull/1362)) +- `Upload`: `locale` API 支持 upload 组件全部文案的配置 @uyarn ([#1362](https://github.com/Tencent/tdesign-vue/pull/1362)) + ### 🐞 Bug Fixes + - `Drawer`: 修复拖拽改变抽屉高度时可超出屏幕的问题 @sechi747 ([#1330](https://github.com/Tencent/tdesign-vue/pull/1330)) - `Table`: - 修复可编辑行,联动数据校验问题,([issue#1444](https://github.com/Tencent/tdesign-vue-next/issues/1444)) @chaishi ([#1341](https://github.com/Tencent/tdesign-vue/pull/1341)) @@ -1027,37 +1279,42 @@ docClass: timeline - `Menu`: 修复侧边栏弹出子菜单宽度计算错误的问题 @xiaosansiji ([#1357](https://github.com/Tencent/tdesign-vue/pull/1357)) - `Drawer`: 修复拖拽改变抽屉高度时可超出屏幕的问题 @sechi747 ([#1330](https://github.com/Tencent/tdesign-vue/pull/1330)) - `upload`: @uyarn ([#1362](https://github.com/Tencent/tdesign-vue/pull/1362)) - - 修复`displayFileList` slot失效的问题 - - 修复`theme`为`file`时,onRemove回调没有返回file的问题 - - 修复`theme`为`file`,删除文案不可配置的问题 + - 修复`displayFileList` slot 失效的问题 + - 修复`theme`为`file`时,onRemove 回调没有返回 file 的问题 + - 修复`theme`为`file`,删除文案不可配置的问题 +## 🌈 0.46.1 `2022-08-18` -## 🌈 0.46.1 `2022-08-18` ### 🚀 Features -- `ConfigProvider`: 支持自定义全局 `icon` @zhangpaopao0609 -- `Button`: 支持 href 和 tag 属性 @zhangpaopao0609 + +- `ConfigProvider`: 支持自定义全局 `icon` @zhangpaopao0609 +- `Button`: 支持 href 和 tag 属性 @zhangpaopao0609 + ### 🐞 Bug Fixes + - `Table` - - 修复吸顶表头末尾有 1px 未对齐的问题 @chaishi - - 固定列阴影样式不能随窗口放大缩小而变化 @chaishi + - 修复吸顶表头末尾有 1px 未对齐的问题 @chaishi + - 固定列阴影样式不能随窗口放大缩小而变化 @chaishi - `Select`: 优化部分样式 @guoaihua -- `Tree`: 修复expandOnClickNode下点击tree的label会触发checkbox选中的问题 @uyarn -- `Dropdown`: 修复控制台告警 @uyarn +- `Tree`: 修复 expandOnClickNode 下点击 tree 的 label 会触发 checkbox 选中的问题 @uyarn +- `Dropdown`: 修复控制台告警 @uyarn - -## 🌈 0.46.0 `2022-08-16` +## 🌈 0.46.0 `2022-08-16` ### ❗️ BREAKING CHANGES + - `Popup`: `overlayStyle` 调整为控制 `t-popup` 层级,新增 `overlayInnerStyle` 控制 `t-popup__content` 层级与原先 `overlayStyle` 效果一致 @HQ-Lin ([#1270](https://github.com/Tencent/tdesign-vue/pull/1270)) - `Input/InputNumber`: 错误文本提示,不再占普通用文档流;内置的 input 组件 ref 名称由 `refInputElem` 更为 `inputRef` @chaishi ([#1302](https://github.com/Tencent/tdesign-vue/pull/1302)) + ### 🚀 Features + - `Table`: @chaishi - `footerSummary` 支持通过 Props 属性传入 ([#1265](https://github.com/Tencent/tdesign-vue/pull/1265)) - 可编辑行功能,校验函数 validateRowData 和 validateTableData 返回值支持 Promise 对象 ([#1275](https://github.com/Tencent/tdesign-vue/pull/1275)) -- `Datepicker`: @HQ-Lin +- `Datepicker`: @HQ-Lin - 区间选择器结束时间调整为默认展示当天最后一秒([#1288](https://github.com/Tencent/tdesign-vue/pull/1288)) - 支持季度国际化配置 ([#1267](https://github.com/Tencent/tdesign-vue/pull/1267)) -- `ConfigProvider`: 支持通过ConfigProvider修改全部组件的classPrefix @uyarn ([#1287](https://github.com/Tencent/tdesign-vue/pull/1287)) +- `ConfigProvider`: 支持通过 ConfigProvider 修改全部组件的 classPrefix @uyarn ([#1287](https://github.com/Tencent/tdesign-vue/pull/1287)) - `Selectinput`: disabled 状态下自动禁止 clearable 功能 @LoopZhou ([#1291](https://github.com/Tencent/tdesign-vue/pull/1291)) - `InputNumber`: @chaishi ([#1302](https://github.com/Tencent/tdesign-vue/pull/1302)) - 支持超过 16 位的大数 @@ -1067,29 +1324,35 @@ docClass: timeline - 修复在输入数值不满足条件时,没有触发 onChange 事件问题;修复计算过程中的精度问题 - `Link`: 新增 Link 链接组件 @huoyuhao ([#1282](https://github.com/Tencent/tdesign-vue/pull/1282)) - `Icon`: 新增 qq、wechat、wecom、relativity 和 pin-filled 等图标 @uyarn ([#1303](https://github.com/Tencent/tdesign-vue/pull/1303)) + ### 🐞 Bug Fixes + - `Table`: - 可编辑单元格,多选和日期选择,点击下拉浮层中的内容会导致退出编辑,[issue#1384](https://github.com/Tencent/tdesign-vue-next/issues/1384) @chaishi ([#1275](https://github.com/Tencent/tdesign-vue/pull/1275)) - 宽度计算函数添加注释 @ZTao-z ([#1286](https://github.com/Tencent/tdesign-vue/pull/1286)) - `Popup`: 修复嵌套使用点击 trigger 元素时异常关闭 @ikeq ([#1285](https://github.com/Tencent/tdesign-vue/pull/1285)) - `Datepicker`: 修复时间面板展示错误 @HQ-Lin ([#1288](https://github.com/Tencent/tdesign-vue/pull/1288)) - `umd`: 修复 umd 版本的使用问题,具体使用方式请参考`浏览器引入`相关文档说明 @uyarn ([#1292](https://github.com/Tencent/tdesign-vue/pull/1292)) -- `Tree`: 修复`expandOnClickNode`点击展开与checkbox点击选中的冲突问题 @uyarn ([#1299](https://github.com/Tencent/tdesign-vue/pull/1299)) +- `Tree`: 修复`expandOnClickNode`点击展开与 checkbox 点击选中的冲突问题 @uyarn ([#1299](https://github.com/Tencent/tdesign-vue/pull/1299)) - `ColorPicker`: 修复切换模式卡死问题; 修复 panel 下模式 `change` 事件无法触发的问题 @S-mohan ([#1274](https://github.com/Tencent/tdesign-vue/pull/1274)) - `DatePicker`: @HQ-Lin - 修复输入框有值时面板切换失效问题 ([#1293](https://github.com/Tencent/tdesign-vue/pull/1293)) - 修复 suffixIcon slot 写法失效问题 ([#1280](https://github.com/Tencent/tdesign-vue/pull/1280)) -## 🌈 0.45.2 `2022-08-09` +## 🌈 0.45.2 `2022-08-09` + ### 🚀 Features + - `Pagination`: 极简模式下合并快速跳转与页码跳转控制器 @HQ-Lin ([#1256](https://github.com/Tencent/tdesign-vue/pull/1256)) - `DatePicker`: 支持周、季度选择器 @HQ-Lin ([#1245](https://github.com/Tencent/tdesign-vue/pull/1245)) - `Table` - - 新增 `cellEmptyContent`,当列数据为空时显示指定值 @chaishi ([#1254](https://github.com/Tencent/tdesign-vue/pull/1254)) - - 可编辑行功能,新增实例方法 `validate`,支持校验表格内的全部数据 @chaishi ([#1254](https://github.com/Tencent/tdesign-vue/pull/1254)) + - 新增 `cellEmptyContent`,当列数据为空时显示指定值 @chaishi ([#1254](https://github.com/Tencent/tdesign-vue/pull/1254)) + - 可编辑行功能,新增实例方法 `validate`,支持校验表格内的全部数据 @chaishi ([#1254](https://github.com/Tencent/tdesign-vue/pull/1254)) - 主题生成器新增字体配置面板 @uyarn ([#1259](https://github.com/Tencent/tdesign-vue/pull/1259)) -- 新增字体相关CSS Token,支持通过CSS Token修改字体相关配置 具体请参考 [font tokens](https://github.com/Tencent/tdesign-common/blob/develop/style/web/theme/_font.less) @uyarn ([#1259](https://github.com/Tencent/tdesign-vue/pull/1259)) +- 新增字体相关 CSS Token,支持通过 CSS Token 修改字体相关配置 具体请参考 [font tokens](https://github.com/Tencent/tdesign-common/blob/develop/style/web/theme/_font.less) @uyarn ([#1259](https://github.com/Tencent/tdesign-vue/pull/1259)) + ### 🐞 Bug Fixes + - `ColorPicker`: 优化组件样式 @S-mohan ([#1250](https://github.com/Tencent/tdesign-vue/pull/1250)) - `Select` - 修复开启虚拟滚动配合自定义面板使用卡顿的问题 @skytt ([#1247](https://github.com/Tencent/tdesign-vue/pull/1247)) @@ -1104,19 +1367,22 @@ docClass: timeline - 列配置功能,带边框模式,移除分页组件边框下方多余的边框 @chaishi ([#1254](https://github.com/Tencent/tdesign-vue/pull/1254)) - 修复深色模式下垂直和水平方向滚动条交汇处出现白点的样式问题 by @RayJason ([#1259](https://github.com/Tencent/tdesign-vue/pull/1259)) - -## 🌈 0.45.1 `2022-08-03` +## 🌈 0.45.1 `2022-08-03` ### ❗️ BREAKING CHANGES + - 调整全局 `border-radius` 样式 token,`@border-radius` 改名为 `@border-radius-default`,支持更多圆角 token。 使用 esm 包修改 less token 的业务需要注意 @mingrutough1 [common #666](https://github.com/Tencent/tdesign-common/pull/666),组件库中各组件实现圆角也做了统一调整,详情参见 https://github.com/Tencent/tdesign/discussions/158 ### 🚀 Features + - `SelectInput`: SelectInput 及相关的 Select/Cascader/TreeSelect 组件交互调整,再次点击输入框时也可以收起下拉框 @xiaosansiji ([#1215](https://github.com/Tencent/tdesign-vue/pull/1215)) - `Table`: @chaishi ([#1217](https://github.com/Tencent/tdesign-vue/pull/1217)) - 支持使用插槽 `footer-summary` 定义通栏表尾,同时支持同名属性 Props `footer-summary` 渲染通栏表尾 - 支持使用 `rowspanAndColspanInFooter` 定义表尾行数据合并单元格,使用方法同 `rowspanAndColspan` - 支持 `min-width` 透传到元素 ``,[issues#708] + ### 🐞 Bug Fixes + - `Select`: 修复 `empty` slot 用法不生效的问题 @xiaosansiji ([#1214](https://github.com/Tencent/tdesign-vue/pull/1214)) - `Table`: @chaishi ([#1216](https://github.com/Tencent/tdesign-vue/pull/1216)) - 树形结构,修复无法更新或重置数据问题 `resetData` @@ -1129,11 +1395,14 @@ docClass: timeline - `TreeSelect`: 修复输入项过长时,操作区域图标被遮挡的问题 @Godlike-meteor ([#1211](https://github.com/Tencent/tdesign-vue/pull/1211)) - `Cascader`: 修复在异步获取 option 的情况下,参数校验导致用户行为异常的问题 @pengYYYYY ([#1228](https://github.com/Tencent/tdesign-vue/pull/1228)) -## 🌈 0.44.1 `2022-07-25` +## 🌈 0.44.1 `2022-07-25` + ### 🚀 Features -- 支持通过CSS Token配置组件圆角 @mingrutough1 ([common#648](https://github.com/Tencent/tdesign-common/pull/648)) + +- 支持通过 CSS Token 配置组件圆角 @mingrutough1 ([common#648](https://github.com/Tencent/tdesign-common/pull/648)) ### 🐞 Bug Fixes + - `DatePicker`: - 修复重置日期后面板月份未重置问题 @HQ-Lin ([#1190](https://github.com/Tencent/tdesign-vue/pull/1190)) - 修复时间选择器滚动错误@HQ-Lin ([#1194](https://github.com/Tencent/tdesign-vue/pull/1194)) @@ -1141,43 +1410,53 @@ docClass: timeline - 修复 `preventScrollThrough` 未实现的问题 @huoyuhao ([#1150](https://github.com/Tencent/tdesign-vue/pull/1150)) - 修复出现对于滚动条的问题 @huoyuhao ([#1199](https://github.com/Tencent/tdesign-vue/pull/1199)) -## 🌈 0.44.0 `2022-07-18` +## 🌈 0.44.0 `2022-07-18` + ### ❗️ BREAKING CHANGES + - `DatePicker`: 部分样式类命名调整,更符合 BEM 规范,如有覆盖日期选择器样式的小伙伴请注意调整,其他同学可以忽略 @HQ-Lin ([#1180](https://github.com/Tencent/tdesign-vue/pull/1180/files) + ### 🚀 Features + - `Jumper`: 新增 jumper 组件 @HQ-Lin ([#1086](https://github.com/Tencent/tdesign-vue/pull/1086)) - `Icon`: 新增`mirror`和`rotation`图标 @uyarn ([#1164](https://github.com/Tencent/tdesign-vue/pull/1164)) - `DatePicker`: 支持面板年月动态响应 value 变化 @HQ-Lin ([#1166](https://github.com/Tencent/tdesign-vue/pull/1166)) - `Table`: - 树形结构支持同时添加多个根节点 @chaishi ([#1176](https://github.com/Tencent/tdesign-vue/pull/1176)) - 新增可编辑行的表格;新增 showEditIcon,用于控制是否显示编辑图标 @chaishi ([#1182](https://github.com/Tencent/tdesign-vue/pull/1182)) + ### 🐞 Bug Fixes + - `SelectInput`: 修复透传 disabled 失效问题 @HQ-Lin ([#1159](https://github.com/Tencent/tdesign-vue/pull/1159)) - `Icon`: 修复 iconfont 高级用法由于 `t-icon的` 干扰导致渲染异常的情况 @uyarn ([#1164](https://github.com/Tencent/tdesign-vue/pull/1164)) - `Select`: - 修复 `panelTopContent`、`panelBottomContent` 透传失效的问题 @HQ-Lin ([#1165](https://github.com/Tencent/tdesign-vue/pull/1165)) - 修复监听事件未正常移除的问题(issue#1170) @skytt ([#1187](https://github.com/Tencent/tdesign-vue/pull/1187)) - 修复 keys 透传失效导致 multiple 场景下 keys 无效的问题 @skytt ([#1184](https://github.com/Tencent/tdesign-vue/pull/1184)) -- `Table`: +- `Table`: - 修复多级表头表格中,列配置全选功能选不全的问题 @LoopZhou ([#1167](https://github.com/Tencent/tdesign-vue/pull/1167)) - 修复可选中行 `table` 组件,`data` 为空数据时,默认全选按钮会选中的问题 @qdzhaoxiaodao ([#1172](https://github.com/Tencent/tdesign-vue/pull/1172)) - - 兼容IE滚动条高度计算覆盖不全问题 @brianzhang ([#1171](https://github.com/Tencent/tdesign-vue/pull/1171)) + - 兼容 IE 滚动条高度计算覆盖不全问题 @brianzhang ([#1171](https://github.com/Tencent/tdesign-vue/pull/1171)) - 修复树形结构懒加载顺序问题,[issue#1122](https://github.com/Tencent/tdesign-vue-next/issues/1122) @chaishi ([#1176](https://github.com/Tencent/tdesign-vue/pull/1176)) - 可编辑单元格,修复 `onEnter` 无法触发 `onEdited` 问题;修复校验不通过时,无法退出编辑态的问题 @chaishi ([#1182](https://github.com/Tencent/tdesign-vue/pull/1182)) - 修复表格列宽拖拽到最大或最小时,有可能无法二次拖拽的问题 @tinna3445 ([#1157](https://github.com/Tencent/tdesign-vue/pull/1157)) -## 🌈 0.43.3 `2022-07-11` +## 🌈 0.43.3 `2022-07-11` + ### 🚀 Features + - `Cascader`: @pengYYYYY ([#1074](https://github.com/Tencent/tdesign-vue/pull/1074)) - 基于 `select-input` 重构, 文本过长省略使用原生 title 展示全文本,不再使用 `tooltip` 组件 - 增加 `popupVisible`, `readonly`, `selectInputProps`, `onPopupVisibleChange` 属性 -- `CheckBox`: 增加 `title` 属性透传 @pengYYYYY ([#1074](https://github.com/Tencent/tdesign-vue/pull/1074)) +- `CheckBox`: 增加 `title` 属性透传 @pengYYYYY ([#1074](https://github.com/Tencent/tdesign-vue/pull/1074)) - `DatePicker`: - 新增 `panelPreselection api` by @HQ-Lin ([#1134](https://github.com/Tencent/tdesign-vue/pull/1134)) - 优化面板月份展示 @HQ-Lin ([#1140](https://github.com/Tencent/tdesign-vue/pull/1140)) - `Drawer`: 优化抽屉拖拽体验([#793](https://github.com/Tencent/tdesign-vue/issues/793)) @uyarn ([#1135](https://github.com/Tencent/tdesign-vue/pull/1135)) + ### 🐞 Bug Fixes -- `Space`: 过滤无效的节点 @pengYYYYY ([#1124](https://github.com/Tencent/tdesign-vue/pull/1124)) + +- `Space`: 过滤无效的节点 @pengYYYYY ([#1124](https://github.com/Tencent/tdesign-vue/pull/1124)) - `Cascader`: @pengYYYYY ([#1074](https://github.com/Tencent/tdesign-vue/pull/1074)) - 修复多选时,文本过长未处理的问题 ([issue #907](https://github.com/Tencent/tdesign-vue/issues/907)) - 修复选中内容过多时,再点击选择器后的闪动问题 ([issue #949](https://github.com/Tencent/tdesign-vue/issues/949)) @@ -1195,11 +1474,13 @@ docClass: timeline - 虚拟滚动支持远程搜索场景 @skytt ([#1133](https://github.com/Tencent/tdesign-vue/pull/1133)) - `Dialog`: 修复阻止冒泡导致 popup 无法正常关闭 @HQ-Lin ([#1139](https://github.com/Tencent/tdesign-vue/pull/1139)) - `Drawer`: 修复头部渲染异常问题 @HQ-Lin ([#1144](https://github.com/Tencent/tdesign-vue/pull/1144)) -- `Input`: 修复Input 组件 切换 type 后不生效的问题 @qdzhaoxiaodao ([#1148](https://github.com/Tencent/tdesign-vue/pull/1148)) +- `Input`: 修复 Input 组件 切换 type 后不生效的问题 @qdzhaoxiaodao ([#1148](https://github.com/Tencent/tdesign-vue/pull/1148)) - 全局配置: 修复 useConfig computed 属性计算导致列表渲染卡顿问题 @brianzhang ([#1122](https://github.com/Tencent/tdesign-vue/pull/1122)) -## 🌈 0.43.2 `2022-07-04` +## 🌈 0.43.2 `2022-07-04` + ### 🚀 Features + - `Form`: - 添加内置校验方法 whitespace @pengYYYYY ([#1095](https://github.com/Tencent/tdesign-vue/pull/1095)) - 新增校验触发方式 `trigger: 'blur'` @k1nz ([#1051](https://github.com/Tencent/tdesign-vue/pull/1051)) @@ -1210,8 +1491,9 @@ docClass: timeline - 树形结构,缩进 `indent` 支持 `0` ### 🐞 Bug Fixes + - `Dialog/Drawer`: 修复 `closeOnOverlayClick` `closeOnEscKeydown` 默认值导致的无法设置的问题 ([#1096 ](https://github.com/Tencent/tdesign-vue-next/issues/1100)) @pengYYYYY ([#1095](https://github.com/Tencent/tdesign-vue/pull/1095)) -- `Drawer`: 修复 `header` 默认值为 `undefined` 的问题 @pengYYYYY ([#1095](https://github.com/Tencent/tdesign-vue/pull/1095)) +- `Drawer`: 修复 `header` 默认值为 `undefined` 的问题 @pengYYYYY ([#1095](https://github.com/Tencent/tdesign-vue/pull/1095)) - `Dialog`: 修复 dialog 滚动失效问题 @HQ-Lin ([#1101](https://github.com/Tencent/tdesign-vue/pull/1101)) - `Form`: 修复 `number` 规则校验不生效的问题 @k1nz ([#1051](https://github.com/Tencent/tdesign-vue/pull/1051)) - `Table`: @chaishi ([#1110](https://github.com/Tencent/tdesign-vue/pull/1110)) @@ -1219,38 +1501,47 @@ docClass: timeline - 修复自定义筛选组件不显示问题,[issue#1114](https://github.com/Tencent/tdesign-vue/issues/1114) @chaishi ([#1110](https://github.com/Tencent/tdesign-vue/pull/1110)) - `ColorPicker`: 修复颜色选择器样式异常,[issue#1044](https://github.com/Tencent/tdesign-vue/issues/1044) @S-mohan ([#1083](https://github.com/Tencent/tdesign-vue/pull/1083)) - `ConfigProvider`: 修复 config-provider 同时存在 provide 和 setup#provide 导致卡顿的性能问题 @Ryqsky ([#1113](https://github.com/Tencent/tdesign-vue/pull/1113)) -- `DatePicker`: 修复suffixIcon、clear事件问题 @HQ-Lin ([#1094](https://github.com/Tencent/tdesign-vue/pull/1094)) +- `DatePicker`: 修复 suffixIcon、clear 事件问题 @HQ-Lin ([#1094](https://github.com/Tencent/tdesign-vue/pull/1094)) + +## 🌈 0.43.1 `2022-06-29` -## 🌈 0.43.1 `2022-06-29` ### 🚀 Features + - `Select`: 列表展开时定位置选中项 @huoyuhao ([#1072](https://github.com/Tencent/tdesign-vue/pull/1072)) + ### 🐞 Bug Fixes + - `Select`: - - 修复多选模式下展示placeholder的异常 @uyarn ([#1091](https://github.com/Tencent/tdesign-vue/pull/1091)) - - 修复可筛选换行高度异常的问题 @uyarn ([#1091](https://github.com/Tencent/tdesign-vue/pull/1091)) + - 修复多选模式下展示 placeholder 的异常 @uyarn ([#1091](https://github.com/Tencent/tdesign-vue/pull/1091)) + - 修复可筛选换行高度异常的问题 @uyarn ([#1091](https://github.com/Tencent/tdesign-vue/pull/1091)) + +## 🌈 0.43.0 `2022-06-28` -## 🌈 0.43.0 `2022-06-28` ### ❗️ BREAKING CHANGES + - 默认移除全局 reset 样式引入,可从 `tdesign-vue/dist/reset.css` 中单独引入 @xiaosansiji ([#1079](https://github.com/Tencent/tdesign-vue/pull/1079)) -- `DatePicker`: 重构`DatePicker`为composition API,全新的UI样式及交互,新增DateRangePicker组件,替换此前的`range`写法 @HQ-Lin ([#1018](https://github.com/Tencent/tdesign-vue/pull/1018)) -- `TimePicker`: 重构`TimePicker`为composition API,全新的UI样式及交互,`disableTime` API有所调整 @uyarn ([#1018](https://github.com/Tencent/tdesign-vue/pull/1018)) +- `DatePicker`: 重构`DatePicker`为 composition API,全新的 UI 样式及交互,新增 DateRangePicker 组件,替换此前的`range`写法 @HQ-Lin ([#1018](https://github.com/Tencent/tdesign-vue/pull/1018)) +- `TimePicker`: 重构`TimePicker`为 composition API,全新的 UI 样式及交互,`disableTime` API 有所调整 @uyarn ([#1018](https://github.com/Tencent/tdesign-vue/pull/1018)) ### 🚀 Features + - `Space`: 新增 space 组件 @HQ-Lin ([#1047](https://github.com/Tencent/tdesign-vue/pull/1047)) -- `ConfigProvider`: 增加 `input` 组件 `autocomplete` 配置,增加 `dialog` 组件 `closeOnEscKeydown`, `closeOnOverlayClick` 配置, 增加 `select` 组件 `filterable` 配置,增加 `drawer` 组件 `closeOnEscKeydown`, `closeOnOverlayClick` 配置 ([issue #848](https://github.com/Tencent/tdesign-vue-next/issues/848)) @pengYYYYY ([#1073](https://github.com/Tencent/tdesign-vue/pull/1073)) +- `ConfigProvider`: 增加 `input` 组件 `autocomplete` 配置,增加 `dialog` 组件 `closeOnEscKeydown`, `closeOnOverlayClick` 配置, 增加 `select` 组件 `filterable` 配置,增加 `drawer` 组件 `closeOnEscKeydown`, `closeOnOverlayClick` 配置 ([issue #848](https://github.com/Tencent/tdesign-vue-next/issues/848)) @pengYYYYY ([#1073](https://github.com/Tencent/tdesign-vue/pull/1073)) - `Local`: 增加日语和韩语语言包 @pengYYYYY ([#1073](https://github.com/Tencent/tdesign-vue/pull/1073)) -- `Table`: fullRow不参与排序 @uyarn ([#1056](https://github.com/Tencent/tdesign-vue/pull/1056)) +- `Table`: fullRow 不参与排序 @uyarn ([#1056](https://github.com/Tencent/tdesign-vue/pull/1056)) ### 🐞 Bug Fixes -- `Table`: + +- `Table`: - 吸顶表头支持自定义滚动容器 @chaishi ([#1052](https://github.com/Tencent/tdesign-vue/pull/1052)) - - 处理table在部分SSR场景渲染失败的问题 @uyarn ([#1056](https://github.com/Tencent/tdesign-vue/pull/1056)) + - 处理 table 在部分 SSR 场景渲染失败的问题 @uyarn ([#1056](https://github.com/Tencent/tdesign-vue/pull/1056)) - 修复仅有`firstFullRow`不渲染的问题 @uyarn ([#1056](https://github.com/Tencent/tdesign-vue/pull/1056)) - - 修复paginationAffixedBottom 透传Affix 参数不生效 @LoopZhou ([#1055](https://github.com/Tencent/tdesign-vue/pull/1055)) - - 修复0.41.7版本后过滤功能构建后异常的问题 @chaishi ([#1081](https://github.com/Tencent/tdesign-vue/pull/1081)) -- `Select`: + - 修复 paginationAffixedBottom 透传 Affix 参数不生效 @LoopZhou ([#1055](https://github.com/Tencent/tdesign-vue/pull/1055)) + - 修复 0.41.7 版本后过滤功能构建后异常的问题 @chaishi ([#1081](https://github.com/Tencent/tdesign-vue/pull/1081)) +- `Select`: + - `option`数量小于`threshold`时不开启虚拟滚动 @uyarn ([#1063](https://github.com/Tencent/tdesign-vue/pull/1063)) - - 单选下 valueType 为 object 时, onChange返回值类型修复 @skytt ([#1076](https://github.com/Tencent/tdesign-vue/pull/1076)) + - 单选下 valueType 为 object 时, onChange 返回值类型修复 @skytt ([#1076](https://github.com/Tencent/tdesign-vue/pull/1076)) - 修复 useDefaultValue、useVModel 初值为 undefined 时, 组件初始化为非受控的问题 @skytt ([#1077](https://github.com/Tencent/tdesign-vue/pull/1077)) - 修复多选下换行提取占满一行的问题 @uyarn ([#1081](https://github.com/Tencent/tdesign-vue/pull/1081)) @@ -1259,16 +1550,19 @@ docClass: timeline - `InputNumber`: 修复`enter`事件不触发的问题 @jchalex ([#1075](https://github.com/Tencent/tdesign-vue/pull/1075)) - `Affix`: 节点挂载后吸顶没有执行的问题 @ontheroad1992 ([#1054](https://github.com/Tencent/tdesign-vue/pull/1054)) +## 🌈 0.42.2 `2022-06-20` -## 🌈 0.42.2 `2022-06-20` ### 🚀 Features + - `Skeleton`: 增加 `delay` 属性防止抖动 @Wonder233 ([#1003](https://github.com/Tencent/tdesign-vue/pull/1003)) - `Table`: - 支持底部滚动条吸底和分页器吸底能力 @chaishi ([#1023](https://github.com/Tencent/tdesign-vue/pull/1023)) - 支持通过吸顶表头进行列拖拽排序,[issue#1014](https://github.com/Tencent/tdesign-vue/issues/1014) @chaishi ([#1029](https://github.com/Tencent/tdesign-vue/pull/1029)) - 吸顶表头支持拖拽调整列宽 - 自定义列配置场景支持列拖拽排序,[issue#1015](https://github.com/Tencent/tdesign-vue/issues/1015) @chaishi ([#1029](https://github.com/Tencent/tdesign-vue/pull/1029)) + ### 🐞 Bug Fixes + - `Form`: 实例方法 `submit` 和 `reset` 恢复事件(0.42.1 中去除的) @chaishi ([#1013](https://github.com/Tencent/tdesign-vue/pull/1013)) - `Input`: 修复 `type = password` 时 `clearable` 不生效的问题 @uyarn ([#1017](https://github.com/Tencent/tdesign-vue/pull/1017)) - `Select`: @@ -1291,8 +1585,10 @@ docClass: timeline - 修复 mask 点击事件失效的问题 @HQ-Lin ([#1019](https://github.com/Tencent/tdesign-vue/pull/1019)) - 修复 `placement = top` 场景下弹出框位置偏移的问题 @huoyuhao ([common#544](https://github.com/Tencent/tdesign-common/pull/544)) -## 🌈 0.42.1 `2022-06-14` +## 🌈 0.42.1 `2022-06-14` + ### 🚀 Features + - `Form`: @chaishi ([#983](https://github.com/Tencent/tdesign-vue/pull/983)) - 实例方法 `reset` 支持重置指定字段,新增参数 `{ type: 'initial' | 'empty', fields: number[] }` - 实例方法 `validate` 支持值校验而不显示每个组件的错误信息文本,新增参数 `{ showErrorMessage }` @@ -1300,36 +1596,44 @@ docClass: timeline - 新增纯净的校验方法 `validateOnly`,专门用作校验,不带任何副作用,[issue#981](https://github.com/Tencent/tdesign-vue/issues/981) - 修复`TagInput` 组件按下 Enter 时触发 `submit` 事件,不再触发,[issue#963](https://github.com/Tencent/tdesign-vue/issues/963) - `Dialog`: 优化动画初始位置 @huoyuhao ([#1000](https://github.com/Tencent/tdesign-vue/pull/1000)) + ### 🐞 Bug Fixes + - `Table`: - - 修复table透传loading size为枚举无效的问题 @uyarn ([#979](https://github.com/Tencent/tdesign-vue/pull/979)) + - 修复 table 透传 loading size 为枚举无效的问题 @uyarn ([#979](https://github.com/Tencent/tdesign-vue/pull/979)) - 优化吸顶和吸底的位置,支持带有 `offsetBottom` 和 `offsetTop` 特性的位置定位,[issue#987](https://github.com/Tencent/tdesign-vue/issues/987) @chaishi ([#985](https://github.com/Tencent/tdesign-vue/pull/985)) - `Select`: @skytt @uyarn ([#991](https://github.com/Tencent/tdesign-vue/pull/991)) - - 修复t-option异步加载问题 + - 修复 t-option 异步加载问题 - 修复分组为空未展示分组名称的问题 - - 优化虚拟滚动示例、修复pagination分页数量宽度问题 + - 优化虚拟滚动示例、修复 pagination 分页数量宽度问题 - `Dialog`: @huoyuhao ([#994](https://github.com/Tencent/tdesign-vue/pull/994)) - 修复普通对话框不脱离文档流的问题 - 修复点击对话框后对话框会隐藏问题,[issue#993](https://github.com/Tencent/tdesign-vue/issues/993) - 修复 `modeless` 模式下背景样式点击透传的问题 - 修复 attach 挂载 showInAttachedElement 定位问题 -## 🌈 0.42.0 `2022-06-10` +## 🌈 0.42.0 `2022-06-10` + ### ❗️ BREAKING CHANGES + - `Dialog`: 移除 transform 定位实现方案,如有覆盖 Dialog 组件样式的情况请注意 DOM 结构有变动 @huoyuhao ([#970](https://github.com/Tencent/tdesign-vue/pull/970)) + ### 🚀 Features -- `Table`: + +- `Table`: - 筛选对话框输入筛选内容之后按回触发筛选过滤,[issue#802](https://github.com/Tencent/tdesign-vue/issues/802) @chaishi ([#952](https://github.com/Tencent/tdesign-vue/pull/952)) - 筛选功能支持自定义组件方式,示例:`columns: [{ filter: { component: DatePicker, props: {} } }]` @chaishi ([#952](https://github.com/Tencent/tdesign-vue/pull/952)) - 拖拽调整宽度,支持设置最小宽度和最大宽度 `column.resize`, [issue#929](https://github.com/Tencent/tdesign-vue/issues/929) @chaishi ([#952](https://github.com/Tencent/tdesign-vue/pull/952)) - 拖拽排序事件,新增参数 `data` 和 `newData`,分别表示变更前后的数据 @chaishi ([#955](https://github.com/Tencent/tdesign-vue/pull/955)) - `Popup`: 支持动态设置 trigger & placement @ikeq ([#950](https://github.com/Tencent/tdesign-vue/pull/950)) - `Select`: - - select组件支持虚拟滚动 @uyarn ([#972](https://github.com/Tencent/tdesign-vue/pull/972)) + - select 组件支持虚拟滚动 @uyarn ([#972](https://github.com/Tencent/tdesign-vue/pull/972)) - 重构为 composition API 实现,组件底层基于 SelectInput 实现 @skytt ([#905](https://github.com/Tencent/tdesign-vue/pull/905)) - `Upload`: 图片上传文案支持自定义 @Isabella327 ([#971](https://github.com/Tencent/tdesign-vue/pull/971)) - 新增 InputAdornment 组件 @HQ-Lin ([#962](https://github.com/Tencent/tdesign-vue/pull/962)) + ### 🐞 Bug Fixes + - `Popup`: 修复初始化 visible 为 true 时的定位抖动问题 @ikeq ([#950](https://github.com/Tencent/tdesign-vue/pull/950)) - `Table`: - 修复树形结构拖拽排序引起展开收起异常问题 @chaishi ([#955](https://github.com/Tencent/tdesign-vue/pull/955)) @@ -1340,48 +1644,63 @@ docClass: timeline - 修复单选场景无法使用 `valueDisplay` 能力的问题 @skytt ([#905](https://github.com/Tencent/tdesign-vue/pull/905)) - `Datepicker`: 修复 `popupProps` 传入无效的问题 @chiyu1996 ([#974](https://github.com/Tencent/tdesign-vue/pull/974)) -## 🌈 0.41.7 `2022-06-02` +## 🌈 0.41.7 `2022-06-02` + ### 🚀 Features -- `Table`: + +- `Table`: - `appendTo` 支持添加新节点到根节点,[tdesign-vue-next issue#849](https://github.com/Tencent/tdesign-vue-next/issues/849) @chaishi ([#931](https://github.com/Tencent/tdesign-vue/pull/931)) - 新增 `getTreeNode`,用于获取整个树形结构,[tdesign-vue-next issue#849](https://github.com/Tencent/tdesign-vue-next/issues/849) @chaishi ([#931](https://github.com/Tencent/tdesign-vue/pull/931)) - EnhancedTable 支持事件 `@drag-sort` @chaishi ([#931](https://github.com/Tencent/tdesign-vue/pull/931)) - 表格支持编辑单元格,[issue#853](https://github.com/Tencent/tdesign-vue/issues/853) @chaishi ([#932](https://github.com/Tencent/tdesign-vue/pull/932)) - `InputNumber`: 通过 `inputProps` 透传 Input 组件全部特性,@jchalex ([#930](https://github.com/Tencent/tdesign-vue/pull/930)) + ### 🐞 Bug Fixes + - `Progress`: theme 由 circle 切换至 plump 后样式错乱 @Isabella327 ([#936](https://github.com/Tencent/tdesign-vue/pull/936)) - `InputNumber`: 修复 `theme = column` 时设置 align 失效的问题 @jchalex ([common #481](https://github.com/Tencent/tdesign-common/pull/481)) - `Table`: 修复表头多选框无法居中和居右展示的问题,[issue#912](https://github.com/Tencent/tdesign-vue/issues/912) @chaishi ([common #932](https://github.com/Tencent/tdesign-common/pull/485)) - 修复无法在 SSR 场景下使用的问题 @uyarn ([#928](https://github.com/Tencent/tdesign-vue/pull/928)) + ### 🚧 Others + - 官网: 支持在线配置组件库主题 @uyarn ([#775](https://github.com/Tencent/tdesign-vue/pull/775)) -## 🌈 0.41.6 `2022-05-27` +## 🌈 0.41.6 `2022-05-27` ### 🚀 Features + - ColorPicker: 新增颜色选择器,使用请参照 [官网](https://tdesign.tencent.com/react/components/color-picker) @S-mohan ([#867](https://github.com/Tencent/tdesign-vue/pull/867)) + ### 🐞 Bug Fixes -- `Table`: + +- `Table`: - EnhancedTable,树形结构中,修复可选中表格禁用行勾选问题:动态设置选中列时,禁用失效 [issue#822](https://github.com/Tencent/tdesign-vue-next/issues/822) @chaishi ([#902](https://github.com/Tencent/tdesign-vue/pull/902)) - EnhancedTable,树形结构中,toggleExpandData 和 expandAll/FoldAll 混合使用时,树形结构展开有误 [issue#839](https://github.com/Tencent/tdesign-vue-next/issues/839) @chaishi ([#902](https://github.com/Tencent/tdesign-vue/pull/902)) - - table初始化时,fixed的阴影效果没有出现 @LoopZhou ([#922](https://github.com/Tencent/tdesign-vue/pull/922)) -- `Tabs`: 修复选项卡新增和删除在normal风格下无效 ([issue #865](https://github.com/Tencent/tdesign-vue/issues/865)) @pengYYYYY ([#921](https://github.com/Tencent/tdesign-vue/pull/921)) + - table 初始化时,fixed 的阴影效果没有出现 @LoopZhou ([#922](https://github.com/Tencent/tdesign-vue/pull/922)) +- `Tabs`: 修复选项卡新增和删除在 normal 风格下无效 ([issue #865](https://github.com/Tencent/tdesign-vue/issues/865)) @pengYYYYY ([#921](https://github.com/Tencent/tdesign-vue/pull/921)) - Drawer: 修复 `Drawer` 使用按键关闭时 `contenteditable` 出现的边框 @pengYYYYY ([common #474](https://github.com/Tencent/tdesign-common/pull/474)) - Layout: 去除 `Header` 额外高度设置 @pengYYYYY ([common #478](https://github.com/Tencent/tdesign-common/pull/478)) + ### 🚧 Others + - 【官网】文档支持国际化 @HQ-Lin ([#896](https://github.com/Tencent/tdesign-vue/pull/896)) -## 🌈 0.41.5 `2022-05-20` +## 🌈 0.41.5 `2022-05-20` + ### 🚀 Features -- `Form`: 支持 `help` 配置的表单项说明内容与错误提示同时展示,未配置 `help` 时不再默认占位 @HQ-Lin ([#884](https://github.com/Tencent/tdesign-vue/pull/884)) -- `Table`: @chaishi (https://github.com/Tencent/tdesign-vue/pull/879)) - - 树形结构,支持默认展开全部,`tree.defaultExpandAll`,[issue#852](https://github.com/Tencent/tdesign-vue/issues/852) - - 树形结构,支持自由控制展开全部,或收起全部 `expandAll()` `foldAll()` - - 树形结构,支持拖拽排序,调整同层级顺序 - - 树形结构,支持在当前节点之前插入新节点 `insertBefore` - - 树形结构,支持在当后节点之后插入新节点 `insertAfter` + +- `Form`: 支持 `help` 配置的表单项说明内容与错误提示同时展示,未配置 `help` 时不再默认占位 @HQ-Lin ([#884](https://github.com/Tencent/tdesign-vue/pull/884)) +- `Table`: @chaishi (https://github.com/Tencent/tdesign-vue/pull/879)) + - 树形结构,支持默认展开全部,`tree.defaultExpandAll`,[issue#852](https://github.com/Tencent/tdesign-vue/issues/852) + - 树形结构,支持自由控制展开全部,或收起全部 `expandAll()` `foldAll()` + - 树形结构,支持拖拽排序,调整同层级顺序 + - 树形结构,支持在当前节点之前插入新节点 `insertBefore` + - 树形结构,支持在当后节点之后插入新节点 `insertAfter` - `Tree`: label 支持多行文本展示,[issue# common 444](https://github.com/Tencent/tdesign-common/issues/444) @ccccpj ([#460](https://github.com/Tencent/tdesign-common/pull/460)) + ### 🐞 Bug Fixes + - `Table`: 列拖动优化;修复选中行后列拖动距离被重置问题 @LoopZhou ([#870](https://github.com/Tencent/tdesign-vue/pull/870)) - `Table`: 修复 多级表头 + 列配置 综合示例中,列数量超出一定限制时报错,[issue#713](https://github.com/Tencent/tdesign-vue-next/issues/713) @chaishi ([#875](https://github.com/Tencent/tdesign-vue/pull/875)) - `Transfer`: 修复列表数量变化时的页码展示问题 @BigLiao ([#893](https://github.com/Tencent/tdesign-vue/pull/893)) @@ -1390,82 +1709,100 @@ docClass: timeline - `Menu`: 修复 `expandType=popup` 时箭头方向展示错误的问题,@fengxianqi ([#806](https://github.com/Tencent/tdesign-vue/pull/806)) - `Menu`: 修复 width 不支持数组类型的问题,@LeeJim ([#897](https://github.com/Tencent/tdesign-vue/pull/897)) -## 🌈 0.41.3 `2022-05-13` +## 🌈 0.41.3 `2022-05-13` + ### 🚀 Features + - `Icon`: 更新图标 新增`file-icon`图标 调整`file-excel`、`file-pdf`、`file-powerpoint`、`file-unknown`、`file-word`和`star-filled`图标的绘制路径 @uyarn ([#854](https://github.com/Tencent/tdesign-vue/pull/854)) - `Dialog`: 支持`preventScrollThrough` API @uyarn ([#861](https://github.com/Tencent/tdesign-vue/pull/861)) - `Table`: 支持自定义树形结构图标 `treeExpandAndFoldIcon`,同时支持全局配置此图标,[issue#717](https://github.com/Tencent/tdesign-vue-next/issues/717) @chaishi ([#863](https://github.com/Tencent/tdesign-vue/pull/863)) - `Table`: 支持隐藏排序文本提示 `hideSortTips`,同时支持全局配置是否隐藏排序文本提示,[issue#736](https://github.com/Tencent/tdesign-vue-next/issues/736) @chaishi ([#863](https://github.com/Tencent/tdesign-vue/pull/863)) - `Steps`: 新增 `separator` 属性,用于控制步骤条分隔符类型 @HQ-Lin ([#863](https://github.com/Tencent/tdesign-vue/pull/868)) + ### 🐞 Bug Fixes + - `Select`: 修复 `textarea` 作为 `panelContent` 时无法使用键盘事件的问题 @uyarn ([#851](https://github.com/Tencent/tdesign-vue/pull/851)) -- `Slider`: 修复`InputProps`属性传递布尔值时ts错误的问题 @uyarn ([#851](https://github.com/Tencent/tdesign-vue/pull/851)) +- `Slider`: 修复`InputProps`属性传递布尔值时 ts 错误的问题 @uyarn ([#851](https://github.com/Tencent/tdesign-vue/pull/851)) - `Table`: 固定列滚动阴影修复 [issue#858](https://github.com/Tencent/tdesign-vue/issues/858) @chaishi ([#860](https://github.com/Tencent/tdesign-vue/pull/860)) - `Dropdown`: 插槽模式下 `maxHeight` 失效的问题 @uyarn ([#857](https://github.com/Tencent/tdesign-vue/pull/857)) - `Dropdown`: 透传 popup 事件问题 @uyarn ([#857](https://github.com/Tencent/tdesign-vue/pull/857)) -- `Dialog`: 修复`normal`下加入lock导致页面无法滚动的问题 @uyarn ([#861](https://github.com/Tencent/tdesign-vue/pull/861)) +- `Dialog`: 修复`normal`下加入 lock 导致页面无法滚动的问题 @uyarn ([#861](https://github.com/Tencent/tdesign-vue/pull/861)) - `Table`: 修正拖拽列款的边界条件判断 @tinna3445 ([#866](https://github.com/Tencent/tdesign-vue/pull/866)) - `Progress`: 修复环形进度条显示比例不准确 @LoopZhou ([#866](https://github.com/Tencent/tdesign-vue/pull/874)) -## 🌈 0.41.2 `2022-05-07` +## 🌈 0.41.2 `2022-05-07` + ### 🚀 Features + - `Table`: 新增 API `ellipsisTitle` 用于单独控制表头的超出省略 [@chaishi](https://github.com/chaishi) ([#832](https://github.com/Tencent/tdesign-vue/pull/832)) - `Tooltip`: `placement` 新增 `mouse` 枚举值,用于支持基于鼠标位置定位 [@Hoofoo-WHU](https://github.com/Hoofoo-WHU) ([#843](https://github.com/Tencent/tdesign-vue/pull/843)) + ### 🐞 Bug Fixes + - `Table`: [@chaishi](https://github.com/chaishi) ([#832](https://github.com/Tencent/tdesign-vue/pull/832)) - - 修复默认情况,表尾吸底显示与否计算遗漏的问题 [issue#833](https://github.com/Tencent/tdesign-vue/issues/833),[commit#8323ea](https://github.com/Tencent/tdesign-vue/pull/832/commits/8323eaca98bf759555d7c90b60099ae82370e224) + - 修复默认情况,表尾吸底显示与否计算遗漏的问题 [issue#833](https://github.com/Tencent/tdesign-vue/issues/833),[commit#8323ea](https://github.com/Tencent/tdesign-vue/pull/832/commits/8323eaca98bf759555d7c90b60099ae82370e224) - 修复加载状态会导致拖拽排序失效的问题,[tdesign-vue-next#648](https://github.com/Tencent/tdesign-vue-next/issues/648),[commit#770d40](https://github.com/Tencent/tdesign-vue/pull/832/commits/770d406969da29ebf0e94aa81477aa41be984108) - 修复表格 `sorter:true` 且 `ellipsis: true` 时样式冲突问题 [issue#778](https://github.com/Tencent/tdesign-vue/issues/778),[commit#c92168](https://github.com/Tencent/tdesign-vue/pull/832/commits/c92168c9aaf51ac2a27b73dfc3867878ab7a8a48) - TS 类型 TableColumns[0] 在严格模式下的使用问题 - `Table`: `renderExpandedRow`改为非必填 [@uyarn](https://github.com/uyarn) ([#844](https://github.com/Tencent/tdesign-vue/pull/844)) - 全局配置:修复`animation`属性`exclude`和`include`在 TS 中都必填的问题 - `Datepicker`: 修复 weekday 英文翻译的顺序问题 [@keifergu](https://github.com/keifergu) ([common #447](https://github.com/Tencent/tdesign-common/pull/447)) + ### 🚧 Others + - `Table`: TS 类型全部移入 interface.ts 文件中,并导出 [@chaishi](https://github.com/chaishi) ([#832](https://github.com/Tencent/tdesign-vue/pull/832)) - `Calendar`: 对 `value` 属性功能进行修正,新增 `month` 和 `year` 属性,用于控制日历面板展示所属年/月。 [@PsTiu](https://github.com/PsTiu) ([#813](https://github.com/Tencent/tdesign-vue/pull/813)) - 官网: 上线组件 live demo 能力,请访问 [Button 组件文档](https://tdesign.tencent.com/vue/components/button) 体验,[@HQ-Lin](https://github.com/HQ-Lin) ([#695](https://github.com/Tencent/tdesign-vue/pull/695)) ## 🌈 0.41.1 `2022-04-29` + ### 🚀 Features + - `Message`: 增加全局配置默认值能力 [@sommouns](https://github.com/sommouns) ([#795](https://github.com/Tencent/tdesign-vue/pull/795)) - `Pagination`: 新增 `showFirstAndLastPageBtn`、`showPreviousAndNextBtn`、`showPageSize`、`showPageNumber` 属性 [@HQ-Lin](https://github.com/HQ-Lin) ([#808](https://github.com/Tencent/tdesign-vue/pull/808)) -- `Table`: - - 支持表尾吸底及表尾滚动条吸底 [@chaishi](https://github.com/chaishi) ([#810](https://github.com/Tencent/tdesign-vue/pull/810)) - - 支持表格列可以拖拽宽度 [@tinna3445](https://github.com/tinna3445) ([#757](https://github.com/Tencent/tdesign-vue/pull/757)) +- `Table`: + - 支持表尾吸底及表尾滚动条吸底 [@chaishi](https://github.com/chaishi) ([#810](https://github.com/Tencent/tdesign-vue/pull/810)) + - 支持表格列可以拖拽宽度 [@tinna3445](https://github.com/tinna3445) ([#757](https://github.com/Tencent/tdesign-vue/pull/757)) + ### 🐞 Bug Fixes + - `Form`: 修复 help 文本样式问题 [@HQ-Lin](https://github.com/HQ-Lin) ([#803](https://github.com/Tencent/tdesign-vue/pull/803)) - `Dialog`: 修复 dialog 初始化时滚动穿透问题 [@mxj0808](https://github.com/mxj0808) ([#788](https://github.com/Tencent/tdesign-vue/pull/788)) -- `Table`: 表头吸顶时,`table` 元素宽度修正,之前为直接等于外层宽度,不合理 [@chaishi](https://github.com/chaishi) ([#810](https://github.com/Tencent/tdesign-vue/pull/810)) +- `Table`: 表头吸顶时,`table` 元素宽度修正,之前为直接等于外层宽度,不合理 [@chaishi](https://github.com/chaishi) ([#810](https://github.com/Tencent/tdesign-vue/pull/810)) - `Table`: 修复斑马纹 stripe 和固定表头同时存在时,样式问题,[issue#804](https://github.com/Tencent/tdesign-vue/issues/804) [@chaishi](https://github.com/chaishi) ([#810](https://github.com/Tencent/tdesign-vue/pull/810)) -- `DatePicker`: 修复DatePicker 点击快捷选择日期按钮左边面板日期时间不联动 [@yilaierwang](https://github.com/yilaierwang) ([#811](https://github.com/Tencent/tdesign-vue/pull/811)) +- `DatePicker`: 修复 DatePicker 点击快捷选择日期按钮左边面板日期时间不联动 [@yilaierwang](https://github.com/yilaierwang) ([#811](https://github.com/Tencent/tdesign-vue/pull/811)) - 防止 `VueCompositionAPI` 重复注册 [@cong-min](https://github.com/cong-min) ([#809](https://github.com/Tencent/tdesign-vue/pull/809)) ## 🌈 0.41.0 `2022-04-24` ### ❗️ BREAKING CHANGES -* Table: 拖拽排序修改为`drag=sort` 表示列拖拽排序,`drag=row` 表示行拖拽排序,`drag=row-handler` 表示行手柄列拖拽排序。如果您使用了 `drag="col"` 来实现行拖拽排序,请更为使用 `drag="row-handler"`,[pr #755](https://github.com/Tencent/tdesign-vue/pull/755),[@chaishi](https://github.com/chaishi) + +- Table: 拖拽排序修改为`drag=sort` 表示列拖拽排序,`drag=row` 表示行拖拽排序,`drag=row-handler` 表示行手柄列拖拽排序。如果您使用了 `drag="col"` 来实现行拖拽排序,请更为使用 `drag="row-handler"`,[pr #755](https://github.com/Tencent/tdesign-vue/pull/755),[@chaishi](https://github.com/chaishi) ### 🐞 Bug Fixes -* Table: + +- Table: - 修复 SSR 场景下使用报错的问题,[pr #744](https://github.com/Tencent/tdesign-vue/pull/744),[@codenotkey](https://github.com/codenotkey) - 修复表头吸顶时不对齐的问题 - 按需引入 Button 组件,避免业务按需引入 Table 组件时出现组件不存在报错的问题 - 修复无法使用插槽自定义过滤图标的问题 - 解决 `TdBaseTableProps ` 和 `TdPrimaryTableProps` 关于 `onCellClick` 的 TS 类型冲突 -* Alert: 修复 ts 类型错误,[pr #796](https://github.com/Tencent/tdesign-vue/pull/796),[@pengYYYYY](https://github.com/pengYYYYY) -* Cascader: [pr #751](https://github.com/Tencent/tdesign-vue/pull/751),[@pengYYYYY](https://github.com/pengYYYYY) +- Alert: 修复 ts 类型错误,[pr #796](https://github.com/Tencent/tdesign-vue/pull/796),[@pengYYYYY](https://github.com/pengYYYYY) +- Cascader: [pr #751](https://github.com/Tencent/tdesign-vue/pull/751),[@pengYYYYY](https://github.com/pengYYYYY) - 修复可过滤状态下的下拉面板拉起闪烁的问题 - 修复可过滤状态下的输入内容未被正常销毁的问题 -* Transfer: 修复 `Transfer` 设置 `targetSort` 后未按预期展示的问题,[#758](https://github.com/Tencent/tdesign-vue/pull/758),[@BigLiao](https://github.com/BigLiao) -* ConfigProvider: 修复 `ConfigProvider` 组件导出错误的问题,[pr #773](https://github.com/Tencent/tdesign-vue/pull/773),[@xiaosansiji](https://github.com/xiaosansiji) -* TreeSelect: [pr #781](https://github.com/Tencent/tdesign-vue/pull/781),[@Godlike-meteor](https://github.com/Godlike-meteor) - - 修复 `value` 为数字0时,不渲染 `label` 的问题,[issue #722](https://github.com/Tencent/tdesign-vue/issues/722) +- Transfer: 修复 `Transfer` 设置 `targetSort` 后未按预期展示的问题,[#758](https://github.com/Tencent/tdesign-vue/pull/758),[@BigLiao](https://github.com/BigLiao) +- ConfigProvider: 修复 `ConfigProvider` 组件导出错误的问题,[pr #773](https://github.com/Tencent/tdesign-vue/pull/773),[@xiaosansiji](https://github.com/xiaosansiji) +- TreeSelect: [pr #781](https://github.com/Tencent/tdesign-vue/pull/781),[@Godlike-meteor](https://github.com/Godlike-meteor) + - 修复 `value` 为数字 0 时,不渲染 `label` 的问题,[issue #722](https://github.com/Tencent/tdesign-vue/issues/722) - 修复 `onBlur` 和 `onClear` 触发时,不会清除 filter function 的问题,[issue #635](https://github.com/Tencent/tdesign-vue/issues/635) + ### 🚀 Features -* Select: 去掉选中和下拉项中的 title 属性,[pr #777](https://github.com/Tencent/tdesign-vue/pull/777),[@LoopZhou](https://github.com/LoopZhou) -* Table: 支持树形结构展示,行展开或收起时触发 `onTreeExpandChange` 事件 -* Collapse: 新增 Collapse 折叠面板组件,使用请参照 [官网](https://tdesign.tencent.com/vue/components/collapse),[@asbstty](https://github.com/asbstty) -* Tree: [pr #740](https://github.com/Tencent/tdesign-vue/pull/740),[@TabSpace](https://github.com/TabSpace) + +- Select: 去掉选中和下拉项中的 title 属性,[pr #777](https://github.com/Tencent/tdesign-vue/pull/777),[@LoopZhou](https://github.com/LoopZhou) +- Table: 支持树形结构展示,行展开或收起时触发 `onTreeExpandChange` 事件 +- Collapse: 新增 Collapse 折叠面板组件,使用请参照 [官网](https://tdesign.tencent.com/vue/components/collapse),[@asbstty](https://github.com/asbstty) +- Tree: [pr #740](https://github.com/Tencent/tdesign-vue/pull/740),[@TabSpace](https://github.com/TabSpace) - Tree 组件实现嵌套结构渲染能力 - 部分属性改为不让 Vue 监听,一定程度上提升组件性能,减少对外部组件交互性能的影响 @@ -1473,37 +1810,39 @@ docClass: timeline ### 🐞 Bug Fixes -* Timepicker: 修复手动清空 value 时异常的问题,[pr #731](https://github.com/Tencent/tdesign-vue/pull/731),[@uyarn](https://github.com/uyarn) -* Textarea: 修复输入数字零时显示异常的问题,[issue #727](https://github.com/Tencent/tdesign-vue/issues/727),[@mokywu](https://github.com/mokywu) -* Menu: 修复局部注册组件时报错的问题,[issue #696](https://github.com/Tencent/tdesign-vue/issues/696),[@LeeJim](https://github.com/LeeJim) -* Select: 修复可过滤的选择器提前换行的问题,[issue #726](https://github.com/Tencent/tdesign-vue/issues/726),[@uyarn](https://github.com/uyarn) +- Timepicker: 修复手动清空 value 时异常的问题,[pr #731](https://github.com/Tencent/tdesign-vue/pull/731),[@uyarn](https://github.com/uyarn) +- Textarea: 修复输入数字零时显示异常的问题,[issue #727](https://github.com/Tencent/tdesign-vue/issues/727),[@mokywu](https://github.com/mokywu) +- Menu: 修复局部注册组件时报错的问题,[issue #696](https://github.com/Tencent/tdesign-vue/issues/696),[@LeeJim](https://github.com/LeeJim) +- Select: 修复可过滤的选择器提前换行的问题,[issue #726](https://github.com/Tencent/tdesign-vue/issues/726),[@uyarn](https://github.com/uyarn) + ### 🚀 Features -* Form: 默认渲染 extra DOM 节点,[pr #730](https://github.com/Tencent/tdesign-vue/pull/730),[@HQ-Lin](https://github.com/HQ-Lin) -* Dialog: 新增 `showInAttachedElement` API 用于控制是否仅在挂载元素中显示弹窗,[pr #711](https://github.com/Tencent/tdesign-vue/pull/711),[@zhaodanchun](https://github.com/zhaodanchun) -* Card: 新增卡片组件,[pr #739](https://github.com/Tencent/tdesign-vue/pull/739),[@uyarn](https://github.com/uyarn),[@zhwachen](https://github.com/zhwachen) -* Swiper: 新增轮播框组件,[pr #668](https://github.com/Tencent/tdesign-vue/pull/668),[@start940315](https://github.com/start940315) +- Form: 默认渲染 extra DOM 节点,[pr #730](https://github.com/Tencent/tdesign-vue/pull/730),[@HQ-Lin](https://github.com/HQ-Lin) +- Dialog: 新增 `showInAttachedElement` API 用于控制是否仅在挂载元素中显示弹窗,[pr #711](https://github.com/Tencent/tdesign-vue/pull/711),[@zhaodanchun](https://github.com/zhaodanchun) +- Card: 新增卡片组件,[pr #739](https://github.com/Tencent/tdesign-vue/pull/739),[@uyarn](https://github.com/uyarn),[@zhwachen](https://github.com/zhwachen) +- Swiper: 新增轮播框组件,[pr #668](https://github.com/Tencent/tdesign-vue/pull/668),[@start940315](https://github.com/start940315) ## 🌈 0.40.2 `2022-04-08` ### 🐞 Bug Fixes -* Form: 修复 FormItem slot label 未正常占位的问题,[pr #699](https://github.com/Tencent/tdesign-vue/pull/699),[@HQ-Lin](https://github.com/HQ-Lin) -* Slider: 修复设置 `inputnumberProps` 属性无效的问题,[issue #544](https://github.com/Tencent/tdesign-vue-next/issues/544),[@uyarn](https://github.com/uyarn) -* Upload: [pr #698](https://github.com/Tencent/tdesign-vue/pull/698),[@uyarn](https://github.com/uyarn) +- Form: 修复 FormItem slot label 未正常占位的问题,[pr #699](https://github.com/Tencent/tdesign-vue/pull/699),[@HQ-Lin](https://github.com/HQ-Lin) +- Slider: 修复设置 `inputnumberProps` 属性无效的问题,[issue #544](https://github.com/Tencent/tdesign-vue-next/issues/544),[@uyarn](https://github.com/uyarn) +- Upload: [pr #698](https://github.com/Tencent/tdesign-vue/pull/698),[@uyarn](https://github.com/uyarn) - 修复 `remove`、`selectChange` 事件回调异常的问题 - 修复取消上传逻辑异常 + ### 🚀 Features -* Popup: content 尺寸变化后自动更新位置,[pr #694](https://github.com/Tencent/tdesign-vue/pull/694),[@ikeq](https://github.com/ikeq) -* Slider: `label` 为 function 时新增 `value` 和 `position` 参数,[pr #714](https://github.com/Tencent/tdesign-vue/pull/714),[@uyarn](https://github.com/uyarn) -* Upload: [pr #698](https://github.com/Tencent/tdesign-vue/pull/698),[@uyarn](https://github.com/uyarn) +- Popup: content 尺寸变化后自动更新位置,[pr #694](https://github.com/Tencent/tdesign-vue/pull/694),[@ikeq](https://github.com/ikeq) +- Slider: `label` 为 function 时新增 `value` 和 `position` 参数,[pr #714](https://github.com/Tencent/tdesign-vue/pull/714),[@uyarn](https://github.com/uyarn) +- Upload: [pr #698](https://github.com/Tencent/tdesign-vue/pull/698),[@uyarn](https://github.com/uyarn) - 支持自定义上传文件列表 - 列表型上传支持展示 `errorMessage` -* Checkbox: [pr #706](https://github.com/Tencent/tdesign-vue/pull/706),[@chaishi](https://github.com/chaishi) +- Checkbox: [pr #706](https://github.com/Tencent/tdesign-vue/pull/706),[@chaishi](https://github.com/chaishi) - onChange 事件新增参数 `option` 表示当前操作对象,`current` 表示当前操作对象的 value - `type.ts` 新增 `modelValue` -* Table: [pr #706](https://github.com/Tencent/tdesign-vue/pull/706),[@chaishi](https://github.com/chaishi) +- Table: [pr #706](https://github.com/Tencent/tdesign-vue/pull/706),[@chaishi](https://github.com/chaishi) - 表格拖拽排序支持完全受控用法,[pr #694](https://github.com/Tencent/tdesign-vue/pull/694),[@wangmerry](https://github.com/wangmerry) - 列配置功能,`onColumnChange` 事件新增参数 e 和 currentColumn - 列配置功能,新增 `buttonProps` ,用于支持完全自定义「列配置按钮」风格和内容 @@ -1522,52 +1861,59 @@ docClass: timeline ### 🐞 Bug Fixes -* Table: 修复本地数据排序,异步加载数据时分页失效的问题,[pr #689](https://github.com/Tencent/tdesign-vue/pull/689),[@chaishi](https://github.com/chaishi) +- Table: 修复本地数据排序,异步加载数据时分页失效的问题,[pr #689](https://github.com/Tencent/tdesign-vue/pull/689),[@chaishi](https://github.com/chaishi) ## 🌈 0.40.0 `2022-03-31` + ### ❗️ BREAKING CHANGES -* Table: 表格行列拖拽排序功能重构,新用法请参考[官网 demo](https://tdesign.tencent.com/vue/components/table#%E5%8F%AF%E6%8B%96%E6%8B%BD%E6%8E%92%E5%BA%8F%E7%9A%84%E8%A1%A8%E6%A0%BC),[pr #657](https://github.com/Tencent/tdesign-vue/pull/657),[@wangmerry](https://github.com/wangmerry) -* Form: label 为空时不再默认渲染宽度占位,需要手动设置样式保持表单对齐[pr #687](https://github.com/Tencent/tdesign-vue/pull/687),[@HQ-Lin](https://github.com/HQ-Lin) + +- Table: 表格行列拖拽排序功能重构,新用法请参考[官网 demo](https://tdesign.tencent.com/vue/components/table#%E5%8F%AF%E6%8B%96%E6%8B%BD%E6%8E%92%E5%BA%8F%E7%9A%84%E8%A1%A8%E6%A0%BC),[pr #657](https://github.com/Tencent/tdesign-vue/pull/657),[@wangmerry](https://github.com/wangmerry) +- Form: label 为空时不再默认渲染宽度占位,需要手动设置样式保持表单对齐[pr #687](https://github.com/Tencent/tdesign-vue/pull/687),[@HQ-Lin](https://github.com/HQ-Lin) + ### 🐞 Bug Fixes -* Popconfirm: 修复确认框中按钮默认大小,[pr #673](https://github.com/Tencent/tdesign-vue/pull/673),[@pengYYYYY](https://github.com/pengYYYYY) -* Upload: +- Popconfirm: 修复确认框中按钮默认大小,[pr #673](https://github.com/Tencent/tdesign-vue/pull/673),[@pengYYYYY](https://github.com/pengYYYYY) +- Upload: - 修复上传中状态文案,[pr #678](https://github.com/Tencent/tdesign-vue/pull/678),[@pengYYYYY](https://github.com/pengYYYYY) - 修复上传模版问题,[issue #675](https://github.com/Tencent/tdesign-vue/issues/675),[@YikaJ](https://github.com/YikaJ) -* Popup: 修复 `hideEmptyPopup` 在动态改变内容时不生效的问题,[@LoopZhou](https://github.com/LoopZhou) -* Table: 修复合并单元格边框样式问题,[issue #671](https://github.com/Tencent/tdesign-vue/issues/671),[@chaishi](https://github.com/chaishi) -* Datepicker: 修复区间时间选择时,月份/年份选择面板样式异常的问题,[issue #588](https://github.com/Tencent/tdesign-vue/issues/588),[@HQ-Lin](https://github.com/HQ-Lin) -* 修复 Table/SelectInput/TagInput 按需引入时出现 composition-api 相关报错的问题,[pr #688](https://github.com/Tencent/tdesign-vue/pull/688),[@xiaosansiji](https://github.com/xiaosansiji) +- Popup: 修复 `hideEmptyPopup` 在动态改变内容时不生效的问题,[@LoopZhou](https://github.com/LoopZhou) +- Table: 修复合并单元格边框样式问题,[issue #671](https://github.com/Tencent/tdesign-vue/issues/671),[@chaishi](https://github.com/chaishi) +- Datepicker: 修复区间时间选择时,月份/年份选择面板样式异常的问题,[issue #588](https://github.com/Tencent/tdesign-vue/issues/588),[@HQ-Lin](https://github.com/HQ-Lin) +- 修复 Table/SelectInput/TagInput 按需引入时出现 composition-api 相关报错的问题,[pr #688](https://github.com/Tencent/tdesign-vue/pull/688),[@xiaosansiji](https://github.com/xiaosansiji) ### 🚀 Features -* Table: 支持外部设置当前显示列,新增 API `displayColumns` `defaultDisplayColumns` `onDisplayColumnsChange` 和事件 `display-columns-change`,[pr #672](https://github.com/Tencent/tdesign-vue/pull/672),[@chaishi](https://github.com/chaishi) +- Table: 支持外部设置当前显示列,新增 API `displayColumns` `defaultDisplayColumns` `onDisplayColumnsChange` 和事件 `display-columns-change`,[pr #672](https://github.com/Tencent/tdesign-vue/pull/672),[@chaishi](https://github.com/chaishi) ## 🌈 0.39.1 `2022-03-29` ### 🐞 Bug Fixes -* Upload: [pr #640](https://github.com/Tencent/tdesign-vue/pull/640),[@brianzhang](https://github.com/brianzhang) +- Upload: [pr #640](https://github.com/Tencent/tdesign-vue/pull/640),[@brianzhang](https://github.com/brianzhang) - 修复 `success` 事件先于 `progress` 事件触发时,上传文件 `loadingFile` 值不正确的问题 - 修复最大数量限制 max 在多次文件选择中判断不正确的问题 -* Pagination: 修复跳转页输入框展示了额外 placeholder 默认内容的问题,[pr #667](https://github.com/Tencent/tdesign-vue/pull/667),[@xiaosansiji](https://github.com/xiaosansiji) -* TreeSelect: +- Pagination: 修复跳转页输入框展示了额外 placeholder 默认内容的问题,[pr #667](https://github.com/Tencent/tdesign-vue/pull/667),[@xiaosansiji](https://github.com/xiaosansiji) +- TreeSelect: - 修复 `treeProps` 中同时传入 key、load 时选中项显示的问题,[issue #622](https://github.com/Tencent/tdesign-vue/issues/622),[@Zwow](https://github.com/Zwow) - 修正 TreeSelect 的交互行为,与 Select 保持一致,[issue #617](https://github.com/Tencent/tdesign-vue/issues/617),[@YikaJ](https://github.com/YikaJ) - 修复 filter 状态下,树无法折叠的问题;修复 lazy 状态下,无法正确展示 label 的问题,[issue #550](https://github.com/Tencent/tdesign-vue/issues/550),[@Godlike-meteor](https://github.com/Godlike-meteor) -* Table: [pr #660](https://github.com/Tencent/tdesign-vue/pull/660),[@chaishi](https://github.com/chaishi) +- Table: [pr #660](https://github.com/Tencent/tdesign-vue/pull/660),[@chaishi](https://github.com/chaishi) - 修复虚拟滚动 `threshold` 引起的报错,[issue#661](https://github.com/Tencent/tdesign-vue/issues/661) -* 修复 TS 定义报错问题,非 Typescript 或 SSR 项目请尽快由 0.39.0 版本升级,[pr #664](https://github.com/Tencent/tdesign-vue/pull/664),[@uyarn](https://github.com/uyarn) +- 修复 TS 定义报错问题,非 Typescript 或 SSR 项目请尽快由 0.39.0 版本升级,[pr #664](https://github.com/Tencent/tdesign-vue/pull/664),[@uyarn](https://github.com/uyarn) + ### 🚀 Features -* ConfigProvider: 完善语言配置能力,使用 common 仓库中的配置数据,[pr #643](https://github.com/Tencent/tdesign-vue/pull/643),[@pengYYYYY](https://github.com/pengYYYYY) -* Table: [pr #660](https://github.com/Tencent/tdesign-vue/pull/660),[@chaishi](https://github.com/chaishi) +- ConfigProvider: 完善语言配置能力,使用 common 仓库中的配置数据,[pr #643](https://github.com/Tencent/tdesign-vue/pull/643),[@pengYYYYY](https://github.com/pengYYYYY) +- Table: [pr #660](https://github.com/Tencent/tdesign-vue/pull/660),[@chaishi](https://github.com/chaishi) - 表格超出省略浮层父元素更为表头 `thead`,避免挂载到全局 `body` - 过滤功能浮层元素默认挂载到 `t-table`,不再挂载到全局 `body`,[issue#658](https://github.com/Tencent/tdesign-vue/issues/658) ## 🌈 0.39.0 `2022-03-28` + ### ❗️ BREAKING CHANGES + Table 组件使用 `Composition API` 重构,[pr #365](https://github.com/Tencent/tdesign-vue/pull/365),[@chaishi](https://github.com/chaishi) + - BaseTable HTML 结构变更,写过 CSS 样式覆盖的同学需注意更新样式 - 表头更为使用 `th` 标签,之前为 `td`,不符合语义 - 事件 `row-db-click` 更为`row-dblclick` ,`onRowDbClick` 更为`onRowDblclick` @@ -1575,24 +1921,26 @@ Table 组件使用 `Composition API` 重构,[pr #365](https://github.com/Tence - CSS 类名 `t-table__row-first-full-row` 更为 `t-table__first-full-row`,`t-table__row-last-full-row` 更为 `t-table__last-full-row` ### 🐞 Bug Fixes -* Affix: 修复 `onFixedChange` 触发时机,在固定状态发生变化时才会触发该事件(改动之前为:滚动一直触发) -* Table: + +- Affix: 修复 `onFixedChange` 触发时机,在固定状态发生变化时才会触发该事件(改动之前为:滚动一直触发) +- Table: - 自定义列配置功能:多级表头和列显示配置同时存在时,无法进行正确的列配置的问题,列配置仅显示了第一层表头 - 多级表头和固定列同时存在时,固定列有问题,[issue #465](https://github.com/Tencent/tdesign-vue/issues/465) - `verticalAlign` 不生效问题,[issue #372](https://github.com/Tencent/tdesign-vue/issues/372) - - 右上角出现文字穿透问题,[issue #383](https://github.com/Tencent/tdesign-vue/issues/383) + - 右上角出现文字穿透问题,[issue #383](https://github.com/Tencent/tdesign-vue/issues/383) - 固定表头和固定列,全部使用 CSS sticky 输出样式,组件仅渲染一个表格,表头和表内容不再分开渲染输出。不仅支持 `table-layout: fixed`模式,同时也支持 `table-layout: auto` 模式 - 设置 `tableLayout: auto` ,固定表头异常,[issue #278](https://github.com/Tencent/tdesign-vue/issues/278) - 设置 `tableLayout: auto` ,`maxHeight` 显示异常,[issue #371](https://github.com/Tencent/tdesign-vue/issues/371) - [#issue 432](https://github.com/Tencent/tdesign-vue/issues/432) - - Table组件 BaseTableCol 配置项 fixed 和 ellipsis(true) 属性共存导致fix阴影无法显示, [issue #392](https://github.com/Tencent/tdesign-vue/issues/392) - - 多级表头的表格 改变children的宽度无效 [issue #367](https://github.com/Tencent/tdesign-vue/issues/367) - - table 组件使用 PrimaryTable 控制台报错 t-primary-table 未注册[issue #373](https://github.com/Tencent/tdesign-vue/issues/373) + - Table 组件 BaseTableCol 配置项 fixed 和 ellipsis(true) 属性共存导致 fix 阴影无法显示, [issue #392](https://github.com/Tencent/tdesign-vue/issues/392) + - 多级表头的表格 改变 children 的宽度无效 [issue #367](https://github.com/Tencent/tdesign-vue/issues/367) + - table 组件使用 PrimaryTable 控制台报错 t-primary-table 未注册[issue #373](https://github.com/Tencent/tdesign-vue/issues/373) - 表格组件设置 height 或 maxHeight 后未出现滚动条的时候竖线不对齐,[issue #378](https://github.com/Tencent/tdesign-vue/issues/378) - 修复,排序图标和过滤图标同时存在时,样式异常问题 + ### 🚀 Features -* Table: +- Table: - 排序交互变更:排序方式支持点击直接排序[issue #480](https://github.com/Tencent/tdesign-vue/issues/480) - 优化表格最后一列 `ellipsis` 浮层位置底部右对齐 - 新增超出省略功能, `ellipsis` 支持透传 Popup 组件全部属性 @@ -1607,254 +1955,265 @@ Table 组件使用 `Composition API` 重构,[pr #365](https://github.com/Tence - 新增综合功能:多级表头 + 固定表头 + 固定列 + 表头吸顶 + 虚拟滚动 + 自定义列配置 - 过滤功能,条件为真时,高亮筛选图标 - ## 🌈 0.38.1 `2022-03-26` + ### 🚀 Features -* SelectInput: 实现 `enter` 事件 [pr #642](https://github.com/Tencent/tdesign-vue/pull/642),[@pengYYYYY](https://github.com/pengYYYYY) + +- SelectInput: 实现 `enter` 事件 [pr #642](https://github.com/Tencent/tdesign-vue/pull/642),[@pengYYYYY](https://github.com/pengYYYYY) ## Bug Fixes -* SelectInput: 修复单选可输入状态下的 focus 时 input value 的错误 [pr #642](https://github.com/Tencent/tdesign-vue/pull/642),[@pengYYYYY](https://github.com/pengYYYYY) + +- SelectInput: 修复单选可输入状态下的 focus 时 input value 的错误 [pr #642](https://github.com/Tencent/tdesign-vue/pull/642),[@pengYYYYY](https://github.com/pengYYYYY) ## 🌈 0.38.0 `2022-03-25` + ### ❗️ BREAKING CHANGES -* Input/Textarea: Input 外部传入样式挂载至 `t-input__wrap` 层级的 DOM 节点,不再传入到 `t-input` 层级;Textarea 去除 `t-textarea__wrap`,[pr #276](https://github.com/Tencent/tdesign-vue/pull/627),[@pengYYYYY](https://github.com/pengYYYYY) + +- Input/Textarea: Input 外部传入样式挂载至 `t-input__wrap` 层级的 DOM 节点,不再传入到 `t-input` 层级;Textarea 去除 `t-textarea__wrap`,[pr #276](https://github.com/Tencent/tdesign-vue/pull/627),[@pengYYYYY](https://github.com/pengYYYYY) ### 🐞 Bug Fixes -* Form: 修复不能在表单项内换行输入的问题,[pr #624](https://github.com/Tencent/tdesign-vue/pull/624),[@chaishi](https://github.com/chaishi) -* Select: 修复未选值时,键盘事件不生效的问题,[pr #603](https://github.com/Tencent/tdesign-vue/pull/603),[@geff1991](https://github.com/geff1991) -* Menu: 修复无 overflow 状态时,仍出现滚动条的问题,[pr #597](https://github.com/Tencent/tdesign-vue/pull/597),[@LeeJim](https://github.com/LeeJim) -* Popup: 修复 document click 多次触发导致异常关闭的问题,[issue #558](https://github.com/Tencent/tdesign-vue/issues/558),[@ikeq](https://github.com/ikeq) -* Progress: 修复 `theme = plump` 且 `percent = 10` 时没有展示文案的问题,[issue #569](https://github.com/Tencent/tdesign-vue/issues/569),[@uyarn](https://github.com/uyarn) -* TreeSelect: 修复 `placehodler` 告警,[pr #624](https://github.com/Tencent/tdesign-vue/pull/624),[@chaishi](https://github.com/chaishi) -* InputNumber: 默认尺寸下输入框宽度调整,修复默认内容展示不全的问题,[issue #623](https://github.com/Tencent/tdesign-vue/issues/623),[@xiaosansiji](https://github.com/xiaosansiji) -* Upload: 修复 `handleSuccess` 回调并发导致 v-model 设置数据失效的问题,[pr #628](https://github.com/Tencent/tdesign-vue/pull/628),[@brianzhang](https://github.com/brianzhang) -* Datepicker/Timepicker: focused 态样式修复 -* SelectInput: +- Form: 修复不能在表单项内换行输入的问题,[pr #624](https://github.com/Tencent/tdesign-vue/pull/624),[@chaishi](https://github.com/chaishi) +- Select: 修复未选值时,键盘事件不生效的问题,[pr #603](https://github.com/Tencent/tdesign-vue/pull/603),[@geff1991](https://github.com/geff1991) +- Menu: 修复无 overflow 状态时,仍出现滚动条的问题,[pr #597](https://github.com/Tencent/tdesign-vue/pull/597),[@LeeJim](https://github.com/LeeJim) +- Popup: 修复 document click 多次触发导致异常关闭的问题,[issue #558](https://github.com/Tencent/tdesign-vue/issues/558),[@ikeq](https://github.com/ikeq) +- Progress: 修复 `theme = plump` 且 `percent = 10` 时没有展示文案的问题,[issue #569](https://github.com/Tencent/tdesign-vue/issues/569),[@uyarn](https://github.com/uyarn) +- TreeSelect: 修复 `placehodler` 告警,[pr #624](https://github.com/Tencent/tdesign-vue/pull/624),[@chaishi](https://github.com/chaishi) +- InputNumber: 默认尺寸下输入框宽度调整,修复默认内容展示不全的问题,[issue #623](https://github.com/Tencent/tdesign-vue/issues/623),[@xiaosansiji](https://github.com/xiaosansiji) +- Upload: 修复 `handleSuccess` 回调并发导致 v-model 设置数据失效的问题,[pr #628](https://github.com/Tencent/tdesign-vue/pull/628),[@brianzhang](https://github.com/brianzhang) +- Datepicker/Timepicker: focused 态样式修复 +- SelectInput: - 修复在非输入状态下无 focused 态 - 修复在非输入状态下不显示清除按钮 - 修复在 single 模式下 inputValue 的受控表现 -* Cascader: [@pengYYYYY](https://github.com/pengYYYYY) +- Cascader: [@pengYYYYY](https://github.com/pengYYYYY) - 修复 `value` 为 number 类型时无法回显的问题,[issue #619](https://github.com/Tencent/tdesign-vue/issues/619) - 修复动态修改 `options` 为空数组时不生效的问题,[issue #467](https://github.com/Tencent/tdesign-vue/issues/467) ### 🚀 Features -* Table: 支持自定义 columns,[pr #423](https://github.com/Tencent/tdesign-vue/pull/423),[@LeeJim](https://github.com/LeeJim) -* Message: 将 `placement = center` 的 fadeIn 动画改为从上往下出现,[pr #611](https://github.com/Tencent/tdesign-vue/pull/611),[@Zack921](https://github.com/Zack921) -* Input: 增加 `inputClass` 属性,用于透传 class 到 `t-input` 同级,[pr #276](https://github.com/Tencent/tdesign-vue/pull/627),[@pengYYYYY](https://github.com/pengYYYYY) -* Upload: 新增 `allowUploadDuplicateFile` 属性,支持重复文件名的文件上传,[pr #636](https://github.com/Tencent/tdesign-vue/pull/636),[@brianzhang](https://github.com/brianzhang) +- Table: 支持自定义 columns,[pr #423](https://github.com/Tencent/tdesign-vue/pull/423),[@LeeJim](https://github.com/LeeJim) +- Message: 将 `placement = center` 的 fadeIn 动画改为从上往下出现,[pr #611](https://github.com/Tencent/tdesign-vue/pull/611),[@Zack921](https://github.com/Zack921) +- Input: 增加 `inputClass` 属性,用于透传 class 到 `t-input` 同级,[pr #276](https://github.com/Tencent/tdesign-vue/pull/627),[@pengYYYYY](https://github.com/pengYYYYY) +- Upload: 新增 `allowUploadDuplicateFile` 属性,支持重复文件名的文件上传,[pr #636](https://github.com/Tencent/tdesign-vue/pull/636),[@brianzhang](https://github.com/brianzhang) ## 🌈 0.37.2 `2022-03-18` + ### 🐞 Bug Fixes -* Button: 修复 `disabled` 不生效的问题,[pr #584](https://github.com/Tencent/tdesign-vue/pull/584),[@lanniuniu](https://github.com/lanniuniu) -* Cascader: 修复文字过长时不显示 `tooltip` 的问题,[pr #560](https://github.com/Tencent/tdesign-vue/pull/560),[@pengYYYYY](https://github.com/pengYYYYY) -* Datepicker: 修复 Form 中使用时,触发校验时机错误的问题,[pr #551](https://github.com/Tencent/tdesign-vue/pull/551),[@zeosun](https://github.com/zeosun) -* InputNumber: 修复小数计算错误的问题,[issue #559](https://github.com/Tencent/tdesign-vue/issues/559),[@uyarn](https://github.com/uyarn) -* Input: 修复 `readonly` 状态下未响应 focus 事件的问题,[issue #580](https://github.com/Tencent/tdesign-vue/issues/580),[@YikaJ](https://github.com/YikaJ) -* Popup: trigger 为 hover 时点击引用元素保持开启状态,防止菜单消失,[issue #565](https://github.com/Tencent/tdesign-vue/issues/565),[@ikeq](https://github.com/ikeq) -* TagInput: [pr #548](https://github.com/Tencent/tdesign-vue/pull/548),[@pengYYYYY](https://github.com/pengYYYYY) +- Button: 修复 `disabled` 不生效的问题,[pr #584](https://github.com/Tencent/tdesign-vue/pull/584),[@lanniuniu](https://github.com/lanniuniu) +- Cascader: 修复文字过长时不显示 `tooltip` 的问题,[pr #560](https://github.com/Tencent/tdesign-vue/pull/560),[@pengYYYYY](https://github.com/pengYYYYY) +- Datepicker: 修复 Form 中使用时,触发校验时机错误的问题,[pr #551](https://github.com/Tencent/tdesign-vue/pull/551),[@zeosun](https://github.com/zeosun) +- InputNumber: 修复小数计算错误的问题,[issue #559](https://github.com/Tencent/tdesign-vue/issues/559),[@uyarn](https://github.com/uyarn) +- Input: 修复 `readonly` 状态下未响应 focus 事件的问题,[issue #580](https://github.com/Tencent/tdesign-vue/issues/580),[@YikaJ](https://github.com/YikaJ) +- Popup: trigger 为 hover 时点击引用元素保持开启状态,防止菜单消失,[issue #565](https://github.com/Tencent/tdesign-vue/issues/565),[@ikeq](https://github.com/ikeq) +- TagInput: [pr #548](https://github.com/Tencent/tdesign-vue/pull/548),[@pengYYYYY](https://github.com/pengYYYYY) - 修复 `breakline` 模式下的 clearIcon 样式重叠的问题 - 修复 `autowidth` 模式下的 padding 不对称 - 修复超出滚动失效 - 修复 `paste` 事件未生效 -* TreeSelect: 修复异步加载数据的情况下,`label` 展示错误的问题,[issue #537](https://github.com/Tencent/tdesign-vue/issues/537),[@YikaJ](https://github.com/YikaJ) -* InputNumber: 修复 `value` 为 null 时组件报错的问题,[pr #598](https://github.com/Tencent/tdesign-vue/pull/598),[@xiaosansiji](https://github.com/xiaosansiji) +- TreeSelect: 修复异步加载数据的情况下,`label` 展示错误的问题,[issue #537](https://github.com/Tencent/tdesign-vue/issues/537),[@YikaJ](https://github.com/YikaJ) +- InputNumber: 修复 `value` 为 null 时组件报错的问题,[pr #598](https://github.com/Tencent/tdesign-vue/pull/598),[@xiaosansiji](https://github.com/xiaosansiji) ### 🚀 Features -* Timepicker: `close`、`open` 事件回调增加参数,[pr #587](https://github.com/Tencent/tdesign-vue/pull/587),[@uyarn](https://github.com/uyarn) +- Timepicker: `close`、`open` 事件回调增加参数,[pr #587](https://github.com/Tencent/tdesign-vue/pull/587),[@uyarn](https://github.com/uyarn) ## 🌈 0.37.0 `2022-03-14` ### ❗️ BREAKING CHANGES -* Input: `DOM` 结构调整,最外层调整为 `t-input-wrap`,有覆盖过 Input 相关组件样式的同学请注意,[common pr #276](https://github.com/Tencent/tdesign-common/pull/276),[@pengYYYYY](https://github.com/pengYYYYY) + +- Input: `DOM` 结构调整,最外层调整为 `t-input-wrap`,有覆盖过 Input 相关组件样式的同学请注意,[common pr #276](https://github.com/Tencent/tdesign-common/pull/276),[@pengYYYYY](https://github.com/pengYYYYY) + ### 🐞 Bug Fixes -* Select: +- Select: - 修复已选值不在可选时不显示的问题,[issue #526](https://github.com/Tencent/tdesign-vue/issues/526),[@geff1991](https://github.com/geff1991) - 增加 `icon`的兼容 `class`,解决样式问题,[pr #529](https://github.com/Tencent/tdesign-vue/pull/529),[@pengYYYYY](https://github.com/pengYYYYY) -* Form: 修复当 `rule message` 为空时,不显示具体文案的问题,[issue #520](https://github.com/Tencent/tdesign-vue/issues/520),[@YikaJ](https://github.com/YikaJ) -* Cascader: 修复 Cascade 组件可选任意一级时缺少高亮状态的问题,[pr #531](https://github.com/Tencent/tdesign-vue/pull/531),[@pengYYYYY](https://github.com/pengYYYYY) -* Input/TagInput: [pr #522](https://github.com/Tencent/tdesign-vue/pull/522),[@pengYYYYY](https://github.com/pengYYYYY) +- Form: 修复当 `rule message` 为空时,不显示具体文案的问题,[issue #520](https://github.com/Tencent/tdesign-vue/issues/520),[@YikaJ](https://github.com/YikaJ) +- Cascader: 修复 Cascade 组件可选任意一级时缺少高亮状态的问题,[pr #531](https://github.com/Tencent/tdesign-vue/pull/531),[@pengYYYYY](https://github.com/pengYYYYY) +- Input/TagInput: [pr #522](https://github.com/Tencent/tdesign-vue/pull/522),[@pengYYYYY](https://github.com/pengYYYYY) - Input 修复前后置标签输入框同时存在时,左侧样式异常的问题 - TagInput 修复不同状态的标签输入框,样式异常的问题 ### 🚀 Features -* Form: `FormItem` 提供控件级别的 `showErrorMessage` 配置,优先级高于 `Form.showErrorMessage`,[pr #514](https://github.com/Tencent/tdesign-vue/pull/514),[@YikaJ](https://github.com/YikaJ) -* Message: 新增组件出现和消失有线性渐入渐出动画,[pr #405](https://github.com/Tencent/tdesign-vue/pull/405),[@Zack921](https://github.com/Zack921) -* InputNumber: +- Form: `FormItem` 提供控件级别的 `showErrorMessage` 配置,优先级高于 `Form.showErrorMessage`,[pr #514](https://github.com/Tencent/tdesign-vue/pull/514),[@YikaJ](https://github.com/YikaJ) +- Message: 新增组件出现和消失有线性渐入渐出动画,[pr #405](https://github.com/Tencent/tdesign-vue/pull/405),[@Zack921](https://github.com/Zack921) +- InputNumber: - 支持 `autoWidth` 属性,[pr #541](https://github.com/Tencent/tdesign-vue/pull/541),[@uyarn](https://github.com/uyarn) - 增加状态设置与提示设置功能,[pr #519](https://github.com/Tencent/tdesign-vue/pull/519),[@jchalex](https://github.com/jchalex) ## 🌈 0.36.0 `2022-03-07` ### ❗️ BREAKING CHANGES -* Input: input 元素 `ref` 名称由 `refInputElem` 更为 `inputRef,`[pr #428](https://github.com/Tencent/tdesign-vue/pull/433),[@pengYYYYY](https://github.com/pengYYYYY) + +- Input: input 元素 `ref` 名称由 `refInputElem` 更为 `inputRef,`[pr #428](https://github.com/Tencent/tdesign-vue/pull/433),[@pengYYYYY](https://github.com/pengYYYYY) ### 🐞 Bug Fixes -* Select: +- Select: - 修复选项无法跟随 options slot 改变而变化的问题,[issue #495](https://github.com/Tencent/tdesign-vue/issues/495),[@YikaJ](https://github.com/YikaJ) - 可创建新条目的选择器在输入框中没有值时,依然显示 `createOption` 的问题,[issue #482](https://github.com/Tencent/tdesign-vue/issues/482),[@xiecz123](https://github.com/xiecz123) -* Drawer: 修复 `destroyOnClose` 为 `true` 时报错的问题,[issue #504](https://github.com/Tencent/tdesign-vue/issues/504),[@uyarn](https://github.com/uyarn) -* Breadcrumb: 修复 breadcrumb-item 设置 `disabled` 样式失效的问题,[issue #461](https://github.com/Tencent/tdesign-vue/issues/461),[@Zwow](https://github.com/Zwow) -* Cascader: 修复大数据量下卡顿的问题,[issue #477](https://github.com/Tencent/tdesign-vue/issues/477),[@delenzhang](https://github.com/delenzhang) -* Dialog: 修复传入 `closeBtn = false` 时,依旧渲染关闭按钮元素的问题,[pr #451](https://github.com/Tencent/tdesign-vue/pull/451),[@gh-mrhuang](https://github.com/gh-mrhuang) -* Timepicker: 修复禁用态时仍可打开弹窗的问题,[pr #494](https://github.com/Tencent/tdesign-vue/pull/494),[@uyarn](https://github.com/uyarn) -* Datepicker: [@xiaosansiji](https://github.com/xiaosansiji) +- Drawer: 修复 `destroyOnClose` 为 `true` 时报错的问题,[issue #504](https://github.com/Tencent/tdesign-vue/issues/504),[@uyarn](https://github.com/uyarn) +- Breadcrumb: 修复 breadcrumb-item 设置 `disabled` 样式失效的问题,[issue #461](https://github.com/Tencent/tdesign-vue/issues/461),[@Zwow](https://github.com/Zwow) +- Cascader: 修复大数据量下卡顿的问题,[issue #477](https://github.com/Tencent/tdesign-vue/issues/477),[@delenzhang](https://github.com/delenzhang) +- Dialog: 修复传入 `closeBtn = false` 时,依旧渲染关闭按钮元素的问题,[pr #451](https://github.com/Tencent/tdesign-vue/pull/451),[@gh-mrhuang](https://github.com/gh-mrhuang) +- Timepicker: 修复禁用态时仍可打开弹窗的问题,[pr #494](https://github.com/Tencent/tdesign-vue/pull/494),[@uyarn](https://github.com/uyarn) +- Datepicker: [@xiaosansiji](https://github.com/xiaosansiji) - 修复点击选择日期面板的顶部年份、月份按钮导致面板隐藏的问题,[issue #443](https://github.com/Tencent/tdesign-vue/issues/443) - 修复传入 `onChange` 事件未能正常触发的问题,[issue #449](https://github.com/Tencent/tdesign-vue/issues/449) - 修复无法清除面板中已选值的问题,[issue #448](https://github.com/Tencent/tdesign-vue/issues/448) ### 🚀 Features -* Upload: 支持单请求上传批量文件,[pr #486](https://github.com/Tencent/tdesign-vue/pull/486),[@YikaJ](https://github.com/YikaJ) -* Checkbox: [pr #433](https://github.com/Tencent/tdesign-vue/pull/433),[@pengYYYYY](https://github.com/pengYYYYY) +- Upload: 支持单请求上传批量文件,[pr #486](https://github.com/Tencent/tdesign-vue/pull/486),[@YikaJ](https://github.com/YikaJ) +- Checkbox: [pr #433](https://github.com/Tencent/tdesign-vue/pull/433),[@pengYYYYY](https://github.com/pengYYYYY) - `change` 事件新增参数 `context.current` 表示当前变化的数据项, `context.type` 表示引起选中数据变化的是选中或是取消选中操作 - CheckboxGroup: 渲染 `key` 换为 index+vale,增加点击事件 -* Input: +- Input: - 同时支持驼峰命名和中划线命名的 `suffix` 和 `prefix` - 增加 `autoWith` 属性 -* 新增 SelectInput 和 TagInput 组件,[pr #433](https://github.com/Tencent/tdesign-vue/pull/433),[@pengYYYYY](https://github.com/pengYYYYY) -* 全局配置:支持全局关闭斜八度波纹动画,[pr #488](https://github.com/Tencent/tdesign-vue/pull/488),[@uyarn](https://github.com/uyarn) -* Form: 支持通过 `setValidateMessage` 设置自定义校验结果,`[pr #479](https://github.com/Tencent/tdesign-vue/pull/479),[@dellyoung](https://github.com/dellyoung) +- 新增 SelectInput 和 TagInput 组件,[pr #433](https://github.com/Tencent/tdesign-vue/pull/433),[@pengYYYYY](https://github.com/pengYYYYY) +- 全局配置:支持全局关闭斜八度波纹动画,[pr #488](https://github.com/Tencent/tdesign-vue/pull/488),[@uyarn](https://github.com/uyarn) +- Form: 支持通过 `setValidateMessage` 设置自定义校验结果,`[pr #479](https://github.com/Tencent/tdesign-vue/pull/479),[@dellyoung](https://github.com/dellyoung) ## 🌈 0.35.1 `2022-02-25` ### 🐞 Bug Fixes -* Slider: +- Slider: - 修复拖动过程中 Tooltip 不展示的问题,[pr #440](https://github.com/Tencent/tdesign-vue/pull/440),[@LuckyWinty](https://github.com/LuckyWinty) - 修复游标定位问题,[pr #248](https://github.com/Tencent/tdesign-common/pull/248),[@pengYYYYY](https://github.com/pengYYYYY) -* Popup/Select: [pr #445](https://github.com/Tencent/tdesign-vue/pull/445),[@ikeq](https://github.com/ikeq) +- Popup/Select: [pr #445](https://github.com/Tencent/tdesign-vue/pull/445),[@ikeq](https://github.com/ikeq) - 修复 Select 多选时 options 初始化解析失败的问题,[issue #458](https://github.com/Tencent/tdesign-vue/issues/458) - 优化 Select 空状态样式 - 修复 Popup content 事件导致的可能需多次点击进行关闭的问题 - 修复 Popup 触发元素尺寸变化后位置不更新的问题 -* TreeSelect: 限制多选 Tag 展示宽度,默认为 `300px`,[pr #450](https://github.com/Tencent/tdesign-vue/pull/450),[@Godlike-meteor](https://github.com/Godlike-meteor) -* Button: 修复 `primary outline` 模式下边框展示异常的问题,[pr #238](https://github.com/Tencent/tdesign-common/pull/238),[@pengYYYYY](https://github.com/pengYYYYY) +- TreeSelect: 限制多选 Tag 展示宽度,默认为 `300px`,[pr #450](https://github.com/Tencent/tdesign-vue/pull/450),[@Godlike-meteor](https://github.com/Godlike-meteor) +- Button: 修复 `primary outline` 模式下边框展示异常的问题,[pr #238](https://github.com/Tencent/tdesign-common/pull/238),[@pengYYYYY](https://github.com/pengYYYYY) ### 🚀 Features -* Input: 新增 `format` 属性用于格式化数据,[pr #447](https://github.com/Tencent/tdesign-vue/pull/447),[@mokywu](https://github.com/mokywu) -* Drawer: 新增 `sizeDraggable` 属性用于支持用户拖动改变 Drawer 大小,[pr #463](https://github.com/Tencent/tdesign-vue/pull/463),[@uyarn](https://github.com/uyarn) - +- Input: 新增 `format` 属性用于格式化数据,[pr #447](https://github.com/Tencent/tdesign-vue/pull/447),[@mokywu](https://github.com/mokywu) +- Drawer: 新增 `sizeDraggable` 属性用于支持用户拖动改变 Drawer 大小,[pr #463](https://github.com/Tencent/tdesign-vue/pull/463),[@uyarn](https://github.com/uyarn) ## 🌈 0.35.0 `2022-02-18` + ### ❗️ BREAKING CHANGES -* Menu: 移除冗余事件 `onCollapsed`,[pr #428](https://github.com/Tencent/tdesign-vue/pull/428),[@LeeJim](https://github.com/LeeJim) + +- Menu: 移除冗余事件 `onCollapsed`,[pr #428](https://github.com/Tencent/tdesign-vue/pull/428),[@LeeJim](https://github.com/LeeJim) ### 🐞 Bug Fixes -* Progress: +- Progress: - 修复环状进度条小于 5% 时渲染错误的问题,[issue #412](https://github.com/Tencent/tdesign-vue/issues/412),[@uyarn](https://github.com/uyarn),[@huanyue2019](https://github.com/huanyue2019) - 修复环形进度条不可更改未完成轨道颜色的问题,[issue #368](https://github.com/Tencent/tdesign-vue/issues/368),[@byq1213](https://github.com/byq1213) -* Drawer: 修复 `keydown`相关事未触发的问题,[issue #381](https://github.com/Tencent/tdesign-vue/pull/381),[@uyarn](https://github.com/uyarn) -* Form: 修复 `preventSubmitDefault` 无法阻止表单默认提交行为的问题,[issue #400](https://github.com/Tencent/tdesign-vue/issues/400),[@dellyoung](https://github.com/dellyoung) -* Menu: [@LeeJim](https://github.com/LeeJim) +- Drawer: 修复 `keydown`相关事未触发的问题,[issue #381](https://github.com/Tencent/tdesign-vue/pull/381),[@uyarn](https://github.com/uyarn) +- Form: 修复 `preventSubmitDefault` 无法阻止表单默认提交行为的问题,[issue #400](https://github.com/Tencent/tdesign-vue/issues/400),[@dellyoung](https://github.com/dellyoung) +- Menu: [@LeeJim](https://github.com/LeeJim) - 修复 `expandType` 没有动态变化的问题,[issue #396](https://github.com/Tencent/tdesign-vue/pull/396) - 修复浅色模式下 Menu 文件颜色异常的问题,[issue #394](https://github.com/Tencent/tdesign-vue/pull/394) -* Skeleton: 修复 `rowCol` 设置列数失效的问题, -* Table: 修复固定列宽值为 `string` 时展示偏移的问题 [pr #421](https://github.com/Tencent/tdesign-vue/pull/421),[@Yilun-Sun](https://github.com/Yilun-Sun) -* Textarea: 修复 `value` 未定义时字数统计展示异常的问题,[issue #387](https://github.com/Tencent/tdesign-vue/issues/387),[@huangpiqiao](https://github.com/huangpiqiao) -* TimePicker: 修复部分鼠标滚动选择出现偏差的问题,[issue #107](https://github.com/Tencent/tdesign-vue/issues/107),[@uyarn](https://github.com/uyarn) +- Skeleton: 修复 `rowCol` 设置列数失效的问题, +- Table: 修复固定列宽值为 `string` 时展示偏移的问题 [pr #421](https://github.com/Tencent/tdesign-vue/pull/421),[@Yilun-Sun](https://github.com/Yilun-Sun) +- Textarea: 修复 `value` 未定义时字数统计展示异常的问题,[issue #387](https://github.com/Tencent/tdesign-vue/issues/387),[@huangpiqiao](https://github.com/huangpiqiao) +- TimePicker: 修复部分鼠标滚动选择出现偏差的问题,[issue #107](https://github.com/Tencent/tdesign-vue/issues/107),[@uyarn](https://github.com/uyarn) ### 🚀 Features -* Form: 表单项值类型为数组时,FormRule 的 `max` 和 `min` 可以校验数组长度,[issue #301](https://github.com/Tencent/tdesign-react/issues/301),[@dellyoung](https://github.com/dellyoung) -* Popup: [pr #358](https://github.com/Tencent/tdesign-vue/pull/358),[@ikeq](https://github.com/ikeq) + +- Form: 表单项值类型为数组时,FormRule 的 `max` 和 `min` 可以校验数组长度,[issue #301](https://github.com/Tencent/tdesign-react/issues/301),[@dellyoung](https://github.com/dellyoung) +- Popup: [pr #358](https://github.com/Tencent/tdesign-vue/pull/358),[@ikeq](https://github.com/ikeq) - 支持嵌套使用 - 去除额外 reference 包裹元素 - 弹窗展开动画优化 - `overlayStyle` 类型为 Function 时,增加 `popupElement` 作为第二个参数,表示浮层元素 DOM 节点 - 新增 `onScroll` 属性,响应下拉选项滚动事件 -* Slider: 默认提示主题更改为暗色,[pr #424](https://github.com/Tencent/tdesign-vue/pull/424),[@LuckyWinty](https://github.com/LuckyWinty) -* Table: 支持使用 `columnController` 属性自定义设置需要展示的列,[pr #423](https://github.com/Tencent/tdesign-vue/pull/423),[@LeeJim](https://github.com/LeeJim) +- Slider: 默认提示主题更改为暗色,[pr #424](https://github.com/Tencent/tdesign-vue/pull/424),[@LuckyWinty](https://github.com/LuckyWinty) +- Table: 支持使用 `columnController` 属性自定义设置需要展示的列,[pr #423](https://github.com/Tencent/tdesign-vue/pull/423),[@LeeJim](https://github.com/LeeJim) ## 🌈 0.34.0 `2022-01-27` ### ❗️ BREAKING CHANGES -* Tag: `variant` 可选值修改为 `dark/light/outline/light-outline`,`plain` 已废弃,[pr #369](https://github.com/Tencent/tdesign-vue/pull/369),[@xiaosansiji](https://github.com/xiaosansiji) + +- Tag: `variant` 可选值修改为 `dark/light/outline/light-outline`,`plain` 已废弃,[pr #369](https://github.com/Tencent/tdesign-vue/pull/369),[@xiaosansiji](https://github.com/xiaosansiji) ### 🐞 Bug Fixes -* Calendar: [@PsTiu](https://github.com/PsTiu) +- Calendar: [@PsTiu](https://github.com/PsTiu) - 修复全局配置 `calendar.controllerConfig` 不生效的问题,[issue #272](https://github.com/Tencent/tdesign-vue/issues/272) - 修复 `monthChange` 事件只能通过月份下拉框触发的问题,[pr #350](https://github.com/Tencent/tdesign-vue/pull/350) - 修复日历控制区按钮 hover 样式,[pr #169](https://github.com/Tencent/tdesign-common/pull/169) -* Comment: 修复因 textarea 组件样式变更导致示例回复按钮间距消失的问题,[pr #328](https://github.com/Tencent/tdesign-vue/pull/328),[@dreamsqin](https://github.com/dreamsqin) -* Select: [pr #329](https://github.com/Tencent/tdesign-vue/pull/329),[@geff1991](https://github.com/geff1991) +- Comment: 修复因 textarea 组件样式变更导致示例回复按钮间距消失的问题,[pr #328](https://github.com/Tencent/tdesign-vue/pull/328),[@dreamsqin](https://github.com/dreamsqin) +- Select: [pr #329](https://github.com/Tencent/tdesign-vue/pull/329),[@geff1991](https://github.com/geff1991) - TreeSelect/Select 修复 `filterable` 模式下,`input focusing` 时,关闭弹出层需要点击空白处两次的问题,[issue #128](https://github.com/Tencent/tdesign-vue/issues/128),[issue #209](https://github.com/Tencent/tdesign-vue/issues/209) - 修复远程搜索时,输入搜索选中后,会再执行一次 `search` 的问题 - 分组情况下,无子选项时不展示该分组,搜索过滤无子选项时也不展示该分组 - 修复键盘交互样式导致初次弹出下拉框选项样式不同的问题,[pr #260](https://github.com/Tencent/tdesign-vue/issues/260) - 优化 `stopPropagation` 判断防止偶现报错,[pr #246](https://github.com/Tencent/tdesign-vue/issues/246) -* Input: 修复输入框相关样式重复引入的问题,[pr #182](https://github.com/Tencent/tdesign-common/pull/182),[@xiaosansiji](https://github.com/xiaosansiji) -* Form: [pr #310](https://github.com/Tencent/tdesign-vue/pull/310),[@chaishi](https://github.com/chaishi) +- Input: 修复输入框相关样式重复引入的问题,[pr #182](https://github.com/Tencent/tdesign-common/pull/182),[@xiaosansiji](https://github.com/xiaosansiji) +- Form: [pr #310](https://github.com/Tencent/tdesign-vue/pull/310),[@chaishi](https://github.com/chaishi) - 支持对象和数组嵌套的复杂数据校验,同时可以判断是数组的第几项校验不通过,[issue #185](https://github.com/Tencent/tdesign-vue/issues/185) - 修复 `FormItem.statusIcon` 优先级没有大于 `Form.statusIcon` 的问题 - 修复 `FormItem.rules` 优先级没有大于 `Form.rules` 的问题 -* Alert: 修复未正常展示关闭按钮的问题,[issue #360](https://github.com/Tencent/tdesign-vue/issues/360),[@uyarn](https://github.com/uyarn) -* Select/Input/InputNumber/Switch: 背景色、边框样式等与设计不一致的,统一修复,[pr #194](https://github.com/Tencent/tdesign-common/pull/194),[@uyarn](https://github.com/uyarn) -* Breadcrumb: 修复面包屑 item disabled 状态样式,[pr #190](https://github.com/Tencent/tdesign-common/pull/190),[@samhou1988](https://github.com/samhou1988) +- Alert: 修复未正常展示关闭按钮的问题,[issue #360](https://github.com/Tencent/tdesign-vue/issues/360),[@uyarn](https://github.com/uyarn) +- Select/Input/InputNumber/Switch: 背景色、边框样式等与设计不一致的,统一修复,[pr #194](https://github.com/Tencent/tdesign-common/pull/194),[@uyarn](https://github.com/uyarn) +- Breadcrumb: 修复面包屑 item disabled 状态样式,[pr #190](https://github.com/Tencent/tdesign-common/pull/190),[@samhou1988](https://github.com/samhou1988) + ### 🚀 Features -* Select: +- Select: - 优化加载中元素样式,[pr #356](https://github.com/Tencent/tdesign-vue/pull/356),[@geff1991](https://github.com/geff1991) - 优化 `options` 的初始化解析,[pr #344](https://github.com/Tencent/tdesign-vue/pull/344),[@ikeq](https://github.com/ikeq) -* Datepicker: 支持全局配置 `format`,[pr #355](https://github.com/Tencent/tdesign-vue/pull/355),[@xiaosansiji](https://github.com/xiaosansiji) -* Form: 支持统一配置校验信息,无需每个字段的每个规则都单独配置 `message`,[pr #313](https://github.com/Tencent/tdesign-vue/issues/313),[@chaishi](https://github.com/chaishi) -* Button: 统一各类型按钮边框宽度,[pr #176](https://github.com/Tencent/tdesign-common/pull/176),[@BigLiao](https://github.com/BigLiao) -* InputNumber: 优化交互,点击 +/- 按钮时,自动设置值为最小值或最大值,[issue #319](https://github.com/Tencent/tdesign-vue/issues/319),[@jchalex](https://github.com/jchalex) -* TimePicker: 优化 panel 定位时机,[pr #344](https://github.com/Tencent/tdesign-vue/pull/344),[@ikeq](https://github.com/ikeq) -* Tooltip: 优化官网 demo 实现,[issue #353](https://github.com/Tencent/tdesign-vue/issues/353),[@ccccpj](https://github.com/ccccpj) +- Datepicker: 支持全局配置 `format`,[pr #355](https://github.com/Tencent/tdesign-vue/pull/355),[@xiaosansiji](https://github.com/xiaosansiji) +- Form: 支持统一配置校验信息,无需每个字段的每个规则都单独配置 `message`,[pr #313](https://github.com/Tencent/tdesign-vue/issues/313),[@chaishi](https://github.com/chaishi) +- Button: 统一各类型按钮边框宽度,[pr #176](https://github.com/Tencent/tdesign-common/pull/176),[@BigLiao](https://github.com/BigLiao) +- InputNumber: 优化交互,点击 +/- 按钮时,自动设置值为最小值或最大值,[issue #319](https://github.com/Tencent/tdesign-vue/issues/319),[@jchalex](https://github.com/jchalex) +- TimePicker: 优化 panel 定位时机,[pr #344](https://github.com/Tencent/tdesign-vue/pull/344),[@ikeq](https://github.com/ikeq) +- Tooltip: 优化官网 demo 实现,[issue #353](https://github.com/Tencent/tdesign-vue/issues/353),[@ccccpj](https://github.com/ccccpj) ## 🌈 0.33.2 `2022-01-21` - ### 🐞 Bug Fixes -* Form: +- Form: - 修复无法重置自定义校验消息的问题,[issue #89](https://github.com/Tencent/tdesign-vue/issues/89),[pr #254](https://github.com/Tencent/tdesign-vue/pull/254),[@dellyoung](https://github.com/dellyoung) - FormRule 的 `min` 和 `len` 根据一个中文等于两个字符的计算规则进行,和 `max` 保持一致;`min` 和 `len` 在值为 Number 时,进行数字大小的校验而非数字长度校验,[issue #249](https://github.com/Tencent/tdesign-vue/issues/249),[pr #249](https://github.com/Tencent/tdesign-vue/pull/249),[@chaishi](https://github.com/chaishi) -* Grid: 修复 ssr 渲染报错的问题,[issue #284](https://github.com/Tencent/tdesign-vue/issues/284),[pr #286](https://github.com/Tencent/tdesign-vue/pull/286),[@HQ-Lin](https://github.com/HQ-Lin) -* Table: +- Grid: 修复 ssr 渲染报错的问题,[issue #284](https://github.com/Tencent/tdesign-vue/issues/284),[pr #286](https://github.com/Tencent/tdesign-vue/pull/286),[@HQ-Lin](https://github.com/HQ-Lin) +- Table: - 修复首列数据跨行合并时会导致同行数据前移的问题,[issue #242](https://github.com/Tencent/tdesign-vue/issues/242),[pr #253](https://github.com/Tencent/tdesign-vue/pull/253),[@realyuyanan](https://github.com/realyuyanan) - 修复展开行功能中,图标列无法固定在左侧的问题;修复展开行 colspan 不正确问题,[issue #255](https://github.com/Tencent/tdesign-vue/issues/255),[pr #255](https://github.com/Tencent/tdesign-vue/pull/255),[@chaishi](https://github.com/chaishi) -* 修复 umd 产物中未包括 reset 及 css variables 声明的问题,[issue #222](https://github.com/Tencent/tdesign-vue/issues/222),[@xiaosansiji](https://github.com/xiaosansiji) -* Select: 修复 `visible-change` 事件触发异常的问题,[issue #274](https://github.com/Tencent/tdesign-vue/issues/274),[pr #281](https://github.com/Tencent/tdesign-vue/pull/281),[@xiewenxia](https://github.com/xiewenxia) -* Icon: 修复 ssr 渲染问题,[pr #262](https://github.com/Tencent/tdesign-vue/pull/262),[@uyarn](https://github.com/uyarn) +- 修复 umd 产物中未包括 reset 及 css variables 声明的问题,[issue #222](https://github.com/Tencent/tdesign-vue/issues/222),[@xiaosansiji](https://github.com/xiaosansiji) +- Select: 修复 `visible-change` 事件触发异常的问题,[issue #274](https://github.com/Tencent/tdesign-vue/issues/274),[pr #281](https://github.com/Tencent/tdesign-vue/pull/281),[@xiewenxia](https://github.com/xiewenxia) +- Icon: 修复 ssr 渲染问题,[pr #262](https://github.com/Tencent/tdesign-vue/pull/262),[@uyarn](https://github.com/uyarn) ### 🚀 Features -* Table: 新增 `onCellClick` 事件,[issue #240](https://github.com/Tencent/tdesign-vue/issues/240),[pr #297](https://github.com/Tencent/tdesign-vue/pull/297),[@chaishi](https://github.com/chaishi) -* Skeleton: 新增骨架屏组件,请参照[官网](https://tdesign.tencent.com/vue/components/skeleton)使用,[@Wonder233](https://github.com/Wonder233) -* Textarea: 新增属性 `status` 用于控制状态,`tips` 用于控制信息提示,[pr 299](https://github.com/Tencent/tdesign-vue/pull/299),[@chaishi](https://github.com/chaishi) -* Input: 新增 `tips` 用于控制信息提示, 新增 `mousenter`、`mouseleavt` 、`paste` 事件,[pr #305](https://github.com/Tencent/tdesign-vue/pull/305),[@chaishi](https://github.com/chaishi) -* Input/InputNumber: 新增 `align` 用于控制输入文本对齐方向,[issue #293](https://github.com/Tencent/tdesign-vue/issues/293),[pr #320](https://github.com/Tencent/tdesign-vue/pull/320),[@chaishi](https://github.com/chaishi) +- Table: 新增 `onCellClick` 事件,[issue #240](https://github.com/Tencent/tdesign-vue/issues/240),[pr #297](https://github.com/Tencent/tdesign-vue/pull/297),[@chaishi](https://github.com/chaishi) +- Skeleton: 新增骨架屏组件,请参照[官网](https://tdesign.tencent.com/vue/components/skeleton)使用,[@Wonder233](https://github.com/Wonder233) +- Textarea: 新增属性 `status` 用于控制状态,`tips` 用于控制信息提示,[pr 299](https://github.com/Tencent/tdesign-vue/pull/299),[@chaishi](https://github.com/chaishi) +- Input: 新增 `tips` 用于控制信息提示, 新增 `mousenter`、`mouseleavt` 、`paste` 事件,[pr #305](https://github.com/Tencent/tdesign-vue/pull/305),[@chaishi](https://github.com/chaishi) +- Input/InputNumber: 新增 `align` 用于控制输入文本对齐方向,[issue #293](https://github.com/Tencent/tdesign-vue/issues/293),[pr #320](https://github.com/Tencent/tdesign-vue/pull/320),[@chaishi](https://github.com/chaishi) ## 🌈 0.33.1 `2022-01-13` ### 🐞 Bug Fixes -* Calendar: 修复月份下拉框组件参数透传错误的问题,[pr 196](https://github.com/Tencent/tdesign-vue/pull/196),[@PsTiu](https://github.com/PsTiu) -* Cascader: 修复可过滤状态的样式异常 [pr 228](https://github.com/Tencent/tdesign-vue/pull/228),[@pengYYYYY](https://github.com/pengYYYYY) -* Table: [@realyuyanan](https://github.com/realyuyanan),[@chaishi](https://github.com/chaishi) +- Calendar: 修复月份下拉框组件参数透传错误的问题,[pr 196](https://github.com/Tencent/tdesign-vue/pull/196),[@PsTiu](https://github.com/PsTiu) +- Cascader: 修复可过滤状态的样式异常 [pr 228](https://github.com/Tencent/tdesign-vue/pull/228),[@pengYYYYY](https://github.com/pengYYYYY) +- Table: [@realyuyanan](https://github.com/realyuyanan),[@chaishi](https://github.com/chaishi) - 修复固定表头没有对齐的问题,[#206](https://github.com/Tencent/tdesign-vue/issues/206),[pr 195](https://github.com/Tencent/tdesign-vue/pull/195) - 修复无数据时,表格展示高度与 `height` 设置不一致的问题,[#194](https://github.com/Tencent/tdesign-vue/issues/194) - 修复异步拉取数据 `maxHeight` 设置不生效的问题,[#134](https://github.com/Tencent/tdesign-vue/issues/134),[pr 191](https://github.com/Tencent/tdesign-vue/pull/191) - 修复表格筛选结果为空时,未显示“暂无数据”的问题,[#178](https://github.com/Tencent/tdesign-vue/issues/178) -* Tag: 修复自定义图标时,点击关闭事件失效的问题,[#198](https://github.com/Tencent/tdesign-vue/issues/198),[@chaishi](https://github.com/chaishi) -* Datepicker: 修复周起始为月最后一天时,周显示错误的问题,[pr 117](https://github.com/Tencent/tdesign-common/pull/117),[@xiaosansiji](https://github.com/xiaosansiji) -* Pagination: 去除切换分页时的背景变化动效,减少跨多页切换时的闪烁影响,[#167](https://github.com/Tencent/tdesign-vue/issues/167),[@xiaosansiji](https://github.com/xiaosansiji) -* Select: 修复禁用状态下下拉 icon 展示问题,[pr 113](https://github.com/Tencent/tdesign-common/pull/113),[@pengYYYYY](https://github.com/pengYYYYY) +- Tag: 修复自定义图标时,点击关闭事件失效的问题,[#198](https://github.com/Tencent/tdesign-vue/issues/198),[@chaishi](https://github.com/chaishi) +- Datepicker: 修复周起始为月最后一天时,周显示错误的问题,[pr 117](https://github.com/Tencent/tdesign-common/pull/117),[@xiaosansiji](https://github.com/xiaosansiji) +- Pagination: 去除切换分页时的背景变化动效,减少跨多页切换时的闪烁影响,[#167](https://github.com/Tencent/tdesign-vue/issues/167),[@xiaosansiji](https://github.com/xiaosansiji) +- Select: 修复禁用状态下下拉 icon 展示问题,[pr 113](https://github.com/Tencent/tdesign-common/pull/113),[@pengYYYYY](https://github.com/pengYYYYY) ### 🚀 Features -* Table: 为了保证每次展开的数据最新,展开行不再进行预渲染;异步加载功能重构,[pr 197](https://github.com/Tencent/tdesign-vue/pull/197),[@chaishi](https://github.com/chaishi) -* Alert: 增加内容区折行展开和收起动效,[pr 123](https://github.com/Tencent/tdesign-common/pull/123),[@pengYYYYY](https://github.com/pengYYYYY) +- Table: 为了保证每次展开的数据最新,展开行不再进行预渲染;异步加载功能重构,[pr 197](https://github.com/Tencent/tdesign-vue/pull/197),[@chaishi](https://github.com/chaishi) +- Alert: 增加内容区折行展开和收起动效,[pr 123](https://github.com/Tencent/tdesign-common/pull/123),[@pengYYYYY](https://github.com/pengYYYYY) ## 🌈 0.33.0 `2022-01-06` @@ -1864,50 +2223,52 @@ Input 样式调整: 边框等样式由 `t-input__inner` 调整到上层父级 `t ### 🐞 Bug Fixes -* Calendar: 修复"年/月"模式切换时展示异常的问题,[pr 109](https://github.com/Tencent/tdesign-vue/pull/109),[#106](https://github.com/Tencent/tdesign-vue/issues/106),[@PsTiu](https://github.com/PsTiu) -* Comment: 修复 `avatar` 属性不支持 slot 使用的问题,[pr 165](https://github.com/Tencent/tdesign-vue/pull/165),[@dreamsqin](https://github.com/dreamsqin) -* Input: 修复清除操作后没有默认 focus input 的问题,[pr 91](https://github.com/Tencent/tdesign-vue/pull/91),[#90](https://github.com/Tencent/tdesign-vue/issues/90),[@clark-cui](https://github.com/clark-cui) -* Menu: 修正菜单选项的图标判断逻辑,[pr 154](https://github.com/Tencent/tdesign-vue/pull/154),[@LeeJim](https://github.com/LeeJim) -* Steps: 修复 `extra` 未正常渲染的问题,[pr 105](https://github.com/Tencent/tdesign-vue/pull/105),[#36](https://github.com/Tencent/tdesign-vue/issues/36),[@LuckyWinty](https://github.com/LuckyWinty) -* Table: +- Calendar: 修复"年/月"模式切换时展示异常的问题,[pr 109](https://github.com/Tencent/tdesign-vue/pull/109),[#106](https://github.com/Tencent/tdesign-vue/issues/106),[@PsTiu](https://github.com/PsTiu) +- Comment: 修复 `avatar` 属性不支持 slot 使用的问题,[pr 165](https://github.com/Tencent/tdesign-vue/pull/165),[@dreamsqin](https://github.com/dreamsqin) +- Input: 修复清除操作后没有默认 focus input 的问题,[pr 91](https://github.com/Tencent/tdesign-vue/pull/91),[#90](https://github.com/Tencent/tdesign-vue/issues/90),[@clark-cui](https://github.com/clark-cui) +- Menu: 修正菜单选项的图标判断逻辑,[pr 154](https://github.com/Tencent/tdesign-vue/pull/154),[@LeeJim](https://github.com/LeeJim) +- Steps: 修复 `extra` 未正常渲染的问题,[pr 105](https://github.com/Tencent/tdesign-vue/pull/105),[#36](https://github.com/Tencent/tdesign-vue/issues/36),[@LuckyWinty](https://github.com/LuckyWinty) +- Table: - 修复合并单元格后内容丢失的问题,[pr 125](https://github.com/Tencent/tdesign-vue/pull/131),[#125](https://github.com/Tencent/tdesign-vue/issues/125),[@realyuyanan](https://github.com/realyuyanan) - 修复固定表头与内容没有对齐的问题,[pr 82](https://github.com/Tencent/tdesign-vue/pull/82),[#31](https://github.com/Tencent/tdesign-vue/issues/31),[@realyuyanan](https://github.com/realyuyanan) - 修复 `firstFullRow` 和 `lastFullRow` 属性无效的问题,[pr 124](https://github.com/Tencent/tdesign-vue/pull/124),[#113](https://github.com/Tencent/tdesign-vue/issues/113),[@xiecz123](https://github.com/xiecz123) - 修复 DOM 结构上存在多余属性的问题,[#77](https://github.com/Tencent/tdesign-vue/issues/77),[@realyuyanan](https://github.com/realyuyanan) - 修复 EnhancedTable 第一列 ellipsis 失效的问题,修复分页功能展开异常问题;修复 BaseTable scrollContainer 判空报错的问题,[pr 94](https://github.com/Tencent/tdesign-vue/pull/94),[#86](https://github.com/Tencent/tdesign-vue/issues/86),[@chaishi](https://github.com/chaishi) - 修复 Loading 遮罩层不能遮挡固定列的问题,[pr 57](https://github.com/Tencent/tdesign-common/pull/57),[@chaishi](https://github.com/chaishi) -* Textarea: 修正 `change` 事件参数,[pr 132](https://github.com/Tencent/tdesign-vue/pull/132),[@pengYYYYY](https://github.com/pengYYYYY) -* TreeSelect: 修复组件data异步加载展示异常的问题,[pr 103](https://github.com/Tencent/tdesign-vue/pull/103),[#96](https://github.com/Tencent/tdesign-vue/issues/96),[@Godlike-meteor](https://github.com/Godlike-meteor) -* 修复构建产物中 css 变量文件重复引入的问题,[pr 78](https://github.com/Tencent/tdesign-common/pull/78),[pr 141](https://github.com/Tencent/tdesign-vue/pull/141),[@xiaosansiji](https://github.com/xiaosansiji) -* Radio: 修复边框及填充型 RadioButton 颜色 token 使用错误的问题,[pr 100](https://github.com/Tencent/tdesign-common/pull/100),[@xiaosansiji](https://github.com/xiaosansiji) -* Popup: 修复鼠标移到弹出层外松开后弹出层不消失的问题,[pr 65](https://github.com/Tencent/tdesign-vue/pull/65),[@geff1991](https://github.com/geff1991) -* Upload: 修复自定义样式按钮样式问题,[#78](https://github.com/Tencent/tdesign-vue/issues/78),[@byq1213](https://github.com/byq1213) -* Button: 修复 `small/large` 尺寸下圆形按钮样式问题,[#127](https://github.com/Tencent/tdesign-vue/issues/127),[@clark-cui](https://github.com/clark-cui) +- Textarea: 修正 `change` 事件参数,[pr 132](https://github.com/Tencent/tdesign-vue/pull/132),[@pengYYYYY](https://github.com/pengYYYYY) +- TreeSelect: 修复组件 data 异步加载展示异常的问题,[pr 103](https://github.com/Tencent/tdesign-vue/pull/103),[#96](https://github.com/Tencent/tdesign-vue/issues/96),[@Godlike-meteor](https://github.com/Godlike-meteor) +- 修复构建产物中 css 变量文件重复引入的问题,[pr 78](https://github.com/Tencent/tdesign-common/pull/78),[pr 141](https://github.com/Tencent/tdesign-vue/pull/141),[@xiaosansiji](https://github.com/xiaosansiji) +- Radio: 修复边框及填充型 RadioButton 颜色 token 使用错误的问题,[pr 100](https://github.com/Tencent/tdesign-common/pull/100),[@xiaosansiji](https://github.com/xiaosansiji) +- Popup: 修复鼠标移到弹出层外松开后弹出层不消失的问题,[pr 65](https://github.com/Tencent/tdesign-vue/pull/65),[@geff1991](https://github.com/geff1991) +- Upload: 修复自定义样式按钮样式问题,[#78](https://github.com/Tencent/tdesign-vue/issues/78),[@byq1213](https://github.com/byq1213) +- Button: 修复 `small/large` 尺寸下圆形按钮样式问题,[#127](https://github.com/Tencent/tdesign-vue/issues/127),[@clark-cui](https://github.com/clark-cui) + ### 🚀 Features -* Drawer: 增加 `preventScrollThrough` 属性用于控制是否防止滚动穿透,[pr 98](https://github.com/Tencent/tdesign-vue/pull/98),[#73](https://github.com/Tencent/tdesign-vue/issues/73),[@caoML](https://github.com/caoML) -* Tabs: [@start940315](https://github.com/start940315) +- Drawer: 增加 `preventScrollThrough` 属性用于控制是否防止滚动穿透,[pr 98](https://github.com/Tencent/tdesign-vue/pull/98),[#73](https://github.com/Tencent/tdesign-vue/issues/73),[@caoML](https://github.com/caoML) +- Tabs: [@start940315](https://github.com/start940315) - 窗口 resize 时重新触发计算 navbar 样式,[pr 112](https://github.com/Tencent/tdesign-vue/pull/112) - Tab Panel 更新时联动更新 Tab 父组件,[pr 158](https://github.com/Tencent/tdesign-vue/pull/158) - inject parent,防止 tabs 和 tab_panel 不是直接父子关系,[pr 159](https://github.com/Tencent/tdesign-vue/pull/159) -* Input: +- Input: - 新增 `label` 和 `suffix` 用于支持左侧、右侧文本配置能力,[pr 88](https://github.com/Tencent/tdesign-vue/pull/88),[#81](https://github.com/Tencent/tdesign-vue/issues/81),[@mokywu](https://github.com/mokywu) - 支持文本全局配置,[pr 85](https://github.com/Tencent/tdesign-vue/pull/85),[@pengYYYYY](https://github.com/pengYYYYY) -* Radio: 新增 `allowUncheck` 属性,用于控制是否允许取消选中状态,[pr 123](https://github.com/Tencent/tdesign-vue/pull/123),[@start940315](https://github.com/start940315) -* Select: 新增 `showArrow/panelTopContent/panelBottomContent` 属性用于自定义 Select 相关内容区域,[pr 137](https://github.com/Tencent/tdesign-vue/pull/137),[#137](https://github.com/Tencent/tdesign-vue/issues/137),[@chaishi](https://github.com/chaishi) -* Steps: 新增 `readonly` 属性,[pr 93](https://github.com/Tencent/tdesign-vue/pull/93),[@chaishi](https://github.com/chaishi) -* Table: +- Radio: 新增 `allowUncheck` 属性,用于控制是否允许取消选中状态,[pr 123](https://github.com/Tencent/tdesign-vue/pull/123),[@start940315](https://github.com/start940315) +- Select: 新增 `showArrow/panelTopContent/panelBottomContent` 属性用于自定义 Select 相关内容区域,[pr 137](https://github.com/Tencent/tdesign-vue/pull/137),[#137](https://github.com/Tencent/tdesign-vue/issues/137),[@chaishi](https://github.com/chaishi) +- Steps: 新增 `readonly` 属性,[pr 93](https://github.com/Tencent/tdesign-vue/pull/93),[@chaishi](https://github.com/chaishi) +- Table: - 去除滚动条宽度的计算逻辑,[pr 122](https://github.com/Tencent/tdesign-vue/pull/122),[@realyuyanan](https://github.com/realyuyanan) - 新增 `disableDataSort` 是否禁用本地数据排序,[pr 94](https://github.com/Tencent/tdesign-vue/pull/94),[@chaishi](https://github.com/chaishi) -* Cascader: 新增 `valueType` 用于控制选中值的类型,可选值:`single/full`,[pr 170](https://github.com/Tencent/tdesign-vue/pull/170),[@pengYYYYY](https://github.com/pengYYYYY) -- Popup: 优化 Popup 及相关的 Dialog/Tooltip 等相关弹窗组件动画实现效果,[pr 106](https://github.com/Tencent/tdesign-common/pull/106),[@uyarn](https://github.com/uyarn) +- Cascader: 新增 `valueType` 用于控制选中值的类型,可选值:`single/full`,[pr 170](https://github.com/Tencent/tdesign-vue/pull/170),[@pengYYYYY](https://github.com/pengYYYYY) + +* Popup: 优化 Popup 及相关的 Dialog/Tooltip 等相关弹窗组件动画实现效果,[pr 106](https://github.com/Tencent/tdesign-common/pull/106),[@uyarn](https://github.com/uyarn) ## 🌈 0.32.0 `2021-12-23` ### ❗️ BREAKING CHANGES -CSS 类名规范: - 组件相关类名根据 [BEM](https://github.com/Tencent/tdesign-common/blob/develop/css-naming.md) 规范重新整理,有覆盖过组件库默认样式的同学请务必参照 [#59](https://github.com/Tencent/tdesign-vue/issues/59) 检查后升级。 +CSS 类名规范: +组件相关类名根据 [BEM](https://github.com/Tencent/tdesign-common/blob/develop/css-naming.md) 规范重新整理,有覆盖过组件库默认样式的同学请务必参照 [#59](https://github.com/Tencent/tdesign-vue/issues/59) 检查后升级。 ### 🐞 Bug Fixes @@ -1920,7 +2281,7 @@ CSS 类名规范: - Timepicker: 修复 `HH:mm:ss A` 格式下上下午列没有展示的问题,[pr 12](https://github.com/Tencent/tdesign-vue/pull/12),[@uyarn](https://github.com/uyarn) - Checkbox: 修复受控用法下 `change` 重复触发的问题,[pr 43](https://github.com/TDesignOteam/tdesign-vue/pull/43),[@chaishi](https://github.com/chaishi) - Table: 固定表头与内容没有对齐的问题,[pr 82](https://github.com/Tencent/tdesign-vue/pull/82),[@realxiaoyu](https://github.com/realyuyanan) -- Slider: 修复在inputNumber 使用 theme: row 时样式错误问题,[common pr 48](https://github.com/Tencent/tdesign-common/pull/48),[@southorange1228](https://github.com/southorange1228) +- Slider: 修复在 inputNumber 使用 theme: row 时样式错误问题,[common pr 48](https://github.com/Tencent/tdesign-common/pull/48),[@southorange1228](https://github.com/southorange1228) - InputNumber: 修复内容过长时输入框不能自适应宽度的问题,[pr 46](https://github.com/Tencent/tdesign-common/pull/46),[# 47](https://github.com/Tencent/tdesign-vue-next/issues/47),[@clark-cui](https://github.com/clark-cui) - Menu: 删除无效 content,[pr 47](https://github.com/Tencent/tdesign-common/pull/47),[@southorange1228](https://github.com/southorange1228) - Upload: 修复触发元素宽度过大问题,[pr 50](https://github.com/Tencent/tdesign-common/pull/50),[@byq1213](https://github.com/byq1213) @@ -1934,7 +2295,6 @@ CSS 类名规范: - Pagination: 支持受控用法,[pr 42](https://github.com/TDesignOteam/tdesign-vue/pull/42),[@chaishi](https://github.com/chaishi) - Tabs: 没有选项卡时依然可以显示新增选项卡按钮,[pr 10](https://github.com/Tencent/tdesign-vue/pull/10),[@start940315](https://github.com/start940315) - ## 🌈 0.31.0 `2021-12-09` ### ❗️ BREAKING CHANGES diff --git a/package.json b/package.json index 7fb25aa9a..dbb4de3ff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tdesign-vue", "purename": "tdesign", - "version": "1.4.7-naruto", + "version": "1.4.8-naruto", "description": "tdesign-vue", "title": "tdesign-vue", "keywords": [ diff --git a/src/checkbox/__tests__/__snapshots__/index.test.jsx.snap b/src/checkbox/__tests__/__snapshots__/index.test.jsx.snap index e300169d6..39ad07443 100644 --- a/src/checkbox/__tests__/__snapshots__/index.test.jsx.snap +++ b/src/checkbox/__tests__/__snapshots__/index.test.jsx.snap @@ -3,9 +3,11 @@ exports[`Checkbox > :props > :checked 1`] = `