@opentinyvue/vue-dropdown-item 3.26.0 → 3.28.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 +6 -6
package/lib/pc.js CHANGED
@@ -106,7 +106,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
106
106
  onMousedown: _cache[1] || (_cache[1] = withModifiers(function() {
107
107
  }, ["stop"])),
108
108
  "aria-disabled": _ctx.disabled,
109
- tabindex: _ctx.disabled ? null : -1
109
+ tabindex: _ctx.disabled ? null : -1,
110
+ role: "menuitem"
110
111
  }, [createElementVNode("div", _hoisted_2, [_ctx.itemData.children && _ctx.itemData.children.length ? (openBlock(), createElementBlock("span", _hoisted_3, [(openBlock(), createBlock(resolveDynamicComponent(_ctx.state.getIcon)))])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_4, [_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), {
111
112
  key: 0,
112
113
  class: "tiny-svg-size tiny-dropdown-item__pre-icon"
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dropdown-item",
3
3
  "type": "module",
4
- "version": "3.26.0",
4
+ "version": "3.28.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.26.0",
12
- "@opentinyvue/vue-directive": "~3.26.0",
13
- "@opentinyvue/vue-icon": "~3.26.0",
14
- "@opentinyvue/vue-renderless": "~3.26.0",
15
- "@opentinyvue/vue-theme": "~3.26.0"
11
+ "@opentinyvue/vue-common": "~3.28.0",
12
+ "@opentinyvue/vue-directive": "~3.28.0",
13
+ "@opentinyvue/vue-icon": "~3.28.0",
14
+ "@opentinyvue/vue-renderless": "~3.28.0",
15
+ "@opentinyvue/vue-theme": "~3.28.0"
16
16
  },
17
17
  "types": "index.d.ts",
18
18
  "scripts": {