Skip to content

Commit

Permalink
2.34.4
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed May 21, 2023
1 parent 8bc5f55 commit d190ca3
Show file tree
Hide file tree
Showing 17 changed files with 75 additions and 75 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.34.4

### Fixes

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.34.4

### Fixes

Expand Down
52 changes: 26 additions & 26 deletions demo/pages/docs/i18n/enUS/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,32 @@ PRs are welcomed for locales that are not supported yet!

The following list is sorted by 'Config' column.

| Language | Config | Date config | Version |
| ------------------------- | ------ | ----------- | ------------ |
| Arabic (العربية) | arDZ | dateArDZ | 2.34.0 |
| German (Germany) | deDE | dateDeDe | |
| English (British) | enGB | dateEnGB | 2.25.1 |
| English | enUS | dateEnUS | |
| Esperanto | eo | dateEo | 2.25.2 |
| Spanish (Argentina) | esAR | dateEsAR | 2.24.2 |
| Persian | faIR | dateFaIR | NEXT_VERSION |
| French | frFR | dateFrFR | |
| Bahasa Indonesia | idID | dateIdID | |
| Italiano | itIT | dateItIT | 2.24.2 |
| Japanese | jaJP | dateJaJP | |
| Korean (South Korea) | koKR | dateKoKR | 2.28.1 |
| Norwegian Bokmål (Norway) | nbNO | dateNbNO | |
| Dutch (Netherlands) | nlNL | dateNlNL | 2.29.0 |
| Polish (Poland) | plPL | datePlPL | 2.25.2 |
| Portuguese (Brazil) | ptBR | datePtBR | 2.28.1 |
| Russian | ruRU | dateRuRU | |
| Slovak | skSK | dateSkSK | 2.25.3 |
| Thai (Thailand) | thTH | dateThTH | 2.27.0 |
| Turkish | trTR | dateTrTR | 2.34.0 |
| Ukrainian | ukUA | dateUkUA | |
| Vietnamese (Vietnam) | viVN | dateViVN | 2.30.7 |
| Chinese (Simplified) | zhCN | dateZhCN | |
| Chinese (Traditional) | zhTW | dateZhTW | |
| Language | Config | Date config | Version |
| ------------------------- | ------ | ----------- | ------- |
| Arabic (العربية) | arDZ | dateArDZ | 2.34.0 |
| German (Germany) | deDE | dateDeDe | |
| English (British) | enGB | dateEnGB | 2.25.1 |
| English | enUS | dateEnUS | |
| Esperanto | eo | dateEo | 2.25.2 |
| Spanish (Argentina) | esAR | dateEsAR | 2.24.2 |
| Persian | faIR | dateFaIR | 2.34.4 |
| French | frFR | dateFrFR | |
| Bahasa Indonesia | idID | dateIdID | |
| Italiano | itIT | dateItIT | 2.24.2 |
| Japanese | jaJP | dateJaJP | |
| Korean (South Korea) | koKR | dateKoKR | 2.28.1 |
| Norwegian Bokmål (Norway) | nbNO | dateNbNO | |
| Dutch (Netherlands) | nlNL | dateNlNL | 2.29.0 |
| Polish (Poland) | plPL | datePlPL | 2.25.2 |
| Portuguese (Brazil) | ptBR | datePtBR | 2.28.1 |
| Russian | ruRU | dateRuRU | |
| Slovak | skSK | dateSkSK | 2.25.3 |
| Thai (Thailand) | thTH | dateThTH | 2.27.0 |
| Turkish | trTR | dateTrTR | 2.34.0 |
| Ukrainian | ukUA | dateUkUA | |
| Vietnamese (Vietnam) | viVN | dateViVN | 2.30.7 |
| Chinese (Simplified) | zhCN | dateZhCN | |
| Chinese (Traditional) | zhTW | dateZhTW | |

## Customize the existing locale

