maz-ui 3.0.3 → 3.0.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.
Files changed (44) hide show
  1. package/components/MazArrowIcon.d.ts +1 -1
  2. package/components/MazAvatar.js +2 -2
  3. package/components/MazBadge.d.ts +1 -1
  4. package/components/MazBottomSheet.js +1 -1
  5. package/components/MazBtn.d.ts +1 -1
  6. package/components/MazBtn.js +1 -1
  7. package/components/MazCard.d.ts +1 -1
  8. package/components/MazCard.js +1 -1
  9. package/components/MazCarousel.d.ts +1 -1
  10. package/components/MazCarousel.js +1 -1
  11. package/components/MazChart.d.ts +2 -2
  12. package/components/MazDialog.js +1 -1
  13. package/components/MazDialogPromise.d.ts +1 -1
  14. package/components/MazDialogPromise.js +1 -1
  15. package/components/MazDrawer.js +1 -1
  16. package/components/MazGallery.d.ts +1 -1
  17. package/components/MazInput.js +2 -2
  18. package/components/MazInputNumber.js +2 -2
  19. package/components/MazInputPrice.js +1 -1
  20. package/components/MazInputTags.js +2 -2
  21. package/components/MazPhoneNumberInput.js +1 -1
  22. package/components/MazPicker/{MazPickerCalendar.d.ts → MazPickerCalendar.vue.d.ts} +0 -0
  23. package/components/MazPicker/MazPickerCalendarMonth/{MazPickerCalendarDays.d.ts → MazPickerCalendarDays.vue.d.ts} +1 -1
  24. package/components/MazPicker/MazPickerCalendarMonth/{MazPickerCalendarGrid.d.ts → MazPickerCalendarGrid.vue.d.ts} +0 -0
  25. package/components/MazPicker/MazPickerCalendarMonth/{MazPickerCalendarMonth.d.ts → MazPickerCalendarMonth.vue.d.ts} +0 -0
  26. package/components/MazPicker/{MazPickerCalendarSwitcher.d.ts → MazPickerCalendarSwitcher.vue.d.ts} +0 -0
  27. package/components/MazPicker/{MazPickerContainer.d.ts → MazPickerContainer.vue.d.ts} +0 -0
  28. package/components/MazPicker/{MazPickerHeader.d.ts → MazPickerHeader.vue.d.ts} +1 -1
  29. package/components/MazPicker/{MazPickerMonthSwitcher.d.ts → MazPickerMonthSwitcher.vue.d.ts} +0 -0
  30. package/components/MazPicker/{MazPickerShortcuts.d.ts → MazPickerShortcuts.vue.d.ts} +0 -0
  31. package/components/MazPicker/{MazPickerTime.d.ts → MazPickerTime.vue.d.ts} +0 -0
  32. package/components/MazPicker/{MazPickerYearSwitcher.d.ts → MazPickerYearSwitcher.vue.d.ts} +0 -0
  33. package/components/MazPicker.js +1 -1
  34. package/components/MazRadioButtons.js +1 -1
  35. package/components/MazSelect.js +1 -1
  36. package/components/MazSpinner.d.ts +1 -1
  37. package/components/MazTabsBar.js +1 -1
  38. package/components/MazTabsContent.d.ts +1 -1
  39. package/components/MazTabsContentItem.d.ts +1 -1
  40. package/components/MazTransitionExpand.d.ts +1 -1
  41. package/css/main.css +157 -106
  42. package/maz-ui.d.ts +1 -1
  43. package/modules/index.js +2 -2
  44. package/package.json +32 -31
