@wizishop/angular-components 0.0.116 → 0.0.119

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.
@@ -6,9 +6,9 @@ $wac-background-color-disabled: #ecf0f1!default;
6
6
  $wac-table-background-color: #fafafa!default;
7
7
  $wac-bleu-color: #52aecd!default;
8
8
  $wac-red-color: #ff1800!default;
9
- $wac-border-color: #dee2ed!default;
10
- $wac-border-form: #dee2ed!default;
11
- $wac-border-light: #dee2ed!default;
9
+ $wac-border-color: #cfd4e4!default;
10
+ $wac-border-form: #cfd4e4!default;
11
+ $wac-border-light: #cfd4e4!default;
12
12
  $wac-color-loader2: #a2c739!default;
13
13
  $wac-color-loader: #4baed0!default;
14
14
  $wac-color-text-grey: #6b7881!default;
@@ -25,8 +25,8 @@ $wac-header-color: #1e2e43!default;
25
25
  $wac-hover-btn-grey: #5263841a!default;
26
26
  $wac-info-box-shadow: #e5e5e5!default;
27
27
  $wac-input-active-color: #52aecd!default;
28
- $wac-input-border-search: #dee2ed!default;
29
- $wac-input-border: #dee2ed!default;
28
+ $wac-input-border-search: #cfd4e4!default;
29
+ $wac-input-border: #cfd4e4!default;
30
30
  $wac-input-radio-color-active-label: #1e2e43!default;
31
31
  $wac-input-radio-color-label: #6b7881!default;
32
32
  $wac-lightened-secondary: #d8d8d8!default;
@@ -57,7 +57,7 @@ $wac-second-color: #526384!default;
57
57
  $wac-secondary-color: #526384!default;
58
58
  $wac-secondary-text: #6c6c6c!default;
59
59
  $wac-p-alert-color-success: #11552e!default;
60
- $wac-textarea-border-color: #dee2ed!default;
60
+ $wac-textarea-border-color: #cfd4e4!default;
61
61
  $wac-warning-color: #f5b226!default;
62
62
  $wac-white: #ffffff!default;
63
63
  $wac-wizishop-blue-button-darken: #3596b7!default;
@@ -91,7 +91,7 @@ $wac-checkbox-shadow: #52aecd66!default;
91
91
 
92
92
  $wac-edit-in-place-border: #a8a8a8!default;
93
93
  $wac-edit-in-place-background: #ffffff!default;
94
- $wac-edit-in-place-before-border-bottom: #dee2ed!default;
94
+ $wac-edit-in-place-before-border-bottom: #cfd4e4!default;
95
95
 
96
96
  $wac-free-popin-boxshadow: #2F35424D!default;
97
97
 
@@ -305,7 +305,22 @@ $wac-color-success-popup-alert: #6DCC95!default;
305
305
  background-color: $wac-wizishop-blue;
306
306
  color: $white;
307
307
  }
308
+
309
+ @include media('<1024px') {
310
+ display: none;
311
+ }
308
312
  }
313
+
314
+ &__button {
315
+ height: rem(40);
316
+ width: fit-content;
317
+ margin-left: auto;
318
+
319
+ @include media('>1024px') {
320
+ display: none;
321
+ }
322
+ }
323
+
309
324
  }
310
325
  &__content {
311
326
  width: 100%;
@@ -350,8 +365,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
350
365
  }
351
366
  }
352
367
  }
