@wizishop/angular-components 0.0.135 → 0.0.137

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.
@@ -4351,6 +4351,10 @@ h1.wac-h1 {
4351
4351
  font-size: rem(22);
4352
4352
  line-height: rem(30);
4353
4353
  }
4354
+ &.with-img {
4355
+ display: flex;
4356
+ align-items: center;
4357
+ }
4354
4358
  }
4355
4359
  .wac-header-page {
4356
4360
  width: 100%;
@@ -2044,6 +2044,7 @@
2044
2044
 
2045
2045
  var H1Component = /** @class */ (function () {
2046
2046
  function H1Component() {
2047
+ this.withImg = false;
2047
2048
  }
2048
2049
  H1Component.prototype.ngOnInit = function () { };
2049
2050
  return H1Component;
@@ -2051,10 +2052,13 @@
2051
2052
  H1Component.decorators = [
2052
2053
  { type: i0.Component, args: [{
2053
2054
  selector: 'wac-h1',
2054
- template: "<h1 class=\"wac-h1\"><ng-content></ng-content></h1>\n"
2055
+ template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content></h1>\n"
2055
2056
  },] }
2056
2057
  ];
2057
2058
  H1Component.ctorParameters = function () { return []; };
2059
+ H1Component.propDecorators = {
2060
+ withImg: [{ type: i0.Input }]
2061
+ };
2058
2062
 
2059
2063
  var H2Component = /** @class */ (function () {
2060
2064
  function H2Component() {
@@ -2090,6 +2094,7 @@
2090
2094
 
2091
2095
  var HeaderPageComponent = /** @class */ (function () {
2092
2096
  function HeaderPageComponent() {
2097
+ this.withImg = false;
2093
2098
  }
2094
2099
  HeaderPageComponent.prototype.ngOnInit = function () { };
2095
2100
  return HeaderPageComponent;
@@ -2097,13 +2102,14 @@
2097
2102
  HeaderPageComponent.decorators = [
2098
2103
  { type: i0.Component, args: [{
2099
2104
  selector: 'wac-header-page',
2100
- 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>{{ 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"
2105
+ 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"
2101
2106
  },] }
2102
2107
  ];
2103
2108
  HeaderPageComponent.ctorParameters = function () { return []; };
2104
2109
  HeaderPageComponent.propDecorators = {
2105
2110
  title: [{ type: i0.Input }],
2106
- linkBack: [{ type: i0.Input }]
2111
+ linkBack: [{ type: i0.Input }],
2112
+ withImg: [{ type: i0.Input }]
2107
2113
  };
2108
2114
 
2109
2115
  var InputComponent = /** @class */ (function () {