mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-03-13 13:59:04 +08:00
2.25.7
This commit is contained in:
parent
28a4c215db
commit
75e1c32800
@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 2.25.6
|
||||
## 2.25.7
|
||||
|
||||
### Fixes
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
### Feats
|
||||
|
||||
- `n-collapse` add `RTL` support.
|
||||
- `useMessage` adds `create` methods.
|
||||
- `useMessage` adds `showIcon` prop, closes [#2495](https://github.com/TuSimple/naive-ui/issues/2495).
|
||||
- `useMessage` supports `'default'` `type`.
|
||||
- `n-checkbox` supports label line wrap, closes [#2419](https://github.com/TuSimple/naive-ui/issues/2419).
|
||||
|
@ -1,6 +1,6 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 2.25.5
|
||||
## 2.25.7
|
||||
|
||||
### Fixes
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
### Feats
|
||||
|
||||
- `n-collapse` 添加 `RTL` 支持
|
||||
- `useMessage` 新增 `create` 方法
|
||||
- `useMessage` 新增 `showIcon` 属性,关闭 [#2495](https://github.com/TuSimple/naive-ui/issues/2495)
|
||||
- `useMessage` 支持 `'default'` 的 `type`
|
||||
- `n-checkbox` 支持内容折行,关闭 [#2419](https://github.com/TuSimple/naive-ui/issues/2419)
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "2.25.5",
|
||||
"version": "2.25.7",
|
||||
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
|
@ -73,7 +73,7 @@ no-icon.vue
|
||||
| Name | Type | Description | Version |
|
||||
| --- | --- | --- | --- |
|
||||
| destroyAll | `() => void` | Destroy all popup messages. | |
|
||||
| create | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | Use error type message. | NEXT_VERSION |
|
||||
| create | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | Use error type message. | 2.25.7 |
|
||||
| error | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | Use error type message. | |
|
||||
| info | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | Use info type message. | |
|
||||
| loading | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | Use loading type message. | |
|
||||
@ -89,8 +89,8 @@ no-icon.vue
|
||||
| icon | `() => VNodeChild` | Message icon. | |
|
||||
| keepAliveOnHover | `boolean` | Messages whether to destroy while hover. | |
|
||||
| render | `MessageRenderMessage` | Render function of the entire message. | 2.24.0 |
|
||||
| showIcon | `boolean` | Whether to show icon. | NEXT_VERSION |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | Message type. | `'default'` NEXT_VERSION |
|
||||
| showIcon | `boolean` | Whether to show icon. | 2.25.7 |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | Message type. | `'default'` 2.25.7 |
|
||||
| onAfterLeave | `() => void` | Callback after message disappeared. | |
|
||||
| onClose | `() => void` | Callback when close icon is clicked. | |
|
||||
| onLeave | `() => void` | Callback when message start to disappear. | |
|
||||
@ -116,8 +116,8 @@ type MessageRenderMessage = (props: {
|
||||
| destroy | `() => void` | Message destroy method. | |
|
||||
| icon | `() => VNodeChild` | Message icon. | |
|
||||
| keepAliveOnHover | `boolean` | Messages whether to destroy while hover | |
|
||||
| showIcon | `boolean` | Whether to show icon. | NEXT_VERSION |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | Message type. | `'default'` NEXT_VERSION |
|
||||
| showIcon | `boolean` | Whether to show icon. | 2.25.7 |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | Message type. | `'default'` 2.25.7 |
|
||||
| onAfterLeave | `() => void` | Callback after message disappeared. | |
|
||||
| onLeave | `() => void` | Callback when message start to disappear. | |
|
||||
|
||||
|
@ -73,7 +73,7 @@ no-icon.vue
|
||||
| 名称 | 类型 | 说明 | 版本 |
|
||||
| --- | --- | --- | --- |
|
||||
| destroyAll | `() => void` | 销毁所有弹出的信息 | |
|
||||
| create | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | 调用 error 类型的信息 | NEXT_VERSION |
|
||||
| create | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | 调用 error 类型的信息 | 2.25.7 |
|
||||
| error | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | 调用 error 类型的信息 | |
|
||||
| info | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | 调用 info 类型的信息 | |
|
||||
| loading | `(content: string \| (() => VNodeChild), option?: MessageOption) => MessageReactive` | 调用 loading 类型的信息 | |
|
||||
@ -89,8 +89,8 @@ no-icon.vue
|
||||
| icon | `() => VNodeChild` | 信息图标 | |
|
||||
| keepAliveOnHover | `boolean` | Hover 到信息上是否不销毁 | |
|
||||
| render | `MessageRenderMessage` | 消息的渲染函数 | 2.24.0 |
|
||||
| showIcon | `boolean` | 是否展示图标 | NEXT_VERSION |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | 信息类型 | `'default'` NEXT_VERSION |
|
||||
| showIcon | `boolean` | 是否展示图标 | 2.25.7 |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | 信息类型 | `'default'` 2.25.7 |
|
||||
| onAfterLeave | `() => void` | 信息消失动画结束的回调 | |
|
||||
| onClose | `() => void` | 点击关闭图标的回调 | |
|
||||
| onLeave | `() => void` | 信息开始消失的回调 | |
|
||||
@ -116,8 +116,8 @@ type MessageRenderMessage = (props: {
|
||||
| destroy | `() => void` | 销毁信息的方法 | |
|
||||
| icon | `() => VNodeChild` | 信息图标 | |
|
||||
| keepAliveOnHover | `boolean` | Hover 到信息上是否不销毁 | |
|
||||
| showIcon | `boolean` | 是否展示图标 | NEXT_VERSION |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | 信息类型 | `'default'` NEXT_VERSION |
|
||||
| showIcon | `boolean` | 是否展示图标 | 2.25.7 |
|
||||
| type | `'info' \| 'success' \| 'warning' \| 'error' \| 'loading' \| 'default'` | 信息类型 | `'default'` 2.25.7 |
|
||||
| onAfterLeave | `() => void` | 信息消失动画结束的回调 | |
|
||||
| onLeave | `() => void` | 信息开始消失的回调 | |
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { CNode } from 'css-render'
|
||||
import { map } from 'lodash'
|
||||
import { map } from 'lodash-es'
|
||||
import { FollowerPlacement } from 'vueuc'
|
||||
import { c, cB, cM, cNotM, cE, cCB } from '../../../_utils/cssr'
|
||||
|
||||
|
@ -1 +1 @@
|
||||
export default '2.25.5'
|
||||
export default '2.25.7'
|
||||
|
Loading…
Reference in New Issue
Block a user