@pocketprep/ui-kit 3.0.7 → 3.0.8

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.
@@ -27,7 +27,7 @@
27
27
  ref="uikit-radio__item"
28
28
  v-dark="isDarkMode"
29
29
  class="uikit-radio__item"
30
- :value="item.value"
30
+ :data-value="item.value"
31
31
  :tabindex="disabled ? -1 : 0"
32
32
  :class="{
33
33
  'uikit-radio__item--selected': modelValue && item.value === modelValue.value,
@@ -107,7 +107,7 @@ export default class Radio extends Vue {
107
107
  // select option on enter or space
108
108
  if (e.key === 'Enter' || e.key === ' ') {
109
109
  e.preventDefault()
110
- const itemValue = (e.target as HTMLElement).getAttribute('value')
110
+ const itemValue = (e.target as HTMLElement).getAttribute('data-value')
111
111
  const item = this.data.find(i => String(i.value) === itemValue)
112
112
  item && this.selectItem(item)
113
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/ui-kit",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "Pocket Prep UI Kit",
5
5
  "author": "pocketprep",
6
6
  "scripts": {