Skip to content

Commit

Permalink
docs: missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Jan 1, 2024
1 parent 04b29c4 commit ed1b7cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
### Features

- `n-space` 新增 `reverse` 属性
- `n-input` 新增 `clear` 方法,关闭[#5423](https://github.com/tusen-ai/naive-ui/issues/5423)
- `n-time-picker` 新增 `clear` `action`,关闭 [#5334](https://github.com/tusen-ai/naive-ui/issues/5334)
- `n-input` 新增 `clear` 方法,关闭 [#5423](https://github.com/tusen-ai/naive-ui/issues/5423)
- `n-time-picker` 新增 `'clear'` `action`,关闭 [#5334](https://github.com/tusen-ai/naive-ui/issues/5334)
- `n-select` 支持 RTL
- `n-data-table` 支持 RTL
- `n-dialog` 支持 RTL
Expand Down
2 changes: 1 addition & 1 deletion src/input/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ graphemes.vue
| Name | Type | Description | Version |
| --- | --- | --- | --- |
| blur | `() => void` | Blur the input element. | |
| clear | `() => void` | Clear input value | NEXT_VERSION |
| clear | `() => void` | Clear input value. | NEXT_VERSION |
| focus | `() => void` | Focus the input element. | |
| select | `() => void` | Select the input element. | |
| scrollTo | `(options: { left?: number, top?: number, behavior?: 'auto' \| 'smooth' }) => void` | Scroll To. | 2.32.0 |
1 change: 1 addition & 0 deletions src/space/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ center.vue
| item-class | `string` | `undefined` | Node class, valid when `wrap-item` is `true` | 2.36.0 |
| item-style | `string \| object` | `undefined` | Node style, valid when `wrap-item` is `true` | |
| justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between' \| 'space-evenly'` | `'start'` | Horizontal arrangement. | `'space-evenly'` 2.28.3 |
| reverse | `boolean` | `false` | Whether to reverse inner items. | NEXT_VERSION |
| size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | When it's a number, it will be used as vertical and horizontal gap, or it is `[horizontalGap, verticalGap]`. | |
| vertical | `boolean` | `false` | Whether to lay out vertically. | |
| wrap | `boolean` | `true` | Whether to exceed the line break. | |
Expand Down
1 change: 1 addition & 0 deletions src/space/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ rtl-debug.vue
| item-class | `string` | `undefined` | 节点类名,当 `wrap-item``true` 时有效 | 2.36.0 |
| item-style | `string \| object` | `undefined` | 节点样式,当 `wrap-item``true` 时有效 | |
| justify | `'start' \| 'end' \| 'center' \| 'space-around' \| 'space-between' \| 'space-evenly'` | `'start'` | 水平排列方式 | `'space-evenly'` 2.28.3 |
| reverse | `boolean` | `false` | 是否反向排列内部元素 | NEXT_VERSION |
| size | `'small' \| 'medium' \| 'large' \| number \| [number, number]` | `'medium'` | 为数字时,是水平和垂直间距;为数组时,是 [水平间距, 垂直间距] | |
| vertical | `boolean` | `false` | 是否垂直布局 | |
| wrap | `boolean` | `true` | 是否超出换行 | |
Expand Down

0 comments on commit ed1b7cb

Please sign in to comment.