mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-11 13:10:26 +08:00
2.25.2
This commit is contained in:
parent
abda8d32cb
commit
66599d3312
@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## NEXT_VERSION
|
||||
## 2.25.2
|
||||
|
||||
### Fixes
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## NEXT_VERSION
|
||||
## 2.25.2
|
||||
|
||||
### Fixes
|
||||
|
||||
|
@ -42,22 +42,22 @@ Set `n-config-provider`'s `date-locale` prop to `dateEnUS` imported from naive-u
|
||||
|
||||
PRs are welcomed for locales that are not supported yet!
|
||||
|
||||
| Language | Config | Date config | Version |
|
||||
| ------------------------- | ------ | ----------- | ------------ |
|
||||
| English | enUS | dateEnUS | |
|
||||
| Japanese | jaJP | dateJaJP | |
|
||||
| Russian | ruRU | dateRuRU | |
|
||||
| Ukrainian | ukUA | dateUkUA | |
|
||||
| Chinese (Simplified) | zhCN | dateZhCN | |
|
||||
| Chinese (Traditional) | zhTW | dateZhTW | |
|
||||
| German (Germany) | deDE | dateDeDe | |
|
||||
| Norwegian Bokmål (Norway) | nbNO | dateNbNO | |
|
||||
| French | frFR | dateFrFR | |
|
||||
| Spanish (Argentina) | esAR | dateEsAR | 2.24.2 |
|
||||
| Italiano | itIT | dateItIT | 2.24.2 |
|
||||
| English (British) | enGB | dateEnGB | 2.25.1 |
|
||||
| Polish (Poland) | plPL | datePlPL | NEXT_VERSION |
|
||||
| Esperanto | eo | dateEo | NEXT_VERSION |
|
||||
| Language | Config | Date config | Version |
|
||||
| ------------------------- | ------ | ----------- | ------- |
|
||||
| English | enUS | dateEnUS | |
|
||||
| Japanese | jaJP | dateJaJP | |
|
||||
| Russian | ruRU | dateRuRU | |
|
||||
| Ukrainian | ukUA | dateUkUA | |
|
||||
| Chinese (Simplified) | zhCN | dateZhCN | |
|
||||
| Chinese (Traditional) | zhTW | dateZhTW | |
|
||||
| German (Germany) | deDE | dateDeDe | |
|
||||
| Norwegian Bokmål (Norway) | nbNO | dateNbNO | |
|
||||
| French | frFR | dateFrFR | |
|
||||
| Spanish (Argentina) | esAR | dateEsAR | 2.24.2 |
|
||||
| Italiano | itIT | dateItIT | 2.24.2 |
|
||||
| English (British) | enGB | dateEnGB | 2.25.1 |
|
||||
| Polish (Poland) | plPL | datePlPL | 2.25.2 |
|
||||
| Esperanto | eo | dateEo | 2.25.2 |
|
||||
|
||||
## Customize the existing locale
|
||||
|
||||
|
@ -42,23 +42,23 @@ Naive-ui 通过使用 `n-config-provider` 调整语言,默认情况下所有
|
||||
|
||||
欢迎提交 PR 来支持尚未支持的语言。
|
||||
|
||||
| 语言 | 配置 | 日期配置 | 版本 |
|
||||
| ----------------- | ---- | -------- | ------------ |
|
||||
| 英语 | enUS | dateEnUS | |
|
||||
| 日语 | jaJP | dateJaJP | |
|
||||
| 俄罗斯语 | ruRU | dateRuRU | |
|
||||
| 乌克兰语 | ukUA | dateUkUA | |
|
||||
| 简体中文 | zhCN | dateZhCN | |
|
||||
| 繁体中文 | zhTW | dateZhTW | |
|
||||
| 印度尼西亚 | idID | dateIdID | |
|
||||
| 德语 | deDE | dateDeDe | |
|
||||
| 书面挪威语 | nbNO | dateNbNO | |
|
||||
| 法语 | frFR | dateFrFR | |
|
||||
| 西班牙语(阿根廷) | esAR | dateEsAR | 2.24.2 |
|
||||
| 意大利语 | itIT | dateItIT | 2.24.2 |
|
||||
| 英国英语 | enGB | dateEnGB | 2.25.1 |
|
||||
| 波兰语(波兰) | plPL | datePlPL | NEXT_VERSION |
|
||||
| 世界语 | eo | dateEo | NEXT_VERSION |
|
||||
| 语言 | 配置 | 日期配置 | 版本 |
|
||||
| ----------------- | ---- | -------- | ------ |
|
||||
| 英语 | enUS | dateEnUS | |
|
||||
| 日语 | jaJP | dateJaJP | |
|
||||
| 俄罗斯语 | ruRU | dateRuRU | |
|
||||
| 乌克兰语 | ukUA | dateUkUA | |
|
||||
| 简体中文 | zhCN | dateZhCN | |
|
||||
| 繁体中文 | zhTW | dateZhTW | |
|
||||
| 印度尼西亚 | idID | dateIdID | |
|
||||
| 德语 | deDE | dateDeDe | |
|
||||
| 书面挪威语 | nbNO | dateNbNO | |
|
||||
| 法语 | frFR | dateFrFR | |
|
||||
| 西班牙语(阿根廷) | esAR | dateEsAR | 2.24.2 |
|
||||
| 意大利语 | itIT | dateItIT | 2.24.2 |
|
||||
| 英国英语 | enGB | dateEnGB | 2.25.1 |
|
||||
| 波兰语(波兰) | plPL | datePlPL | 2.25.2 |
|
||||
| 世界语 | eo | dateEo | 2.25.2 |
|
||||
|
||||
## 在现有国际化基础上调整
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "2.25.1",
|
||||
"version": "2.25.2",
|
||||
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -27,8 +27,8 @@ processing.vue
|
||||
| circle-gap | `number` | `1` | The gap between circles when type is `'multiple-circle'`, suppose `viewbox` size is `100`. | |
|
||||
| color | `string \| string[]` | `undefined` | Progress color. | |
|
||||
| fill-border-radius | `number \| string` | `undefined` | `'line'` typed progress's fill's border-radius. Keep `border-radius` if not passed. | |
|
||||
| gap-degree | `number` | `75` | The gap degree of half circle, 0 ~ 360. | NEXT_VERSION |
|
||||
| gap-offset-degree | `number` | `0` | The gap offset degree. | NEXT_VERSION |
|
||||
| gap-degree | `number` | `75` | The gap degree of half circle, 0 ~ 360. | 2.25.2 |
|
||||
| gap-offset-degree | `number` | `0` | The gap offset degree. | 2.25.2 |
|
||||
| height | `number` | `undefined` | `'line'` typed progress's height. Keep default height if not passed. | |
|
||||
| indicator-placement | `'inside' \| 'outside'` | `'outside'` | Indicator placement. | |
|
||||
| indicator-text-color | `string` | `undefined` | Indicator text color. | |
|
||||
@ -40,7 +40,7 @@ processing.vue
|
||||
| show-indicator | `boolean` | `true` | Whether to display indicators. | |
|
||||
| status | `'default' \| 'success' \| 'error' \| 'warning' \| 'info'` | `'default'` | Progress status. | |
|
||||
| stroke-width | `number` | `7` | Progress width. | |
|
||||
| type | `'line' \| 'circle' \| 'multiple-circle' \| 'dashboard'` | `line` | Progress type. | `'dashboard'` NEXT_VERSION |
|
||||
| type | `'line' \| 'circle' \| 'multiple-circle' \| 'dashboard'` | `line` | Progress type. | `'dashboard'` 2.25.2 |
|
||||
| unit | `string` | `%` | Progress unit. | |
|
||||
|
||||
### Progress Slots
|
||||
|
@ -27,8 +27,8 @@ processing.vue
|
||||
| circle-gap | `number` | `1` | 当类型是 `'multiple-circle'` 的时候圈之间的距离,假设 `viewbox` 的尺寸是 `100` | |
|
||||
| color | `string \| string[]` | `undefined` | 进度条颜色 | |
|
||||
| fill-border-radius | `number \| string` | `undefined` | `'line'` 类型进度条填充的圆角半径,不填写则维持 `border-radius` | |
|
||||
| gap-degree | `number` | `75` | 仪表盘进度条缺口角度,取值范围 0 ~ 360 | NEXT_VERSION |
|
||||
| gap-offset-degree | `number` | `0` | 仪表盘进度条缺口位置 | NEXT_VERSION |
|
||||
| gap-degree | `number` | `75` | 仪表盘进度条缺口角度,取值范围 0 ~ 360 | 2.25.2 |
|
||||
| gap-offset-degree | `number` | `0` | 仪表盘进度条缺口位置 | 2.25.2 |
|
||||
| height | `number` | `undefined` | `'line'` 类型进度条的高度,不填写则维持默认高度 | |
|
||||
| indicator-placement | `'inside' \| 'outside'` | `'outside'` | 设置指标位置 | |
|
||||
| indicator-text-color | `string` | `undefined` | 指标文本颜色 | |
|
||||
@ -40,7 +40,7 @@ processing.vue
|
||||
| show-indicator | `boolean` | `true` | 是否显示指标 | |
|
||||
| status | `'default' \| 'success' \| 'error' \| 'warning' \| 'info'` | `'default'` | 进度条状态 | |
|
||||
| stroke-width | `number` | `7` | 进度条宽度 | |
|
||||
| type | `'line' \| 'circle' \| 'multiple-circle' \| 'dashboard'` | `line` | 进度条类型 | `'dashboard'` NEXT_VERSION |
|
||||
| type | `'line' \| 'circle' \| 'multiple-circle' \| 'dashboard'` | `line` | 进度条类型 | `'dashboard'` 2.25.2 |
|
||||
| unit | `string` | `%` | 进度条单位 | |
|
||||
|
||||
### Progress Slots
|
||||
|
@ -38,7 +38,7 @@ tag-input.vue
|
||||
| --- | --- | --- | --- | --- |
|
||||
| consistent-menu-width | `boolean` | `true` | Whether the menu keeps its width the same as the select trigger element. Setting it to `false` will also disable `virtual-scroll`. | |
|
||||
| clearable | `boolean` | `false` | Whether the value is clearable. | |
|
||||
| clear-filter-after-select | `boolean` | `true` | When multiple and filter is true, whether to clear filter keyword after select an option. | NEXT_VERSION |
|
||||
| clear-filter-after-select | `boolean` | `true` | When multiple and filter is true, whether to clear filter keyword after select an option. | 2.25.2 |
|
||||
| default-value | `Array<string \| number> \| string \| number \| null` | `null` | Default value. | |
|
||||
| disabled | `boolean` | `false` | Whether to disable the select. | |
|
||||
| fallback-option | `false \| (value: string \| number) => SelectOption` | `value => ({ label: '' + value, value })` | The option to be created using the value which has no corresponding option value. If set to `false`, the fallback option won't be created and displayed. | |
|
||||
|
@ -44,7 +44,7 @@ filterable-debug.vue
|
||||
| --- | --- | --- | --- | --- |
|
||||
| consistent-menu-width | `boolean` | `true` | 菜单宽度是否和选择触发器一致,设为 `false` 会使 `virtual-scroll` 失效 | |
|
||||
| clearable | `boolean` | `false` | 是否可清空 | |
|
||||
| clear-filter-after-select | `boolean` | `true` | 是否在可过滤和多选的情况下选中一个选项后保留当前的搜索关键词 | NEXT_VERSION |
|
||||
| clear-filter-after-select | `boolean` | `true` | 是否在可过滤和多选的情况下选中一个选项后保留当前的搜索关键词 | 2.25.2 |
|
||||
| default-value | `Array<string \| number> \| string \| number \| null` | `null` | 非受控模式下的默认值 | |
|
||||
| disabled | `boolean` | `false` | 是否禁用 | |
|
||||
| fallback-option | `false \| (value: string \| number) => SelectOption` | `value => ({ label: '' + value, value })` | 在传入的选项中没有对应当前值的选项时,这个值应该对应的选项。如果设为 `false`,不会为找不到对应选项的值生成回退选项也不会显示它,未在选项中的值会被视为不合法,操作过程中会被组件清除掉 | |
|
||||
|
@ -1 +1 @@
|
||||
export default '2.25.1'
|
||||
export default '2.25.2'
|
||||
|
Loading…
Reference in New Issue
Block a user