@opentinyvue/vue-autocomplete 3.24.0 → 3.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/pc.js +2 -1
  2. package/package.json +8 -8
package/lib/pc.js CHANGED
@@ -65,7 +65,7 @@ var _hoisted_2 = {
65
65
  class: "tiny-autocomplete-suggestion__list-item tiny-autocomplete-suggestion__list-loading",
66
66
  role: "loading"
67
67
  };
68
- var _hoisted_3 = ["onClick", "id", "aria-selected"];
68
+ var _hoisted_3 = ["title", "onClick", "id", "aria-selected"];
69
69
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
70
70
  var _component_tiny_input = resolveComponent("tiny-input");
71
71
  var _component_icon_loading_shadow = resolveComponent("icon-loading-shadow");
@@ -160,6 +160,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
160
160
  renderList(_ctx.state.suggestions, function(item, index) {
161
161
  return openBlock(), createElementBlock("li", {
162
162
  key: index,
163
+ title: item[_ctx.valueKey],
163
164
  class: normalizeClass(["tiny-autocomplete-suggestion__list-item", {
164
165
  highlighted: _ctx.state.highlightedIndex === index,
165
166
  selected: _ctx.modelValue === item[_ctx.valueKey]
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-autocomplete",
3
3
  "type": "module",
4
- "version": "3.24.0",
4
+ "version": "3.25.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentinyvue/vue-common": "~3.24.0",
12
- "@opentinyvue/vue-directive": "~3.24.0",
13
- "@opentinyvue/vue-icon": "~3.24.0",
14
- "@opentinyvue/vue-input": "~3.24.0",
15
- "@opentinyvue/vue-renderless": "~3.24.0",
16
- "@opentinyvue/vue-scrollbar": "~3.24.0",
17
- "@opentinyvue/vue-theme": "~3.24.0"
11
+ "@opentinyvue/vue-common": "~3.25.0",
12
+ "@opentinyvue/vue-directive": "~3.25.0",
13
+ "@opentinyvue/vue-icon": "~3.25.0",
14
+ "@opentinyvue/vue-input": "~3.25.0",
15
+ "@opentinyvue/vue-renderless": "~3.25.0",
16
+ "@opentinyvue/vue-scrollbar": "~3.25.0",
17
+ "@opentinyvue/vue-theme": "~3.25.0"
18
18
  },
19
19
  "types": "index.d.ts",
20
20
  "scripts": {