353
- }
354
- .wac {
368
+ }.wac {
355
369
  &-select-in-text {
356
370
  width: auto;
357
371
  position: relative;
@@ -2513,6 +2527,12 @@ $wac-color-success-popup-alert: #6DCC95!default;
2513
2527
  font-weight: 500 !important;
2514
2528
  margin-bottom: 0;
2515
2529
  }
2530
+
2531
+ textarea {
2532
+ &.is-danger {
2533
+ border-color: $wac-primary-button !important;
2534
+ }
2535
+ }
2516
2536
  textarea:focus {
2517
2537
  border-color: $wizishop-blue !important;
2518
2538
 
@@ -947,7 +947,7 @@
947
947
 
948
948
  var ButtonComponent = /** @class */ (function () {
949
949
  function ButtonComponent() {
950
- this.extraClasses = 'is-info';
950
+ this.extraClasses = 'is-info'; // todo make a list of existing class
951
951
  this.label = '';
952
952
  this.icon = '';
953
953
  this.widthAuto = false;
@@ -957,6 +957,7 @@
957
957
  this.disabled = false;
958
958
  this.whiteSpaceNowrap = false;
959
959
  this.opacity = false;
960
+ // TODO MAKE ANNIMATION AVAILABLE FOR MOBILE as CONFIRM DELETE DO (because, its doeant show the text and trigger click)
960
961
  this.animation = false;
961
962
  this.animationRight = false;
962
963
  this.animationText = '';
@@ -2080,6 +2081,7 @@
2080
2081
 
2081
2082
  var SwitchComponent = /** @class */ (function () {
2082
2083
  function SwitchComponent() {
2084
+ // todo add ngmodel and review texts display (textState is mandaoty in order to display textStateEnable and textStateDisable)
2083
2085
  this.value = false;
2084
2086
  this.textState = false;
2085
2087
  this.textStateEnable = '';
@@ -3809,7 +3811,7 @@
3809
3811
  SelectedListComponent.decorators = [
3810
3812
  { type: i0.Component, args: [{
3811
3813
  selector: 'wac-selected-list',
3812
- template: "<div class=\"selected-list\">\n <div class=\"selected-list__wrapper\">\n <div class=\"selected-list__wrapper__head\">\n <p *ngIf=\"label\" [innerHTML]=\"label\"></p>\n <ng-container *ngVar=\"(options | areAllOptionsSelected) as areAllOptionsSelected\">\n <span *ngIf=\"textSelectAll && !areAllOptionsSelected\" [innerHTML]=\"textSelectAll\" (click)=\"onSelectAll()\"></span>\n <span *ngIf=\"textUnSelectAll && areAllOptionsSelected\" [innerHTML]=\"textUnSelectAll\" (click)=\"onUnSelectAll()\"></span>\n </ng-container>\n\n </div>\n <div class=\"selected-list__wrapper__content\">\n <div class=\"selected-list__wrapper__content__item\" *ngFor=\"let item of options;let i = index;\" [ngClass]=\"{'active': item.checked}\" (click)=\"onSelectItem(i)\">\n <span [innerHTML]=\"item.label\"></span>\n <i class=\"fas fa-check\"></i>\n </div>\n </div>\n </div>\n</div>\n"
3814
+ template: "<div class=\"selected-list\">\n <div class=\"selected-list__wrapper\">\n <div class=\"selected-list__wrapper__head\">\n <p *ngIf=\"label\" [innerHTML]=\"label\"></p>\n <ng-container *ngVar=\"(options | areAllOptionsSelected) as areAllOptionsSelected\">\n <ng-container *ngIf=\"textSelectAll && !areAllOptionsSelected\">\n\n <span [innerHTML]=\"textSelectAll\" (click)=\"onSelectAll()\"></span>\n <div class=\"selected-list__wrapper__head__button\">\n <wac-button\n [extraClasses]=\"'is-grey'\"\n [icon]=\"'fa-duotone fa-check-double'\"\n (click)=\"onSelectAll()\"\n >\n </wac-button>\n </div>\n\n </ng-container>\n\n <ng-container *ngIf=\"textUnSelectAll && areAllOptionsSelected\">\n <span [innerHTML]=\"textUnSelectAll\" (click)=\"onUnSelectAll()\"></span>\n <div class=\"selected-list__wrapper__head__button\">\n <wac-button\n [extraClasses]=\"'is-grey'\"\n [icon]=\"'fa-duotone fa-check-double'\"\n (click)=\"onUnSelectAll()\"\n >\n </wac-button>\n </div>\n </ng-container>\n\n </ng-container>\n\n </div>\n <div class=\"selected-list__wrapper__content\">\n <div class=\"selected-list__wrapper__content__item\" *ngFor=\"let item of options;let i = index;\" [ngClass]=\"{'active': item.checked}\" (click)=\"onSelectItem(i)\">\n <span [innerHTML]=\"item.label\"></span>\n <i class=\"fas fa-check\"></i>\n </div>\n </div>\n </div>\n</div>\n"
3813
3815
  },] }
3814
3816
  ];
3815
3817
  SelectedListComponent.propDecorators = {