@inspark/inspark-components 1.0.37 → 1.0.38
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/full/bundles/inspark-inspark-components.umd.js +3 -3
- package/full/bundles/inspark-inspark-components.umd.js.map +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js +1 -1
- package/full/bundles/inspark-inspark-components.umd.min.js.map +1 -1
- package/full/components/content-toggle/content-toggle.component.d.ts +1 -1
- package/full/esm2015/components/content-toggle/content-toggle.component.js +4 -4
- package/full/esm5/components/content-toggle/content-toggle.component.js +4 -4
- package/full/fesm2015/inspark-inspark-components.js +3 -3
- package/full/fesm2015/inspark-inspark-components.js.map +1 -1
- package/full/fesm5/inspark-inspark-components.js +3 -3
- package/full/fesm5/inspark-inspark-components.js.map +1 -1
- package/full/inspark-inspark-components.metadata.json +1 -1
- package/full/package.json +1 -1
- package/interface/package.json +1 -1
- package/package.json +1 -1
|
@@ -3705,7 +3705,7 @@
|
|
|
3705
3705
|
this.cdr = cdr;
|
|
3706
3706
|
this.isOpen = true;
|
|
3707
3707
|
this.icon = null;
|
|
3708
|
-
this.
|
|
3708
|
+
this.manualArrow = true;
|
|
3709
3709
|
this.toggle = new core.EventEmitter();
|
|
3710
3710
|
}
|
|
3711
3711
|
ContentToggleComponent.prototype.toggleOpen = function () {
|
|
@@ -3731,7 +3731,7 @@
|
|
|
3731
3731
|
__decorate([
|
|
3732
3732
|
core.Input(),
|
|
3733
3733
|
__metadata("design:type", Boolean)
|
|
3734
|
-
], ContentToggleComponent.prototype, "
|
|
3734
|
+
], ContentToggleComponent.prototype, "manualArrow", void 0);
|
|
3735
3735
|
__decorate([
|
|
3736
3736
|
core.Output(),
|
|
3737
3737
|
__metadata("design:type", core.EventEmitter)
|
|
@@ -3739,7 +3739,7 @@
|
|
|
3739
3739
|
ContentToggleComponent = __decorate([
|
|
3740
3740
|
core.Component({
|
|
3741
3741
|
selector: 'in-content-toggle',
|
|
3742
|
-
template: "<div class=\"block\" (click)=\"toggleOpen()\" tabIndex=\"1\">\n <span
|
|
3742
|
+
template: "<div class=\"block\" (click)=\"toggleOpen()\" tabIndex=\"1\">\n <span [ngClass]=\"{arrow: true, close: !isOpen}\">\n <in-svg *ngIf=\"manualArrow\" [src]=\"'arrow-down.svg'\" width=\"48px\" height=\"48px\"></in-svg>\n <ng-content select=\"[arrow]\"></ng-content>\n </span>\n <span class=\"label\">\n <in-svg *ngIf=\"icon\" class=\"label-icon\" [src]=\"icon\"></in-svg>\n {{label}}\n </span>\n <span class=\"counter\">\n <ng-content select=\"[header]\"></ng-content>\n </span>\n</div>\n<div class=\"container\" *ngIf=\"isOpen\">\n <ng-content select=\"[body]\"></ng-content>\n</div>\n",
|
|
3743
3743
|
styles: ["@charset \"UTF-8\";.block{font-size:12px;text-transform:uppercase;cursor:pointer;display:flex;white-space:nowrap}.block:hover{background:var(--colorBgLevel2)}.block>span{display:inline-block;margin-right:4px}.block .label{margin-right:8px;display:flex;align-items:center;overflow:hidden;text-overflow:ellipsis}.block .counter{display:flex;align-items:center;padding-right:8px}.block .arrow{margin-right:0}.block .arrow.close{transform:rotate(-90deg)}.label-icon{margin-right:4px;width:16px;height:16px}"]
|
|
3744
3744
|
}),
|
|
3745
3745
|
__metadata("design:paramtypes", [core.ChangeDetectorRef])
|