@policystudio/policy-studio-ui-vue 1.2.0-access.65 → 1.2.0-access.67

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.2.0-access.65",
3
+ "version": "1.2.0-access.67",
4
4
  "description": "Policy Studio UI",
5
5
  "author": "Policy Studio Team",
6
6
  "scripts": {
@@ -23,7 +23,7 @@
23
23
  //FIGMA CONTROLS & SELECTORS https://www.figma.com/file/Tto8hrNlSfuPcwd1pfqogF/%E2%9A%A1%EF%B8%8F-Design-System?node-id=1768%3A64852
24
24
  import { computed, getCurrentInstance } from 'vue'
25
25
 
26
- const emit = defineEmits('change', 'update:value')
26
+ const emit = defineEmits(['change', 'update:value'])
27
27
 
28
28
  const props = defineProps({
29
29
  label: {
@@ -101,7 +101,7 @@ const getComponentClass = computed(() => {
101
101
  })
102
102
 
103
103
  const selectedId = computed(() => {
104
- return this.label ? this.label.toLowerCase().replace(/\s+/g, '-') : `select-${Math.random().toString(36).substr(2, 9)}`
104
+ return props.label ? props.label.toLowerCase().replace(/\s+/g, '-') : `select-${Math.random().toString(36).substr(2, 9)}`
105
105
  })
106
106
 
107
107
  const childValue = computed({