@wizishop/angular-components 0.0.176 → 0.0.179

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,80 +3541,6 @@ 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
- }
3618
3544
  .wac-upload {
3619
3545
  width: auto;
3620
3546
  &__wrapper {
@@ -3711,6 +3637,80 @@ span.wac-tooltip {
3711
3637
  }
3712
3638
  }
3713
3639
  }
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;
@@ -3747,14 +3747,6 @@ span.wac-tooltip {
3747
3747
  width: 100%;
3748
3748
  cursor: pointer;
3749
3749
  }
3750
- &__right {
3751
- display: flex;
3752
- align-items: center;
3753
- width: auto;
3754
- div {
3755
- margin: 0 0 0 20px;
3756
- }
3757
- }
3758
3750
  &:hover:not(.disabled), &:focus:not(.disabled) {
3759
3751
  input + label {
3760
3752
  &:before {
@@ -3865,9 +3857,14 @@ span.wac-tooltip {
3865
3857
  background-color: $wac-white;
3866
3858
  display: flex;
3867
3859
  flex-direction: column;
3860
+ border: 1px solid $wac-white;
3868
3861
 
3869
3862
  box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.05);
3870
3863
 
3864
+ &.selected {
3865
+ border: 1px solid $wac-tag-success;
3866
+ }
3867
+
3871
3868
  &:hover {
3872
3869
  box-shadow: 0 rem(2) rem(5) rgba(45, 62, 85, 0.2);
3873
3870
  }
@@ -4849,23 +4846,6 @@ h4.wac-h4 {
4849
4846
  transition: background-color 0.3s ease-in-out;
4850
4847
  }
4851
4848
  }
4852
-
4853
- &.disabled {
4854
- background-color: $wac-wizishop-blue-button-disabled;
4855
- border-color: $wac-wizishop-blue-button-disabled;
4856
- transition: 0s;
4857
- cursor: default;
4858
- .wac-button__wrapper, .wac-button__animation {
4859
- color: $wac-white;
4860
- }
4861
- &:hover,
4862
- &:focus,
4863
- &.hover,
4864
- &.focus {
4865
- background-color: $wac-wizishop-blue-button-disabled;
4866
- border-color: $wac-wizishop-blue-button-disabled;
4867
- }
4868
- }
4869
4849
  }
4870
4850
 
4871
4851
  &.is-orange {
@@ -4931,23 +4911,6 @@ h4.wac-h4 {
4931
4911
  transition: background-color 0.3s ease-in-out;
4932
4912
  }
4933
4913
  }
4934
-
4935
- &.disabled {
4936
- background-color: $wac-orange-color-disabled;
4937
- border-color: $wac-orange-color-disabled;
4938
- transition: 0s;
4939
- cursor: default;
4940
- .wac-button__wrapper, .wac-button__animation {
4941
- color: $wac-white;
4942
- }
4943
- &:hover,
4944
- &:focus,
4945
- &.hover,
4946
- &.focus {
4947
- background-color: $wac-orange-color-disabled;
4948
- border-color: $wac-orange-color-disabled;
4949
- }
4950
- }
4951
4914
  }
4952
4915
 
4953
4916
  &.is-pink {
@@ -5013,23 +4976,6 @@ h4.wac-h4 {
5013
4976
  transition: background-color 0.3s ease-in-out;
5014
4977
  }
5015
4978
  }
5016
-
5017
- &.disabled {
5018
- background-color: $wac-pink-color-disabled;
5019
- border-color: $wac-pink-color-disabled;
5020
- transition: 0s;
5021
- cursor: default;
5022
- .wac-button__wrapper, .wac-button__animation {
5023
- color: $wac-white;
5024
- }
5025
- &:hover,
5026
- &:focus,
5027
- &.hover,
5028
- &.focus {
5029
- background-color: $wac-pink-color-disabled;
5030
- border-color: $wac-pink-color-disabled;
5031
- }
5032
- }
5033
4979
  }
