@wizishop/angular-components 0.0.140 → 0.0.141
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 +4649 -4641
- package/bundles/wizishop-angular-components.umd.js +3 -1
- 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 +4 -2
- package/fesm2015/wizishop-angular-components.js +3 -1
- 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.141.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.140.tgz +0 -0
|
@@ -2046,6 +2046,7 @@
|
|
|
2046
2046
|
|
|
2047
2047
|
var H1Component = /** @class */ (function () {
|
|
2048
2048
|
function H1Component() {
|
|
2049
|
+
this.annotation = '';
|
|
2049
2050
|
this.withImg = false;
|
|
2050
2051
|
}
|
|
2051
2052
|
H1Component.prototype.ngOnInit = function () { };
|
|
@@ -2054,11 +2055,12 @@
|
|
|
2054
2055
|
H1Component.decorators = [
|
|
2055
2056
|
{ type: i0.Component, args: [{
|
|
2056
2057
|
selector: 'wac-h1',
|
|
2057
|
-
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content></h1>\n"
|
|
2058
|
+
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
2058
2059
|
},] }
|
|
2059
2060
|
];
|
|
2060
2061
|
H1Component.ctorParameters = function () { return []; };
|
|
2061
2062
|
H1Component.propDecorators = {
|
|
2063
|
+
annotation: [{ type: i0.Input }],
|
|
2062
2064
|
withImg: [{ type: i0.Input }]
|
|
2063
2065
|
};
|
|
2064
2066
|
|