@tekkare/auriga 0.1.50 → 0.1.51

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.50"
7
+ "version": "0.1.51"
8
8
  }
@@ -23,6 +23,7 @@ import argIcon from "./argIcon.vue";
23
23
  import {
24
24
  onMounted,
25
25
  ref,
26
+ watch,
26
27
  defineComponent
27
28
  } from "vue";
28
29
  export default defineComponent({
@@ -56,6 +57,15 @@ export default defineComponent({
56
57
  selectedRadio.value = props.defaultSelect;
57
58
  }
58
59
  });
60
+ watch(
61
+ () => props.defaultSelect,
62
+ (new_default) => {
63
+ if (typeof new_default === "number") {
64
+ selectedRadio.value = new_default;
65
+ } else
66
+ selectedRadio.value = null;
67
+ }
68
+ );
59
69
  function selectRadio(index, value) {
60
70
  selectedRadio.value = index;
61
71
  if (props.returnValue) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",