@wizishop/angular-components 0.0.245 → 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 +6207 -6206
- 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.245.tgz +0 -0
|
@@ -4,19 +4,21 @@ export class H1Component {
|
|
|
4
4
|
this.annotation = '';
|
|
5
5
|
this.withImg = false;
|
|
6
6
|
this.center = false;
|
|
7
|
+
this.color = null;
|
|
7
8
|
}
|
|
8
9
|
ngOnInit() { }
|
|
9
10
|
}
|
|
10
11
|
H1Component.decorators = [
|
|
11
12
|
{ type: Component, args: [{
|
|
12
13
|
selector: 'wac-h1',
|
|
13
|
-
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg, 'center': center}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
14
|
+
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"
|
|
14
15
|
},] }
|
|
15
16
|
];
|
|
16
17
|
H1Component.ctorParameters = () => [];
|
|
17
18
|
H1Component.propDecorators = {
|
|
18
19
|
annotation: [{ type: Input }],
|
|
19
20
|
withImg: [{ type: Input }],
|
|
20
|
-
center: [{ type: Input }]
|
|
21
|
+
center: [{ type: Input }],
|
|
22
|
+
color: [{ type: Input }]
|
|
21
23
|
};
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
24
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaDEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9obi9oMS9oMS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFNdkQsTUFBTSxPQUFPLFdBQVc7SUFTdEI7UUFQQSxlQUFVLEdBQUcsRUFBRSxDQUFDO1FBRWhCLFlBQU8sR0FBRyxLQUFLLENBQUM7UUFFaEIsV0FBTSxHQUFHLEtBQUssQ0FBQztRQUVmLFVBQUssR0FBRyxJQUFJLENBQUM7SUFDRSxDQUFDO0lBRWhCLFFBQVEsS0FBVSxDQUFDOzs7WUFmcEIsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxRQUFRO2dCQUNsQixtTkFBa0M7YUFDbkM7Ozs7eUJBRUUsS0FBSztzQkFFTCxLQUFLO3FCQUVMLEtBQUs7b0JBRUwsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBJbnB1dCwgT25Jbml0fSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnd2FjLWgxJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2gxLmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBIMUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBJbnB1dCgpXG4gIGFubm90YXRpb24gPSAnJztcbiAgQElucHV0KClcbiAgd2l0aEltZyA9IGZhbHNlO1xuICBASW5wdXQoKVxuICBjZW50ZXIgPSBmYWxzZTtcbiAgQElucHV0KClcbiAgY29sb3IgPSBudWxsO1xuICBjb25zdHJ1Y3RvcigpIHt9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7fVxufVxuIl19
|
|
@@ -1683,20 +1683,22 @@ class H1Component {
|
|
|
1683
1683
|
this.annotation = '';
|
|
1684
1684
|
this.withImg = false;
|
|
1685
1685
|
this.center = false;
|
|
1686
|
+
this.color = null;
|
|
1686
1687
|
}
|
|
1687
1688
|
ngOnInit() { }
|
|
1688
1689
|
}
|
|
1689
1690
|
H1Component.decorators = [
|
|
1690
1691
|
{ type: Component, args: [{
|
|
1691
1692
|
selector: 'wac-h1',
|
|
1692
|
-
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg, 'center': center}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
1693
|
+
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"
|
|
1693
1694
|
},] }
|
|
1694
1695
|
];
|
|
1695
1696
|
H1Component.ctorParameters = () => [];
|
|
1696
1697
|
H1Component.propDecorators = {
|
|
1697
1698
|
annotation: [{ type: Input }],
|
|
1698
1699
|
withImg: [{ type: Input }],
|
|
1699
|
-
center: [{ type: Input }]
|
|
1700
|
+
center: [{ type: Input }],
|
|
1701
|
+
color: [{ type: Input }]
|
|
1700
1702
|
};
|
|
1701
1703
|
|
|
1702
1704
|
class H2Component {
|