Skip to content

Commit c4d561c

Browse files
authored
Merge pull request #223 from GetStream/css-bump
feat: Bump CSS version
2 parents 1535d6d + ef4c907 commit c4d561c

File tree

6 files changed

+28
-13
lines changed

6 files changed

+28
-13
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
"@ctrl/ngx-emoji-mart": "^6.2.0",
8787
"@ngx-translate/core": "^13.0.0",
8888
"@ngx-translate/http-loader": "^6.0.0",
89-
"@stream-io/stream-chat-css": "2.5.0",
89+
"@stream-io/stream-chat-css": "2.6.0",
9090
"@stream-io/transliterate": "^1.5.2",
9191
"angular-mentions": "^1.4.0",
9292
"dayjs": "^1.10.7",

projects/stream-chat-angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@angular/core": "^12.2.0 || ^13.0.0",
1414
"@ngx-translate/core": "^13.0.0 || ^14.0.0",
1515
"stream-chat": "^4.3.0 || ^5.0.0",
16-
"@stream-io/stream-chat-css": "2.5.0"
16+
"@stream-io/stream-chat-css": "2.6.0"
1717
},
1818
"dependencies": {
1919
"angular-mentions": "^1.4.0",

projects/stream-chat-angular/src/lib/channel-header/channel-header.component.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
(click)="toggleMenu($event)"
55
(keyup.enter)="toggleMenu($event)"
66
>
7-
<span class="str-chat__header-hamburger--line"></span>
8-
<span class="str-chat__header-hamburger--line"></span>
9-
<span class="str-chat__header-hamburger--line"></span>
7+
<stream-icon icon="menu"></stream-icon>
108
</div>
119
<stream-avatar
1210
imageUrl="{{ activeChannel?.data?.image }}"

projects/stream-chat-angular/src/lib/icon/icon.component.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,3 +238,19 @@
238238
fill="var(--black)"
239239
/>
240240
</svg>
241+
<svg
242+
*ngIf="icon === 'menu'"
243+
data-testid="menu"
244+
width="24"
245+
height="24"
246+
viewBox="0 0 24 24"
247+
fill="none"
248+
xmlns="http://www.w3.org/2000/svg"
249+
>
250+
<path
251+
fill-rule="evenodd"
252+
clip-rule="evenodd"
253+
d="M3 8V6H21V8H3ZM3 13H21V11H3V13ZM3 18H21V16H3V18Z"
254+
fill="black"
255+
/>
256+
</svg>

projects/stream-chat-angular/src/lib/icon/icon.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export type Icon =
1414
| 'close-no-outline'
1515
| 'reply-in-thread'
1616
| 'arrow-left'
17-
| 'arrow-right';
17+
| 'arrow-right'
18+
| 'menu';
1819

1920
/**
2021
* The `Icon` component can be used to display different icons (i. e. message delivered icon).

0 commit comments

Comments
 (0)