@wizishop/angular-components 0.0.179 → 0.0.182

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.
@@ -3541,6 +3541,80 @@ span.wac-tooltip {
3541
3541
  }
3542
3542
  }
3543
3543
  }
3544
+ .wac-progressBarContent {
3545
+ position: relative;
3546
+ width: 100%;
3547
+ display: block;
3548
+ .progressBar {
3549
+ position: relative;
3550
+ width: 88%;
3551
+ margin-bottom: 1rem;
3552
+ progress {
3553
+ &.progress {
3554
+ margin-bottom: 0;
3555
+ height: rem(2);
3556
+ &::-webkit-progress-value {
3557
+ transition: width 0.5s ease;
3558
+ }
3559
+ }
3560
+ }
3561
+ span {
3562
+ position: absolute;
3563
+ top: -4px;
3564
+ height: 11px;
3565
+ width: 11px;
3566
+ background-color: $wac-border-color;
3567
+ border-radius: 50%;
3568
+ }
3569
+ .is-danger {
3570
+ background-color: $wac-primary-button;
3571
+ &::-webkit-progress-value {
3572
+ background-color: $wac-primary-button;
3573
+ }
3574
+ }
3575
+ .is-warning {
3576
+ background-color: $wac-orange-color;
3577
+ &::-webkit-progress-value {
3578
+ background-color: $wac-orange-color;
3579
+ }
3580
+ }
3581
+ .is-success {
3582
+ background-color: $wac-green-color;
3583
+ &::-webkit-progress-value {
3584
+ background-color: $wac-green-color;
3585
+ }
3586
+ }
3587
+ }
3588
+ .size {
3589
+ display: inline;
3590
+ color: $wac-color-text-grey;
3591
+ position: absolute;
3592
+ right: 0;
3593
+ top: -9px;
3594
+ background: $wac-white;
3595
+ padding-left: 0.875rem;
3596
+ .is-success {
3597
+ color: $wac-green-color;
3598
+ }
3599
+ .is-warning {
3600
+ color: $wac-orange-color;
3601
+ }
3602
+ .is-danger {
3603
+ color: $wac-primary-button;
3604
+ }
3605
+ > span {
3606
+ font-size: rem(14) !important;
3607
+ line-height: 1;
3608
+ transform: translateY(-3px);
3609
+ display: inline-block;
3610
+ letter-spacing: 0;
3611
+ strong {
3612
+ letter-spacing: 0;
3613
+ font-weight: 600;
3614
+ }
3615
+ }
3616
+ }
3617
+ }
3544
3618
  .wac-upload {
3545
3619
  width: auto;
3546
3620
  &__wrapper {
@@ -3637,80 +3711,6 @@ span.wac-tooltip {
3637
3711
  }
3638
3712
  }
3639
3713
  }