5034
4980
 
5035
4981
  &.is-grey {
@@ -5147,21 +5093,6 @@ h4.wac-h4 {
5147
5093
  transition: background-color 0.3s ease-in-out;
5148
5094
  }
5149
5095
  }
5150
-
5151
- &.disabled {
5152
- background-color: $wac-background-color-disabled;
5153
- border-color: $wac-background-color-disabled;
5154
- transition: 0s;
5155
- cursor: default;
5156
-
5157
- &:hover,
5158
- &:focus,
5159
- &.hover,
5160
- &.focus {
5161
- background-color: $wac-background-color-disabled;
5162
- border-color: $wac-background-color-disabled;
5163
- }
5164
- }
5165
5096
  }
5166
5097
 
5167
5098
  &.is-danger {
@@ -5278,25 +5209,6 @@ h4.wac-h4 {
5278
5209
  border-color: $wac-primary-button;
5279
5210
  }
5280
5211
  }
5281
-
5282
- &.disabled {
5283
- background-color: $wac-primary-button-disabled;
5284
- border-color: $wac-primary-button-disabled;
5285
- transition: 0s;
5286
- cursor: default;
5287
-
5288
- .wac-button__wrapper, .wac-button__animation {
5289
- color: $wac-white;
5290
- }
5291
-
5292
- &:hover,
5293
- &:focus,
5294
- &.hover,
5295
- &.focus {
5296
- background-color: $wac-primary-button-disabled;
5297
- border-color: $wac-primary-button-disabled;
5298
- }
5299
- }
5300
5212
  }
5301
5213
 
5302
5214
  &.is-success {
@@ -5412,23 +5324,6 @@ h4.wac-h4 {
5412
5324
  border-color: $wac-green-color;
5413
5325
  }
5414
5326
  }
5415
- &.disabled {
5416
- background-color: $wac-green-color-disabled;
5417
- border-color: $wac-green-color-disabled;
5418
- transition: 0s;
5419
- cursor: default;
5420
-
5421
- .wac-button__wrapper, .wac-button__animation {
5422
- color: $wac-white;
5423
- }
5424
-
5425
- &:hover,
5426
- &:focus,
5427
- &.hover,
5428
- &.focus {
5429
- background-color: $wac-green-color-disabled;
5430
- }
5431
- }
5432
5327
  }
5433
5328
 
