@wizishop/angular-components 0.0.129 → 0.0.132

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.
@@ -108,6 +108,8 @@ $wac-button-tab-background: #EAEDF5!default;
108
108
 
109
109
  $wac-color-success-popup-alert: #6DCC95!default;
110
110
 
111
+ $wac-background-indication: #EDEFF2!default;
112
+
111
113
  .zindexToggle {
112
114
  z-index: 9!important;
113
115
  position: relative;
@@ -273,6 +275,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
273
275
  width: 100%;
274
276
  min-height: rem(60);
275
277
  display: flex;
278
+ justify-content: space-between;
276
279
  padding: 10px 20px;
277
280
  background-color: $wac-gray-background;
278
281
  margin: 0 0 10px;
@@ -284,41 +287,24 @@ $wac-color-success-popup-alert: #6DCC95!default;
284
287
  line-height: rem(19);
285
288
  font-weight: 500;
286
289
  }
287
- > span {
288
- height: rem(40);
289
- white-space: nowrap;
290
- border: 1px solid $wac-wizishop-blue;
291
- color: $wac-wizishop-blue;
292
- border-radius: 2px;
293
- padding: 0 20px;
294
- display: flex;
295
- justify-content: center;
296
- align-items: center;
297
- font-size: rem(16);
298
- line-height: 1;
299
- font-weight: 500;
300
- align-self: flex-end;
301
- margin-left: auto;
302
- transition: .3s ease;
303
- cursor: pointer;
304
- &:hover, &:focus {
305
- background-color: $wac-wizishop-blue;
306
- color: $white;
307
- }
308
-
309
- @include media('<1024px') {
310
- display: none;
311
- }
312
- }
313
290
 
314
291
  &__button {
315
292
  height: rem(40);
316
293
  width: fit-content;
317
294
  margin-left: auto;
318
295
 
319
- @include media('>=1024px') {
320
- display: none;
296
+ &__mobile {
297
+ @include media('>=1024px') {
298
+ display: none;
299
+ }
321
300
  }
301
+
302
+ &__notMobile {
303
+ @include media('<1024px') {
304
+ display: none;
305
+ }
306
+ }
307
+
322
308
  }
323
309
 
324
310
  }
@@ -659,6 +645,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
659
645
  min-width: unset;
660
646
  margin: 0 0 100px;
661
647
  background-color: $wac-tag-success;
648
+ font-size: rem(14);
662
649
  &.is-danger {
663
650
  background-color: $wac-primary-button;
664
651
  }
@@ -669,6 +656,7 @@ $wac-color-success-popup-alert: #6DCC95!default;
669
656
  }
670
657
  .wac-alert-popup {
671
658
  &__text {
659
+ font-size: rem(14);
672
660
  white-space: nowrap;
673
661
  font-weight: 600;
674
662
  }
@@ -2271,6 +2259,68 @@ $wac-color-success-popup-alert: #6DCC95!default;
2271
2259
  }
2272
2260
  }
2273
2261
  }
2262
+ .wac-text {
2263
+ font-size: rem(14);
2264
+ line-height: rem(25);
2265
+ color: $wac-main-text;
2266
+ margin: 0 0 rem(30);
2267
+ &.grey {
2268
+ color: $wac-second-color;
2269
+ }
2270
+ &.yellow {
2271
+ color: $wac-warning-color;
2272
+ }
2273
+ &.red {
2274
+ color: $wac-primary;
2275
+ }
2276
+ &.label {
2277
+ color: $placeholder-color;
2278
+ }
2279
+ &.optional {
2280
+ font-size: rem(12);
2281
+ line-height: rem(23);
2282
+ color: $color-text-grey;
2283
+ font-style: italic;
2284
+ }
2285
+ p {
2286
+ font: inherit;
2287
+ line-height: inherit;
2288
+ color: inherit;
2289
+ margin: inherit;
2290
+ }
2291
+ }
2292
+ .wac-label {
2293
+ @include flexbox();
2294
+ background-color: $wac-gray-background;
2295
+ border-radius: 3px;
2296
+ border: 1px solid $wac-gray-background;
2297
+ transition: border-color 0.3s ease-in-out;
2298
+
2299
+ &__wrapper {
2300
+ padding: 7.5px 13px;
2301
+ font-size: 14px;
2302
+ line-height: 16px;
2303
+ color: $wac-second-color;
2304
+
2305
+ i {
2306
+ margin-left: 10px;
2307
+ font-size: 12px;
2308
+ line-height: 23px;
2309
+ color: $wac-border-form;
2310
+ transition: color 0.3s ease-in-out;
2311
+ }
2312
+ }
2313
+
2314
+ &:hover {
2315
+ border-color: $wac-input-border;
2316
+ transition: border-color 0.3s ease-in-out;
2317
+
2318
+ .wac-label__wrapper i {
2319
+ color: $wac-second-color;
2320
+ transition: color 0.3s ease-in-out;
2321
+ }
2322
+ }
2323
+ }
2274
2324
  .wac-tag {
2275
2325
  display: flex;
2276
2326
  align-items: center;
@@ -2380,68 +2430,6 @@ $wac-color-success-popup-alert: #6DCC95!default;
2380
2430
  }
