stream-chat-react 11.5.0 → 11.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/dist/browser.full-bundle.js +80 -54
  2. package/dist/browser.full-bundle.js.map +1 -1
  3. package/dist/browser.full-bundle.min.js +1 -1
  4. package/dist/browser.full-bundle.min.js.map +1 -1
  5. package/dist/components/ChannelList/ChannelList.d.ts +3 -0
  6. package/dist/components/ChannelList/ChannelList.d.ts.map +1 -1
  7. package/dist/components/ChannelList/ChannelList.js +2 -2
  8. package/dist/components/ChannelList/hooks/usePaginatedChannels.d.ts +12 -1
  9. package/dist/components/ChannelList/hooks/usePaginatedChannels.d.ts.map +1 -1
  10. package/dist/components/ChannelList/hooks/usePaginatedChannels.js +55 -43
  11. package/dist/components/Chat/hooks/useChannelsQueryState.d.ts +2 -2
  12. package/dist/components/Chat/hooks/useChannelsQueryState.d.ts.map +1 -1
  13. package/dist/components/MessageList/MessageList.d.ts.map +1 -1
  14. package/dist/components/MessageList/MessageList.js +4 -3
  15. package/dist/components/MessageList/hooks/MessageList/useScrollLocationLogic.d.ts.map +1 -1
  16. package/dist/components/MessageList/hooks/MessageList/useScrollLocationLogic.js +0 -2
  17. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts +2 -1
  18. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.d.ts.map +1 -1
  19. package/dist/components/MessageList/hooks/MessageList/useUnreadMessagesNotification.js +19 -4
  20. package/dist/css/v2/index.css +1 -1
  21. package/dist/css/v2/index.layout.css +1 -1
  22. package/dist/index.cjs.js +80 -54
  23. package/dist/scss/v2/Autocomplete/Autocomplete-layout.scss +16 -8
  24. package/dist/scss/v2/Avatar/Avatar-theme.scss +1 -0
  25. package/dist/version.d.ts +1 -1
  26. package/dist/version.js +1 -1
  27. package/package.json +4 -2
@@ -2,13 +2,21 @@
2
2
 
3
3
  // Class defined by Angular mentions
4
4
  // !important necessary to override library defined styles
5
- .mention-menu {
6
- padding: var(--str-chat__spacing-2) 0 !important;
7
- margin: 0 !important;
8
- min-width: 50%;
5
+ .str-chat__message-textarea-angular-host {
6
+ position: relative;
9
7
 
10
- .mention-item {
11
- padding: 0 !important;
8
+ mention-list {
9
+ width: 100%;
10
+ }
11
+
12
+ .mention-menu {
13
+ padding: var(--str-chat__spacing-2) 0 !important;
14
+ margin: 0 !important;
15
+ max-width: 100%;
16
+
17
+ .mention-item {
18
+ padding: 0 !important;
19
+ }
12
20
  }
13
21
  }
14
22
 
@@ -66,7 +74,7 @@
66
74
  }
67
75
 
68
76
  .str-chat__message-textarea-angular-host--autocomplete-hidden {
69
- mention-list {
77
+ mention-list {
70
78
  display: none;
71
79
  }
72
- }
80
+ }
@@ -35,6 +35,7 @@
35
35
  .str-chat__avatar {
36
36
  .str-chat__avatar-image {
37
37
  @include utils.component-layer-overrides('avatar');
38
+ display: block;
38
39
  }
39
40
 
40
41
  .str-chat__avatar-fallback {
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const version = "11.5.0";
1
+ export declare const version = "11.7.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export var version = '11.5.0';
1
+ export var version = '11.7.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stream-chat-react",
3
- "version": "11.5.0",
3
+ "version": "11.7.0",
4
4
  "description": "React components to create chat conversations or livestream style chat",
5
5
  "author": "GetStream",
6
6
  "homepage": "https://getstream.io/chat/",
@@ -144,7 +144,7 @@
144
144
  "@semantic-release/changelog": "^6.0.2",
145
145
  "@semantic-release/git": "^10.0.1",
146
146
  "@stream-io/rollup-plugin-node-builtins": "^2.1.5",
147
- "@stream-io/stream-chat-css": "^4.6.1",
147
+ "@stream-io/stream-chat-css": "^4.6.3",
148
148
  "@testing-library/jest-dom": "^6.1.4",
149
149
  "@testing-library/react": "^13.1.1",
150
150
  "@testing-library/react-hooks": "^8.0.0",
@@ -203,6 +203,7 @@
203
203
  "jest": "^28.1.3",
204
204
  "jest-axe": "^8.0.0",
205
205
  "jest-environment-jsdom": "^28.1.3",
206
+ "lint-staged": "^15.2.1",
206
207
  "moment-timezone": "^0.5.43",
207
208
  "postcss": "^8.1.10",
208
209
  "postcss-loader": "^4.1.0",
@@ -241,6 +242,7 @@
241
242
  "lint-fix": "prettier --write 'src/**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js && eslint --fix 'src/**/*.{js,ts,tsx,md}' --max-warnings 0",
242
243
  "prettier": "prettier --list-different '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js",
243
244
  "prettier-fix": "prettier --write '**/*.{js,ts,tsx,md,json}' .eslintrc.json .prettierrc babel.config.js",
245
+ "fix-staged": "lint-staged --config .lintstagedrc.fix.json --concurrent 1",
244
246
  "start": "tsc --watch",
245
247
  "prepare": "husky install && yarn run build",
246
248
  "preversion": "yarn install",