@wizishop/angular-components 0.0.59 → 0.0.60
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 +226 -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/tag/tag.component.js +5 -3
- package/fesm2015/wizishop-angular-components.js +4 -2
- package/fesm2015/wizishop-angular-components.js.map +1 -1
- package/lib/components/tag/tag.component.d.ts +1 -0
- package/package.json +1 -1
- package/wizishop-angular-components-0.0.60.tgz +0 -0
- package/wizishop-angular-components.metadata.json +1 -1
- package/wizishop-angular-components-0.0.59.tgz +0 -0
|
@@ -4,6 +4,7 @@ export class TagComponent {
|
|
|
4
4
|
this.label = '';
|
|
5
5
|
this.hasClose = false;
|
|
6
6
|
this.isOpen = true;
|
|
7
|
+
this.big = false;
|
|
7
8
|
}
|
|
8
9
|
closeTag() {
|
|
9
10
|
if (this.hasClose) {
|
|
@@ -14,13 +15,14 @@ export class TagComponent {
|
|
|
14
15
|
TagComponent.decorators = [
|
|
15
16
|
{ type: Component, args: [{
|
|
16
17
|
selector: 'wac-tag',
|
|
17
|
-
template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose }\" *ngIf=\"isOpen\" (click)=\"closeTag()\">\n {{ label }}\n <span *ngIf=\"hasClose\"><i class=\"fas fa-times\"></i></span>\n</div>\n"
|
|
18
|
+
template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\" *ngIf=\"isOpen\" (click)=\"closeTag()\">\n {{ label }}\n <span *ngIf=\"hasClose\"><i class=\"fas fa-times\"></i></span>\n</div>\n"
|
|
18
19
|
},] }
|
|
19
20
|
];
|
|
20
21
|
TagComponent.ctorParameters = () => [];
|
|
21
22
|
TagComponent.propDecorators = {
|
|
22
23
|
label: [{ type: Input }],
|
|
23
24
|
class: [{ type: Input }],
|
|
24
|
-
hasClose: [{ type: Input }]
|
|
25
|
+
hasClose: [{ type: Input }],
|
|
26
|
+
big: [{ type: Input }]
|
|
25
27
|
};
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFnLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FuZ3VsYXItY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMvdGFnL3RhZy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFNakQsTUFBTSxPQUFPLFlBQVk7SUFVdkI7UUFSQSxVQUFLLEdBQUcsRUFBRSxDQUFDO1FBSVgsYUFBUSxHQUFHLEtBQUssQ0FBQztRQUNqQixXQUFNLEdBQUcsSUFBSSxDQUFDO1FBRWQsUUFBRyxHQUFHLEtBQUssQ0FBQztJQUNHLENBQUM7SUFDaEIsUUFBUTtRQUNOLElBQUksSUFBSSxDQUFDLFFBQVEsRUFBRTtZQUNqQixJQUFJLENBQUMsTUFBTSxHQUFHLEtBQUssQ0FBQztTQUNyQjtJQUNILENBQUM7OztZQW5CRixTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLFNBQVM7Z0JBQ25CLHdQQUFtQzthQUNwQzs7OztvQkFFRSxLQUFLO29CQUVMLEtBQUs7dUJBRUwsS0FBSztrQkFHTCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICd3YWMtdGFnJyxcbiAgdGVtcGxhdGVVcmw6ICcuL3RhZy5jb21wb25lbnQuaHRtbCdcbn0pXG5leHBvcnQgY2xhc3MgVGFnQ29tcG9uZW50IHtcbiAgQElucHV0KClcbiAgbGFiZWwgPSAnJztcbiAgQElucHV0KClcbiAgY2xhc3M6ICdkZWZhdWx0J3wnc3VjY2Vzcyd8J3dhcm5pbmcnfCdlcnJvcid8J2RhcmsnfCdncmF5J3wnbGlnaHRncmF5JztcbiAgQElucHV0KClcbiAgaGFzQ2xvc2UgPSBmYWxzZTtcbiAgaXNPcGVuID0gdHJ1ZTtcbiAgQElucHV0KClcbiAgYmlnID0gZmFsc2U7XG4gIGNvbnN0cnVjdG9yKCkge31cbiAgY2xvc2VUYWcoKSB7XG4gICAgaWYgKHRoaXMuaGFzQ2xvc2UpIHtcbiAgICAgIHRoaXMuaXNPcGVuID0gZmFsc2U7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -518,6 +518,7 @@ class TagComponent {
|
|
|
518
518
|
this.label = '';
|
|
519
519
|
this.hasClose = false;
|
|
520
520
|
this.isOpen = true;
|
|
521
|
+
this.big = false;
|
|
521
522
|
}
|
|
522
523
|
closeTag() {
|
|
523
524
|
if (this.hasClose) {
|
|
@@ -528,14 +529,15 @@ class TagComponent {
|
|
|
528
529
|
TagComponent.decorators = [
|
|
529
530
|
{ type: Component, args: [{
|
|
530
531
|
selector: 'wac-tag',
|
|
531
|
-
template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose }\" *ngIf=\"isOpen\" (click)=\"closeTag()\">\n {{ label }}\n <span *ngIf=\"hasClose\"><i class=\"fas fa-times\"></i></span>\n</div>\n"
|
|
532
|
+
template: "<div class=\"wac-tag\" [classList]=\"'wac-tag--' + class\" [ngClass]=\"{ hover: hasClose, 'big': big }\" *ngIf=\"isOpen\" (click)=\"closeTag()\">\n {{ label }}\n <span *ngIf=\"hasClose\"><i class=\"fas fa-times\"></i></span>\n</div>\n"
|
|
532
533
|
},] }
|
|
533
534
|
];
|
|
534
535
|
TagComponent.ctorParameters = () => [];
|
|
535
536
|
TagComponent.propDecorators = {
|
|
536
537
|
label: [{ type: Input }],
|
|
537
538
|
class: [{ type: Input }],
|
|
538
|
-
hasClose: [{ type: Input }]
|
|
539
|
+
hasClose: [{ type: Input }],
|
|
540
|
+
big: [{ type: Input }]
|
|
539
541
|
};
|
|
540
542
|
|
|
541
543
|
class TabComponent {
|