@wizishop/angular-components 0.0.153 → 0.0.156

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.
@@ -111,6 +111,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
111
111
  $wac-background-indication: #EDEFF2!default;
112
112
 
113
113
  $wac-grey: #F5F8FA!default;
114
+ $wac-round-breadcrumbs: #DEE2ED!default;
114
115
  $wac-breadcrumbs-color: #647391!default;
115
116
  $wac-subtitle-color: #7A87A1!default;
116
117
  .zindexToggle {
@@ -936,12 +937,6 @@ $wac-subtitle-color: #7A87A1!default;
936
937
  margin: 0 auto;
937
938
  }
938
939
 
939
- &.has-coin {
940
- display: flex;
941
- align-items: center;
942
- justify-content: center;
943
- }
944
-
945
940
  &.white-space-no-wrap {
946
941
  white-space: nowrap;
947
942
  }
@@ -995,6 +990,7 @@ $wac-subtitle-color: #7A87A1!default;
995
990
  border-radius: 40px;
996
991
  padding: 4px 6px;
997
992
  background-color: #F8EDD2;
993
+ float: right;
998
994
  i {
999
995
  font-size: rem(18);
1000
996
  color: #FDCD52;
@@ -2864,10 +2860,11 @@ $wac-subtitle-color: #7A87A1!default;
2864
2860
  }
