Skip to content

Commit

Permalink
2.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Feb 4, 2022
1 parent e1101af commit 7a592f7
Show file tree
Hide file tree
Showing 37 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## NEXT_VERSION
## 2.25.0

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.zh-CN.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## NEXT_VERSION
## 2.25.0

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "naive-ui",
"version": "2.24.7",
"version": "2.25.0",
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/auto-complete/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ customized-rendering.vue
| loading | `boolean` | `false` | Whether to show a loading status. | |
| options | `Array<string \| AutoCompleteOption \| AutoCompleteGroupOption>` | `[]` | Options to autocomplete from. | |
| placeholder | `string` | `'Please Input'` | Autocomplete's placeholder. | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Autocomplete's placement. | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Autocomplete's placement. | 2.25.0 |
| render-label | `(option: SelectOption \| SelectGroupOption, selected: boolean) => VNodeChild` | `undefined` | Render function for each option label. | 2.24.0 |
| render-option | `(info: { node: VNode, option: SelectOption \| SelectGroupOption, selected: boolean }) => VNodeChild` | `undefined` | Render function for each option. | 2.24.0 |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Autocomplete size. | |
Expand Down
2 changes: 1 addition & 1 deletion src/auto-complete/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ customized-rendering.vue
| loading | `boolean` | `false` | 是否展示加载状态 | |
| options | `Array<string \| AutoCompleteOption \| AutoCompleteGroupOption>` | `[]` | 自动填充的自定义选项 | |
| placeholder | `string` | `'请输入'` | 自动填充的提示信息 | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 自动填充的弹出位置 | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 自动填充的弹出位置 | 2.25.0 |
| render-label | `(option: SelectOption \| SelectGroupOption, selected: boolean) => VNodeChild` | `undefined` | 选项标签渲染函数 | 2.24.0 |
| render-option | `(info: { node: VNode, option: SelectOption \| SelectGroupOption, selected: boolean }) => VNodeChild` | `undefined` | 选项的渲染函数 | 2.24.0 |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 自动填充的尺寸大小 | |
Expand Down
2 changes: 1 addition & 1 deletion src/card/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rtl-debug
| embedded | `boolean` | `false` | 使用更深的背景色展现嵌入效果,只对亮色主题生效 | |
| footer-style | `Object \| string` | `undefined` | 卡片底部区域的样式 | |
| header-style | `Object \| string` | `undefined` | 卡片头部区域的样式 | |
| header-extra-style | `Object \| string` | `undefined` | 卡片头部额外内容的样式 | NEXT_VERSION |
| header-extra-style | `Object \| string` | `undefined` | 卡片头部额外内容的样式 | 2.25.0 |
| hoverable | `boolean` | `false` | 卡片是否可悬浮 | |
| segmented | `boolean \| { [part in 'content' \| 'footer' \| 'action']?: boolean \| 'soft' }` | `false` | 卡片的分段区域设置 | |
| size | `'small' \| 'medium' \| 'large' \| 'huge'` | `'medium'` | 卡片的尺寸 | |
Expand Down
2 changes: 1 addition & 1 deletion src/cascader/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ focus.vue
| multiple | `boolean` | `false` | Whether to allow multiple options being selected. | |
| options | `CascaderOption[]` | required | Options of the cascader. | |
| placeholder | `string` | `'Please Select'` | Placeholder text. | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Cascader placement. | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Cascader placement. | 2.25.0 |
| remote | `boolean` | `false` | Whether to obtain data remotely. | |
| render-label | `(option: CascaderOption, checked: boolean) => VNodeChild` | `undefined` | Render function for cascader menu option label. | 2.24.0 |
| separator | `string` | `' / '` | Selected option path value separator (used with `show-path`). | |
Expand Down
2 changes: 1 addition & 1 deletion src/cascader/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ focus.vue
| multiple | `boolean` | `false` | 是否支持多选 | |
| options | `CascaderOption[]` | `[]` | 填充的 options 数据 | |
| placeholder | `string` | `'请选择'` | 提示信息 | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 弹出位置 | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 弹出位置 | 2.25.0 |
| remote | `boolean` | `false` | 是否远程获取数据 | |
| render-label | `(option: CascaderOption, checked: boolean) => VNodeChild` | `undefined` | Cascader 菜单选项标签渲染函数 | 2.24.0 |
| separator | `string` | `' / '` | 数据分隔符 | |
Expand Down
2 changes: 1 addition & 1 deletion src/color-picker/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ native
| default-show | `boolean` | `undefined` | Whether to show the color panel by default. | |
| default-value | `string` | Black color value of 1st mode's corresponding value. | Default value of the picker. | |
| modes | `Array<'rgb' \| 'hex' \| 'hsl' \| 'hsv'>` | `['rgb', 'hex', 'hsl']` | The value format of the picker. Notice that value will follow the mode once you select a new value from the picker. | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Color panel placement. | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Color panel placement. | 2.25.0 |
| render-label | `(color: string \| null) => VNodeChild` | `undefined` | Label render function of the color picker trigger. | 2.24.0 |
| show | `boolean` | `undefined` | Whether the color panel is shown. | |
| show-alpha | `boolean` | `true` | Whether the alpha channel can be adjusted. | |
Expand Down
2 changes: 1 addition & 1 deletion src/color-picker/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ native
| default-show | `boolean` | `undefined` | 默认是否展示弹出层 | |
| default-value | `string \| null` | 和第一个 mode 对应的黑色值 | 默认的颜色值 | |
| modes | `Array<'rgb' \| 'hex' \| 'hsl' \| 'hsv'>` | `['rgb', 'hex', 'hsl']` | 颜色选择器支持颜色的格式,注意一旦你在某个模式下选择了值,颜色选择器值的格式将跟随这个格式 | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 面板的弹出位置 | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 面板的弹出位置 | 2.25.0 |
| render-label | `(color: string \| null) => VNodeChild` | `undefined` | 触发器的内容 | 2.24.0 |
| show | `boolean` | `undefined` | 是否展示面板 | |
| show-alpha | `boolean` | `true` | 是否可调节 alpha 通道 | |
Expand Down
2 changes: 1 addition & 1 deletion src/date-picker/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ focus.vue
| disabled | `boolean` | `false` | Whether the date picker is disabled. | |
| first-day-of-week | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6` | `undefined` | The first day of a week on calendar, 0 means Monday. | |
| input-readonly | `boolean` | `false` | Set the `readonly` attribute of the input (avoids virtual keyboard on touch devices). | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Panel's placement. | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Panel's placement. | 2.25.0 |
| shortcuts | `Record<string, number \| (() => number)> \| Record<string, [number, number] \| (() => [number, number])>` | `undefined` | Shortcut button customizations. | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Date picker size. | |
| type | `'date' \| 'datetime' \| 'daterange' \| 'datetimerange' \| 'month' \| 'year' \| 'quarter'` | `'date'` | Date picker type. | `'quarter'` v2.22.0 |
Expand Down
2 changes: 1 addition & 1 deletion src/date-picker/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ focus.vue
| first-day-of-week | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6` | `undefined` | 日历上一周的开始,0 代表周一 | |
| formatted-value | `string \| [string, string] \| null` | `undefined` | 格式化之后的值 | 2.24.0 |
| input-readonly | `boolean` | `false` | 设置输入框为只读(避免在移动设备上打开虚拟键盘) | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 面板的弹出位置 | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 面板的弹出位置 | 2.25.0 |
| shortcuts | `Record<string, number \| (() => number)> \| Record<string, [number, number] \| (() => [number, number])>` | `undefined` | 自定义快捷按钮 | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 尺寸 | |
| type | `'date' \| 'datetime' \| 'daterange' \| 'datetimerange' \| 'month' \| 'year' \| 'quarter'` | `'date'` | Date Picker 的类型 | `'quarter'` v2.22.0 |
Expand Down
8 changes: 4 additions & 4 deletions src/dynamic-input/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ move.vue

