@wizishop/angular-components 0.0.43 → 0.0.44
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 +222 -214
- 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/block/block.component.js +5 -3
- package/fesm2015/wizishop-angular-components.js +4 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/block/block.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.44.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.43.tgz +0 -0
|
@@ -10,12 +10,13 @@ export class BlockComponent {
|
|
|
10
10
|
this.titleUppercase = true;
|
|
11
11
|
this.borderRadius = false;
|
|
12
12
|
this.removePadding = false;
|
|
13
|
+
this.stretchHeight = false;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
BlockComponent.decorators = [
|
|
16
17
|
{ type: Component, args: [{
|
|
17
18
|
selector: 'wac-block',
|
|
18
|
-
template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
19
|
+
template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'stretch': stretchHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
19
20
|
},] }
|
|
20
21
|
];
|
|
21
22
|
BlockComponent.ctorParameters = () => [];
|
|
@@ -28,6 +29,7 @@ BlockComponent.propDecorators = {
|
|
|
28
29
|
icon: [{ type: Input }],
|
|
29
30
|
titleUppercase: [{ type: Input }],
|
|
30
31
|
borderRadius: [{ type: Input }],
|
|
31
|
-
removePadding: [{ type: Input }]
|
|
32
|
+
removePadding: [{ type: Input }],
|
|
33
|
+
stretchHeight: [{ type: Input }]
|
|
32
34
|
};
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
35
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2suY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvYW5ndWxhci1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9ibG9jay9ibG9jay5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNakQsTUFBTSxPQUFPLGNBQWM7SUErQnpCO1FBN0JBLGVBQVUsR0FBRyxFQUFFLENBQUMsQ0FBQyx5QkFBeUI7UUFHMUMsdUJBQWtCLEdBQUcsS0FBSyxDQUFDLENBQUMseUJBQXlCO1FBR3JELFdBQU0sR0FBRyxLQUFLLENBQUMsQ0FBQyxzQkFBc0I7UUFHdEMsV0FBTSxHQUFHLEtBQUssQ0FBQztRQUdmLGlCQUFZLEdBQUc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BJbnB1dCgpXG4gIGljb24gPSAnJztcblxuICBASW5wdXQoKVxuICB0aXRsZVVwcGVyY2FzZSA9IHRydWU7XG5cbiAgQElucHV0KClcbiAgYm9yZGVyUmFkaXVzID0gZmFsc2U7XG5cbiAgQElucHV0KClcbiAgcmVtb3ZlUGFkZGluZyA9IGZhbHNlO1xuXG4gIEBJbnB1dCgpXG4gIHN0cmV0Y2hIZWlnaHQgPSBmYWxzZTtcblxuICBjb25zdHJ1Y3RvcigpIHt9XG59XG4iXX0=
|
|
@@ -2848,12 +2848,13 @@ class BlockComponent {
|
|
|
2848
2848
|
this.titleUppercase = true;
|
|
2849
2849
|
this.borderRadius = false;
|
|
2850
2850
|
this.removePadding = false;
|
|
2851
|
+
this.stretchHeight = false;
|
|
2851
2852
|
}
|
|
2852
2853
|
}
|
|
2853
2854
|
BlockComponent.decorators = [
|
|
2854
2855
|
{ type: Component, args: [{
|
|
2855
2856
|
selector: 'wac-block',
|
|
2856
|
-
template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
2857
|
+
template: "<div\n class=\"wac-block\"\n [ngClass]=\"{ 'wac-block__external': titleExternalBlock, sticky: sticky, noFullHeight: noFullHeight, 'stretch': stretchHeight, 'border-radius': borderRadius, 'no-padding' : removePadding }\"\n>\n <h2 *ngIf=\"titleBlock.length\" class=\"wac-block__title\" [ngClass]=\"{ 'is-simple': simple, 'no-uppercase': !titleUppercase }\">\n {{ titleBlock }} <i *ngIf=\"icon\" [ngClass]=\"icon\"></i>\n </h2>\n <div class=\"wac-block__content\">\n <ng-content></ng-content>\n </div>\n</div>\n"
|
|
2857
2858
|
},] }
|
|
2858
2859
|
];
|
|
2859
2860
|
BlockComponent.ctorParameters = () => [];
|
|
@@ -2866,7 +2867,8 @@ BlockComponent.propDecorators = {
|
|
|
2866
2867
|
icon: [{ type: Input }],
|
|
2867
2868
|
titleUppercase: [{ type: Input }],
|
|
2868
2869
|
borderRadius: [{ type: Input }],
|
|
2869
|
-
removePadding: [{ type: Input }]
|
|
2870
|
+
removePadding: [{ type: Input }],
|
|
2871
|
+
stretchHeight: [{ type: Input }]
|
|
2870
2872
|
};
|
|
2871
2873
|
|
|
2872
2874
|
class WrapperComponent {
|