Expand Down
52 changes: 26 additions & 26 deletions demo/pages/docs/i18n/zhCN/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,32 +44,32 @@ Naive-ui 通过使用 `n-config-provider` 调整语言,默认情况下所有

以下列表依据“配置”列排序。

| 语言 | 配置 | 日期配置 | 版本 |
| ----------------- | ---- | -------- | ------------ |
| 阿拉伯语 | arDZ | dateArDZ | 2.34.0 |
| 德语 | deDE | dateDeDe | |
| 英国英语 | enGB | dateEnGB | 2.25.1 |
| 英语 | enUS | dateEnUS | |
| 世界语 | eo | dateEo | 2.25.2 |
| 西班牙语(阿根廷) | esAR | dateEsAR | 2.24.2 |
| 波斯语 | faIR | dateFaIR | NEXT_VERSION |
| 法语 | frFR | dateFrFR | |
| 印度尼西亚语 | idID | dateIdID | |
| 意大利语 | itIT | dateItIT | 2.24.2 |
| 日语 | jaJP | dateJaJP | |
| 韩语 | koKR | dateKoKR | 2.28.1 |
| 书面挪威语 | nbNO | dateNbNO | |
| 荷兰语(荷兰) | nlNL | dateNlNL | 2.29.0 |
| 波兰语(波兰) | plPL | datePlPL | 2.25.2 |
| 葡萄牙语 (巴西) | ptBR | datePtBR | 2.28.1 |
| 俄罗斯语 | ruRU | dateRuRU | |
| 斯洛伐克语 | skSK | dateSkSK | 2.25.3 |
| 泰语(泰国) | thTH | dateThTH | 2.27.0 |
| 土耳其语 | trTR | dateTrTR | 2.34.0 |
| 乌克兰语 | ukUA | dateUkUA | |
| 越南语(越南) | viVN | dateViVN | 2.30.7 |
| 简体中文 | zhCN | dateZhCN | |
| 繁体中文 | zhTW | dateZhTW | |
| 语言 | 配置 | 日期配置 | 版本 |
| ----------------- | ---- | -------- | ------ |
| 阿拉伯语 | arDZ | dateArDZ | 2.34.0 |
| 德语 | deDE | dateDeDe | |
| 英国英语 | enGB | dateEnGB | 2.25.1 |
| 英语 | enUS | dateEnUS | |
| 世界语 | eo | dateEo | 2.25.2 |
| 西班牙语(阿根廷) | esAR | dateEsAR | 2.24.2 |
| 波斯语 | faIR | dateFaIR | 2.34.4 |
| 法语 | frFR | dateFrFR | |
| 印度尼西亚语 | idID | dateIdID | |
| 意大利语 | itIT | dateItIT | 2.24.2 |
| 日语 | jaJP | dateJaJP | |
| 韩语 | koKR | dateKoKR | 2.28.1 |
| 书面挪威语 | nbNO | dateNbNO | |
| 荷兰语(荷兰) | nlNL | dateNlNL | 2.29.0 |
| 波兰语(波兰) | plPL | datePlPL | 2.25.2 |
| 葡萄牙语 (巴西) | ptBR | datePtBR | 2.28.1 |
| 俄罗斯语 | ruRU | dateRuRU | |
| 斯洛伐克语 | skSK | dateSkSK | 2.25.3 |
| 泰语(泰国) | thTH | dateThTH | 2.27.0 |
| 土耳其语 | trTR | dateTrTR | 2.34.0 |
| 乌克兰语 | ukUA | dateUkUA | |
| 越南语(越南) | viVN | dateViVN | 2.30.7 |
| 简体中文 | zhCN | dateZhCN | |
| 繁体中文 | zhTW | dateZhTW | |

