@magicgol/polyjuice 0.36.0 → 0.36.1

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.36.0",
3
+ "version": "0.36.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -3,6 +3,7 @@
3
3
  class="p-3"
4
4
  :class="classes"
5
5
  :selected="selected"
6
+ @click="$emit('click')"
6
7
  >
7
8
  <slot></slot>
8
9
  </div>
@@ -3,6 +3,7 @@
3
3
  <input
4
4
  class="d-none"
5
5
  type="radio"
6
+ :name="name"
6
7
  :value="value"
7
8
  @input="onInput"
8
9
  />
@@ -26,6 +27,11 @@ export default {
26
27
  type: Boolean,
27
28
  default: false
28
29
  },
30
+
31
+ name: {
32
+ type: String,
33
+ default: 'radio'
34
+ },
29
35
  },
30
36
 
31
37
  computed: {