@wizishop/angular-components 0.0.187 → 0.0.188

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.
@@ -2936,9 +2936,10 @@ $wac-subtitle-color: #7A87A1!default;
2936
2936
  }
2937
2937
  }
2938
2938
  }
2939
- .wac-image {
2940
- width: 60px;
2941
- height: 60px;
2939
+ .wac-info {
2940
+ display: inline-block;
2941
+ width: 40px;
2942
+ height: 40px;
2942
2943
 
2943
2944
  &__wrapper {
2944
2945
  @include flexbox();
@@ -2946,20 +2947,48 @@ $wac-subtitle-color: #7A87A1!default;
2946
2947
  @include align-items(center);
2947
2948
  width: 100%;
2948
2949
  height: 100%;
2949
- border-radius: 3px;
2950
- border: 1px solid $wac-border-light;
2951
- background-position: center;
2952
- background-size: contain;
2953
- background-repeat: no-repeat;
2950
+ position: relative;
2954
2951
 
2955
- &.empty {
2956
- background-color: $wac-gray-background;
2952
+ i {
2953
+ font-size: 14px;
2954
+ line-height: 25px;
2955
+ color: $wac-second-color;
2956
+ transition: color 0.3s ease-in-out;
2957
2957
  }
2958
2958
 
2959
- i {
2960
- color: $wac-border-form;
2961
- font-size: 25px;
2962
- line-height: 23px;
2959
+ &__sublevel {
2960
+ position: absolute;
2961
+ width: 350px;
2962
+ top: 13px;
2963
+ left: 100%;
2964
+ z-index: -1;
2965
+ opacity: 0;
2966
+ background-color: $wac-white;
2967
+ border-radius: rem(3);
2968
+ box-shadow: 0px 2px 5px $wac-info-box-shadow;
2969
+ visibility: hidden;
2970
+ transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
2971
+
2972
+ &__container {
2973
+ padding: 15px 20px;
2974
+ font-size: rem(14);
2975
+ line-height: rem(25);
2976
+ color: $wac-second-color;
2977
+ }
2978
+ }
2979
+
2980
+ &:hover {
2981
+ i {
2982
+ color: $wac-input-active-color;
2983
+ transition: color 0.3s ease-in-out;
2984
+ }
2985
+
2986
+ .wac-info__wrapper__sublevel {
2987
+ visibility: visible;
2988
+ opacity: 1;
2989
+ z-index: 2;
2990
+ transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
2991
+ }
2963
2992
  }
2964
2993
  }
2965
2994
  }
@@ -4017,8 +4046,18 @@ span.wac-tooltip {
4017
4046
  @include media('>=desktop') {
4018
4047
  margin: 0 0 0 30px;
4019
4048
  }
4049
+ @include media('>=1920px') {
4050
+ width: calc(43% - 30px);
4051
+ }
4020
4052
  &:empty {
4021
4053
  display: none;
4054
+ & + .wac-wrapper-multiple-block {
4055
+ @include media('>=desktop') {
4056
+ width: 57%;
4057
+ min-width: 57%;
4058
+ max-width: 57%;
4059
+ }
4060
+ }
4022
4061
  }
4023
4062
  }
4024
4063
  &__content {
@@ -4032,6 +4071,9 @@ span.wac-tooltip {
4032
4071
  @include media('>=1600px') {
4033
4072
  min-width: 1080px;
4034
4073
  }
4074
+ @include media('>=1920px') {
4075
+ width: 57%;
4076
+ }
4035
4077
  }
4036
4078
  }
4037
4079
  .wac-free-popin {
@@ -4295,10 +4337,11 @@ h1.wac-h1 {
4295
4337
  &__loader {
4296
4338
  min-height: 450px;
4297
4339
  width: 100%;
4298
- display: flex;
4299
- justify-content: center;
4300
- align-items: center;
4301
-
4340
+ @include media('>tablet') {
4341
+ flex-direction: row;
4342
+ width: calc(100% + 10px);
4343
+ transform: translateX(-5px);
4344
+ }
4302
4345
  }
4303
4346
  &__wrapper {
4304
4347
  width: 100%;
@@ -7205,10 +7248,9 @@ div.wac-field-input-search {
7205
7248
  border-radius: 3px;
7206
7249
  }
7207
7250
  }
7208
- .wac-info {
7209
- display: inline-block;
7210
- width: 40px;
7211
- height: 40px;
7251
+ .wac-image {
7252
+ width: 60px;
7253
+ height: 60px;
7212
7254
 
7213
7255
  &__wrapper {
7214
7256
  @include flexbox();
@@ -7216,48 +7258,20 @@ div.wac-field-input-search {
7216
7258
  @include align-items(center);
7217
7259
  width: 100%;
7218
7260
  height: 100%;
7219
- position: relative;
7220
-
7221
- i {
7222
- font-size: 14px;
7223
- line-height: 25px;
7224
- color: $wac-second-color;
7225
- transition: color 0.3s ease-in-out;
7226
- }
7227
-
7228
- &__sublevel {
7229
- position: absolute;
7230
- width: 350px;
7231
- top: 13px;
7232
- left: 100%;
7233
- z-index: -1;
7234
- opacity: 0;
7235
- background-color: $wac-white;
7236
- border-radius: rem(3);
7237
- box-shadow: 0px 2px 5px $wac-info-box-shadow;
7238
- visibility: hidden;
7239
- transition: opacity 0.15s ease-in-out, z-index 0.15s ease-in-out, visibility 0s linear 0.16s;
7261
+ border-radius: 3px;
7262
+ border: 1px solid $wac-border-light;
7263
+ background-position: center;
7264
+ background-size: contain;
7265
+ background-repeat: no-repeat;
7240
7266
 
7241
- &__container {
7242
- padding: 15px 20px;
7243
- font-size: rem(14);
7244
- line-height: rem(25);
7245
- color: $wac-second-color;
7246
- }
7267
+ &.empty {
7268
+ background-color: $wac-gray-background;
7247
7269
  }
7248
7270
 
7249
- &:hover {
7250
- i {
7251
- color: $wac-input-active-color;
7252
- transition: color 0.3s ease-in-out;
7253
- }
7254
-
7255
- .wac-info__wrapper__sublevel {
7256
- visibility: visible;
7257
- opacity: 1;
7258
- z-index: 2;
7259
- transition: visibility 0s ease 0s, opacity 0.3s ease-in-out .1s;
7260
- }
7271
+ i {
7272
+ color: $wac-border-form;
7273
+ font-size: 25px;
7274
+ line-height: 23px;
7261
7275
  }
7262
7276
  }
7263
7277
  }
@@ -4459,7 +4459,7 @@
4459
4459
  MosaicComponent.decorators = [
4460
4460
  { type: i0.Component, args: [{
4461
4461
  selector: 'wac-mosaic',
4462
- template: "<div class=\"wac-mosaic\">\n <ng-scrollbar (reachedBottom)=\"onBottomReached()\" reachedOffset=\"200\" class=\"wac-mosaic__wrapper__scrollbar\">\n <div class=\"wac-mosaic__wrapper\">\n <div class=\"wac-mosaic__wrapper__column\" *ngFor=\"let column of columns\">\n <div class=\"wac-mosaic__wrapper__column__image\" *ngFor=\"let image of column; let i = index;\">\n <img [src]=\"image.src\" [alt]=\"image.alt\"/>\n <div class=\"hover\">\n <ng-container\n [ngTemplateOutlet]=\"hoverImageTemplate || defaultImportButton\"\n [ngTemplateOutletContext]=\"{ $implicit: image }\"\n >\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n </ng-scrollbar>\n</div>\n\n<div class=\"wac-mosaic__loader\" *ngIf=\"isLoading\">\n <wac-loader></wac-loader>\n</div>\n\n<ng-template #defaultImportButton let-image>\n <wac-button [icon]=\"'fa-solid fa-image'\" [label]=\"'wac.MosaicComponent.import' | translate\" [extraClasses]=\"'is-success'\" (click)=\"onImportImage(image.src)\"></wac-button>\n</ng-template>\n",
4462
+ template: "<div class=\"wac-mosaic\">\n <ng-scrollbar (reachedBottom)=\"onBottomReached()\" reachedOffset=\"200\" class=\"wac-mosaic__wrapper__scrollbar\">\n <div class=\"wac-mosaic__wrapper\">\n <div class=\"wac-mosaic__wrapper__column\" *ngFor=\"let column of columns\">\n <div class=\"wac-mosaic__wrapper__column__image\" *ngFor=\"let image of column; let i = index;\">\n <img [src]=\"image.src\" [alt]=\"image.alt\"/>\n <div class=\"hover\">\n <ng-container\n [ngTemplateOutlet]=\"hoverImageTemplate || defaultImportButton\"\n [ngTemplateOutletContext]=\"{ $implicit: image }\"\n >\n </ng-container>\n </div>\n </div>\n </div>\n <div class=\"wac-mosaic__loader\" *ngIf=\"isLoading\">\n\n </div>\n </div>\n </ng-scrollbar>\n</div>\n\n<ng-template #defaultImportButton let-image>\n <wac-button [icon]=\"'fa-solid fa-image'\" [label]=\"'wac.MosaicComponent.import' | translate\" [extraClasses]=\"'is-success'\" (click)=\"onImportImage(image.src)\"></wac-button>\n</ng-template>\n",
4463
4463
  encapsulation: i0.ViewEncapsulation.None,
4464
4464
  changeDetection: i0.ChangeDetectionStrategy.OnPush
4465
4465
  },] }