@wizishop/angular-components 0.0.161 → 0.0.162

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.
@@ -2298,7 +2298,8 @@ $wac-subtitle-color: #7A87A1!default;
2298
2298
  }
2299
2299
 
2300
2300
  > strong {
2301
- font-size: rem(30);
2301
+ font-size: rem(40);
2302
+ line-height: rem(47);
2302
2303
  text-align: center;
2303
2304
  display: block;
2304
2305
  width: 100%;
@@ -2309,7 +2310,7 @@ $wac-subtitle-color: #7A87A1!default;
2309
2310
  > p {
2310
2311
  font-size: rem(20);
2311
2312
  text-transform: uppercase;
2312
- margin: 0 0 30px;
2313
+ margin: 0 0 20px;
2313
2314
  text-align: center;
2314
2315
  display: block;
2315
2316
  width: 100%;
@@ -3109,6 +3110,9 @@ $wac-subtitle-color: #7A87A1!default;
3109
3110
  align-items: flex-start;
3110
3111
  margin: 0;
3111
3112
  }
3113
+ &.center {
3114
+ justify-content: center;
3115
+ }
3112
3116
  &__left {
3113
3117
  width: auto;
3114
3118
  display: flex;
@@ -3119,6 +3123,11 @@ $wac-subtitle-color: #7A87A1!default;
3119
3123
  width: 100%;
3120
3124
  margin: 0 0 30px;
3121
3125
  }
3126
+ &.fullsize {
3127
+ width: 100%;
3128
+ margin: 0;
3129
+ justify-content: center;
3130
+ }
3122
3131
  a {
3123
3132
  display: flex;
3124
3133
  min-width: 40px;
@@ -3406,6 +3415,15 @@ a.wac-link {
3406
3415
  }
3407
3416
  }
3408
3417
  }
