ng-tailwind 5.2.7 → 5.2.9
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/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.d.ts +1 -0
- package/components/ngt-popover/ngt-popover.directive.d.ts +2 -1
- package/esm2020/components/ngt-popover/ngt-popover-tooltip/ngt-popover-tooltip.component.mjs +4 -3
- package/esm2020/components/ngt-popover/ngt-popover.directive.mjs +6 -2
- package/fesm2015/ng-tailwind.mjs +8 -3
- package/fesm2015/ng-tailwind.mjs.map +1 -1
- package/fesm2020/ng-tailwind.mjs +8 -3
- package/fesm2020/ng-tailwind.mjs.map +1 -1
- package/package.json +1 -1
package/fesm2020/ng-tailwind.mjs
CHANGED
|
@@ -8311,6 +8311,7 @@ class NgtPopoverTooltipComponent {
|
|
|
8311
8311
|
[NgtPopoverPosition.TOP]: '-mt-10',
|
|
8312
8312
|
[NgtPopoverPosition.BOTTOM]: '-mb-10',
|
|
8313
8313
|
};
|
|
8314
|
+
this.popoverTemplateStyle = 'text-xxs';
|
|
8314
8315
|
}
|
|
8315
8316
|
onMouseLeave() {
|
|
8316
8317
|
this.onMouseLeaveEvent.emit();
|
|
@@ -8320,7 +8321,7 @@ class NgtPopoverTooltipComponent {
|
|
|
8320
8321
|
}
|
|
8321
8322
|
}
|
|
8322
8323
|
NgtPopoverTooltipComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverTooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8323
|
-
NgtPopoverTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverTooltipComponent, selector: "ngt-popover-tooltip", outputs: { onMouseHoverEvent: "onMouseHoverEvent", onMouseLeaveEvent: "onMouseLeaveEvent" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onMouseEnter()" } }, ngImport: i0, template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\n style=\"z-index: 999999 !important; width: max-content !important;\"
|
|
8324
|
+
NgtPopoverTooltipComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverTooltipComponent, selector: "ngt-popover-tooltip", outputs: { onMouseHoverEvent: "onMouseHoverEvent", onMouseLeaveEvent: "onMouseLeaveEvent" }, host: { listeners: { "mouseleave": "onMouseLeave()", "mouseenter": "onMouseEnter()" } }, ngImport: i0, template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\n style=\"z-index: 999999 !important; width: max-content !important;\" (click)=\"$event.stopPropagation()\"\n @enterAnimation>\n\n <div *ngIf=\"!popoverTemplate; else showTemplate\"\n class=\"px-2 py-1 text-gray-700 whitespace-nowrap {{popoverTemplateStyle}}\">\n {{ popover }}\n </div>\n\n <ng-template #showTemplate>\n <ng-container [ngTemplateOutlet]=\"popoverTemplate\"></ng-container>\n </ng-template>\n</div>", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], animations: [
|
|
8324
8325
|
trigger('enterAnimation', [
|
|
8325
8326
|
state('void', style({ transform: 'translateY(-20px)', opacity: 0 })),
|
|
8326
8327
|
transition(':enter', [
|
|
@@ -8337,7 +8338,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
8337
8338
|
animate(200)
|
|
8338
8339
|
])
|
|
8339
8340
|
]),
|
|
8340
|
-
], template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\n style=\"z-index: 999999 !important; width: max-content !important;\"
|
|
8341
|
+
], template: "<div class=\"bg-white rounded-lg shadow-2xl border border-gray-200 absolute max-w-7xl\"\n [ngClass]=\"positionClasses[position]\" [style.left.px]=\"positionX\" [style.top.px]=\"positionY\"\n style=\"z-index: 999999 !important; width: max-content !important;\" (click)=\"$event.stopPropagation()\"\n @enterAnimation>\n\n <div *ngIf=\"!popoverTemplate; else showTemplate\"\n class=\"px-2 py-1 text-gray-700 whitespace-nowrap {{popoverTemplateStyle}}\">\n {{ popover }}\n </div>\n\n <ng-template #showTemplate>\n <ng-container [ngTemplateOutlet]=\"popoverTemplate\"></ng-container>\n </ng-template>\n</div>" }]
|
|
8341
8342
|
}], propDecorators: { onMouseHoverEvent: [{
|
|
8342
8343
|
type: Output
|
|
8343
8344
|
}], onMouseLeaveEvent: [{
|
|
@@ -8439,6 +8440,7 @@ class NgtPopoverDirective {
|
|
|
8439
8440
|
this.elementRef = elementRef;
|
|
8440
8441
|
this.viewContainerRef = viewContainerRef;
|
|
8441
8442
|
this.ngtPopoverPosition = NgtPopoverPosition.DEFAULT;
|
|
8443
|
+
this.ngtPopoverTemplateStyle = 'text-xxs';
|
|
8442
8444
|
this.dismissDelay = 1000;
|
|
8443
8445
|
this.showDelay = 1000;
|
|
8444
8446
|
this.openMethod = NgtPopoverOpenMethod.HOVER;
|
|
@@ -8505,6 +8507,7 @@ class NgtPopoverDirective {
|
|
|
8505
8507
|
this.componentRef.instance.popover = this.ngtPopoverContent;
|
|
8506
8508
|
this.componentRef.instance.popoverTemplate = this.ngtPopoverTemplate;
|
|
8507
8509
|
this.componentRef.instance.position = this.ngtPopoverPosition;
|
|
8510
|
+
this.componentRef.instance.popoverTemplateStyle = this.ngtPopoverTemplateStyle;
|
|
8508
8511
|
this.bindSubscriptions();
|
|
8509
8512
|
document.body.appendChild(this.componentRef.location.nativeElement);
|
|
8510
8513
|
}
|
|
@@ -8522,7 +8525,7 @@ class NgtPopoverDirective {
|
|
|
8522
8525
|
}
|
|
8523
8526
|
}
|
|
8524
8527
|
NgtPopoverDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverDirective, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
8525
|
-
NgtPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverDirective, selector: "[ngt-popover]", inputs: { ngtPopoverContent: "ngtPopoverContent", ngtPopoverTemplate: "ngtPopoverTemplate", ngtPopoverPosition: "ngtPopoverPosition", dismissDelay: "dismissDelay", showDelay: "showDelay", closeOnClick: "closeOnClick", openMethod: "openMethod" }, host: { listeners: { "click": "onClick()", "document:click": "onDocumentClick($event.target)", "mouseleave": "onMouseLeave()", "mouseenter": "onMouseEnter()" } }, ngImport: i0 });
|
|
8528
|
+
NgtPopoverDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.8", type: NgtPopoverDirective, selector: "[ngt-popover]", inputs: { ngtPopoverContent: "ngtPopoverContent", ngtPopoverTemplate: "ngtPopoverTemplate", ngtPopoverPosition: "ngtPopoverPosition", ngtPopoverTemplateStyle: "ngtPopoverTemplateStyle", dismissDelay: "dismissDelay", showDelay: "showDelay", closeOnClick: "closeOnClick", openMethod: "openMethod" }, host: { listeners: { "click": "onClick()", "document:click": "onDocumentClick($event.target)", "mouseleave": "onMouseLeave()", "mouseenter": "onMouseEnter()" } }, ngImport: i0 });
|
|
8526
8529
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: NgtPopoverDirective, decorators: [{
|
|
8527
8530
|
type: Directive,
|
|
8528
8531
|
args: [{
|
|
@@ -8534,6 +8537,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
8534
8537
|
type: Input
|
|
8535
8538
|
}], ngtPopoverPosition: [{
|
|
8536
8539
|
type: Input
|
|
8540
|
+
}], ngtPopoverTemplateStyle: [{
|
|
8541
|
+
type: Input
|
|
8537
8542
|
}], dismissDelay: [{
|
|
8538
8543
|
type: Input
|
|
8539
8544
|
}], showDelay: [{
|