diff --git a/projects/addon-doc/components/page/page.component.ts b/projects/addon-doc/components/page/page.component.ts index 8bb4a2b62946c..2f9e3bd9f9702 100644 --- a/projects/addon-doc/components/page/page.component.ts +++ b/projects/addon-doc/components/page/page.component.ts @@ -26,9 +26,11 @@ import {TuiDocPageTabConnector} from './page-tab.directive'; standalone: true, selector: 'tui-doc-page', imports: [ + KeyValuePipe, NgForOf, NgIf, NgTemplateOutlet, + PolymorpheusOutlet, RouterLink, RouterLinkActive, TuiAutoColorPipe, @@ -38,8 +40,6 @@ import {TuiDocPageTabConnector} from './page-tab.directive'; TuiDocSourceCode, TuiReplacePipe, TuiTabs, - KeyValuePipe, - PolymorpheusOutlet, ], templateUrl: './page.template.html', styleUrls: ['./page.style.less'], diff --git a/projects/addon-doc/components/page/page.providers.ts b/projects/addon-doc/components/page/page.providers.ts index 771164a440727..1f12c9de6c06e 100644 --- a/projects/addon-doc/components/page/page.providers.ts +++ b/projects/addon-doc/components/page/page.providers.ts @@ -2,7 +2,7 @@ import type {Provider} from '@angular/core'; import {ElementRef} from '@angular/core'; import type {ActivatedRouteSnapshot} from '@angular/router'; import {TUI_DOC_SEE_ALSO} from '@taiga-ui/addon-doc/tokens'; -import type {TuiHandler} from '@taiga-ui/cdk'; +import type {TuiHandler} from '@taiga-ui/cdk/types'; import {tuiCreateToken} from '@taiga-ui/cdk/utils/miscellaneous'; import type {PolymorpheusContent} from '@taiga-ui/polymorpheus';