Skip to content

Commit

Permalink
Merge pull request #420 from ielgnaw/patch
Browse files Browse the repository at this point in the history
feat: bump to 2.5.7
  • Loading branch information
ielgnaw authored Jul 24, 2023
2 parents da447c2 + 0a39e78 commit 56d811c
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 24 deletions.
14 changes: 14 additions & 0 deletions example/components/changelog/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,20 @@

<div class="changelog-wrapper">

### 2.5.7 {page=#/changelog}
###### 2023.07.24

* **[add]**:
- [Select 下拉选框](#/select) 多选新增 [checkbox 模式](#/select?anchor=duo-xuan)
- [SearchSelect 查询选择器](#/searchselect) 新增 [checkbox 模式](#/search-select?anchor=checkbox-mo-shi)
- [SearchSelect 查询选择器](#/searchselect) 新增推荐搜索选择的功能
- [Message 消息提示](#/message) 支持[规范化高阶使用配置](#/message?anchor=gao-jie-yong-fa)
- [Message 消息提示](#/message) 支持自定义 z-index
* **[fix]**:
- [Cascade 级联选框](#/cascade) 修复 filterable 和 check-any-level 卡死的问题 [#407](https://github.com/TencentBlueKing/bkui-vue2/issues/407)

---

### 2.5.6 {page=#/changelog}
###### 2023.06.21

Expand Down
9 changes: 5 additions & 4 deletions example/components/message/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
ellipsisLine: 2,
ellipsisCopy: true
})

}
}
}
Expand Down Expand Up @@ -394,12 +394,12 @@



### 内容超出被截断时显示复制按钮
### 内容超出被截断时显示复制按钮 {page=#/message}

:::demo 内容超出被截断时显示复制按钮
```html
<template>
<bk-button type="primary" @click="handleAdvancedMessage">内容超出被截断时显示复制按钮</bk-button>
<bk-button type="primary" @click="handleCopyMessage">内容超出被截断时显示复制按钮</bk-button>
</template>

<script>
Expand Down Expand Up @@ -432,8 +432,9 @@
}
</script>
```
:::

### 高阶用法
### 高阶用法 {page=#/message}

:::demo 高阶用法
```html
Expand Down
2 changes: 1 addition & 1 deletion example/components/navigation/demo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
</template>

<script>
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkNavigationMenuGroup, bkSelect, bkOption, bkPopover, bkButton } from 'bk-magic-vue'
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkNavigationMenuGroup, bkSelect, bkOption, bkPopover, bkButton } from '@'
export default {
name: 'monitor-navigation',
components: {
Expand Down
2 changes: 1 addition & 1 deletion example/components/navigation/demo1.vue
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
</template>

<script>
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkSelect, bkOption, bkPopover, bkButton } from 'bk-magic-vue'
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkSelect, bkOption, bkPopover, bkButton } from '@'
export default {
name: 'monitor-navigation',
components: {
Expand Down
4 changes: 2 additions & 2 deletions example/components/navigation/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ export default {
</template>

<script>
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkSelect, bkOption, bkPopover, bkButton } from 'bk-magic-vue'
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkSelect, bkOption, bkPopover, bkButton } from '@'
export default {
name: 'monitor-navigation',
components: {
Expand Down Expand Up @@ -1914,7 +1914,7 @@ box-shadow:none;
</template>

<script>
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkNavigationMenuGroup, bkSelect, bkOption, bkPopover, bkButton } from 'bk-magic-vue'
import { bkNavigation, bkNavigationMenu, bkNavigationMenuItem, bkNavigationMenuGroup, bkSelect, bkOption, bkPopover, bkButton } from '@'
export default {
name: 'monitor-navigation',
components: {
Expand Down
2 changes: 1 addition & 1 deletion example/components/search-select/example.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</template>

<script>
import { bkSearchSelect } from 'bk-magic-vue'
import { bkSearchSelect } from '@'
export default {
name: 'demo',
Expand Down
24 changes: 12 additions & 12 deletions example/components/search-select/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@
## Search 查询搜索
功能组件,用于将搜索查询项集中在一个选择器中,搜索查询更加便捷、简单

### 基础使用 {page=#/searchselect}
### 基础使用 {page=#/search-select}
::: demo 基础使用

``` html
Expand Down Expand Up @@ -419,7 +419,7 @@

:::

### CheckBox模式 {page=#/searchselect}
### CheckBox模式 {page=#/search-select}
::: demo CheckBox模式

``` html
Expand Down Expand Up @@ -509,7 +509,7 @@

:::

### 自定义过滤列表 {page=#/searchselect}
### 自定义过滤列表 {page=#/search-select}
::: demo 自定义过滤列表

``` html
Expand Down Expand Up @@ -611,7 +611,7 @@

:::

### 远程加载列表 {page=#/searchselect}
### 远程加载列表 {page=#/search-select}
::: demo 远程加载列表

``` html
Expand Down Expand Up @@ -736,7 +736,7 @@

:::

### 多选子列表 {page=#/searchselect}
### 多选子列表 {page=#/search-select}
::: demo 多选子列表

``` html
Expand Down Expand Up @@ -830,7 +830,7 @@

:::

### 配置子项搜索条件 {page=#/searchselect}
### 配置子项搜索条件 {page=#/search-select}
::: demo 配置子项搜索条件 此功能与multiable是互斥的 如果同时配置则multiable的权重将更大

``` html
Expand Down Expand Up @@ -968,7 +968,7 @@
```

:::
### 配置子项校验及自定义placeholder提示 {page=#/searchselect}
### 配置子项校验及自定义placeholder提示 {page=#/search-select}
::: demo 配置子项校验及自定义placeholder提示,校验的信息既可以通过validate函数返回也可以通过validate-message属性传入或者通过validate插槽设置

``` html
Expand Down Expand Up @@ -1070,7 +1070,7 @@
```

:::
### 配置其他属性 {page=#/searchselect}
### 配置其他属性 {page=#/search-select}
::: demo 配置其他属性

``` html
Expand Down Expand Up @@ -1169,7 +1169,7 @@

:::

### 属性 {page=#/searchselect}
### 属性 {page=#/search-select}
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|------|------|------|------|------|
| data | 显示的数据 | Array | —— | —— |
Expand Down Expand Up @@ -1205,7 +1205,7 @@
| ext-cls | 配置自定义样式类名,传入的类会被加在组件最外层的 DOM `.search-select-wrap`| String | —— | —— |
| selected-style | 勾选模式 | String | check/checkbox | check |

### 事件 {page=#/searchselect}
### 事件 {page=#/search-select}
| 事件名称 | 说明 | 回调参数 |
|------|------|------|
| show-menu | 父列表显示时触发的事件 | menuInstance |
Expand All @@ -1223,15 +1223,15 @@
| clear | 当用户点击清空时触发该事件 | event |
| search | 当用户点击搜索图标时触发该事件 | event |

### 方法 {page=#/searchselect}
### 方法 {page=#/search-select}
| 方法名 | 说明 | 参数 |
|------|------|------|
| getMenuInstance | 获取menu实例方法 | —— |
| getChildMenuInstance | 获取子列表实例方法 | —— |
| getInputInstance | 获取input框实例 | —— |


### 插槽 {page=#/searchselect}
### 插槽 {page=#/search-select}
| 插槽名 | 说明 | 参数 |
|------|------|------|
| prefix | 输入框前插槽 | —— |
Expand Down
4 changes: 2 additions & 2 deletions example/components/tooltips/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
content: '鼠标移入显示移出消失,浮层不承载复杂文本和操作。'
},
htmlConfig: {
allowHtml: true,
allowHTML: true,
width: 240,
trigger: 'click',
theme: 'light',
Expand Down Expand Up @@ -400,7 +400,7 @@
return {
seconds: 5,
htmlConfig: {
allowHtml: true,
allowHTML: true,
width: 240,
trigger: 'click',
theme: 'light',
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": "bk-magic-vue",
"version": "2.5.6",
"version": "2.5.7",
"description": "基于蓝鲸 Magicbox 和 Vue 的前端组件库",
"main": "dist/bk-magic-vue.min.js",
"files": [
Expand Down

0 comments on commit 56d811c

Please sign in to comment.