5434
5329
  &.is-light {
@@ -5460,12 +5355,7 @@ h4.wac-h4 {
5460
5355
  }
5461
5356
 
5462
5357
  &.disabled {
5463
- background-color: $wac-disabled-button-background;
5464
- border-color: $wac-border-form;
5465
-
5466
- .wac-button__wrapper, .wac-button__animation {
5467
- color: $wac-disabled-button-text;
5468
- }
5358
+ opacity: .7!important;
5469
5359
  }
5470
5360
 
5471
5361
  &.is-outlined {
@@ -4277,7 +4277,7 @@
4277
4277
  CardPriceComponent.decorators = [
4278
4278
  { type: i0.Component, args: [{
4279
4279
  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\">\n <wac-button [label]=\"btnLabel\" [extraClasses]=\"extraClasses\" (click)=\"triggerClick()\" [disabled]=\"disabled\" [whiteSpaceNowrap]=\"true\" [textcolor]=\"btnTextcolor\" *ngIf=\"!hideButton\"></wac-button>\n </div>\n <div class=\"cta\" *ngIf=\"selected\">\n <wac-button [icon]=\"'fa-solid fa-check'\" [label]=\"btnLabelSelected\" [extraClasses]=\"extraClassesSelected\" [whiteSpaceNowrap]=\"true\" *ngIf=\"!hideButton\"></wac-button>\n </div>\n <div class=\"package-subtitle\" *ngIf=\"packageSubtitle\">{{packageSubtitle}}</div>\n <div class=\"link-bottom\">\n <wac-link (click)=\"removePackageTrigger()\">{{linkPackageLabel}}</wac-link>\n </div>\n</div>\n"
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"
4281
4281
  },] }
4282
4282
  ];
4283
4283
  CardPriceComponent.ctorParameters = function () { return []; };
@@ -4327,10 +4327,6 @@
4327
4327
  function BlockWithCheckboxComponent() {
4328
4328
  this.selected = false;
4329
4329
  this.disabled = false;
4330
- this.iconCopy = 'fa-solid fa-paste';
4331
- this.iconWorld = 'fa-light fa-globe';
4332
- this.copyAction = new i0.EventEmitter();
4333
- this.worldAction = new i0.EventEmitter();
4334
4330
  this.checkboxAction = new i0.EventEmitter();
4335
4331
  this.nameRadio = 'wacBlockCheckboxRadio';
4336
4332
  this.isFirst = false;
@@ -4346,12 +4342,6 @@
4346
4342
  this.isFirst = false;
4347
4343
  }
4348
4344
  };
4349
- BlockWithCheckboxComponent.prototype.eventCopy = function () {
4350
- this.copyAction.emit(true);
4351
- };
4352
- BlockWithCheckboxComponent.prototype.eventWorld = function () {
4353
- this.worldAction.emit(true);
4354
- };
4355
4345
  BlockWithCheckboxComponent.prototype.removeFirstClass = function () {
4356
4346
  if (typeof document.querySelectorAll('.firstWacRadioBLock')[0] !== typeof undefined) {
4357
4347
  document.querySelectorAll('.firstWacRadioBLock')[0].classList.remove('firstWacRadioBLock');
@@ -4362,17 +4352,13 @@
4362
4352
  BlockWithCheckboxComponent.decorators = [
4363
4353
  { type: i0.Component, args: [{
4364
4354
  selector: 'wac-block-with-checkbox',
4365
- template: "<div class=\"block-with-checkbox\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n <div class=\"block-with-checkbox__right\">\n <div><wac-button extraClasses=\"is-blue opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconCopy\" (click)=\"eventCopy()\"></wac-button></div>\n <div><wac-button extraClasses=\"is-green opacity static-width\" [iconFontSize]=\"18\" [icon]=\"iconWorld\" (click)=\"eventWorld()\"></wac-button></div>\n </div>\n</div>\n"
4355
+ template: "<div class=\"block-with-checkbox\" [ngClass]=\"{'selected': inputRadioA.checked || selected, 'firstWacRadioBLock': isFirst, 'disabled': disabled}\" [style.opacity]=\"opacity\" (mouseover)=\"removeFirstClass()\">\n <div class=\"block-with-checkbox__left\" (click)=\"inputRadioA.click()\">\n <div class=\"wac-radio-block\">\n <div class=\"wac-radio__row\">\n <input #inputRadioA [name]=\"nameRadio\" type=\"radio\" [checked]=\"selected\" [value]=\"selected\" (change)=\"eventSelected($event)\" [id]=\"randomLabelName\">\n <label [for]=\"randomLabelName\"></label>\n </div>\n </div>\n </div>\n <div class=\"block-with-checkbox__center\" (click)=\"inputRadioA.click()\">\n <ng-content></ng-content>\n </div>\n</div>\n"
4366
4356
  },] }
4367
4357
  ];
4368
4358
  BlockWithCheckboxComponent.ctorParameters = function () { return []; };
4369
4359
  BlockWithCheckboxComponent.propDecorators = {
4370
4360
  selected: [{ type: i0.Input }],
4371
4361
  disabled: [{ type: i0.Input }],
4372
- iconCopy: [{ type: i0.Input }],
4373
- iconWorld: [{ type: i0.Input }],
4374
- copyAction: [{ type: i0.Output }],
4375
- worldAction: [{ type: i0.Output }],
4376
4362
  checkboxAction: [{ type: i0.Output }],
4377
4363
  nameRadio: [{ type: i0.Input }],
4378
4364
  isFirst: [{ type: i0.Input }],