@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.
- package/angular-components.scss +4 -0
- package/bundles/wizishop-angular-components.umd.js +9 -3
- package/bundles/wizishop-angular-components.umd.js.map +1 -1
- package/bundles/wizishop-angular-components.umd.min.js +1 -1
- package/bundles/wizishop-angular-components.umd.min.js.map +1 -1
- package/esm2015/lib/components/header-page/header-page.component.js +7 -4
- package/esm2015/lib/components/hn/h1/h1.component.js +9 -4
- package/fesm2015/wizishop-angular-components.js +13 -5
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/header-page/header-page.component.d.ts +1 -0
- package/lib/components/hn/h1/h1.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.137.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.135.tgz +0 -0
package/angular-components.scss
CHANGED
|
@@ -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 () {
|