package/css/main.css CHANGED
@@ -384,36 +384,35 @@ html.dark {
384
384
  * Tabs Transisiton
385
385
  */
386
386
 
387
- .maz-tab-transition {
388
- &-enter-from {
387
+ .maz-tab-transition-enter-from {
389
388
  -webkit-transform: translate(100%, 0);
390
389
  transform: translate(100%, 0);
391
390
  }
392
- &-leave,
393
- &-leave-active {
391
+
392
+ .maz-tab-transition-leave,
393
+ .maz-tab-transition-leave-active {
394
394
  position: absolute !important;
395
395
  top: 0;
396
396
  }
397
- &-leave-to {
397
+
398
+ .maz-tab-transition-leave-to {
398
399
  position: absolute !important;
399
400
  -webkit-transform: translate(-100%, 0);
400
401
  transform: translate(-100%, 0);
401
402
  }
402
- }
403
403
 
404
- .maz-tab-reverse-transition {
405
- &-enter-from {
404
+ .maz-tab-reverse-transition-enter-from {
406
405
  -webkit-transform: translate(-100%, 0);
407
406
  transform: translate(-100%, 0);
408
407
  }
409
- &-leave,
410
- &-leave-to {
408
+
409
+ .maz-tab-reverse-transition-leave,
410
+ .maz-tab-reverse-transition-leave-to {
411
411
  top: 0;
412
412
  position: absolute !important;
413
413
  -webkit-transform: translate(100%, 0);
414
414
  transform: translate(100%, 0);
415
415
  }
416
- }
417
416
 
418
417
  html.--backdrop-present {
419
418
  overflow-y: hidden;
@@ -424,7 +423,9 @@ html.--backdrop-present {
424
423
  .m-backdrop.bottom-sheet-anim-leave-active {
425
424
  -webkit-transition: opacity ease-in-out 250ms;
426
425
  transition: opacity ease-in-out 250ms;
427
- & .m-backdrop-content {
426
+ }
427
+
428
+ .m-backdrop.bottom-sheet-anim-enter-active .m-backdrop-content, .m-backdrop.bottom-sheet-anim-leave-active .m-backdrop-content {
428
429
  -webkit-transition: -webkit-transform ease-in-out 250ms;
429
430
  transition: -webkit-transform ease-in-out 250ms;
430
431
  transition: transform ease-in-out 250ms;
@@ -432,22 +433,24 @@ html.--backdrop-present {
432
433
  -webkit-transform: translateY(0);
433
434
  transform: translateY(0);
434
435
  }
435
- }
436
436
 
437
437
  .m-backdrop.bottom-sheet-anim-enter-from,
438
438
  .m-backdrop.bottom-sheet-anim-leave-to {
439
439
  opacity: 0;
440
- & .m-backdrop-content {
440
+ }
441
+
442
+ .m-backdrop.bottom-sheet-anim-enter-from .m-backdrop-content, .m-backdrop.bottom-sheet-anim-leave-to .m-backdrop-content {
441
443
  -webkit-transform: translateY(100%);
442
444
  transform: translateY(100%);
443
445
  }
444
- }
445
446
 
446
447
  .m-backdrop.modal-anim-enter-active,
447
448
  .m-backdrop.modal-anim-leave-active {
448
449
  -webkit-transition: opacity ease-in-out 250ms;
449
450
  transition: opacity ease-in-out 250ms;
450
- & .m-backdrop-content {
451
+ }
452
+
453
+ .m-backdrop.modal-anim-enter-active .m-backdrop-content, .m-backdrop.modal-anim-leave-active .m-backdrop-content {
451
454
  -webkit-transition: -webkit-transform ease-in-out 250ms;
452
455
  transition: -webkit-transform ease-in-out 250ms;
453
456
  transition: transform ease-in-out 250ms;
@@ -455,16 +458,16 @@ html.--backdrop-present {
455
458
  -webkit-transform: translateY(0);
456
459
  transform: translateY(0);
457
460
  }
458
- }
459
461
 
460
462
  .m-backdrop.modal-anim-enter-from,
461
463
  .m-backdrop.modal-anim-leave-to {
462
464
  opacity: 0;
463
- & .m-backdrop-content {
465
+ }
466
+
467
+ .m-backdrop.modal-anim-enter-from .m-backdrop-content, .m-backdrop.modal-anim-leave-to .m-backdrop-content {
464
468
  -webkit-transform: translateY(-25px);
465
469
  transform: translateY(-25px);
466
470
  }
467
- }
468
471
 
469
472
  .m-backdrop.backdrop-anim-enter-active,
470
473
  .m-backdrop.backdrop-anim-leave-active {
@@ -496,87 +499,100 @@ html.--backdrop-present {
496
499
  -webkit-backdrop-filter: blur(3px);
497
500
  backdrop-filter: blur(3px);
498
501
  z-index: 1050;
499
- &-overlay {
502
+ }
503
+
504
+ .m-backdrop-overlay {
500
505
  -ms-touch-action: none;
501
506
  touch-action: none
502
507
  }
503
- &-overlay {
508
+
509
+ .m-backdrop-overlay {
504
510
  position: absolute;
505
511
  }
506
- &-overlay {
512
+
513
+ .m-backdrop-overlay {
507
514
  top: 0px;
508
515
  right: 0px;
509
516
  bottom: 0px;
510
517
  left: 0px;
511
518
  }
512
- &-overlay {
519
+
520
+ .m-backdrop-overlay {
513
521
  background-color: var(--maz-bg-overlay);
514
522
  }
515
- &-overlay {
516
- &:not(.--disabled) {
523
+
524
+ .m-backdrop-overlay:not(.--disabled) {
517
525
  cursor: pointer;
518
526
  }
519
- }
520
- &-content {
527
+
528
+ .m-backdrop-content {
521
529
  position: relative;
522
530
  }
523
- &-content {
531
+
532
+ .m-backdrop-content {
524
533
  z-index: 1;
525
534
  }
526
- &-content:focus {
535
+
536
+ .m-backdrop-content:focus {
527
537
  outline: 2px solid transparent;
528
538
  outline-offset: 2px;
529
539
  }
530
- &.--bottom-sheet {
531
- & .m-backdrop-content {
540
+
541
+ .m-backdrop.--bottom-sheet .m-backdrop-content {
532
542
  position: absolute;
533
543
  }
534
- & .m-backdrop-content {
544
+
545
+ .m-backdrop.--bottom-sheet .m-backdrop-content {
535
546
  bottom: 0px;
536
547
  }
537
- & .m-backdrop-content {
548
+
549
+ .m-backdrop.--bottom-sheet .m-backdrop-content {
538
550
  left: 0px;
539
551
  }
540
- & .m-backdrop-content {
552
+
553
+ .m-backdrop.--bottom-sheet .m-backdrop-content {
541
554
  right: 0px;
542
555
  }
543
- }
544
- &.--fullscreen {
556
+
557
+ .m-backdrop.--fullscreen {
545
558
  -webkit-box-align: start;
546
559
  -ms-flex-align: start;
547
560
  align-items: flex-start;
548
561
  }
549
- @media (min-width: 576px) {
550
- &.--fullscreen {
562
+
563
+ @media (min-width: 576px) {
564
+ .m-backdrop.--fullscreen {
551
565
  -webkit-box-align: center;
552
566
  -ms-flex-align: center;
553
567
  align-items: center;
554
568
  }
555
569
  }
556
- &.--fullscreen {
557
- &.--center-top {
570
+
571
+ .m-backdrop.--fullscreen.--center-top {
558
572
  -webkit-box-align: start;
559
573
  -ms-flex-align: start;
560
574
  align-items: flex-start;
561
575
  }
562
- @media (min-width: 576px) {
563
- &.--center-top {
576
+
577
+ @media (min-width: 576px) {
578
+ .m-backdrop.--fullscreen.--center-top {
564
579
  padding-top: 7rem;
565
580
  }
566
581
  }
567
- & .m-backdrop-content {
582
+
583
+ .m-backdrop.--fullscreen .m-backdrop-content {
568
584
  position: relative;
569
585
  }
570
- & .m-backdrop-content {
586
+
587
+ .m-backdrop.--fullscreen .m-backdrop-content {
571
588
  width: 100%;
572
589
  }
573
- @media (min-width: 576px) {
574
- & .m-backdrop-content {
590
+
591
+ @media (min-width: 576px) {
592
+ .m-backdrop.--fullscreen .m-backdrop-content {
575
593
  width: auto;
576
594
  }
577
595
  }
578
- }
579
- }
580
596
 
581
597
  .m-drawer {
582
598
  -webkit-box-align: stretch;
@@ -585,145 +601,184 @@ html.--backdrop-present {
585
601
  -webkit-box-pack: end;
586
602
  -ms-flex-pack: end;
587
603
  justify-content: flex-end;
588
- & .m-drawer-content-wrap {
604
+ }
605
+
606
+ .m-drawer .m-drawer-content-wrap {
589
607
  overflow-y: auto;
590
608
  }
591
- & .m-drawer-content-wrap {
609
+
610
+ .m-drawer .m-drawer-content-wrap {
592
611
  background-color: var(--maz-color-bg-light);
593
612
  }
594
- & .m-drawer-content-wrap {
613
+
614
+ .m-drawer .m-drawer-content-wrap {
595
615
  color: var(--maz-color-text);
596
616
  }
597
- .m-drawer-content-wrap > .m-drawer-header {
617
+
618
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
598
619
  z-index: 1;
599
620
  }
600
- .m-drawer-content-wrap > .m-drawer-header {
621
+
622
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
601
623
  display: -webkit-box;
602
624
  display: -ms-flexbox;
603
625
  display: flex;
604
626
  }
605
- .m-drawer-content-wrap > .m-drawer-header {
627
+
628
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
606
629
  height: 4rem;
607
630
  }
608
- .m-drawer-content-wrap > .m-drawer-header {
631
+
632
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
609
633
  -ms-flex-negative: 0;
610
634
  flex-shrink: 0;
611
635
  }
612
- .m-drawer-content-wrap > .m-drawer-header {
636
+
637
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
613
638
  -webkit-box-align: center;
614
639
  -ms-flex-align: center;
615
640
  align-items: center;
616
641
  }
617
- .m-drawer-content-wrap > .m-drawer-header {
642
+
643
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
618
644
  background-color: var(--maz-color-bg);
619
645
  }
620
- .m-drawer-content-wrap > .m-drawer-header {
646
+
647
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
621
648
  background-clip: padding-box;
622
649
  }
623
- .m-drawer-content-wrap > .m-drawer-header {
650
+
651
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
624
652
  padding-left: 1rem;
625
653
  padding-right: 1rem;
626
654
  }
627
- .m-drawer-content-wrap > .m-drawer-header {
655
+
656
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
628
657
  padding-top: 0.75rem;
629
658
  padding-bottom: 0.75rem;
630
659
  }
631
- .m-drawer-content-wrap > .m-drawer-header {
660
+
661
+ .m-drawer .m-drawer-content-wrap > .m-drawer-header {
632
662
  -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1);
633
663
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1);
634
664
  }
635
- .m-drawer-content-wrap > .m-drawer-body {
665
+
666
+ .m-drawer .m-drawer-content-wrap > .m-drawer-body {
636
667
  z-index: 0;
637
668
  }
638
- .m-drawer-content-wrap > .m-drawer-body {
669
+
670
+ .m-drawer .m-drawer-content-wrap > .m-drawer-body {
639
671
  min-height: 0px;
640
672
  }
641
- .m-drawer-content-wrap > .m-drawer-body {
673
+
674
+ .m-drawer .m-drawer-content-wrap > .m-drawer-body {
642
675
  -webkit-box-flex: 1;
643
676
  -ms-flex: 1 1 0%;
644
677
  flex: 1 1 0%;
645
678
  }
646
- .m-drawer-content-wrap > .m-drawer-body {
679
+
680
+ .m-drawer .m-drawer-content-wrap > .m-drawer-body {
647
681
  overflow-x: auto;
648
682
  }
649
- .m-drawer-content-wrap > .m-drawer-body {
683
+
684
+ .m-drawer .m-drawer-content-wrap > .m-drawer-body {
650
685
  background-color: var(--maz-color-bg-light);
651
686
  }
652
- .m-drawer-content-wrap > .m-drawer-body {
687
+
688
+ .m-drawer .m-drawer-content-wrap > .m-drawer-body {
653
689
  background-clip: padding-box;
654
690
  }
655
- &.--right {
656
- & .m-backdrop-content {
691
+
692
+ .m-drawer.--right {
693
+ /* & .m-backdrop-content > .m-drawer-content-wrap {
694
+ @apply lap-s:maz-h-auto;
695
+ } */
696
+ }
697
+
698
+ .m-drawer.--right .m-backdrop-content {
657
699
  height: auto;
658
700
  }
659
- & .m-backdrop-content {
701
+
702
+ .m-drawer.--right .m-backdrop-content {
660
703
  min-height: 100vh;
661
704
  }
662
- & .m-backdrop-content {
705
+
706
+ .m-drawer.--right .m-backdrop-content {
663
707
  -webkit-transition: all 0.45s;
664
708
  transition: all 0.45s;
665
709
  width: 100%;
666
- @media (min-width: 768px) {
667
- width: var(--maz-drawer-size);
668
- }
669
710
  }
670
- &.backdrop-anim-enter-from > .m-backdrop-content,
671
- &.backdrop-anim-leave-to > .m-backdrop-content {
711
+
712
+ @media (min-width: 768px) {
713
+
714
+ .m-drawer.--right .m-backdrop-content {
715
+ width: var(--maz-drawer-size)
716
+ }
717
+ }
718
+
719
+ .m-drawer.--right.backdrop-anim-enter-from > .m-backdrop-content,
720
+ .m-drawer.--right.backdrop-anim-leave-to > .m-backdrop-content {
672
721
  opacity: 0;
673
722
  -webkit-transform: translateX(100%);
674
723
  transform: translateX(100%);
675
724
  }
676
- /* & .m-backdrop-content > .m-drawer-content-wrap {
677
- @apply lap-s:maz-h-auto;
678
- } */
679
- }
680
- &.--top {
725
+
726
+ .m-drawer.--top {
681
727
  -webkit-box-align: start;
682
728
  -ms-flex-align: start;
683
729
  align-items: flex-start;
684
730
  }
685
- &.--top {
686
- & .m-backdrop-content {
731
+
732
+ .m-drawer.--top .m-backdrop-content {
687
733
  -webkit-transition: all 0.45s;
688
734
  transition: all 0.45s;
689
735
  width: 100%;
690
736
  height: 100vh;
691
- @media (min-width: 768px) {
692
- height: auto;
693
- }
694
737
  }
695
- &.backdrop-anim-enter-from > .m-backdrop-content,
696
- &.backdrop-anim-leave-to > .m-backdrop-content {
738
+
739
+ @media (min-width: 768px) {
740
+
741
+ .m-drawer.--top .m-backdrop-content {
742
+ height: auto
743
+ }
744
+ }
745
+
746
+ .m-drawer.--top.backdrop-anim-enter-from > .m-backdrop-content,
747
+ .m-drawer.--top.backdrop-anim-leave-to > .m-backdrop-content {
697
748
  opacity: 0;
698
749
  -webkit-transform: translateY(-100%);
699
750
  transform: translateY(-100%);
700
751
  }
701
- }
702
- & .m-backdrop-content > .m-drawer-content-wrap {
752
+
753
+ .m-drawer .m-backdrop-content > .m-drawer-content-wrap {
703
754
  pointer-events: auto;
704
755
  }
705
- & .m-backdrop-content > .m-drawer-content-wrap {
756
+
757
+ .m-drawer .m-backdrop-content > .m-drawer-content-wrap {
706
758
  display: -webkit-box;
707
759
  display: -ms-flexbox;
708
760
  display: flex;
709
761
  }
710
- & .m-backdrop-content > .m-drawer-content-wrap {
762
+
763
+ .m-drawer .m-backdrop-content > .m-drawer-content-wrap {
711
764
  height: 100%;
712
765
  }
713
- & .m-backdrop-content > .m-drawer-content-wrap {
766
+
767
+ .m-drawer .m-backdrop-content > .m-drawer-content-wrap {
714
768
  width: 100%;
715
769
  }
716
- & .m-backdrop-content > .m-drawer-content-wrap {
770
+
771
+ .m-drawer .m-backdrop-content > .m-drawer-content-wrap {
717
772
  -webkit-box-orient: vertical;
718
773
  -webkit-box-direction: normal;
719
774
  -ms-flex-direction: column;
720
775
  flex-direction: column;
721
776
  }
722
- & .m-backdrop-content > .m-drawer-content-wrap {
777
+
778
+ .m-drawer .m-backdrop-content > .m-drawer-content-wrap {
723
779
  -webkit-box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1);
724
780
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, .1);
725
781
  }
726
- }
727
782
 
728
783
  *, ::before, ::after {
729
784
  --tw-border-spacing-x: 0;
@@ -1919,13 +1974,11 @@ html.--backdrop-present {
1919
1974
  }
1920
1975
 
1921
1976
  .maz-underline {
1922
- -webkit-text-decoration-line: underline;
1923
- text-decoration-line: underline;
1977
+ text-decoration-line: underline;
1924
1978
  }
1925
1979
 
1926
1980
  .maz-no-underline {
1927
- -webkit-text-decoration-line: none;
1928
- text-decoration-line: none;
1981
+ text-decoration-line: none;
1929
1982
  }
1930
1983
 
1931
1984
  .maz-opacity-0 {
@@ -1965,10 +2018,10 @@ html.--backdrop-present {
1965
2018
  }
1966
2019
 
1967
2020
  .maz-transition {
1968
- -webkit-transition-property: color, background-color, border-color, fill, stroke, opacity, -webkit-text-decoration-color, -webkit-box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
1969
- transition-property: color, background-color, border-color, fill, stroke, opacity, -webkit-text-decoration-color, -webkit-box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
2021
+ -webkit-transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
2022
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, -webkit-box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
1970
2023
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
1971
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
2024
+ transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-box-shadow, -webkit-transform, -webkit-filter, -webkit-backdrop-filter;
1972
2025
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1973
2026
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1974
2027
  -webkit-transition-duration: 150ms;
@@ -1976,10 +2029,8 @@ html.--backdrop-present {
1976
2029
  }
1977
2030
 
1978
2031
  .maz-transition-colors {
1979
- -webkit-transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
1980
- transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
2032
+ -webkit-transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1981
2033
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
1982
- transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
1983
2034
  -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1984
2035
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1985
2036
  -webkit-transition-duration: 150ms;
package/maz-ui.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as vue from 'vue';
2
2
  import { Component, App, Directive, Plugin } from 'vue';
3
3
 
4
- declare function injectStrict<T>(key: string, fallback?: T): T;
4
+ declare function injectStrict<T>(key: string, fallback?: T): NonNullable<T>;
5
5
 
6
6
  declare type ArgumentTypes<F extends (...args: any[]) => void> = F extends (...args: infer A) => any ? A : never;
7
7
  declare type MethodTypes = {