2865
2861
  .wac-text-area {
2866
2862
  label {
2867
- font-size: rem(14);
2868
- color: $wac-main-text;
2869
- font-weight: 500 !important;
2870
- margin-bottom: 0;
2863
+ padding: 0!important;
2864
+ font-size: rem(14)!important;
2865
+ line-height: rem(16)!important;
2866
+ margin: 0 0 rem(12)!important;
2867
+ font-weight: 500!important;
2871
2868
  }
2872
2869
 
2873
2870
  textarea {
@@ -3885,8 +3882,22 @@ span.wac-tooltip {
3885
3882
  justify-content: center;
3886
3883
  position: relative;
3887
3884
  padding: 10px;
3888
- &:not(.valid) {
3889
- cursor: pointer;
3885
+ cursor: pointer;
3886
+ &:before {
3887
+ content: '';
3888
+ display: block;
3889
+ position: absolute;
3890
+ bottom: -5px;
3891
+ left: 50%;
3892
+ transform: translateX(-50%);
3893
+ width: calc(100% - 5px);
3894
+ height: 3px;
3895
+ background-color: $wac-round-breadcrumbs;
3896
+ }
3897
+ &.current, &.valid {
3898
+ &:before {
3899
+ background-color: $wac-wizishop-blue;
3900
+ }
3890
3901
  }
3891
3902
  @include media('<desktop') {
3892
3903
  width: auto;
@@ -3898,24 +3909,24 @@ span.wac-tooltip {
3898
3909
  }
3899
3910
  }
3900
3911
  .round {
3901
- min-width: 40px;
3902
- height: 40px;
3903
- border-radius: 40px;
3912
+ min-width: 30px;
3913
+ height: 30px;
3914
+ border-radius: 30px;
3904
3915
  display: flex;
3905
3916
  justify-content: center;
3906
3917
  align-items: center;
3907
- border: 2px solid $wac-grey;
3908
- background-color: $wac-grey;
3918
+ border: 2px solid $wac-round-breadcrumbs;
3919
+ background-color: $wac-round-breadcrumbs;
3909
3920
  transition: .3s ease;
3910
3921
  margin: 0 15px 0 0;
3911
3922
  > span {
3912
- font-size: rem(16);
3913
- font-weight: 700;
3914
- color: $wac-breadcrumbs-color;
3923
+ font-size: rem(12);
3924
+ font-weight: 500;
3925
+ color: $wac-second-color;
3915
3926
  line-height: 1;
3916
3927
  }
3917
3928
  > i {
3918
- font-size: rem(18);
3929
+ font-size: rem(14);
3919
3930
  color: $wac-wizishop-blue;
3920
3931
  }
3921
3932
  &.valid {
@@ -3932,29 +3943,15 @@ span.wac-tooltip {
3932
3943
  }
3933
3944
  }
3934
3945
  .name {
3935
- font-size: rem(16);
3936
- font-weight: 700;
3937
- color: $wac-breadcrumbs-color;
3946
+ font-size: rem(14);
3947
+ font-weight: 500;
3948
+ color: $wac-second-color;
3938
3949
  line-height: 1;
3939
3950
  transition: .3s ease;
3940
3951
  &.valid, &.current {
3941
3952
  color: $wac-wizishop-blue;
3942
3953
  }
3943
3954
  }
3944
- > i {
3945
- position: absolute;
3946
- top: 50%;
3947
- right: 0;
3948
- transform: translateY(-50%);
3949
- font-size: rem(18);
3950
- color: $wac-breadcrumbs-color;
3951
- line-height: 1;
3952
- }
3953
- &:last-child {
3954
- > i {
3955
- display: none;
3956
- }
3957
- }
3958
3955
  &:hover:not(.valid), &:focus:not(.valid) {
3959
3956
  .round {
3960
3957
  background-color: $wac-wizishop-blue;
@@ -3963,6 +3960,9 @@ span.wac-tooltip {
3963
3960
  color: $wac-white;
3964
3961
  }
3965
3962
  }
3963
+ .name {
3964
+ color: $wac-wizishop-blue;
3965
+ }
3966
3966
  }
3967
3967
  }
3968
3968
  }
@@ -1332,7 +1332,7 @@
1332
1332
  ButtonComponent.decorators = [
1333
1333
  { type: i0.Component, args: [{
1334
1334
  selector: 'wac-button',
1335
- template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"confirmDelete && waitForConfirmDelete ? addMaxWidthDelete() : '';onButtonClick($event);\"\n (mouseleave)=\"animation ? resetMaxWidth() : '';\"\n (mouseenter)=\"animation ? addMaxWidth() : '';\"\n wzAutoHide (clickOutside)=\"confirmDelete && !waitForConfirmDelete ? resetMaxWidthDelete() : ''\"\n [ngClass]=\"[\n label === '' ? 'alone' : '',\n coin ? 'has-coin' : '',\n animationRight ? 'animation-right' : '',\n animation ? 'animationText' : '',\n isLoading ? 'is-loading' : '',\n opacity ? 'opacity' : '',\n disabled ? 'disabled' : '',\n widthAuto ? 'width-auto' : '',\n whiteSpaceNowrap ? 'white-space-no-wrap' : '',\n !waitForConfirmDelete && confirmDelete ? 'step-delete' : '',\n confirmDelete ? 'deletePosition-' + confirmDeletePosition : ''\n ]\"\n [ngStyle]=\"{\n 'text-align': contentHorizontalPosition\n }\"\n>\n <span class=\"wac-button__wrapper\" [style.color]=\"textcolor ? textcolor : ''\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n <span class=\"wac-button__animation\" [style.maxWidth]=\"buttonMaxWidth\" [style.width]=\"buttonWidth + 'px'\">\n <span #calculWidth class=\"wac-button__animation__text\" [innerHTML]=\"animationText\"></span>\n </span>\n <span class=\"wac-button__confirmDelete\" [style.maxWidth]=\"buttonMaxWidthDelete\" [style.width]=\"buttonWidthDelete + 'px'\">\n <span #calculWidthDelete class=\"wac-button__confirmDelete__text\" [innerHTML]=\"confirmDeleteText\"></span>\n </span>\n <span *ngIf=\"coin\" class=\"wac-button__coin\"><i class=\"fa-solid fa-coin-front\"></i><span [innerHTML]=\"coin\"></span></span>\n <span\n class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading\"\n [style.width]=\"currentLoading + '%'\"\n >\n <span *ngIf=\"extraClasses.includes('is-outlined')\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n\n </span>\n</a>\n"
1335
+ template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"confirmDelete && waitForConfirmDelete ? addMaxWidthDelete() : '';onButtonClick($event);\"\n (mouseleave)=\"animation ? resetMaxWidth() : '';\"\n (mouseenter)=\"animation ? addMaxWidth() : '';\"\n wzAutoHide (clickOutside)=\"confirmDelete && !waitForConfirmDelete ? resetMaxWidthDelete() : ''\"\n [ngClass]=\"[\n label === '' ? 'alone' : '',\n coin ? 'has-coin width-auto' : '',\n animationRight ? 'animation-right' : '',\n animation ? 'animationText' : '',\n isLoading ? 'is-loading' : '',\n opacity ? 'opacity' : '',\n disabled ? 'disabled' : '',\n widthAuto ? 'width-auto' : '',\n whiteSpaceNowrap ? 'white-space-no-wrap' : '',\n !waitForConfirmDelete && confirmDelete ? 'step-delete' : '',\n confirmDelete ? 'deletePosition-' + confirmDeletePosition : ''\n ]\"\n [ngStyle]=\"{\n 'text-align': contentHorizontalPosition\n }\"\n>\n <span class=\"wac-button__wrapper\" [style.color]=\"textcolor ? textcolor : ''\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n <span class=\"wac-button__animation\" [style.maxWidth]=\"buttonMaxWidth\" [style.width]=\"buttonWidth + 'px'\">\n <span #calculWidth class=\"wac-button__animation__text\" [innerHTML]=\"animationText\"></span>\n </span>\n <span class=\"wac-button__confirmDelete\" [style.maxWidth]=\"buttonMaxWidthDelete\" [style.width]=\"buttonWidthDelete + 'px'\">\n <span #calculWidthDelete class=\"wac-button__confirmDelete__text\" [innerHTML]=\"confirmDeleteText\"></span>\n </span>\n <span *ngIf=\"coin\" class=\"wac-button__coin\"><i class=\"fa-solid fa-coin-front\"></i><span [innerHTML]=\"coin\"></span></span>\n <span\n class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading\"\n [style.width]=\"currentLoading + '%'\"\n >\n <span *ngIf=\"extraClasses.includes('is-outlined')\">\n <i *ngIf=\"icon !== ''\" [ngClass]=\"icon\" [style.font-size.px]=\"iconFontSize\"></i>\n {{ label }}\n <i *ngIf=\"iconNext !== ''\" [ngClass]=\"iconNext\" [style.font-size.px]=\"iconFontSize\"></i>\n </span>\n\n </span>\n</a>\n"
1336
1336
  },] }
1337
1337
  ];
1338
1338
  ButtonComponent.ctorParameters = function () { return []; };
@@ -4228,7 +4228,7 @@
4228
4228
  BreadcrumbsComponent.decorators = [
4229
4229
  { type: i0.Component, args: [{
4230
4230
  selector: 'wac-breadcrumbs',
4231
- template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid}\">{{ b.name }}</div>\n <i class=\"fas fa-chevron-right\"></i>\n </div>\n </div>\n</div>\n"
4231
+ template: "<div class=\"wac-breadcrumbs\">\n <div class=\"wac-breadcrumbs__wrapper\">\n <div class=\"wac-breadcrumbs__item\" *ngFor=\"let b of breadcrumbs; let i = index;\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\" (click)=\"valueChanged(i)\">\n <div class=\"round\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\"><span *ngIf=\"!b.valid\"><span *ngIf=\"i < 9\">0</span>{{ i + 1 }}</span><i class=\"fas fa-check\" *ngIf=\"b.valid\"></i></div>\n <div class=\"name\" [ngClass]=\"{'valid': b.valid, 'current': b['current']}\">{{ b.name }}</div>\n </div>\n </div>\n</div>\n"
4232
4232
  },] }
4233
4233
  ];
4234
4234
  BreadcrumbsComponent.ctorParameters = function () { return []; };