@opentiny/vue-dropdown-item 2.11.0 → 2.11.1

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
@@ -112,7 +112,7 @@ var DropdownItem = defineComponent({
112
112
  });
113
113
  }
114
114
  });
115
- var version = "2.11.0";
115
+ var version = "2.11.1";
116
116
  DropdownItem.model = {
117
117
  prop: "modelValue",
118
118
  event: "update:modelValue"
package/lib/pc.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent, $prefix, props, setup as _setup } from "@opentiny/vue-common";
2
2
  import { renderless, api } from "@opentiny/vue-renderless/dropdown-item/vue";
3
3
  import { iconDeltaLeft } from "@opentiny/vue-icon";
4
- import Tooltip from "@opentiny/vue-tooltip";
4
+ import TinyTooltip from "@opentiny/vue-tooltip";
5
5
  import "@opentiny/vue-theme/dropdown-item/index.css";
6
6
  function normalizeComponent(scriptExports, render, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
7
7
  var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
@@ -64,7 +64,7 @@ var __vue2_script = defineComponent({
64
64
  props: [].concat(props, ["disabled", "divided", "icon", "itemData", "title", "titleClass", "options", "type", "label", "appendToBody", "textField", "selected", "selectedField", "multiStage", "currentIndex", "tip", "tipPosition"]),
65
65
  components: {
66
66
  IconDeltaLeft: iconDeltaLeft(),
67
- TinyTooltip: Tooltip
67
+ TinyTooltip
68
68
  },
69
69
  setup: function setup(props2, context) {
70
70
  return _setup({
@@ -116,11 +116,13 @@ var render = function render2() {
116
116
  }, [_vm.icon ? _c(_vm.icon, {
117
117
  tag: "component",
118
118
  staticClass: "tiny-svg-size"
119
- }) : _vm._e(), _vm._t("default", function() {
119
+ }) : _vm._e(), _c("span", {
120
+ staticClass: "tiny-dropdown-item__label"
121
+ }, [_vm._t("default", function() {
120
122
  return [_c("span", [_vm._v(_vm._s(_vm.label))])];
121
123
  }, {
122
124
  "itemData": _vm.itemData
123
- })], 2), _vm.itemData.children && _vm.itemData.children.length ? _c("ul", {
125
+ })], 2)], 1), _vm.itemData.children && _vm.itemData.children.length ? _c("ul", {
124
126
  class: ["tiny-dropdown-menu", "tiny-dropdown-item--child tiny-dropdown-menu__item--child", _vm.state.popperClass]
125
127
  }, _vm._l(_vm.itemData.children, function(item, index) {
126
128
  return _c("tiny-dropdown-item", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dropdown-item",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",