wave-ui 1.67.2 → 1.67.4

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": "1.67.2",
3
+ "version": "1.67.4",
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",
@@ -314,8 +314,10 @@ export default {
314
314
 
315
315
  return file
316
316
  }))
317
- this.$emit('update:modelValue', this.inputFiles)
318
- this.$emit('input', this.inputFiles)
317
+
318
+ const filesPayload = this.multiple ? this.inputFiles : this.inputFiles[0]
319
+ this.$emit('update:modelValue', filesPayload)
320
+ this.$emit('input', filesPayload)
319
321
  },
320
322
 
321
323
  // For file input.
@@ -413,10 +415,7 @@ $inactive-color: #777;
413
415
  &--round {border-radius: 99em;}
414
416
  &--tile {border-radius: initial;}
415
417
  &--shadow {box-shadow: $box-shadow;}
416
- &--loading, &--upload-complete {
417
- border-bottom-color: transparent;
418
- flex-wrap: wrap;
419
- }
418
+ &--loading, &--upload-complete {flex-wrap: wrap;}
420
419
  &--loading ~ .w-progress {
421
420
  height: 2px;
422
421
  position: absolute;
@@ -425,8 +424,7 @@ $inactive-color: #777;
425
424
  }
426
425
 
427
426
  .w-input--focused & {border-color: currentColor;}
428
- .w-input--focused &--loading,
429
- .w-input--focused &--upload-complete {border-bottom-color: transparent;}
427
+ .w-input--focused &--loading {border-bottom-color: transparent;}
430
428
 
431
429
  // Underline.
432
430
  &--underline:after {
@@ -442,8 +440,6 @@ $inactive-color: #777;
442
440
  pointer-events: none;
443
441
  }
444
442
 
445
- &--loading:after {border-bottom-color: transparent;}
446
-
447
443
  .w-input--focused &--underline:after {transform: scaleX(1);}
448
444
  &--round.w-input__input-wrap--underline:after {
449
445
  border-radius: 99em;