@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Component, Input } from '@angular/core';
|
|
2
2
|
export class H1Component {
|
|
3
3
|
constructor() {
|
|
4
|
+
this.annotation = '';
|
|
4
5
|
this.withImg = false;
|
|
5
6
|
}
|
|
6
7
|
ngOnInit() { }
|
|
@@ -8,11 +9,12 @@ export class H1Component {
|
|
|
8
9
|
H1Component.decorators = [
|
|
9
10
|
{ type: Component, args: [{
|
|
10
11
|
selector: 'wac-h1',
|
|
11
|
-
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content></h1>\n"
|
|
12
|
+
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
12
13
|
},] }
|
|
13
14
|
];
|
|
14
15
|
H1Component.ctorParameters = () => [];
|
|
15
16
|
H1Component.propDecorators = {
|
|
17
|
+
annotation: [{ type: Input }],
|
|
16
18
|
withImg: [{ type: Input }]
|
|
17
19
|
};
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaDEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9obi9oMS9oMS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxLQUFLLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFNdkQsTUFBTSxPQUFPLFdBQVc7SUFLdEI7UUFIQSxlQUFVLEdBQUcsRUFBRSxDQUFDO1FBRWhCLFlBQU8sR0FBRyxLQUFLLENBQUM7SUFDRCxDQUFDO0lBRWhCLFFBQVEsS0FBVSxDQUFDOzs7WUFYcEIsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxRQUFRO2dCQUNsQixnS0FBa0M7YUFDbkM7Ozs7eUJBRUUsS0FBSztzQkFFTCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtDb21wb25lbnQsIElucHV0LCBPbkluaXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICd3YWMtaDEnLFxuICB0ZW1wbGF0ZVVybDogJy4vaDEuY29tcG9uZW50Lmh0bWwnXG59KVxuZXhwb3J0IGNsYXNzIEgxQ29tcG9uZW50IGltcGxlbWVudHMgT25Jbml0IHtcbiAgQElucHV0KClcbiAgYW5ub3RhdGlvbiA9ICcnO1xuICBASW5wdXQoKVxuICB3aXRoSW1nID0gZmFsc2U7XG4gIGNvbnN0cnVjdG9yKCkge31cblxuICBuZ09uSW5pdCgpOiB2b2lkIHt9XG59XG4iXX0=
|
|
@@ -1659,6 +1659,7 @@ TextAreaComponent.propDecorators = {
|
|
|
1659
1659
|
|
|
1660
1660
|
class H1Component {
|
|
1661
1661
|
constructor() {
|
|
1662
|
+
this.annotation = '';
|
|
1662
1663
|
this.withImg = false;
|
|
1663
1664
|
}
|
|
1664
1665
|
ngOnInit() { }
|
|
@@ -1666,11 +1667,12 @@ class H1Component {
|
|
|
1666
1667
|
H1Component.decorators = [
|
|
1667
1668
|
{ type: Component, args: [{
|
|
1668
1669
|
selector: 'wac-h1',
|
|
1669
|
-
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content></h1>\n"
|
|
1670
|
+
template: "<h1 class=\"wac-h1\" [ngClass]=\"{'with-img': withImg}\"><ng-content></ng-content><small *ngIf=\"annotation !== ''\">{{ annotation }}</small></h1>\n"
|
|
1670
1671
|
},] }
|
|
1671
1672
|
];
|
|
1672
1673
|
H1Component.ctorParameters = () => [];
|
|
1673
1674
|
H1Component.propDecorators = {
|
|
1675
|
+
annotation: [{ type: Input }],
|
|
1674
1676
|
withImg: [{ type: Input }]
|
|
1675
1677
|
};
|
|
1676
1678
|
|