@policystudio/policy-studio-ui-vue 1.1.90-beta.34 → 1.1.90-beta.35

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": "@policystudio/policy-studio-ui-vue",
3
- "version": "1.1.90-beta.34",
3
+ "version": "1.1.90-beta.35",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -6,9 +6,11 @@
6
6
  <input
7
7
  :id="inputId"
8
8
  type="radio"
9
+ :name="inputId"
9
10
  :value="inputValue"
10
11
  v-model="model"
11
12
  :disabled="disabled"
13
+ :checked="isChecked"
12
14
  >
13
15
  <label
14
16
  :for="inputId"
@@ -74,4 +76,8 @@ const model = computed({
74
76
  emit('input', value)
75
77
  },
76
78
  })
79
+
80
+ const isChecked = computed(() => {
81
+ return props.inputValue === props.value
82
+ })
77
83
  </script>
@@ -54,7 +54,8 @@ import { randomString, getParentScrollableEl } from '../../util/GeneralFunctions
54
54
  import { ref, onBeforeUnmount } from 'vue'
55
55
 
56
56
  defineExpose({
57
- close:() => close()
57
+ close:() => close(),
58
+ open:() => open(),
58
59
  })
59
60
 
60
61
  const props = defineProps({