@wizishop/angular-components 0.0.43 → 0.0.47

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.
@@ -20,6 +20,7 @@ $wac-green-color-darken: #25a25a!default;
20
20
  $wac-green-color-focus: #208e4f!default;
21
21
  $wac-green-color: #2ecc71!default;
22
22
  $wac-green-color-disabled: #70df9f!default;
23
+ $wac-green-opacity: #EAFAF1!default;
23
24
  $wac-header-color: #1e2e43!default;
24
25
  $wac-hover-btn-grey: #5263841a!default;
25
26
  $wac-info-box-shadow: #e5e5e5!default;
@@ -43,6 +44,7 @@ $wac-primary-button-darken: #e32929!default;
43
44
  $wac-primary-button: #e95656!default;
44
45
  $wac-primary-button-disabled: #f3a1a1!default;
45
46
  $wac-primary-button-focus: #d02323!default;
47
+ $wac-primary-button-light: #FCEEEE!default;
46
48
  $wac-primary: #e95656!default;
47
49
  $wac-second-color: #526384!default;
48
50
  $wac-secondary-color: #526384!default;
@@ -723,6 +725,14 @@ $wac-color-success-popup-alert: #6DCC95!default;
723
725
  height: auto;
724
726
  }
725
727
 
728
+ &.stretch {
729
+ display: flex;
730
+ flex-wrap: wrap;
731
+ .wac-block__content {
732
+ display: flex;
733
+ }
734
+ }
735
+
726
736
  /*************************/
727
737
  /* Titre INTERNE au bloc */
728
738
  /*************************/
@@ -3375,6 +3385,15 @@ span.wac-tooltip {
3375
3385
  }
3376
3386
  }
3377
3387
 
3388
+ &.opacity {
3389
+ background-color: $wac-primary-button-light;
3390
+ border-color: $wac-primary-button-light;
3391
+ &:hover, &:focus {
3392
+ background-color: $wac-primary-button;
3393
+ border-color: $wac-primary-button;
3394
+ }
3395
+ }
3396
+
3378
3397
  &.disabled {
3379
3398
  background-color: $wac-primary-button-disabled;
3380
3399
  border-color: $wac-primary-button-disabled;
@@ -3448,6 +3467,14 @@ span.wac-tooltip {
3448
3467
  transition: background-color 0.3s ease-in-out;
3449
3468
  }
3450
3469
  }
