Skip to content

Commit 6e6215b

Browse files
committed
refactor: Moved markdown pipe into a separate entry point
1 parent 99be9cb commit 6e6215b

File tree

10 files changed

+4
-6
lines changed

10 files changed

+4
-6
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './src/public_api';
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

projects/igniteui-angular/src/lib/chat/markdown-pipe.spec.ts renamed to projects/igniteui-angular/extras/src/markdown-pipe.spec.ts

File renamed without changes.

projects/igniteui-angular/src/lib/chat/markdown-pipe.ts renamed to projects/igniteui-angular/extras/src/markdown-pipe.ts

File renamed without changes.

projects/igniteui-angular/src/lib/chat/markdown-service.spec.ts renamed to projects/igniteui-angular/extras/src/markdown-service.spec.ts

File renamed without changes.

projects/igniteui-angular/src/lib/chat/markdown-service.ts renamed to projects/igniteui-angular/extras/src/markdown-service.ts

File renamed without changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { MarkdownPipe } from './markdown-pipe';

projects/igniteui-angular/src/lib/chat/chat.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,3 @@ export class IgxChatInputContextDirective {
246246
return true;
247247
}
248248
}
249-
250-
export { MarkdownPipe } from './markdown-pipe';
251-
252-

projects/igniteui-angular/src/public_api.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,3 @@ export * from './lib/toast/toast.module';
202202
export * from './lib/tree/tree.module';
203203

204204
export * from './lib/chat/chat.component';
205-
export { MarkdownPipe } from './lib/chat/markdown-pipe';

src/app/chat/chat.sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import {
1313
IgxChatComponent,
1414
IgxChatMessageContextDirective,
1515
type IgxChatOptions,
16-
MarkdownPipe,
1716
} from 'igniteui-angular';
17+
import { MarkdownPipe } from 'igniteui-angular/extras';
1818

1919
@Component({
2020
changeDetection: ChangeDetectionStrategy.OnPush,

0 commit comments

Comments
 (0)