Skip to content

Commit 9bd807c

Browse files
committed
fix(*): Updated to alpha.8. Fixed chat height.
1 parent 3111b6e commit 9bd807c

8 files changed

Lines changed: 96 additions & 32 deletions

File tree

package-lock.json

Lines changed: 68 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
"express": "^4.18.2",
7373
"file-saver": "^2.0.2",
7474
"hammerjs": "^2.0.8",
75-
"igniteui-angular": "^21.0.0-alpha.7",
75+
"igniteui-angular": "^21.0.0-alpha.8",
7676
"igniteui-angular-charts": "^20.2.0",
7777
"igniteui-angular-core": "^20.2.0",
7878
"igniteui-angular-extras": "^20.0.2",
79-
"igniteui-angular-i18n": "^21.0.0-alpha.7",
79+
"igniteui-angular-i18n": "^21.0.0-alpha.8",
8080
"igniteui-dockmanager": "^1.17.0",
8181
"igniteui-grid-lite": "^0.0.1",
8282
"igniteui-live-editing": "^3.2.0",

src/app/interactions/chat/features-sample/features-sample.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
display: block;
33
padding: 16px;
44
}
5+
6+
igx-chat {
7+
height: 870px;
8+
}

src/app/interactions/chat/features-sample/features-sample.component.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { AsyncPipe } from '@angular/common';
2-
import { ChangeDetectorRef, Component, effect, OnInit, signal, viewChild } from '@angular/core';
3-
import { IgxChatComponent, IgxChatMessageContextDirective, IgxChatOptions, MarkdownPipe } from 'igniteui-angular';
2+
import { ChangeDetectorRef, Component, effect, signal, viewChild } from '@angular/core';
3+
import { IgxChatComponent, IgxChatMessageContextDirective, IgxChatOptions } from 'igniteui-angular';
4+
import { MarkdownPipe } from 'igniteui-angular/chat-extras';
45

56
@Component({
67
selector: 'app-chat-features-sample',
@@ -32,8 +33,8 @@ export class ChatFeaturesSampleComponent {
3233
name: 'AvatarStyles.css',
3334
url: './styles/AvatarStyles.css',
3435
type: 'text/css'
35-
},
36-
],
36+
}
37+
]
3738
},
3839
{
3940
id: '3',
@@ -56,7 +57,7 @@ export class ChatFeaturesSampleComponent {
5657
`,
5758
sender: 'support',
5859
timestamp: (Date.now() - 3200000).toString()
59-
},
60+
}
6061
]);
6162

6263
public options = signal<IgxChatOptions>({

src/app/interactions/chat/overview-sample/overview-sample.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
display: block;
33
padding: 16px;
44
}
5+
6+
igx-chat {
7+
height: 870px;
8+
}

src/app/interactions/chat/overview-sample/overview-sample.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ export class ChatOverviewSampleComponent {
4040
name: 'Delivery location',
4141
url: 'https://media.istockphoto.com/id/1207972183/photo/merchandise-delivery-from-online-ordering.jpg?s=612x612&w=0&k=20&c=cGcMqd_8FALv4Tueh7sllYZuDXurkfkqoJf6IAIWhJk=',
4242
type: 'image'
43-
},
44-
],
45-
},
43+
}
44+
]
45+
}
4646
]);
4747

4848
public options = signal<IgxChatOptions>({
4949
disableAutoScroll: false,
5050
disableInputAttachments: false,
5151
suggestions: [`It's there. Thanks.`, `It's not there.`],
5252
inputPlaceholder: 'Type your message here...',
53-
headerText: 'Customer Support',
53+
headerText: 'Customer Support'
5454
});
5555

5656
constructor() {

src/app/interactions/chat/styling-sample/styling-sample.component.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// @use "igniteui-angular/theming" as *;
22
igx-chat {
3+
height: 870px;
4+
35
::ng-deep {
46
igc-chat::part(header) {
57
display: flex;

src/app/interactions/chat/styling-sample/styling-sample.component.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
import { AsyncPipe } from '@angular/common';
22
import { Component, signal, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3-
import { IgxAvatarComponent, IgxChatComponent, IgxChatOptions, MarkdownPipe } from 'igniteui-angular';
3+
import { IgxAvatarComponent, IgxChatComponent, IgxChatOptions } from 'igniteui-angular';
4+
45

56
@Component({
67
selector: 'app-chat-styling-sample',
78
styleUrls: ['./styling-sample.component.scss'],
89
templateUrl: './styling-sample.component.html',
9-
imports: [IgxAvatarComponent, IgxChatComponent, AsyncPipe, MarkdownPipe],
10+
imports: [IgxAvatarComponent, IgxChatComponent, AsyncPipe],
1011
schemas: [CUSTOM_ELEMENTS_SCHEMA]
1112
})
1213
export class ChatStylingSampleComponent {
@@ -42,9 +43,9 @@ export class ChatStylingSampleComponent {
4243
name: 'Delivery location',
4344
url: 'https://media.istockphoto.com/id/1207972183/photo/merchandise-delivery-from-online-ordering.jpg?s=612x612&w=0&k=20&c=cGcMqd_8FALv4Tueh7sllYZuDXurkfkqoJf6IAIWhJk=',
4445
type: 'image'
45-
},
46-
],
47-
},
46+
}
47+
]
48+
}
4849
]);
4950

5051
public options = signal<IgxChatOptions>({

0 commit comments

Comments
 (0)