@wizishop/angular-components 0.0.246 → 0.0.247
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 +6182 -6182
- package/bundles/wizishop-angular-components.umd.js +4 -2
- 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/hn/h1/h1.component.js +5 -3
- package/fesm2015/wizishop-angular-components.js +4 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/hn/h1/h1.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.247.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.246.tgz +0 -0
|
@@ -2067,6 +2067,7 @@
|
|
|
2067
2067
|
this.annotation = '';
|
|
2068
2068
|
this.withImg = false;
|
|
2069
2069
|
this.center = false;
|
|
2070
|
+
this.color = null;
|
|
2070
2071
|
}
|
|
2071
2072
|
H1Component.prototype.ngOnInit = function () { };
|
|
2072
2073
|
return H1Component;
|
|
@@ -2074,14 +2075,15 @@
|
|
|
2074
2075
|
H1Component.decorators = [
|
|
2075
2076
|
{ type: i0.Component, args: [{
|
|
2076
2077
|
selector: 'wac-h1',
|
|
2077
|
-
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg, 'center': center}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
2078
|
+
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg, 'center': center}\" [style.color]=\"color?color:''\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
2078
2079
|
},] }
|
|
2079
2080
|
];
|
|
2080
2081
|
H1Component.ctorParameters = function () { return []; };
|
|
2081
2082
|
H1Component.propDecorators = {
|
|
2082
2083
|
annotation: [{ type: i0.Input }],
|
|
2083
2084
|
withImg: [{ type: i0.Input }],
|
|
2084
|
-
center: [{ type: i0.Input }]
|
|
2085
|
+
center: [{ type: i0.Input }],
|
|
2086
|
+
color: [{ type: i0.Input }]
|
|
2085
2087
|
};
|
|
2086
2088
|
|
|
2087
2089
|
var H2Component = /** @class */ (function () {
|