Skip to content

Commit d50d872

Browse files
committed
docs: add Yarn install statement example
1 parent 6954803 commit d50d872

5 files changed

Lines changed: 46 additions & 22 deletions

File tree

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,25 +57,37 @@ Supported Angular versions: **Angular 15-18**
5757
Run this command if you are using **Angular 18**:
5858

5959
```shell
60-
npm install stream-chat-angular ngx-float-ui@beta
60+
npm install stream-chat-angular ngx-float-ui@18
61+
62+
# or
63+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@18 @floating-ui/dom
6164
```
6265

6366
Run this command if you are using **Angular 17**:
6467

6568
```shell
6669
npm install stream-chat-angular ngx-float-ui@17
70+
71+
# or
72+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@17 @floating-ui/dom
6773
```
6874

6975
Run this command if you are using **Angular 16**:
7076

7177
```shell
7278
npm install stream-chat-angular ngx-float-ui@16
79+
80+
# or
81+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@16 @floating-ui/dom
7382
```
7483

7584
Run this command if you are using **Angular 15**:
7685

7786
```shell
7887
npm install stream-chat-angular @ngx-translate/core@14 ngx-float-ui@15
88+
89+
# or
90+
yarn add stream-chat-angular stream-chat @ngx-translate/core@14 angular-mentions ngx-float-ui@15 @floating-ui/dom
7991
```
8092

8193
Supported node verisons: 18+
501 KB
Loading

docusaurus/docs/Angular/basics/overview.mdx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,28 +33,40 @@ We recommend using the component library through a package manager. Stream Chat
3333
Run this command if you are using **Angular 18**:
3434

3535
```shell
36-
npm install stream-chat-angular ngx-float-ui@beta
36+
npm install stream-chat-angular ngx-float-ui@18
37+
38+
# or
39+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@18 @floating-ui/dom
3740
```
3841

3942
Run this command if you are using **Angular 17**:
4043

4144
```shell
4245
npm install stream-chat-angular ngx-float-ui@17
46+
47+
# or
48+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@17 @floating-ui/dom
4349
```
4450

4551
Run this command if you are using **Angular 16**:
4652

4753
```shell
4854
npm install stream-chat-angular ngx-float-ui@16
55+
56+
# or
57+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@16 @floating-ui/dom
4958
```
5059

5160
Run this command if you are using **Angular 15**:
5261

5362
```shell
5463
npm install stream-chat-angular @ngx-translate/core@14 ngx-float-ui@15
64+
65+
# or
66+
yarn add stream-chat-angular stream-chat @ngx-translate/core@14 angular-mentions ngx-float-ui@15 @floating-ui/dom
5567
```
5668

57-
Supported node verisons: 18+
69+
Supported Node versions: 18+
5870

5971
## Tutorial
6072

docusaurus/docs/Angular/basics/upgrade-v4.mdx

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,41 @@ Want to see it all in action? Check out [the demo application](https://angular-c
5959
<Tabs groupId="examples">
6060
<TabItem value="Angular18" label="Angular 18">
6161

62-
```bash
63-
npm install stream-chat-angular ngx-float-ui@beta
62+
```shell
63+
npm install stream-chat-angular ngx-float-ui@18
64+
65+
# or
66+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@18 @floating-ui/dom
6467
```
6568

6669
</TabItem>
6770
<TabItem value="Angular17" label="Angular 17">
6871

69-
```bash
72+
```shell
7073
npm install stream-chat-angular ngx-float-ui@17
74+
75+
# or
76+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@17 @floating-ui/dom
7177
```
7278

7379
</TabItem>
7480
<TabItem value="Angular16" label="Angular 16">
7581

76-
```bash
82+
```shell
7783
npm install stream-chat-angular ngx-float-ui@16
84+
85+
# or
86+
yarn add stream-chat-angular stream-chat @ngx-translate/core angular-mentions ngx-float-ui@16 @floating-ui/dom
7887
```
7988

8089
</TabItem>
8190
<TabItem value="Angular15" label="Angular 15">
8291

83-
```bash
92+
```shell
8493
npm install stream-chat-angular @ngx-translate/core@14 ngx-float-ui@15
94+
95+
# or
96+
yarn add stream-chat-angular stream-chat @ngx-translate/core@14 angular-mentions ngx-float-ui@15 @floating-ui/dom
8597
```
8698

8799
</TabItem>

docusaurus/docs/Angular/concepts/channel-list.mdx

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ title: Channel list state
55
---
66

77
import ChannelList from "../assets/channel-list.png";
8+
import MultiChannelList from "../assets/multi-channel-list.png";
89

910
This guide describes the behaviour of the channel list, and shows how you can customize it. The channel list is controlled by the [`ChannelService`](../../services/ChannelService/).
1011

@@ -282,20 +283,7 @@ It's important to note that you should make sure that the channel you add is wat
282283

283284
Sometimes we need to show multiple separate channel lists. For example: we want to show 1:1 conversations and team chats in two separate tabs.
284285

285-
<iframe
286-
loading="lazy"
287-
src="https://zptmyv-4200.csb.app/"
288-
style={{
289-
width: "100%",
290-
height: "500px",
291-
border: "0",
292-
borderRadius: "4px",
293-
overflow: "hidden",
294-
}}
295-
title="Stream Chat Angular Multi-channel list Example"
296-
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
297-
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
298-
/>
286+
<img src={MultiChannelList} />
299287

300288
Here are the necessary steps to achieve this:
301289

0 commit comments

Comments
 (0)