@opentinyvue/vue-design-saas 2.26.0 → 2.27.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/index.js +2 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -88,6 +88,7 @@ var DropdownItem = {
88
88
  dataStore.currentIndex = "" + props.currentIndex;
89
89
  }
90
90
  dispatch("TinyDropdown", "selected-index", [dataStore.currentIndex]);
91
+ emit("click", dataStore.itemData, event);
91
92
  dispatch("TinyDropdownMenu", "menu-item-click", [dataStore.itemData, vm, dataStore.itemLabel, dataStore.showContent, props.disabled]);
92
93
  dispatch("TinyDropdown", "is-disabled", [props.disabled]);
93
94
  } else {
@@ -96,6 +97,7 @@ var DropdownItem = {
96
97
  if (!props.disabled) {
97
98
  emit("item-click", [props.itemData, vm, props.disabled]);
98
99
  }
100
+ emit("click", props.itemData, event);
99
101
  dispatch("TinyDropdown", "menu-item-click", [props.itemData, vm, props.disabled]);
100
102
  dispatch("TinyDropdown", "is-disabled", [props.disabled]);
101
103
  dispatch("TinyDropdown", "selected-index", [state.currentIndex]);
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-design-saas",
3
- "version": "2.26.0",
3
+ "version": "2.27.0",
4
4
  "main": "./index.js",
5
5
  "sideEffects": false,
6
6
  "type": "module",
7
7
  "dependencies": {
8
- "@opentinyvue/vue-icon": "~2.26.0"
8
+ "@opentinyvue/vue-icon": "~2.27.0"
9
9
  },
10
10
  "license": "MIT",
11
11
  "module": "./index.js",