@magicgol/polyjuice 0.33.5 → 0.33.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.33.5",
3
+ "version": "0.33.6",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -6,7 +6,10 @@
6
6
  <div class="p-2">
7
7
  <slot></slot>
8
8
  </div>
9
- <div class="mg-filter-option-circle d-flex align-items-center justify-content-center bg-white rounded-circle">
9
+ <div
10
+ class="mg-filter-option-circle d-flex align-items-center justify-content-center bg-white rounded-circle"
11
+ @click="onClick"
12
+ >
10
13
  <svgicon name="x"></svgicon>
11
14
  </div>
12
15
  </div>
@@ -23,6 +26,12 @@ export default {
23
26
  };
24
27
  }
25
28
  },
29
+
30
+ methods: {
31
+ onClick () {
32
+ this.$emit('click');
33
+ }
34
+ }
26
35
  };
27
36
  </script>
28
37
 
@@ -39,6 +48,7 @@ export default {
39
48
  height: 2rem;
40
49
 
41
50
  &-circle {
51
+ cursor: pointer;
42
52
  height: 1.5rem;
43
53
  width: 1.5rem;
44
54