| Name | Type | Default | Description | Version |
| --- | --- | --- | --- | --- |
| create-button-props | `ButtonProps` | `undefined` | Props of create item button. | NEXT_VERSION |
| create-button-props | `ButtonProps` | `undefined` | Props of create item button. | 2.25.0 |
| default-value | `unknown[]` | `[]` | Default value. | |
| item-style | `string \| Object` | `undefined` | The style of each item of the dynamic input. | |
| key-field | `string` | `undefined` | The key of each item that should be used in the rendering of the list. | |
| min | `number` | `0` | Minimum number of items. | |
| max | `number` | `undefined` | Maximum number of items. | |
| preset | `'input' \| 'pair'` | `'input'` | The preset of `n-dynamic-input`, it work when `$slots.default` is not set. | |
| show-sort-button | `boolean` | `false` | Whether to show sort button. | NEXT_VERSION |
| show-sort-button | `boolean` | `false` | Whether to show sort button. | 2.25.0 |
| value | `unknown[]` | `undefined` | Value in controlled mode. | |
| on-create | `(index: number) => void` | `undefined` | Add button (+) click callback. If set, the return value will be used as the initial value of the new item. `index` is the the new item's corresponding index in the value array, which starts from 1 (the second item). | |
| on-remove | `(index: number) => void` | `undefined` | Remove button (-) callback. | |
Expand All @@ -57,5 +57,5 @@ move.vue
| Name | Parameters | Description | Version |
| --- | --- | --- | --- |
| default | `(options: { value: any, index: number })` | The content of each item; `value` and `index` are the value and index of the current item. | |
| create-button-default | `()` | Content of create button. | NEXT_VERSION |
| create-button-icon | `()` | Icon of create button. | NEXT_VERSION |
| create-button-default | `()` | Content of create button. | 2.25.0 |
| create-button-icon | `()` | Icon of create button. | 2.25.0 |
8 changes: 4 additions & 4 deletions src/dynamic-input/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ move.vue