## 在现有国际化基础上调整

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.34.3",
"version": "2.34.4",
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/data-table/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ render-cell.vue
| pagination | `false \| object` | `false` | See [Pagination props](pagination#Pagination-Props) | |
| remote | `boolean` | `false` | If data-table do automatic paging. You may set it to `true` in async usage. | |
| render-cell | `(value: any, rowData: object, column: DataTableBaseColumn) => VNodeChild` | `undefined` | Render function of cell, it will be overwritten by columns' `render`. | 2.30.5 |
| render-expand-icon | `({ expanded }: { expanded: boolean }) => VNodeChild` | `undefined` | Render function of expand icon. | 2.32.2, `expanded`: NEXT_VERSION |
| render-expand-icon | `({ expanded }: { expanded: boolean }) => VNodeChild` | `undefined` | Render function of expand icon. | 2.32.2, `expanded`: 2.34.4 |
| row-class-name | `string \| (rowData: object, rowIndex : number) => string` | `undefined` | Class name of each row. | |
| row-key | `(rowData: object) => (number \| string)` | `undefined` | Generate the key of the row by row data (if you don't want to set the key). | |
| row-props | `(rowData: object, rowIndex : number) => object` | `undefined` | Customize row attributes. | |
Expand Down
2 changes: 1 addition & 1 deletion src/data-table/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ expandable-debug.vue
| pagination | `false \| object` | `false` | 属性参考 [Pagination props](pagination#Pagination-Props) | |
| remote | `boolean` | `false` | 表格是否自动分页数据,在异步的状况下你可能需要把它设为 `true` | |
| render-cell | `(value: any, rowData: object, column: DataTableBaseColumn) => VNodeChild` | `undefined` | 自定义单元格渲染,优先级低于列的 `render` | 2.30.5 |
| render-expand-icon | `({ expanded }: { expanded: boolean }) => VNodeChild` | `undefined` | 自定义渲染展开图标 | 2.32.2, `expanded`: NEXT_VERSION |
| render-expand-icon | `({ expanded }: { expanded: boolean }) => VNodeChild` | `undefined` | 自定义渲染展开图标 | 2.32.2, `expanded`: 2.34.4 |
| row-class-name | `string \| (rowData: object, index : number) => string` | `undefined` | 每一行上的类名 | |
| row-key | `(rowData: object) => (number \| string)` | `undefined` | 通过行数据创建行的 key(如果你不想给每一行加上 key) | |
| row-props | `(rowData: object, rowIndex : number) => object` | `undefined` | 自定义行属性 | |
Expand Down
4 changes: 2 additions & 2 deletions src/dynamic-input/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ custom-action.vue
| --- | --- | --- | --- | --- |
| create-button-props | `ButtonProps` | `undefined` | Props of create item button. | 2.25.0 |
| default-value | `unknown[]` | `[]` | Default value. | |
| disabled | `boolean` | `false` | Whether to disable the dynamic-input. It won't work for custom content. | NEXT_VERSION |
| disabled | `boolean` | `false` | Whether to disable the dynamic-input. It won't work for custom content. | 2.34.4 |
| 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. | |
Expand Down Expand Up @@ -58,7 +58,7 @@ custom-action.vue

| Name | Parameters | Description | Version |
| --- | --- | --- | --- |
| action | `(options: { value: any, index: number, create: (index: number) => void, remove: (index: number) => void, move: (type: 'up' \| 'down', index: number) => void })` | Customizing action; `value` and `index` are the value and index of the current item. | NEXT_VERSION |
| action | `(options: { value: any, index: number, create: (index: number) => void, remove: (index: number) => void, move: (type: 'up' \| 'down', index: number) => void })` | Customizing action; `value` and `index` are the value and index of the current item. | 2.34.4 |
| 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. | 2.25.0 |
| create-button-icon | `()` | Icon of create button. | 2.25.0 |
4 changes: 2 additions & 2 deletions src/dynamic-input/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ create-debug.vue
| --- | --- | --- | --- | --- |
| create-button-props | `ButtonProps` | `undefined` | 新建项按钮的属性 | 2.25.0 |
| default-value | `unknown[]` | `[]` | 非受控模式下的默认值 | |
| disabled | `boolean` | `false` | 是否禁用,对自定义内容无效 | NEXT_VERSION |
| disabled | `boolean` | `false` | 是否禁用,对自定义内容无效 | 2.34.4 |
| item-style | `string \| Object` | `undefined` | 动态录入中每项的样式 | |
| key-field | `string` | `undefined` | 每一项的 key 值,会被用于列表渲染中 | |
| min | `number` | `0` | 最少有几项内容 | |
Expand Down Expand Up @@ -60,7 +60,7 @@ create-debug.vue

| 名称 | 参数 | 说明 | 版本 |
| --- | --- | --- | --- |
| action | `(options: { value: any, index: number, create: (index: number) => void, remove: (index: number) => void, move: (type: 'up' \| 'down', index: number) => void })` | 自定义操作,其中 `value` 为该项对应的数组值,`index` 为该项对应的数组索引 | NEXT_VERSION |
| action | `(options: { value: any, index: number, create: (index: number) => void, remove: (index: number) => void, move: (type: 'up' \| 'down', index: number) => void })` | 自定义操作,其中 `value` 为该项对应的数组值,`index` 为该项对应的数组索引 | 2.34.4 |
| default | `(options: { value: any, index: number })` | 每一项的渲染方式,其中 `value` 为该项对应的数组值,`index` 为该项对应的数组索引 | |
| create-button-default | `()` | 新建项按钮的内容 | 2.25.0 |
| create-button-icon | `()` | 新建项按钮的图标 | 2.25.0 |
2 changes: 1 addition & 1 deletion src/scrollbar/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trigger.vue
| trigger | `'hover' \| 'none'` | `'hover'` | Trigger of show scrollbar. `'none'` means always show it. | 2.29.1 |
| x-scrollable | `boolean` | `false` | Whether it can scroll horizontally. | |
| on-scroll | `(e: Event) => void` | `undefined` | Callback on scroll | |
| size | `number` | `undefined` | Size of scrollbar. | NEXT_VERSION |
| size | `number` | `undefined` | Size of scrollbar. | 2.34.4 |

### Scrollbar Slots

Expand Down
2 changes: 1 addition & 1 deletion src/scrollbar/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ rtl-debug.vue
| trigger | `'hover' \| 'none'` | `'hover'` | 显示滚动条的时机,`'none'` 表示一直显示 | 2.29.1 |
| x-scrollable | `boolean` | `false` | 是否可以横向滚动 | |
| on-scroll | `(e: Event) => void` | `undefined` | 滚动的回调 | |
| size | `number` | `undefined` | 滚动条的大小 | NEXT_VERSION |
| size | `number` | `undefined` | 滚动条的大小 | 2.34.4 |

### Scrollbar Slots

Expand Down
2 changes: 1 addition & 1 deletion src/select/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ custom-field.vue
| filter | `(pattern: string, option: Object) => boolean` | String search method. | Filter function. | |
| ignore-composition | `boolean` | `true` | Ingore IME's composition status. By default `filter` won't be triggered by input event under compositions. | 2.33.4 |
| input-props | `HTMLInputAttributes` | `undefined` | The attributes of input element in the trigger. It only works when the select is filterable. | |
| keyboard | `boolean` | `true` | Whether to allow keyboard control. | NEXT_VERSION |
| keyboard | `boolean` | `true` | Whether to allow keyboard control. | 2.34.4 |
| label-field | `string` | `'label'` | Field name of option label. | 2.29.1 |
| loading | `boolean` | `false` | Whether to show a loading state. | |
| max-tag-count | `number \| 'responsive'` | `undefined` | Maximum selected values to display while in `multiple` mode. `responsive` will keep all the tags in single line. | |
Expand Down
2 changes: 1 addition & 1 deletion src/select/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ create-debug.vue
| filter | `(pattern: string, option: object) => boolean` | 一个简单的字符串搜索算法 | 过滤器函数 | |
| ignore-composition | `boolean` | `true` | 忽略输入法 Composition 状态,默认情况下 `filter` 在输入法输入的过程中不会触发 | 2.33.4 |
| input-props | `HTMLInputAttributes` | `undefined` | 触发器中 input 元素的属性,只在可过滤时有意义 | |
| keyboard | `boolean` | `true` | 是否支持键盘操作 | NEXT_VERSION |
| keyboard | `boolean` | `true` | 是否支持键盘操作 | 2.34.4 |
| label-field | `string` | `'label'` | 选项 label 的字段名 | 2.29.1 |
| loading | `boolean` | `false` | 是否为加载状态 | |
| max-tag-count | `number \| 'responsive'` | `undefined` | 多选标签的最大显示数量,`responsive` 会将所有标签保持在一行 | |
Expand Down
6 changes: 3 additions & 3 deletions src/tabs/demos/enUS/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ placement.vue
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Size of tabs. | |
| pane-class | `string` | `undefined` | Class of the pane. | |
| pane-style | `string \| object` | `undefined` | Style of the pane. | |
| pane-wrapper-class | `string` | `undefined` | Class of the pane warpper. | NEXT_VERSION |
| pane-wrapper-style | `string \| object` | `undefined` | Style of the pane warpper. | NEXT_VERSION |
| placement | `'left' \| 'right' \| 'top' \| 'bottom'` | `'top'` | Placement of tabs. It won't work with `n-tabs` whose `type` is `'segment'`. | NEXT_VERSION |
| pane-wrapper-class | `string` | `undefined` | Class of the pane warpper. | 2.34.4 |
| pane-wrapper-style | `string \| object` | `undefined` | Style of the pane warpper. | 2.34.4 |
| placement | `'left' \| 'right' \| 'top' \| 'bottom'` | `'top'` | Placement of tabs. It won't work with `n-tabs` whose `type` is `'segment'`. | 2.34.4 |
| tab-style | `string \| object` | `undefined` | Style of the tab. | |
| tabs-padding | `number` | `0` | Left & right `padding` of the group of tabs. | |
| trigger | `'click' \| 'hover'` | `'click'` | Trigger of activating a tab | 2.27.0 |
Expand Down
6 changes: 3 additions & 3 deletions src/tabs/demos/zhCN/index.demo-entry.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ animationx-debug.vue
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 标签页的尺寸 | |
| pane-class | `string` | `undefined` | 面板的类名 | |
| pane-style | `string \| object` | `undefined` | 面板的样式 | |
| pane-wrapper-class | `string` | `undefined` | 面板容器的类名 | NEXT_VERSION |
| pane-wrapper-style | `string \| object` | `undefined` | 面板容器的样式 | NEXT_VERSION |
| placement | `'left' \| 'right' \| 'top' \| 'bottom'` | `'top'` | 标签的位置,对于 `'segment'` 类型的 `n-tabs` 不生效 | NEXT_VERSION |
| pane-wrapper-class | `string` | `undefined` | 面板容器的类名 | 2.34.4 |
| pane-wrapper-style | `string \| object` | `undefined` | 面板容器的样式 | 2.34.4 |
| placement | `'left' \| 'right' \| 'top' \| 'bottom'` | `'top'` | 标签的位置,对于 `'segment'` 类型的 `n-tabs` 不生效 | 2.34.4 |
| tab-style | `string \| object` | `undefined` | 标签的样式 | |
| tabs-padding | `number` | `0` | 全部标签最左和最右的 `padding` | |
| trigger | `'click' \| 'hover'` | `'click'` | 触发 tab 的方式 | 2.27.0 |
Expand Down
Loading

0 comments on commit d190ca3

Please sign in to comment.