3418
+ .wac-mosaic {
3419
+ &__loader {
3420
+ min-height: 400px;
3421
+ width: 100%;
3422
+ display: flex;
3423
+ justify-content: center;
3424
+ align-items: center;
3425
+ }
3426
+ }
3409
3427
  .wac-multiple-search {
3410
3428
  width: 100%;
3411
3429
  min-height: 50px;
@@ -5721,6 +5739,9 @@ h1.wac-h1 {
5721
5739
  display: flex;
5722
5740
  align-items: center;
5723
5741
  }
5742
+ &.center {
5743
+ text-align: center;
5744
+ }
5724
5745
 
5725
5746
  small {
5726
5747
  font-size: rem(18);
@@ -2045,13 +2045,15 @@
2045
2045
  maxlength: [{ type: i0.Input }],
2046
2046
  max: [{ type: i0.Input }],
2047
2047
  dynamicSize: [{ type: i0.Input }],
2048
- progressBar: [{ type: i0.Input }]
2048
+ progressBar: [{ type: i0.Input }],
2049
+ disabled: [{ type: i0.Input }]
2049
2050
  };
2050
2051
 
2051
2052
  var H1Component = /** @class */ (function () {
2052
2053
  function H1Component() {
2053
2054
  this.annotation = '';
2054
2055
  this.withImg = false;
2056
+ this.center = false;
2055
2057
  }
2056
2058
  H1Component.prototype.ngOnInit = function () { };
2057
2059
  return H1Component;
@@ -2059,13 +2061,14 @@
2059
2061
  H1Component.decorators = [
2060
2062
  { type: i0.Component, args: [{
2061
2063
  selector: 'wac-h1',
2062
- template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
2064
+ template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg, 'center': center}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
2063
2065
  },] }
2064
2066
  ];
2065
2067
  H1Component.ctorParameters = function () { return []; };
2066
2068
  H1Component.propDecorators = {
2067
2069
  annotation: [{ type: i0.Input }],
2068
- withImg: [{ type: i0.Input }]
2070
+ withImg: [{ type: i0.Input }],
2071
+ center: [{ type: i0.Input }]
2069
2072
  };
2070
2073
 
2071
2074
  var H2Component = /** @class */ (function () {
@@ -2103,6 +2106,7 @@
2103
2106
  var HeaderPageComponent = /** @class */ (function () {
2104
2107
  function HeaderPageComponent() {
2105
2108
  this.withImg = false;
2109
+ this.center = false;
2106
2110
  }
2107
2111
  HeaderPageComponent.prototype.ngOnInit = function () { };
2108
2112
  return HeaderPageComponent;
@@ -2110,14 +2114,15 @@
2110
2114
  HeaderPageComponent.decorators = [
2111
2115
  { type: i0.Component, args: [{
2112
2116
  selector: 'wac-header-page',
2113
- template: "<div class=\"wac-header-page\">\n <div class=\"wac-header-page__maxWidth\">\n <div class=\"wac-header-page__maxWidth__top\">\n <div class=\"wac-header-page__maxWidth__top__left\">\n <!-- TODO Hard to use when only want a button and not a router link -->\n <a *ngIf=\"linkBack\" [routerLink]=\"linkBack\"><i class=\"fas fa-chevron-left\"></i></a>\n <wac-h1 [withImg]=\"withImg\">{{ title }}<ng-content select=\"[role=header]\"></ng-content></wac-h1>\n </div>\n <div class=\"wac-header-page__maxWidth__top__right\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n"
2117
+ template: "<div class=\"wac-header-page\">\n <div class=\"wac-header-page__maxWidth\">\n <div class=\"wac-header-page__maxWidth__top\" [ngClass]=\"{'center':center}\">\n <div class=\"wac-header-page__maxWidth__top__left\" [ngClass]=\"{'fullsize':center}\">\n <!-- TODO Hard to use when only want a button and not a router link -->\n <a *ngIf=\"linkBack\" [routerLink]=\"linkBack\"><i class=\"fas fa-chevron-left\"></i></a>\n <wac-h1 [center]=\"center\" [withImg]=\"withImg\">{{ title }}<ng-content select=\"[role=header]\"></ng-content></wac-h1>\n </div>\n <div class=\"wac-header-page__maxWidth__top__right\" *ngIf=\"!center\">\n <ng-content></ng-content>\n </div>\n </div>\n </div>\n</div>\n"
2114
2118
  },] }
2115
2119
  ];
2116
2120
  HeaderPageComponent.ctorParameters = function () { return []; };
2117
2121
  HeaderPageComponent.propDecorators = {
2118
2122
  title: [{ type: i0.Input }],
2119
2123
  linkBack: [{ type: i0.Input }],
2120
- withImg: [{ type: i0.Input }]
2124
+ withImg: [{ type: i0.Input }],
2125
+ center: [{ type: i0.Input }]
2121
2126
  };
2122
2127
 
2123
2128
  var InputComponent = /** @class */ (function () {
@@ -4371,6 +4376,26 @@
4371
4376
  borderRadius: [{ type: i0.Input }]
4372
4377
  };
4373
4378
 
4379
+ var MosaicComponent = /** @class */ (function () {
4380
+ function MosaicComponent() {
4381
+ this.isLoading = true;
4382
+ }
4383
+ MosaicComponent.prototype.ngOnInit = function () {
4384
+ };
4385
+ return MosaicComponent;
4386
+ }());
4387
+ MosaicComponent.decorators = [
4388
+ { type: i0.Component, args: [{
4389
+ selector: 'wac-mosaic',
4390
+ template: "<div class=\"wac-mosaic__loader\" *ngIf=\"isLoading\">\n <wac-loader></wac-loader>\n</div>\n<div class=\"wac-mosaic\" *ngIf=\"!isLoading\">\n <div class=\"wac-mosaic__wrapper\">\n <div class=\"wac-mosaic__wrapper__column\"></div>\n <div class=\"wac-mosaic__wrapper__column\" *ngIf=\"items\"></div>\n <div class=\"wac-mosaic__wrapper__column\"></div>\n </div>\n</div>\n",
4391
+ styles: [".wac-mosaic__loader{min-height:400px;width:100%;display:flex;justify-content:center;align-items:center}"]
4392
+ },] }
4393
+ ];
4394
+ MosaicComponent.ctorParameters = function () { return []; };
4395
+ MosaicComponent.propDecorators = {
4396
+ items: [{ type: i0.Input }]
4397
+ };
4398
+
4374
4399
  var components = [
4375
4400
  TagComponent,
4376
4401
  TabComponent,
@@ -4418,7 +4443,8 @@
4418
4443
  CardPriceComponent,
4419
4444
  TokenCheckComponent,
4420
4445
  BlockWithCheckboxComponent,
4421
- ConfirmDeleteComponent
4446
+ ConfirmDeleteComponent,
4447
+ MosaicComponent
4422
4448
  ];
4423
4449
  var exportsFromModule = [
4424
4450
  PaginationComponent,
@@ -4552,6 +4578,7 @@
4552
4578
  exports.LinkComponent = LinkComponent;
4553
4579
  exports.LoaderComponent = LoaderComponent;
4554
4580
  exports.LogoComponent = LogoComponent;
4581
+ exports.MosaicComponent = MosaicComponent;
4555
4582
  exports.MultipleSearchComponent = MultipleSearchComponent;
4556
4583
  exports.MultipleSearchPlusComponent = MultipleSearchPlusComponent;
4557
4584
  exports.PaginationComponent = PaginationComponent;