Skip to content

Commit

Permalink
docs(version): release 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PengYYYYY committed Jan 28, 2022
1 parent e9a1328 commit 5a2cb93
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 8 deletions.
34 changes: 33 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,43 @@ toc: false
docClass: timeline
---

## 0.8.0 `2022-01-28`

### BREAKING CHANGES

* Tag: `variant` 可选值修改为 `dark/light/outline/light-outline``plain` 已废弃,[pr #274](https://github.com/Tencent/tdesign-vue-next/pull/274)[@pengYYYYY](https://github.com/pengYYYYY)

### Bug Fixes

* Alert: 修复未正常展示关闭按钮的问题, ([e8bd6ba](https://github.com/Tencent/tdesign-vue-next/commit/e8bd6ba50ce164f7976d9c28b04137c1ef5a0e05))
* Calendar: ([@PsTiu](https://github.com/PsTiu))
* 修复日历组件 `monthChange` 事件在年只通过月份下拉框触发的问题 ([1b4e3a2](https://github.com/Tencent/tdesign-vue-next/commit/1b4e3a286f31ab979ddce19674afa9eb92996c46))
* 修复日历控制区按钮 `hover` 样式,[pr #169](https://github.com/Tencent/tdesign-common/pull/169)
* 修复全局配置 `calendar.controllerConfig` 不生效的问题 ([72c1771](https://github.com/Tencent/tdesign-vue-next/commit/72c17717d6f783ed7324f2a4e56d446dda0980eb))
* InputNumber 修复双向绑定设置成 `undefined` 实现清空,下次激活输入框自动恢复上次的值 ([961a8a5](https://github.com/Tencent/tdesign-vue-next/commit/961a8a540276c42e14b066c2413183f93cdd068f))
* Select: 修复可过滤状态下,需要双击背景才可关闭下拉框 ([31f0258](https://github.com/Tencent/tdesign-vue-next/commit/31f0258ac67caf14dc7bb2610972f06307ccee96))
* TreeSelect:
* 修复可过滤状态下,需要双击背景才可关闭下拉框 ([31f0258](https://github.com/Tencent/tdesign-vue-next/commit/31f0258ac67caf14dc7bb2610972f06307ccee96))
* 修复在空状态时不显示 `placeholder`([8a44df9](https://github.com/Tencent/tdesign-vue-next/commit/8a44df9940a5705b103dfa543dd7b5f58065abee)), ([#271](https://github.com/Tencent/tdesign-vue-next/issues/271))
* Content: 修复 `Content` 内容无法响应式 ([7ebd287](https://github.com/Tencent/tdesign-vue-next/commit/7ebd28747f0cb3975b205ada5828e961b62b1d66)), ([#268](https://github.com/Tencent/tdesign-vue-next/issues/268)), ([#255](https://github.com/Tencent/tdesign-vue-next/issues/255))
* Slider: 修复双向绑定值失效 ([c554129](https://github.com/Tencent/tdesign-vue-next/commit/c5541293d9c7258208c7240018fff964faa1a760)), ([#260](https://github.com/Tencent/tdesign-vue-next/issues/260)), ([@backrunner](https://github.com/backrunner))
* Table: 修复表头单元格合并显示异常 ([a121a0d](https://github.com/Tencent/tdesign-vue-next/commit/a121a0de2b5f28702b515d49e58a7cb467263be0))
* Tabs: 修复 `remove` 事件警告 ([2beac1c](https://github.com/Tencent/tdesign-vue-next/commit/2beac1ceefe16bf55e2babed4b4e9bcf488f3094)), ([#248](https://github.com/Tencent/tdesign-vue-next/issues/248))
* Tag: 修复`click` 事件参数错误 ([e6ade96](https://github.com/Tencent/tdesign-vue-next/commit/e6ade96d0a607a57b41a13fc15694117871a9242))
* Breadcrumb: 修复面包屑 `item disabled` 状态样式,[pr #190](https://github.com/Tencent/tdesign-common/pull/190)[@samhou1988](https://github.com/samhou1988)
* Input: 修复输入框相关样式重复引入的问题,[pr #182](https://github.com/Tencent/tdesign-common/pull/182)[@xiaosansiji](https://github.com/xiaosansiji)
* Select/Input/InputNumber/Switch: 背景色、边框样式等与设计不一致的,统一修复,[pr #194](https://github.com/Tencent/tdesign-common/pull/194)[@uyarn](https://github.com/uyarn)

### Features

* InputNumber: 增加 `align` 属性 ([961a8a5](https://github.com/Tencent/tdesign-vue-next/commit/961a8a540276c42e14b066c2413183f93cdd068f))
* Button: 统一各类型按钮边框宽度,[pr #176](https://github.com/Tencent/tdesign-common/pull/176)[@BigLiao](https://github.com/BigLiao)

## 0.7.0 `2022-01-21`

### BREAKING CHANGES

* FormRule 的 `min``len` 根据一个中文等于两个字符的计算规则进行,和 `max` 保持一致;`min``len` 在值为 Number 时,进行数字大小的校验而非数字长度校验 [(pr #220](https://github.com/Tencent/tdesign-vue/pull/220)), ([@pengYYYYY](https://github.com/pengYYYYY))
* FormRule 的 `min``len` 根据一个中文等于两个字符的计算规则进行,和 `max` 保持一致;`min``len` 在值为 Number 时,进行数字大小的校验而非数字长度校验 ([pr #220](https://github.com/Tencent/tdesign-vue/pull/220)), ([@pengYYYYY](https://github.com/pengYYYYY))

### Bug Fixes

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.7.0",
"version": "0.8.0",
"title": "tdesign-vue-next",
"description": "TDesign Component for vue-next",
"keywords": [
Expand Down
12 changes: 6 additions & 6 deletions src/tag-input/tag-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default defineComponent({
<Tag
size={this.size}
disabled={this.disabled}
onClose={(e) => this.onClose({ e, item, index })}
onClose={(context: { e: MouseEvent }) => this.onClose({ e: context.e, item, index })}
closable={!this.readonly && !this.disabled}
{...this.tagProps}
>
Expand Down Expand Up @@ -128,7 +128,7 @@ export default defineComponent({
ref="root"
{...this.inputProps}
value={this.inputValueRef}
onChange={(val) => {
onChange={(val: InputValue) => {
this.inputValueRef = val;
}}
size={this.size}
Expand All @@ -144,18 +144,18 @@ export default defineComponent({
onPaste={this.onPaste}
onEnter={this.onInputEnter}
onKeyup={this.onInputBackspaceKeyUp}
onMouseenter={(context) => {
onMouseenter={(context: { e: MouseEvent }) => {
this.addHover(context);
this.scrollToRightOnEnter();
}}
onMouseleave={(context) => {
onMouseleave={(context: { e: MouseEvent }) => {
this.cancelHover(context);
this.scrollToLeftOnLeave();
}}
onFocus={(inputValue, context) => {
onFocus={(inputValue: InputValue, context: { e: MouseEvent }) => {
this.onFocus?.(this.tagValue, { e: context.e, inputValue });
}}
onBlur={(inputValue, context) => {
onBlur={(inputValue: InputValue, context: { e: MouseEvent }) => {
this.onBlur?.(this.tagValue, { e: context.e, inputValue });
}}
/>
Expand Down

0 comments on commit 5a2cb93

Please sign in to comment.