3470
+ &.opacity {
3471
+ background-color: $wac-green-opacity;
3472
+ border-color: $wac-green-opacity;
3473
+ &:hover, &:focus {
3474
+ background-color: $wac-green-color;
3475
+ border-color: $wac-green-color;
3476
+ }
3477
+ }
3451
3478
  &.disabled {
3452
3479
  background-color: $wac-green-color-disabled;
3453
3480
  border-color: $wac-green-color-disabled;
@@ -3588,7 +3615,7 @@ span.wac-tooltip {
3588
3615
  &__icon {
3589
3616
  font-size: 30px;
3590
3617
  line-height: 18px;
3591
- color: $wac-border-form;
3618
+ color: $wac-second-color;
3592
3619
  transition: color 0.3s ease, transform 0.3s ease;
3593
3620
  }
3594
3621
 
@@ -3641,7 +3668,7 @@ span.wac-tooltip {
3641
3668
 
3642
3669
  &:hover {
3643
3670
  .wac-dropdown__wrapper__icon {
3644
- color: $wac-second-color;
3671
+ color: $wac-wizishop-blue;
3645
3672
  transform: rotate(90deg);
3646
3673
  transition: color 0.3s ease, transform 0.3s ease;
3647
3674
  }
@@ -914,6 +914,7 @@
914
914
  this.hasLoader = false;
915
915
  this.disabled = false;
916
916
  this.whiteSpaceNowrap = false;
917
+ this.opacity = false;
917
918
  this.click = new i0.EventEmitter();
918
919
  this.isLoading = false;
919
920
  this.interval = null;
@@ -953,7 +954,7 @@
953
954
  ButtonComponent.decorators = [
954
955
  { type: i0.Component, args: [{
955
956
  selector: 'wac-button',
956
- template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"onButtonClick($event)\"\n [ngClass]=\"[label === '' ? 'alone' : '', isLoading ? 'is-loading' : '', disabled ? 'disabled' : '', widthAuto ? 'width-auto' : '', whiteSpaceNowrap ? 'white-space-no-wrap' : '']\"\n>\n <span class=\"wac-button__wrapper\">\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 class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading || interval !== null\"\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</a>\n"
957
+ template: "<a\n [class]=\"'wac-button ' + extraClasses\"\n (click)=\"onButtonClick($event)\"\n [ngClass]=\"[label === '' ? 'alone' : '', isLoading ? 'is-loading' : '', opacity ? 'opacity' : '', disabled ? 'disabled' : '', widthAuto ? 'width-auto' : '', whiteSpaceNowrap ? 'white-space-no-wrap' : '']\"\n>\n <span class=\"wac-button__wrapper\">\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 class=\"wac-button__loader\"\n [ngClass]=\"extraClasses.includes('is-outlined') ? 'outlined' : ''\"\n *ngIf=\"isLoading || interval !== null\"\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</a>\n"
957
958
  },] }
958
959
  ];
959
960
  ButtonComponent.ctorParameters = function () { return []; };
@@ -967,6 +968,7 @@
967
968
  hasLoader: [{ type: i0.Input }],
968
969
  disabled: [{ type: i0.Input }],
969
970
  whiteSpaceNowrap: [{ type: i0.Input }],
971
+ opacity: [{ type: i0.Input }],
970
972
  click: [{ type: i0.Output }]
971
973
  };
972
974
 
@@ -3302,13 +3304,14 @@
3302
3304
  this.titleUppercase = true;
3303
3305
  this.borderRadius = false;
3304
3306
  this.removePadding = false;
3307
+ this.stretchHeight = false;
3305
3308
  }
3306
3309
  return BlockComponent;
3307
3310
  }());
3308
3311
  BlockComponent.decorators = [
3309
3312
  { type: i0.Component, args: [{
3310
3313
  selector: 'wac-block',
3311
- template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
3314
+ template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'stretch': stretchHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
3312
3315
  },] }
3313
3316
  ];
3314
3317
  BlockComponent.ctorParameters = function () { return []; };
@@ -3321,7 +3324,8 @@
3321
3324
  icon: [{ type: i0.Input }],
3322
3325
  titleUppercase: [{ type: i0.Input }],
3323
3326
  borderRadius: [{ type: i0.Input }],
3324
- removePadding: [{ type: i0.Input }]
3327
+ removePadding: [{ type: i0.Input }],
3328
+ stretchHeight: [{ type: i0.Input }]
3325
3329
  };
3326
3330
 
3327
3331
  var WrapperComponent = /** @class */ (function () {
@@ -3665,6 +3669,7 @@
3665
3669
  exports.AbstractDebounceDirective = AbstractDebounceDirective;
3666
3670
  exports.AlertComponent = AlertComponent;
3667
3671
  exports.AlertPopupComponent = AlertPopupComponent;
3672
+ exports.AlertPopupModule = AlertPopupModule;
3668
3673
  exports.AlertPopupService = AlertPopupService;
3669
3674
  exports.AutoHideDirective = AutoHideDirective;
3670
3675
  exports.BackComponent = BackComponent;
@@ -3737,8 +3742,7 @@
3737
3742
  exports.ɵk = LoaderModule;
3738
3743
  exports.ɵl = CheckboxModule;
3739
3744
  exports.ɵm = inOutY;
3740
- exports.ɵn = AlertPopupModule;
3741
- exports.ɵo = inOutX;
3745
+ exports.ɵn = inOutX;
3742
3746
 
3743
3747
  Object.defineProperty(exports, '__esModule', { value: true });
3744
3748