@veritree/ui 0.84.3 → 0.85.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veritree/ui",
3
- "version": "0.84.3",
3
+ "version": "0.85.0",
4
4
  "description": "veritree ui library",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -55,6 +55,10 @@ export default {
55
55
  type: Boolean,
56
56
  default: false,
57
57
  },
58
+ stopPropagation: {
59
+ type: Boolean,
60
+ default: false,
61
+ },
58
62
  },
59
63
 
60
64
  data() {
@@ -160,6 +164,9 @@ export default {
160
164
  },
161
165
 
162
166
  onClick(e) {
167
+ if (this.stopPropagation) {
168
+ e.stopPropagation();
169
+ }
163
170
  this.init(e);
164
171
  this.$emit('click');
165
172
  },