3640
- .wac-progressBarContent {
3641
- position: relative;
3642
- width: 100%;
3643
- display: block;
3644
- .progressBar {
3645
- position: relative;
3646
- width: 88%;
3647
- margin-bottom: 1rem;
3648
- progress {
3649
- &.progress {
3650
- margin-bottom: 0;
3651
- height: rem(2);
3652
- &::-webkit-progress-value {
3653
- transition: width 0.5s ease;
3654
- }
3655
- }
3656
- }
3657
- span {
3658
- position: absolute;
3659
- top: -4px;
3660
- height: 11px;
3661
- width: 11px;
3662
- background-color: $wac-border-color;
3663
- border-radius: 50%;
3664
- }
3665
- .is-danger {
3666
- background-color: $wac-primary-button;
3667
- &::-webkit-progress-value {
3668
- background-color: $wac-primary-button;
3669
- }
3670
- }
3671
- .is-warning {
3672
- background-color: $wac-orange-color;
3673
- &::-webkit-progress-value {
3674
- background-color: $wac-orange-color;
3675
- }
3676
- }
3677
- .is-success {
3678
- background-color: $wac-green-color;
3679
- &::-webkit-progress-value {
3680
- background-color: $wac-green-color;
3681
- }
3682
- }
3683
- }
3684
- .size {
3685
- display: inline;
3686
- color: $wac-color-text-grey;
3687
- position: absolute;
3688
- right: 0;
3689
- top: -9px;
3690
- background: $wac-white;
3691
- padding-left: 0.875rem;
3692
- .is-success {
3693
- color: $wac-green-color;
3694
- }
3695
- .is-warning {
3696
- color: $wac-orange-color;
3697
- }
3698
- .is-danger {
3699
- color: $wac-primary-button;
3700
- }
3701
- > span {
3702
- font-size: rem(14) !important;
3703
- line-height: 1;
3704
- transform: translateY(-3px);
3705
- display: inline-block;
3706
- letter-spacing: 0;
3707
- strong {
3708
- letter-spacing: 0;
3709
- font-weight: 600;
3710
- }
3711
- }
3712
- }
3713
- }
3714
3714
  .block-with-checkbox {
3715
3715
  width: 100%;
3716
3716
  display: flex;
@@ -4439,6 +4439,11 @@ h4.wac-h4 {
4439
4439
  white-space: nowrap;
4440
4440
  }
4441
4441
 
4442
+ &.no-padding {
4443
+ padding-left: 0!important;
4444
+ padding-right: 0!important;
4445
+ }
4446
+
4442
4447
  &.is-green.opacity {
4443
4448
  background-color: $wac-tag-success-light;
4444
4449
  border-color: $wac-tag-success-light;
@@ -1243,6 +1243,7 @@
1243
1243
  this.animationText = '';
1244
1244
  this.confirmDelete = false;
1245
1245
  this.confirmDeleteText = '';
1246
+ this.noPadding = false;
1246
1247
  this.tooltipPosition = 'top-center';
1247
1248
  this.confirmDeletePosition = 'right';
1248
1249
  this.click = new i0.EventEmitter();
@@ -1333,7 +1334,7 @@
1333
1334
  ButtonComponent.decorators = [
1334
1335
  { type: i0.Component, args: [{
1335
1336
  selector: 'wac-button',
1336
- 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 </span>\n <span class=\"wac-button__tooltips {{ tooltipPosition }}\" [style.minWidth]=\"tooltipWidth\" *ngIf=\"tooltip\">\n {{ tooltip }}\n </span>\n</a>\n"
1337
+ 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 noPadding ? 'no-padding' : '',\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 </span>\n <span class=\"wac-button__tooltips {{ tooltipPosition }}\" [style.minWidth]=\"tooltipWidth\" *ngIf=\"tooltip\">\n {{ tooltip }}\n </span>\n</a>\n"
1337
1338
  },] }
1338
1339
  ];
1339
1340
  ButtonComponent.ctorParameters = function () { return []; };
@@ -1358,6 +1359,7 @@
1358
1359
  coin: [{ type: i0.Input }],
1359
1360
  tooltip: [{ type: i0.Input }],
1360
1361
  tooltipWidth: [{ type: i0.Input }],
1362
+ noPadding: [{ type: i0.Input }],
1361
1363
  tooltipPosition: [{ type: i0.Input }],
1362
1364
  confirmDeletePosition: [{ type: i0.Input }],
1363
1365
  click: [{ type: i0.Output }],
@@ -4277,7 +4279,7 @@
4277
4279
  CardPriceComponent.decorators = [
4278
4280
  { type: i0.Component, args: [{
4279
4281
  selector: 'wac-card-price',
4280
- template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected}\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\n <wac-button [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\n </div>\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\n <wac-button [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\n </div>\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\n <div class=\"link-bottom\" *ngIf=\"selected\">\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\n </div>\n</div>\n"
4282
+ template: "<div class=\"wac-card-price\" [ngClass]=\"{'selected': selected}\">\n <strong>{{amount}}</strong>\n <p>{{title}}</p>\n <div class=\"price\">\n <span class=\"amount\">{{price}} <span>{{currency}}</span></span><span class=\"month\">{{priceWording}}</span>\n </div>\n <div class=\"subtitle\">{{subtitle}}</div>\n <div class=\"cta\" *ngIf=\"!selected && !hideButton\">\n <wac-button [noPadding]=\"true\" [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\"></wac-button>\n </div>\n <div class=\"cta\" *ngIf=\"selected && !hideButton\">\n <wac-button [noPadding]=\"true\" [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\"></wac-button>\n </div>\n <div class=\"package-subtitle\" *ngIf=\"selected\">{{packageSubtitle}}</div>\n <div class=\"link-bottom\" *ngIf=\"linkPackageLabel\">\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\n </div>\n</div>\n"
4281
4283
  },] }
4282
4284
  ];
4283
4285
  CardPriceComponent.ctorParameters = function () { return []; };