@imaginario27/air-ui-ds 1.0.6 → 1.0.7

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.
@@ -421,7 +421,15 @@ watch(() => props.modelValue, (newValue) => {
421
421
 
422
422
  } else {
423
423
  const newSelected = props.options.find(option => option.value === newValue) as SelectOption
424
- selected.value = newSelected || { text: props.placeholder } // Default to placeholder if no match
424
+ selected.value = newSelected || {
425
+ text: props.placeholder,
426
+ value: (
427
+ typeof props.modelValue === 'string' ||
428
+ typeof props.modelValue === 'number'
429
+ )
430
+ ? props.modelValue
431
+ : ''
432
+ }
425
433
  }
426
434
  })
427
435
 
@@ -93,7 +93,7 @@
93
93
 
94
94
  <script setup lang="ts">
95
95
  // Imports
96
- //@ts-expect-error: vue3-dropzone has no types; using JS import
96
+ // @ts-expect-error: No type definitions available for vue3-dropzone
97
97
  import Vue3Dropzone from '@jaxtheprime/vue3-dropzone'
98
98
  import '@jaxtheprime/vue3-dropzone/dist/style.css'
99
99
 
@@ -1,6 +1,3 @@
1
- import { FormValidationMode } from '@/models/enums/formValidations'
2
- import { useFormValidationMode } from '@/composables/useFormValidationMode'
3
-
4
1
  export const useForm = <
5
2
  T extends Record<string, any>
6
3
  >(options: {
package/eslint.config.mjs CHANGED
@@ -10,5 +10,6 @@ export default withNuxt({
10
10
  'vue/require-default-prop': 'off',
11
11
  'vue/multi-word-component-names': 'off',
12
12
  '@typescript-eslint/no-explicit-any': 'warn',
13
+ '@typescript-eslint/ban-ts-comment': 'error'
13
14
  }
14
15
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@imaginario27/air-ui-ds",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "author": "imaginario27",
5
5
  "type": "module",
6
6
  "homepage": "https://air-ui.netlify.app/",
@@ -50,7 +50,7 @@
50
50
  "playwright-core": "1.55.1",
51
51
  "prettier": "3.6.2",
52
52
  "ts-node": "10.9.2",
53
- "typescript": "5.9.2",
53
+ "typescript": "5.9.3",
54
54
  "vitest": "3.2.4"
55
55
  }
56
56
  }