Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
Signed-off-by: waterplea <alexander@inkin.ru>
  • Loading branch information
waterplea committed Jun 19, 2024
1 parent e00cf11 commit 77e2bbf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
6 changes: 3 additions & 3 deletions projects/core/directives/tooltip/tooltip.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
} from '@taiga-ui/core/directives/appearance';
import {
TUI_HINT_OPTIONS,
TuiHintDescribeDirective,
TuiHintDescribe,
TuiHintDirective,
TuiHintHoverDirective,
} from '@taiga-ui/core/directives/hint';
Expand Down Expand Up @@ -56,7 +56,7 @@ class TuiTooltipStyles {}
inputs: ['tuiAppearance: appearance'],
},
{
directive: TuiHintDescribeDirective,
directive: TuiHintDescribe,
inputs: ['tuiHintDescribe'],
},
{
Expand All @@ -69,7 +69,7 @@ class TuiTooltipStyles {}
export class TuiTooltip implements DoCheck {
private readonly textfield = inject(TuiTextfieldComponent, {optional: true});
private readonly isMobile = inject(TUI_IS_MOBILE);
private readonly describe = inject(TuiHintDescribeDirective);
private readonly describe = inject(TuiHintDescribe);
private readonly driver = inject(TuiHintHoverDirective);

protected readonly nothing = tuiWithStyles(TuiTooltipStyles);
Expand Down
15 changes: 4 additions & 11 deletions projects/legacy/components/tooltip/tooltip.module.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
import {CommonModule} from '@angular/common';
import {NgModule} from '@angular/core';
import {TuiButton, TuiHint, TuiIcon} from '@taiga-ui/core';
import {PolymorpheusOutlet, PolymorpheusTemplate} from '@taiga-ui/polymorpheus';
import {TuiAppearance, TuiHint, TuiIcon} from '@taiga-ui/core';
import {PolymorpheusOutlet} from '@taiga-ui/polymorpheus';

import {TuiTooltipComponent} from './tooltip.component';

@NgModule({
imports: [
CommonModule,
TuiButton,
TuiIcon,
PolymorpheusOutlet,
PolymorpheusTemplate,
...TuiHint,
],
imports: [CommonModule, TuiIcon, PolymorpheusOutlet, TuiAppearance, ...TuiHint],
declarations: [TuiTooltipComponent],
exports: [TuiTooltipComponent],
})
export class TuiTooltipModule {}
export class TuiTooltip {}

0 comments on commit 77e2bbf

Please sign in to comment.