Skip to content

Commit 505c539

Browse files
committed
feat: update veui and autocomplete
1 parent 5861246 commit 505c539

File tree

6 files changed

+80
-60
lines changed

6 files changed

+80
-60
lines changed

one/docs/components/autocomplete.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@
107107
| -- | -- |
108108
| ``suggestions`` | [^slot-suggestions] |
109109
| ``option-label`` | [^slot-option-label] |
110+
| ``no-data`` | [^slot-no-data] |
110111

111112
^^^slot-suggestions
112-
113113
下拉建议面板插槽。
114114

115115
+++插槽参数
@@ -121,7 +121,6 @@
121121
^^^
122122

123123
^^^slot-option-label
124-
125124
下拉面板中选项插槽。
126125

127126
+++插槽参数
@@ -133,6 +132,16 @@
133132
+++
134133
^^^
135134

135+
^^^slot-no-data
136+
无匹配的候选项时需要展示的内容。默认在无候选项时关闭下拉菜单。
137+
138+
+++插槽参数
139+
| 名称 | 类型 | 描述 |
140+
| -- | -- | -- |
141+
| `keyword` | `string` | 搜索关键词。 |
142+
+++
143+
^^^
144+
136145
### 事件
137146

138147
| 名称 | 描述 |

one/docs/components/stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Stack <small>堆叠容器</small> 🧪
1+
# Stack <small>堆叠容器</small>
22

33
## 示例
44

one/docs/en-US/components/autocomplete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ Whether to remove leading and trailing spaces. When `true`, leading and trailing
107107
| -- | -- |
108108
| ``suggestions`` | [^slot-suggestions] |
109109
| ``option-label`` | [^slot-option-label] |
110+
| ``no-data`` | [^slot-no-data] |
110111

111112
^^^slot-suggestions
112113
Slot for the dropdown suggestion panel.
@@ -131,6 +132,16 @@ Slot for each option in the dropdown panel.
131132
+++
132133
^^^
133134

135+
^^^slot-no-data
136+
Content to be displayed when there are no matching options. By default, the dropdown menu is closed when there are no options.
137+
138+
+++Slot props
139+
| Name | Type | Description |
140+
| -- | -- | -- |
141+
| `keyword` | `string` | Search keyword. |
142+
+++
143+
^^^
144+
134145
### Events
135146

136147
| Name | Description |

one/docs/en-US/components/stack.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Stack 🧪
1+
# Stack
22

33
## Examples
44

package-lock.json

Lines changed: 51 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@vue/runtime-dom": "^3.2.31",
3030
"babel-eslint": "^10.1.0",
3131
"babel-plugin-lodash": "^3.3.4",
32-
"babel-plugin-veui": "^2.13.9",
32+
"babel-plugin-veui": "^2.14.0",
3333
"cheerio": "^1.0.0-rc.10",
3434
"dls-graphics": "^1.0.0-alpha.3",
3535
"dls-icons-vue": "^2.6.0",
@@ -92,10 +92,10 @@
9292
"typescript": "^4.6.2",
9393
"unist-util-remove": "^1.0.1",
9494
"unist-util-visit": "^1.4.0",
95-
"veui": "^2.13.9",
96-
"veui-loader": "^2.13.9",
97-
"veui-theme-dls": "^2.13.9",
98-
"veui-theme-dls-icons": "^2.13.9",
95+
"veui": "^2.14.0",
96+
"veui-loader": "^2.14.0",
97+
"veui-theme-dls": "^2.14.0",
98+
"veui-theme-dls-icons": "^2.14.0",
9999
"vue-awesome": "^4.5.0",
100100
"vue-frag": "^1.4.0",
101101
"vue-i18n": "^8.16.0",

0 commit comments

Comments
 (0)