2381
2431
  }
2382
2432
  }
2383
- .wac-label {
2384
- @include flexbox();
2385
- background-color: $wac-gray-background;
2386
- border-radius: 3px;
2387
- border: 1px solid $wac-gray-background;
2388
- transition: border-color 0.3s ease-in-out;
2389
-
2390
- &__wrapper {
2391
- padding: 7.5px 13px;
2392
- font-size: 14px;
2393
- line-height: 16px;
2394
- color: $wac-second-color;
2395
-
2396
- i {
2397
- margin-left: 10px;
2398
- font-size: 12px;
2399
- line-height: 23px;
2400
- color: $wac-border-form;
2401
- transition: color 0.3s ease-in-out;
2402
- }
2403
- }
2404
-
2405
- &:hover {
2406
- border-color: $wac-input-border;
2407
- transition: border-color 0.3s ease-in-out;
2408
-
2409
- .wac-label__wrapper i {
2410
- color: $wac-second-color;
2411
- transition: color 0.3s ease-in-out;
2412
- }
2413
- }
2414
- }
2415
- .wac-text {
2416
- font-size: rem(14);
2417
- line-height: rem(25);
2418
- color: $wac-main-text;
2419
- margin: 0 0 rem(30);
2420
- &.grey {
2421
- color: $wac-second-color;
2422
- }
2423
- &.yellow {
2424
- color: $wac-warning-color;
2425
- }
2426
- &.red {
2427
- color: $wac-primary;
2428
- }
2429
- &.label {
2430
- color: $placeholder-color;
2431
- }
2432
- &.optional {
2433
- font-size: rem(12);
2434
- line-height: rem(23);
2435
- color: $color-text-grey;
2436
- font-style: italic;
2437
- }
2438
- p {
2439
- font: inherit;
2440
- line-height: inherit;
2441
- color: inherit;
2442
- margin: inherit;
2443
- }
2444
- }
2445
2433
  .wac-loader {
2446
2434
  &.is-small {
2447
2435
  position: absolute;
@@ -5923,17 +5911,21 @@ div.wac-field-input-search {
5923
5911
  .wac-input {
5924
5912
  .indication {
5925
5913
  position: absolute;
5926
- right: 1px;
5927
- top: 1px;
5928
- height: 38px;
5929
- color: $wac-second-color;
5914
+ right: 0;
5915
+ top: 0;
5916
+ height: 40px;
5917
+ color: $wac-main-text;
5930
5918
  font-size: rem(14);
5931
- padding: 7.5px 20px;
5932
- background-color: $gray-background;
5933
- border-left: 1px solid $wac-border-form;
5919
+ padding: 7.5px 15px;
5920
+ background-color: $wac-background-indication;
5921
+ border: none;
5934
5922
  border-radius: 3px 3px 0 0;
5935
5923
  white-space: nowrap;
5936
5924
  transition: .3s ease;
5925
+ font-weight: 500;
5926
+ display: flex;
5927
+ align-items: center;
5928
+ z-index: 2;
5937
5929
  &.reverse {
5938
5930
  right: auto;
5939
5931
  left: 1px;
@@ -3975,7 +3975,7 @@
3975
3975
  SelectedListComponent.decorators = [
3976
3976
  { type: i0.Component, args: [{
3977
3977
  selector: 'wac-selected-list',
3978
- 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 [icon]=\"'fad 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]=\"'fad 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"
3978
+ 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 <div class=\"selected-list__wrapper__head__button\">\n\n <div class=\"selected-list__wrapper__head__button__notMobile\">\n <wac-button\n [label]=\"textSelectAll\"\n (click)=\"onSelectAll()\"\n >\n </wac-button>\n </div>\n\n <div class=\"selected-list__wrapper__head__button__mobile\">\n <wac-button\n [extraClasses]=\"'is-grey'\"\n [icon]=\"'fad fa-check-double'\"\n (click)=\"onSelectAll()\"\n >\n </wac-button>\n </div>\n\n </div>\n\n </ng-container>\n\n <ng-container *ngIf=\"textUnSelectAll && areAllOptionsSelected\">\n\n <div class=\"selected-list__wrapper__head__button\">\n\n <div class=\"selected-list__wrapper__head__button__notMobile\">\n <wac-button\n [extraClasses]=\"'is-info'\"\n [label]=\"textUnSelectAll\"\n (click)=\"onUnSelectAll()\"\n >\n </wac-button>\n </div>\n\n <div class=\"selected-list__wrapper__head__button__mobile\">\n <wac-button\n [extraClasses]=\"'is-grey'\"\n [icon]=\"'fad fa-check-double'\"\n (click)=\"onUnSelectAll()\"\n >\n </wac-button>\n </div>\n\n </div>\n\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"
3979
3979
  },] }
3980
3980
  ];
3981
3981
  SelectedListComponent.propDecorators = {