| 名称 | 类型 | 默认值 | 说明 | 版本 |
| --- | --- | --- | --- | --- |
| create-button-props | `ButtonProps` | `undefined` | 新建项按钮的属性 | NEXT_VERSION |
| create-button-props | `ButtonProps` | `undefined` | 新建项按钮的属性 | 2.25.0 |
| default-value | `unknown[]` | `[]` | 非受控模式下的默认值 | |
| item-style | `string \| Object` | `undefined` | 动态录入中每项的样式 | |
| key-field | `string` | `undefined` | 每一项的 key 值,会被用于列表渲染中 | |
| min | `number` | `0` | 最少有几项内容 | |
| max | `number` | `undefined` | 最多有几项内容 | |
| preset | `'input' \| 'pair'` | `'input'` | 动态录入使用的预设,在不设定 `$slots.default` 的时候生效。 | |
| show-sort-button | `boolean` | `false` | 是否显示排序按钮 | NEXT_VERSION |
| show-sort-button | `boolean` | `false` | 是否显示排序按钮 | 2.25.0 |
| value | `unknown[]` | `undefined` | 受控模式下的值 | |
| on-create | `(index: number) => void` | `undefined` | 点击添加按钮时的回调,如果设定则返回值会被用作新添加的初始值。其中 `index` 是创建内容将要被放置到的位置对应的数组索引,从 1 (第二项)开始计算 | |
| on-remove | `(index: number) => void` | `undefined` | 点击第 index 项删除按钮的回调 | |
Expand All @@ -57,5 +57,5 @@ move.vue
| 名称 | 参数 | 说明 | 版本 |
| --- | --- | --- | --- |
| default | `(options: { value: any, index: number })` | 每一项的渲染方式,其中 `value` 为该项对应的数组值,`index` 为该项对应的数组索引 | |
| create-button-default | `()` | 新建项按钮的内容 | NEXT_VERSION |
| create-button-icon | `()` | 新建项按钮的图标 | NEXT_VERSION |
| create-button-default | `()` | 新建项按钮的内容 | 2.25.0 |
| create-button-icon | `()` | 新建项按钮的图标 | 2.25.0 |
2 changes: 1 addition & 1 deletion src/dynamic-tags/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ slot.vue
| color | `{ color?: string, borderColor?: string, textColor?: string }` | `undefined` | Color of the tag. Note: it will override the color set by `type`. | |
| default-value | `string[]` | `[]` | Default value. | |
| disabled | `boolean` | `false` | Whether the tag is disabled. | |
| input-props | `InputProps` | `undefined` | Props of internal `n-input`. | NEXT_VERSION |
| input-props | `InputProps` | `undefined` | Props of internal `n-input`. | 2.25.0 |
| input-style | `string \| Object` | `undefined` | Customize the style of the input. | |
| max | `number` | `undefined` | Maximum number of tags. | |
| round | `boolean` | `false` | Whether the tag has rounded corners. | |
Expand Down
2 changes: 1 addition & 1 deletion src/dynamic-tags/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ slot.vue
| color | `{ color?: string, borderColor?: string, textColor?: string }` | `undefined` | 标签颜色,设置该项后 `type` 无效 | |
| default-value | `string[]` | `[]` | 非受控模式下的默认值 | |
| disabled | `boolean` | `false` | 是否禁用 | |
| input-props | `InputProps` | `undefined` | 内部 `n-input` 组件的属性 | NEXT_VERSION |
| input-props | `InputProps` | `undefined` | 内部 `n-input` 组件的属性 | 2.25.0 |
| input-style | `string \| Object` | `undefined` | 自定义输入框的样式 | |
| max | `number` | `undefined` | tag 的最大数量 | |
| round | `boolean` | `false` | 是否圆角 | |
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 @@ -49,7 +49,7 @@ status.vue
| show-count | `boolean` | `false` | Whether to show the word count. | |
| show-password-on | `'click' \| 'mousedown'` | `undefined` | The event to show the password. | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Input size. | |
| status | `'success' \| 'warning' \| 'error'` | `undefined` | Validaiton status. | NEXT_VERSION |
| status | `'success' \| 'warning' \| 'error'` | `undefined` | Validaiton status. | 2.25.0 |
| type | `'text' \| 'password' \| 'textarea'` | `'text'` | Input type. | |
| value | `string \| [string, string] \| null` | `undefined` | Manually set the input value. When `pair` is `true`, this is an array. | |
| on-blur | `() => void` | `undefined` | Callback triggered when the input is blurred. | |
Expand Down
2 changes: 1 addition & 1 deletion src/input/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ status.vue
| show-count | `boolean` | `false` | 是否显示字数统计 | |
| show-password-on | `'click' \| 'mousedown'` | `undefined` | 显示密码的时机 | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 输入框尺寸 | |
| status | `'success' \| 'warning' \| 'error'` | `undefined` | 验证状态 | NEXT_VERSION |
| status | `'success' \| 'warning' \| 'error'` | `undefined` | 验证状态 | 2.25.0 |
| type | `'text' \| 'password' \| 'textarea'` | `'text'` | 输入框类型 | |
| value | `string \| [string, string] \| null` | `undefined` | 文本输入的值。如果 `pair` 是 `true`,`value` 是一个数组 | |
| on-blur | `() => void` | `undefined` | 输入框失去焦点时触发 | |
Expand Down
2 changes: 1 addition & 1 deletion src/mention/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Mention requires `v2.2.0` and above.
| loading | `boolean` | `false` | Whether the selection panel of mentions is in a loading state. | |
| prefix | `string \| string[]` | `'@'` | Prefix character(s) to trigger mentions. The string length(s) must be exactly 1. | |
| placeholder | `string` | `''` | Placeholder. | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Selection panel's placement . | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | Selection panel's placement . | 2.25.0 |
| render-label | `(option: MentionOption) => VNodeChild` | `undefined` | Options' labels render function. | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Input size. | |
| on-update:value | `(value: string) => void` | `undefined` | Triggered when the input box value is updated. | |
Expand Down
2 changes: 1 addition & 1 deletion src/mention/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Mention 在 `v2.2.0` 及以后可用。
| loading | `boolean` | `false` | 选择面板是否显示加载状态 | |
| prefix | `string \| string[]` | `'@'` | 触发提及的前缀,长度必须为 1 | |
| placeholder | `string` | `''` | 输入框的占位符 | |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 选择面板的弹出位置. | NEXT_VERSION |
| placement | `'top-start' \| 'top' \| 'top-end' \| 'right-start' \| 'right' \| 'right-end' \| 'bottom-start' \| 'bottom' \| 'bottom-end' \| 'left-start' \| 'left' \| 'left-end'` | `'bottom-start'` | 选择面板的弹出位置. | 2.25.0 |
| render-label | `(option: MentionOption) => VNodeChild` | `undefined` | 选项标签渲染函数 | |
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 输入框的大小 | |
| on-update:value | `(value: string) => void` | `undefined` | 输入框值发生更新时触发 | |
Expand Down
2 changes: 1 addition & 1 deletion src/notification/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ placement.vue

| Name | Type | Default | Description | Version |
| --- | --- | --- | --- | --- |
| container-style | `string \| Object` | `undefined` | Style of notification container. | NEXT_VERSION |
| container-style | `string \| Object` | `undefined` | Style of notification container. | 2.25.0 |
| placement | `'top-right' \| 'top-left' \| 'bottom-left' \| 'bottom -right'` | `'top-right'` | Placement of all notifications. | |
| max | `number` | `undefined` | Limit the number of notifications to display. | |
| scrollable | `boolean` | `true` | Whether notification can be scroll. | |
Expand Down
Loading

0 comments on commit 7a592f7

Please sign in to comment.