@opentinyvue/vue-dropdown-item 2.27.0 → 2.29.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.
package/lib/index.js CHANGED
@@ -97,7 +97,7 @@ var dropdownItemProps = _extends({}, $props, {
97
97
  type: String,
98
98
  default: "right"
99
99
  },
100
- effect: {
100
+ tipEffect: {
101
101
  type: String,
102
102
  default: "light"
103
103
  }
package/lib/pc.js CHANGED
@@ -60,7 +60,7 @@ var __vue2_script = defineComponent({
60
60
  "textField",
61
61
  "tip",
62
62
  "tipPosition",
63
- "effect",
63
+ "tipEffect",
64
64
  "isMono"
65
65
  ]),
66
66
  components: {
@@ -87,16 +87,17 @@ var render = function render2() {
87
87
  value: _vm.state.computedTip ? {
88
88
  always: true,
89
89
  content: _vm.state.computedTip,
90
- effect: _vm.effect,
90
+ effect: _vm.tipEffect,
91
91
  placement: _vm.tipPosition
92
92
  } : false,
93
- expression: "\n state.computedTip ? { always: true, content: state.computedTip, effect, placement: tipPosition } : false\n "
93
+ expression: "\n state.computedTip ? { always: true, content: state.computedTip, effect: tipEffect, placement: tipPosition } : false\n "
94
94
  }],
95
95
  ref: "dropdownItem",
96
96
  class: ["tiny-dropdown-item", "tiny-dropdown-menu__item", _vm.state.sizeClass, _vm.disabled ? "is-disabled" : "", _vm.divided ? "tiny-dropdown-item--divided tiny-dropdown-menu__item--divided" : "", _vm.state.checkedStatus && _vm.selected ? "tiny-dropdown-item--check-status" : "", _vm.itemData.children && _vm.itemData.children.length ? "has-children" : ""],
97
97
  attrs: {
98
98
  "aria-disabled": _vm.disabled,
99
- "tabindex": _vm.disabled ? null : -1
99
+ "tabindex": _vm.disabled ? null : -1,
100
+ "role": "menuitem"
100
101
  },
101
102
  on: {
102
103
  "click": function click($event) {
@@ -138,7 +139,8 @@ var render = function render2() {
138
139
  "disabled": item.disabled,
139
140
  "divided": item.divided,
140
141
  "tip": item.tip,
141
- "tip-position": item.tipPosition
142
+ "tip-position": item.tipPosition,
143
+ "tip-effect": item.tipEffect
142
144
  }
143
145
  }, [_vm._t("default", null, {
144
146
  "itemData": item
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dropdown-item",
3
3
  "type": "module",
4
- "version": "2.27.0",
4
+ "version": "2.29.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": "~2.27.0",
12
- "@opentinyvue/vue-directive": "~2.27.0",
13
- "@opentinyvue/vue-icon": "~2.27.0",
14
- "@opentinyvue/vue-renderless": "~3.27.0",
15
- "@opentinyvue/vue-theme": "~3.27.0"
11
+ "@opentinyvue/vue-common": "~2.29.0",
12
+ "@opentinyvue/vue-directive": "~2.29.0",
13
+ "@opentinyvue/vue-icon": "~2.29.0",
14
+ "@opentinyvue/vue-renderless": "~3.29.0",
15
+ "@opentinyvue/vue-theme": "~3.29.0"
16
16
  },
17
17
  "types": "index.d.ts",
18
18
  "scripts": {
package/src/index.d.ts CHANGED
@@ -78,7 +78,7 @@ export declare const dropdownItemProps: {
78
78
  type: StringConstructor;
79
79
  default: string;
80
80
  };
81
- effect: {
81
+ tipEffect: {
82
82
  type: StringConstructor;
83
83
  default: string;
84
84
  };