Skip to content

Commit

Permalink
docs: release 0.17.0 (#1081)
Browse files Browse the repository at this point in the history
* docs: release 0.17.0

* chore: changelog's changes

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
PengYYYYY and github-actions[bot] committed Jun 27, 2022
1 parent cadf505 commit e648285
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 4 deletions.
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,41 @@ toc: false
docClass: timeline
---

## 🌈 0.17.0 `2022-06-27`
### ❗ Breaking Changes
- `reset`: 默认移除全局 reset 样式引入,可从 `tdesign-react/dist/reset.css` 中单独引入 @xiaosansiji ([#899](https://github.com/Tencent/tdesign-react/pull/899))
### 🚀 Features
- `Form`: 现在 `FormItem.label``string` 类型时, `Form.errorMessage` 模板中的 `${name}` 会被替换为 `FormItem.label` 属性;当 `label` 属性为 `slot/function` 时,`${name}` 会被替换为 `FormItem.name` 属性 @k1nz ([#1022](https://github.com/Tencent/tdesign-vue-next/pull/1022))
- `Space`: 新增 `Space` 组件 @HQ-Lin ([#1035](https://github.com/Tencent/tdesign-vue-next/pull/1035))
- `Watermark`: 新增 `Watermark` 组件 @samhou1988 ([#921](https://github.com/Tencent/tdesign-vue-next/pull/921))
- `ConfigProvider`: 增加 `input` 组件 `autocomplete` 配置,增加 `dialog` 组件 `closeOnEscKeydown`, `closeOnOverlayClick` 配置, 增加 `select` 组件 `filterable` 配置,增加 `drawer` 组件 `closeOnEscKeydown`, `closeOnOverlayClick` 配置 ([issue #848](https://github.com/Tencent/tdesign-vue-next/issues/848)) @pengYYYYY ([#1074](https://github.com/Tencent/tdesign-vue-next/pull/1074))
- `Local`: 增加日语和韩语语言包 @pengYYYYY ([#1074](https://github.com/Tencent/tdesign-vue-next/pull/1074))
- `Select`: 增加列表展开时定位置选中项 @huoyuhao ([#1068](https://github.com/Tencent/tdesign-vue-next/pull/1068))
- `Table`: fullRow不参与排序 @uyarn ([#1080](https://github.com/Tencent/tdesign-vue-next/pull/1080))
- `Watermark`: 新增 `Watermark` 组件 @samhou1988 ([#921](https://github.com/Tencent/tdesign-vue-next/pull/921))
- `Tree`: `tree-chekbox` 支持 `number` 类型 @sufuwang ([#1032](https://github.com/Tencent/tdesign-vue-next/pull/1032))
### 🐞 Bug Fixes
- `Select`: 修复 `options content` 属性向下透传问题 @pengYYYYY ([#1020](https://github.com/Tencent/tdesign-vue-next/pull/1020))
- `TreeSelect`: 修改因传入 `treeProps.keys.children` 不生效的问题 @Godlike-meteor ([#1025](https://github.com/Tencent/tdesign-vue-next/pull/1025))
- `DatePicker`: 处理`disabled`无法生效的问题 @kerwin612 ([#1036](https://github.com/Tencent/tdesign-vue-next/pull/1036))
- `Slider`: 修复 `Slider` 组件使用 `inputNumberProp` 时,点击滑动条无法把值同步到 `InputNumber` 组件问题 @ChrisLee0211 ([#1034](https://github.com/Tencent/tdesign-vue-next/pull/1034))
- `Select`: 修复 `group` 模式下的无法筛选 @pengYYYYY ([#1026](https://github.com/Tencent/tdesign-vue-next/pull/1026))
- `Radio`: 修复 `value``0` 时走入空值逻辑分支 @pengYYYYY ([#1026](https://github.com/Tencent/tdesign-vue-next/pull/1026))
- `DatePicker`: 修复响应式问题 @HQ-Lin ([#1050](https://github.com/Tencent/tdesign-vue-next/pull/1050))
- `DatePicker`: 修复 clearable 失效问题 @HQ-Lin ([#1055](https://github.com/Tencent/tdesign-vue-next/pull/1055))
- `TagInput`: 默认超出的换行为 `break-line` @skytt ([#1057](https://github.com/Tencent/tdesign-vue-next/pull/1057))
- `Dialog`: 修复 `update` 方法未正确更新 ([issue #1039](https://github.com/Tencent/tdesign-vue-next/issues/1039)) @pengYYYYY ([#1052](https://github.com/Tencent/tdesign-vue-next/pull/1052))
- `Dialog`: 修复 `destroy` 方法只是隐藏,没有销毁节点 ([issue #1038](https://github.com/Tencent/tdesign-vue-next/issues/1038)) @pengYYYYY ([#1052](https://github.com/Tencent/tdesign-vue-next/pull/1052))
- `Upload`: 修复 `onSelectChange` 未实现 @pengYYYYY ([#1052](https://github.com/Tencent/tdesign-vue-next/pull/1052))
- `Form`: 修复校验规则为空时,校验信息不清空的问题 @k1nz ([#1071](https://github.com/Tencent/tdesign-vue-next/pull/1071))
- `Tree`: 修复 `setData` 方法未正确更新 [#1004](https://github.com/Tencent/tdesign-vue-next/issues/1004) @sufuwang ([#1059](https://github.com/Tencent/tdesign-vue-next/pull/1059))
- `Cascader`: 修复设置 `placeholder ` 无效, 优化 `filterable` 判断逻辑 ([issue #1063](https://github.com/Tencent/tdesign-vue-next/issues/1063)) @pengYYYYY ([#1072](https://github.com/Tencent/tdesign-vue-next/pull/1072))
- `Select`: 修复设置可输入后移动端没有弹出输入法 ([issue #1066](https://github.com/Tencent/tdesign-vue-next/issues/1066)) @pengYYYYY ([#1072](https://github.com/Tencent/tdesign-vue-next/pull/1072))
- `Upload`: 修复 `progress` 进度展示误差问题 ([issue #1062](https://github.com/Tencent/tdesign-vue-next/issues/1062)) @pengYYYYY ([#1072](https://github.com/Tencent/tdesign-vue-next/pull/1072))
- `Cascader`: 修复 `loading` 错位问题, 修复 `onBlur`, `onFocus` 事件实现 @pengYYYYY ([#1075](https://github.com/Tencent/tdesign-vue-next/pull/1075))
- `Table`: 修复仅有`firstFullRow`不渲染的问题 @uyarn ([#1080](https://github.com/Tencent/tdesign-vue-next/pull/1080))
- `TagInput`: 默认超出的换行为 `break-line` @skytt ([#1057](https://github.com/Tencent/tdesign-vue-next/pull/1057))

## 🌈 0.16.1 `2022-06-20`
### 🚀 Features
- `Cascader`: 支持 `filter API` 用于自定义搜索方法 ([issue #971](https://github.com/Tencent/tdesign-vue-next/issues/971)) @pengYYYYY ([#1000](https://github.com/Tencent/tdesign-vue-next/pull/1000))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "tdesign-vue-next",
"purename": "tdesign",
"version": "0.16.1",
"version": "0.17.0",
"title": "tdesign-vue-next",
"description": "TDesign Component for vue-next",
"keywords": [
Expand Down
11 changes: 10 additions & 1 deletion script/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,13 @@ const umdMinConfig = {
},
};

export default [cssConfig, esConfig, esmConfig, cjsConfig, umdConfig, umdMinConfig];
// 单独导出 reset.css 到 dist 目录,兼容旧版本样式
const resetCss = {
input: 'src/_common/style/web/_reset.less',
output: {
file: 'dist/reset.css',
},
plugins: [postcss({ extract: true })],
};

export default [cssConfig, esConfig, esmConfig, cjsConfig, umdConfig, umdMinConfig, resetCss];
2 changes: 1 addition & 1 deletion src/_common
Submodule _common updated 60 files
+1 −1 js/global-config/locale/ko_KR.ts
+2 −2 style/mobile/components/checkbox/_index.less
+51 −3 style/mobile/components/radio/_index.less
+4 −0 style/web/components/alert/_index.less
+4 −0 style/web/components/anchor/_index.less
+4 −0 style/web/components/avatar/_index.less
+4 −0 style/web/components/badge/_index.less
+3 −0 style/web/components/breadcrumb/_index.less
+3 −0 style/web/components/button/_index.less
+5 −0 style/web/components/calendar/_index.less
+4 −0 style/web/components/card/_index.less
+4 −0 style/web/components/cascader/_index.less
+8 −0 style/web/components/checkbox/_index.less
+4 −0 style/web/components/collapse/_index.less
+8 −0 style/web/components/color-picker/_index.less
+6 −0 style/web/components/comment/_index.less
+363 −0 style/web/components/date-picker-new/_index.less
+3 −0 style/web/components/date-picker/_index.less
+4 −0 style/web/components/dialog/_index.less
+4 −0 style/web/components/divider/_index.less
+6 −0 style/web/components/drawer/_index.less
+4 −0 style/web/components/dropdown/_index.less
+4 −0 style/web/components/form/_index.less
+4 −0 style/web/components/grid/_index.less
+4 −0 style/web/components/input-adornment/_index.less
+4 −0 style/web/components/input-number/_index.less
+6 −0 style/web/components/input/_index.less
+4 −3 style/web/components/layout/_index.less
+4 −0 style/web/components/list/_index.less
+4 −0 style/web/components/loading/_index.less
+9 −0 style/web/components/menu/_index-v2.less
+10 −0 style/web/components/menu/_index.less
+3 −0 style/web/components/message/_index.less
+3 −0 style/web/components/notification/_index.less
+5 −0 style/web/components/pagination/_index.less
+4 −0 style/web/components/popconfirm/_index.less
+5 −0 style/web/components/popup/_index.less
+5 −0 style/web/components/progress/_index.less
+10 −0 style/web/components/radio/_index.less
+4 −0 style/web/components/range-input/_index.less
+4 −0 style/web/components/select-input/_index.less
+6 −1 style/web/components/select/_index.less
+4 −0 style/web/components/skeleton/_index.less
+5 −0 style/web/components/slider/_index.less
+4 −0 style/web/components/steps/_index.less
+4 −0 style/web/components/swiper/_index.less
+5 −0 style/web/components/switch/_index.less
+5 −0 style/web/components/table/_index.less
+4 −0 style/web/components/tabs/_index.less
+3 −1 style/web/components/tag-input/_index.less
+4 −1 style/web/components/tag/_index.less
+57 −54 style/web/components/textarea/_index.less
+241 −0 style/web/components/time-picker-new/_index.less
+6 −1 style/web/components/time-picker/_index.less
+1 −0 style/web/components/tooltip/_index.less
+6 −1 style/web/components/transfer/_index.less
+4 −0 style/web/components/tree-select/_index.less
+4 −0 style/web/components/tree/_index.less
+5 −0 style/web/components/upload/_index.less
+12 −0 style/web/mixins/_reset.less
1 change: 0 additions & 1 deletion src/style/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
import '../_common/style/web/_reset.less';
import '../_common/style/web/_global.less';
import '../_common/style/web/theme/_index.less';

0 comments on commit e648285

Please sign in to comment.