wave-ui 1.45.14 → 1.45.15

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.45.14",
3
+ "version": "1.45.15",
4
4
  "description": "An emerging UI framework for Vue.js & Vue 3 with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "main": "./dist/wave-ui.umd.js",
@@ -261,6 +261,8 @@ export default {
261
261
  return file
262
262
  }))
263
263
  this.$emit('update:modelValue', this.inputFiles)
264
+ this.$emit('input', this.inputFiles)
265
+ this.$emit('change', this.inputFiles)
264
266
  },
265
267
 
266
268
  // For file input.
@@ -289,7 +291,7 @@ export default {
289
291
  // On page load, check if the field is autofilled by the browser.
290
292
  // 20211229. Only a problem on Chrome. Firefox ok, Safari always prompts before filling up.
291
293
  setTimeout(() => {
292
- if (this.$refs.input.matches(':-webkit-autofill')) this.isAutofilled = true
294
+ if (this.$refs.input && this.$refs.input.matches(':-webkit-autofill')) this.isAutofilled = true
293
295
  }, 400) // Can't be less than 350: time for the browser to autofill.
294
296
  },
295
297
 
@@ -367,96 +367,15 @@ export default {
367
367
 
368
368
  &--custom-transition {transform: none;}
369
369
 
370
- // &:after {
371
- // content: '';
372
- // position: absolute;
373
- // width: 0;
374
- // height: 0;
375
- // border: 6px solid transparent;
376
- // }
377
- // &--top:after {
378
- // top: 100%;
379
- // left: 50%;
380
- // border-top-color: $tooltip-bg-color;
381
- // transform: translateX(-50%);
382
- // margin-top: 1px;
383
- // }
384
- // &--bottom:after {
385
- // bottom: 100%;
386
- // left: 50%;
387
- // border-bottom-color: $tooltip-bg-color;
388
- // transform: translateX(-50%);
389
- // margin-bottom: 1px;
390
- // }
391
- // &--left:after {
392
- // left: 100%;
393
- // top: 50%;
394
- // border-left-color: $tooltip-bg-color;
395
- // transform: translateY(-50%);
396
- // margin-left: 1px;
397
- // }
398
- // &--right:after {
399
- // right: 100%;
400
- // top: 50%;
401
- // border-right-color: $tooltip-bg-color;
402
- // transform: translateY(-50%);
403
- // margin-right: 1px;
404
- // }
405
-
406
370
  // Tooltip without border.
407
- // --------------------------------------------------------
408
371
  &--no-border {
409
372
  @include triangle(var(--w-tooltip-bg-color), '.w-tooltip', 7px, 0);
410
373
  }
374
+
375
+ // Tooltip with border.
411
376
  &:not(&--no-border) {
412
377
  @include triangle(var(--w-tooltip-bg-color), '.w-tooltip', 7px);
413
378
  }
414
-
415
- // Tooltip with border.
416
- // --------------------------------------------------------
417
- // &:not(&--no-border).w-tooltip--top:after {margin-top: -1px;}
418
- // &:not(&--no-border).w-tooltip--bottom:after {margin-bottom: -1px;}
419
- // &:not(&--no-border).w-tooltip--left:after {margin-left: -1px;}
420
- // &:not(&--no-border).w-tooltip--right:after {margin-right: -1px;}
421
-
422
- // &:not(&--no-border) {
423
- // &:before {
424
- // content: '';
425
- // position: absolute;
426
- // width: 0;
427
- // height: 0;
428
- // border: 7px solid transparent;
429
- // }
430
- // &.w-tooltip--top:before {
431
- // top: 100%;
432
- // left: 50%;
433
- // border-top-color: inherit;
434
- // transform: translateX(-50%);
435
- // margin-top: 0;
436
- // }
437
- // &.w-tooltip--bottom:before {
438
- // bottom: 100%;
439
- // left: 50%;
440
- // border-bottom-color: inherit;
441
- // transform: translateX(-50%);
442
- // margin-bottom: 0;
443
- // }
444
- // &.w-tooltip--left:before {
445
- // left: 100%;
446
- // top: 50%;
447
- // border-left-color: inherit;
448
- // transform: translateY(-50%);
449
- // margin-left: 0;
450
- // }
451
- // &.w-tooltip--right:before {
452
- // right: 100%;
453
- // top: 50%;
454
- // border-right-color: inherit;
455
- // transform: translateY(-50%);
456
- // margin-right: 0;
457
- // }
458
- // }
459
- // --------------------------------------------------------
460
379
  }
461
380
 
462
381
  // Transitions.