wave-ui 3.4.6 → 3.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "3.4.6",
3
+ "version": "3.4.7",
4
4
  "description": "An emerging UI framework for Vue.js (2 & 3) with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "homepage": "https://antoniandre.github.io/wave-ui",
@@ -54,7 +54,7 @@
54
54
  "@babel/eslint-parser": "^7.22.10",
55
55
  "@babel/plugin-proposal-class-properties": "^7.18.6",
56
56
  "@faker-js/faker": "^7.6.0",
57
- "@mdi/font": "^5.9.55",
57
+ "@mdi/font": "^6.9.96",
58
58
  "@vitejs/plugin-vue": "^3.2.0",
59
59
  "@vue/compiler-sfc": "3.2.45",
60
60
  "autoprefixer": "^10.4.15",
@@ -322,8 +322,10 @@ export default {
322
322
 
323
323
  return file
324
324
  })
325
- this.$emit('update:modelValue', this.inputFiles)
326
- this.$emit('input', this.inputFiles)
325
+
326
+ const filesPayload = this.multiple ? this.inputFiles : this.inputFiles[0]
327
+ this.$emit('update:modelValue', filesPayload)
328
+ this.$emit('input', filesPayload)
327
329
  },
328
330
 
329
331
  // For file input.