stream-chat-react 14.5.0 → 14.6.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 (164) hide show
  1. package/dist/cjs/{ReactPlayerWrapper.963d6170.js → ReactPlayerWrapper.30240f76.js} +2 -2
  2. package/dist/cjs/{ReactPlayerWrapper.963d6170.js.map → ReactPlayerWrapper.30240f76.js.map} +1 -1
  3. package/dist/cjs/channel-detail.js +3007 -0
  4. package/dist/cjs/channel-detail.js.map +1 -0
  5. package/dist/cjs/emojis.js +5 -4
  6. package/dist/cjs/emojis.js.map +1 -1
  7. package/dist/cjs/index.js +1804 -4064
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/useChannelHeaderOnlineStatus.6546ac83.js +4143 -0
  10. package/dist/cjs/useChannelHeaderOnlineStatus.6546ac83.js.map +1 -0
  11. package/dist/cjs/useMessageComposerController.c0dad9bc.js +99 -0
  12. package/dist/cjs/useMessageComposerController.c0dad9bc.js.map +1 -0
  13. package/dist/cjs/{useNotificationApi.e9312774.js → useNotificationApi.eb753f31.js} +121 -166
  14. package/dist/cjs/useNotificationApi.eb753f31.js.map +1 -0
  15. package/dist/css/channel-detail.css +825 -0
  16. package/dist/css/channel-detail.css.map +1 -0
  17. package/dist/css/index.css +111 -31
  18. package/dist/css/index.css.map +1 -1
  19. package/dist/es/channel-detail.mjs +2950 -0
  20. package/dist/es/channel-detail.mjs.map +1 -0
  21. package/dist/es/emojis.mjs +2 -1
  22. package/dist/es/emojis.mjs.map +1 -1
  23. package/dist/es/index.mjs +1399 -3669
  24. package/dist/es/index.mjs.map +1 -1
  25. package/dist/es/useChannelHeaderOnlineStatus.c5215b13.mjs +3600 -0
  26. package/dist/es/useChannelHeaderOnlineStatus.c5215b13.mjs.map +1 -0
  27. package/dist/es/useMessageComposerController.29f189b4.mjs +69 -0
  28. package/dist/es/useMessageComposerController.29f189b4.mjs.map +1 -0
  29. package/dist/es/{useNotificationApi.4be515a0.mjs → useNotificationApi.fa5cddf9.mjs} +104 -137
  30. package/dist/es/useNotificationApi.fa5cddf9.mjs.map +1 -0
  31. package/dist/types/components/AudioPlayback/components/index.d.ts +1 -0
  32. package/dist/types/components/AudioPlayback/components/index.d.ts.map +1 -1
  33. package/dist/types/components/Avatar/ChannelAvatar.d.ts.map +1 -1
  34. package/dist/types/components/ChannelHeader/hooks/useChannelHasMembersOnline.d.ts +7 -0
  35. package/dist/types/components/ChannelHeader/hooks/useChannelHasMembersOnline.d.ts.map +1 -0
  36. package/dist/types/components/ChannelHeader/hooks/useChannelHeaderOnlineStatus.d.ts +6 -1
  37. package/dist/types/components/ChannelHeader/hooks/useChannelHeaderOnlineStatus.d.ts.map +1 -1
  38. package/dist/types/components/ChannelListItem/hooks/index.d.ts +1 -0
  39. package/dist/types/components/ChannelListItem/hooks/index.d.ts.map +1 -1
  40. package/dist/types/components/ChannelListItem/hooks/useChannelPreviewInfo.d.ts.map +1 -1
  41. package/dist/types/components/ChannelListItem/hooks/useIsUserMuted.d.ts +2 -0
  42. package/dist/types/components/ChannelListItem/hooks/useIsUserMuted.d.ts.map +1 -0
  43. package/dist/types/components/Chat/Chat.d.ts.map +1 -1
  44. package/dist/types/components/Dialog/components/Prompt.d.ts +7 -4
  45. package/dist/types/components/Dialog/components/Prompt.d.ts.map +1 -1
  46. package/dist/types/components/Dialog/service/DialogPortal.d.ts +5 -1
  47. package/dist/types/components/Dialog/service/DialogPortal.d.ts.map +1 -1
  48. package/dist/types/components/FileIcon/iconMap.d.ts.map +1 -1
  49. package/dist/types/components/Form/Checkbox.d.ts +8 -0
  50. package/dist/types/components/Form/Checkbox.d.ts.map +1 -0
  51. package/dist/types/components/Form/SwitchField.d.ts +6 -0
  52. package/dist/types/components/Form/SwitchField.d.ts.map +1 -1
  53. package/dist/types/components/Form/index.d.ts +1 -0
  54. package/dist/types/components/Form/index.d.ts.map +1 -1
  55. package/dist/types/components/Icons/icons.d.ts +12 -0
  56. package/dist/types/components/Icons/icons.d.ts.map +1 -1
  57. package/dist/types/components/InfiniteScrollPaginator/index.d.ts +1 -0
  58. package/dist/types/components/InfiniteScrollPaginator/index.d.ts.map +1 -1
  59. package/dist/types/components/Message/hooks/useMessageTextStreaming.d.ts +1 -1
  60. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts +1 -1
  61. package/dist/types/components/Message/hooks/useReactionsFetcher.d.ts.map +1 -1
  62. package/dist/types/components/Modal/GlobalModal.d.ts +3 -1
  63. package/dist/types/components/Modal/GlobalModal.d.ts.map +1 -1
  64. package/dist/types/components/Notifications/hooks/useNotificationApi.d.ts.map +1 -1
  65. package/dist/types/components/Poll/PollCreationDialog/MultipleAnswersField.d.ts.map +1 -1
  66. package/dist/types/components/Poll/PollOptionSelector.d.ts +0 -4
  67. package/dist/types/components/Poll/PollOptionSelector.d.ts.map +1 -1
  68. package/dist/types/context/DialogManagerContext.d.ts +3 -1
  69. package/dist/types/context/DialogManagerContext.d.ts.map +1 -1
  70. package/dist/types/i18n/Streami18n.d.ts +99 -0
  71. package/dist/types/i18n/Streami18n.d.ts.map +1 -1
  72. package/dist/types/plugins/ChannelDetail/AvatarWithChannelDetail.d.ts +9 -0
  73. package/dist/types/plugins/ChannelDetail/AvatarWithChannelDetail.d.ts.map +1 -0
  74. package/dist/types/plugins/ChannelDetail/ChannelDetail.d.ts +14 -0
  75. package/dist/types/plugins/ChannelDetail/ChannelDetail.d.ts.map +1 -0
  76. package/dist/types/plugins/ChannelDetail/ChannelDetailContext.d.ts +11 -0
  77. package/dist/types/plugins/ChannelDetail/ChannelDetailContext.d.ts.map +1 -0
  78. package/dist/types/plugins/ChannelDetail/ChannelDetailEmptyList.d.ts +3 -0
  79. package/dist/types/plugins/ChannelDetail/ChannelDetailEmptyList.d.ts.map +1 -0
  80. package/dist/types/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.d.ts +6 -0
  81. package/dist/types/plugins/ChannelDetail/ChannelDetailListLoadingIndicator.d.ts.map +1 -0
  82. package/dist/types/plugins/ChannelDetail/ChannelDetailNavButton.d.ts +15 -0
  83. package/dist/types/plugins/ChannelDetail/ChannelDetailNavButton.d.ts.map +1 -0
  84. package/dist/types/plugins/ChannelDetail/ChannelDetailSearchInput.d.ts +8 -0
  85. package/dist/types/plugins/ChannelDetail/ChannelDetailSearchInput.d.ts.map +1 -0
  86. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigator.d.ts +52 -0
  87. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigator.d.ts.map +1 -0
  88. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.d.ts +11 -0
  89. package/dist/types/plugins/ChannelDetail/SectionNavigator/SectionNavigatorHeader.d.ts.map +1 -0
  90. package/dist/types/plugins/ChannelDetail/SectionNavigator/index.d.ts +3 -0
  91. package/dist/types/plugins/ChannelDetail/SectionNavigator/index.d.ts.map +1 -0
  92. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.d.ts +2 -0
  93. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesEmptyList.d.ts.map +1 -0
  94. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.d.ts +5 -0
  95. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.d.ts.map +1 -0
  96. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.utils.d.ts +40 -0
  97. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/ChannelFilesView.utils.d.ts.map +1 -0
  98. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/index.d.ts +5 -0
  99. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/index.d.ts.map +1 -0
  100. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/useChannelFilesSearch.d.ts +10 -0
  101. package/dist/types/plugins/ChannelDetail/Views/ChannelFilesView/useChannelFilesSearch.d.ts.map +1 -0
  102. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementActions.defaults.d.ts +16 -0
  103. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementActions.defaults.d.ts.map +1 -0
  104. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementView.d.ts +20 -0
  105. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/ChannelManagementView.d.ts.map +1 -0
  106. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/index.d.ts +3 -0
  107. package/dist/types/plugins/ChannelDetail/Views/ChannelManagementView/index.d.ts.map +1 -0
  108. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaEmptyList.d.ts +2 -0
  109. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaEmptyList.d.ts.map +1 -0
  110. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.d.ts +8 -0
  111. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.d.ts.map +1 -0
  112. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.utils.d.ts +22 -0
  113. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/ChannelMediaView.utils.d.ts.map +1 -0
  114. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/index.d.ts +5 -0
  115. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/index.d.ts.map +1 -0
  116. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/useChannelMediaSearch.d.ts +9 -0
  117. package/dist/types/plugins/ChannelDetail/Views/ChannelMediaView/useChannelMediaSearch.d.ts.map +1 -0
  118. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberActions.defaults.d.ts +26 -0
  119. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberActions.defaults.d.ts.map +1 -0
  120. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberDetail.d.ts +12 -0
  121. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/ChannelMemberDetail.d.ts.map +1 -0
  122. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/index.d.ts +3 -0
  123. package/dist/types/plugins/ChannelDetail/Views/ChannelMemberDetailView/index.d.ts.map +1 -0
  124. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersAddView.d.ts +7 -0
  125. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersAddView.d.ts.map +1 -0
  126. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersBrowseView.d.ts +6 -0
  127. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersBrowseView.d.ts.map +1 -0
  128. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersHeaderActions.defaults.d.ts +45 -0
  129. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersHeaderActions.defaults.d.ts.map +1 -0
  130. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.d.ts +46 -0
  131. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.d.ts.map +1 -0
  132. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.utils.d.ts +8 -0
  133. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/ChannelMembersView.utils.d.ts.map +1 -0
  134. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/index.d.ts +6 -0
  135. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/index.d.ts.map +1 -0
  136. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberCount.d.ts +4 -0
  137. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberCount.d.ts.map +1 -0
  138. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberIds.d.ts +4 -0
  139. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMemberIds.d.ts.map +1 -0
  140. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMembersSearch.d.ts +12 -0
  141. package/dist/types/plugins/ChannelDetail/Views/ChannelMembersView/useChannelMembersSearch.d.ts.map +1 -0
  142. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesEmptyList.d.ts +2 -0
  143. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesEmptyList.d.ts.map +1 -0
  144. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesView.d.ts +9 -0
  145. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/PinnedMessagesView.d.ts.map +1 -0
  146. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/index.d.ts +4 -0
  147. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/index.d.ts.map +1 -0
  148. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesCount.d.ts +4 -0
  149. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesCount.d.ts.map +1 -0
  150. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesSearch.d.ts +16 -0
  151. package/dist/types/plugins/ChannelDetail/Views/PinnedMessagesView/usePinnedMessagesSearch.d.ts.map +1 -0
  152. package/dist/types/plugins/ChannelDetail/VirtualizedList/VirtualizedList.d.ts +28 -0
  153. package/dist/types/plugins/ChannelDetail/VirtualizedList/VirtualizedList.d.ts.map +1 -0
  154. package/dist/types/plugins/ChannelDetail/VirtualizedList/index.d.ts +2 -0
  155. package/dist/types/plugins/ChannelDetail/VirtualizedList/index.d.ts.map +1 -0
  156. package/dist/types/plugins/ChannelDetail/index.d.ts +16 -0
  157. package/dist/types/plugins/ChannelDetail/index.d.ts.map +1 -0
  158. package/dist/types/utils/index.d.ts +2 -0
  159. package/dist/types/utils/index.d.ts.map +1 -1
  160. package/dist/types/utils/isDmChannel.d.ts +6 -0
  161. package/dist/types/utils/isDmChannel.d.ts.map +1 -0
  162. package/package.json +11 -2
  163. package/dist/cjs/useNotificationApi.e9312774.js.map +0 -1
  164. package/dist/es/useNotificationApi.4be515a0.mjs.map +0 -1
@@ -0,0 +1,825 @@
1
+ .str-chat__avatar-with-channel-detail-button {
2
+ appearance: none;
3
+ background: none;
4
+ border: 0;
5
+ border-radius: 50%;
6
+ color: inherit;
7
+ cursor: pointer;
8
+ display: flex;
9
+ padding: 0;
10
+ }
11
+
12
+ .str-chat__channel-detail {
13
+ display: flex;
14
+ flex-direction: column;
15
+ width: min(800px, 100vw - 2 * var(--str-chat__spacing-lg));
16
+ max-width: 100%;
17
+ height: min(640px, 100vh - 2 * var(--str-chat__spacing-lg));
18
+ min-height: 0;
19
+ overflow: hidden;
20
+ }
21
+ .str-chat__channel-detail .str-chat__section-navigator {
22
+ min-height: 0;
23
+ }
24
+ .str-chat__channel-detail .str-chat__section-navigator__content {
25
+ display: flex;
26
+ flex-direction: column;
27
+ min-height: 0;
28
+ }
29
+ .str-chat__channel-detail .str-chat__prompt__header__description {
30
+ display: none;
31
+ }
32
+ .str-chat__channel-detail .str-chat__prompt__body {
33
+ display: flex;
34
+ flex-direction: column;
35
+ gap: var(--str-chat__spacing-md);
36
+ padding: 0;
37
+ }
38
+ .str-chat__channel-detail .str-chat__icon--destructive {
39
+ color: var(--str-chat__accent-error);
40
+ }
41
+
42
+ .str-chat__channel-detail--inline {
43
+ width: 100dvw;
44
+ height: 100dvh;
45
+ max-width: none;
46
+ border-radius: 0;
47
+ box-shadow: none;
48
+ }
49
+ .str-chat__channel-detail--inline .str-chat__channel-detail__search-input {
50
+ padding-inline: var(--str-chat__spacing-md);
51
+ }
52
+ .str-chat__channel-detail--inline .str-chat__prompt__footer {
53
+ padding: var(--str-chat__spacing-md);
54
+ }
55
+ .str-chat__channel-detail--inline .str-chat__prompt__footer .str-chat__prompt__footer__controls {
56
+ width: 100%;
57
+ }
58
+ .str-chat__channel-detail--inline .str-chat__prompt__footer .str-chat__prompt__footer__controls button {
59
+ width: 100%;
60
+ }
61
+
62
+ .str-chat__channel-detail__nav-button {
63
+ width: 100%;
64
+ text-transform: capitalize;
65
+ }
66
+
67
+ .str-chat__channel-detail__header {
68
+ display: flex;
69
+ gap: var(--str-chat__spacing-md);
70
+ padding: var(--str-chat__spacing-xl);
71
+ }
72
+
73
+ .str-chat__channel-detail__search-input {
74
+ flex-shrink: 0;
75
+ width: 100%;
76
+ padding-inline: var(--str-chat__spacing-xl);
77
+ padding-block: var(--str-chat__spacing-xxxs);
78
+ }
79
+ .str-chat__channel-detail__search-input .str-chat__form-text-input__wrapper--outline {
80
+ border-radius: var(--str-chat__radius-max);
81
+ }
82
+
83
+ .str-chat__channel-detail__files-view {
84
+ display: flex;
85
+ flex-direction: column;
86
+ flex: 1;
87
+ min-height: 0;
88
+ }
89
+
90
+ .str-chat__channel-detail__files-view__body {
91
+ display: flex;
92
+ flex-direction: column;
93
+ flex: 1;
94
+ min-height: 0;
95
+ }
96
+
97
+ .str-chat__channel-detail__files-view__empty-state {
98
+ display: flex;
99
+ flex: 1;
100
+ flex-direction: column;
101
+ align-items: center;
102
+ justify-content: center;
103
+ gap: var(--str-chat__spacing-sm);
104
+ width: 100%;
105
+ padding-block: var(--str-chat__spacing-3xl);
106
+ padding-inline: var(--str-chat__spacing-md);
107
+ text-align: center;
108
+ }
109
+
110
+ .str-chat__channel-detail__files-view__empty-state__icon {
111
+ width: 32px;
112
+ height: 32px;
113
+ color: var(--str-chat__text-tertiary);
114
+ }
115
+
116
+ .str-chat__channel-detail__files-view__empty-state__content {
117
+ display: flex;
118
+ flex-direction: column;
119
+ align-items: center;
120
+ gap: var(--str-chat__spacing-xxs);
121
+ width: 100%;
122
+ }
123
+
124
+ .str-chat__channel-detail__files-view__empty-state__title,
125
+ .str-chat__channel-detail__files-view__empty-state__description {
126
+ margin: 0;
127
+ overflow-wrap: anywhere;
128
+ }
129
+
130
+ .str-chat__channel-detail__files-view__empty-state__title {
131
+ color: var(--str-chat__text-primary);
132
+ font: var(--str-chat__font-caption-emphasis);
133
+ }
134
+
135
+ .str-chat__channel-detail__files-view__empty-state__description {
136
+ max-width: 200px;
137
+ color: var(--str-chat__text-secondary);
138
+ font: var(--str-chat__font-caption-default);
139
+ }
140
+
141
+ .str-chat__channel-detail__files-view__group {
142
+ top: 0;
143
+ }
144
+
145
+ .str-chat__channel-detail__files-view__section-header {
146
+ padding-block: var(--str-chat__spacing-xs);
147
+ padding-inline: var(--str-chat__spacing-xs);
148
+ color: var(--str-chat__text-secondary);
149
+ font: var(--str-chat__font-caption-emphasis);
150
+ background: var(--str-chat__background-core-surface-subtle);
151
+ }
152
+
153
+ .str-chat__channel-detail__files-view__item {
154
+ padding-inline: var(--str-chat__spacing-xs);
155
+ }
156
+
157
+ .str-chat__channel-detail--inline .str-chat__channel-detail__files-view__item {
158
+ padding-inline: var(--str-chat__spacing-xxs);
159
+ }
160
+
161
+ .str-chat__channel-detail__files-view__list-item {
162
+ color: inherit;
163
+ text-decoration: none;
164
+ }
165
+
166
+ .str-chat__channel-detail__files-view__list-item__name {
167
+ overflow: hidden;
168
+ text-overflow: ellipsis;
169
+ white-space: nowrap;
170
+ }
171
+
172
+ .str-chat__channel-detail__files-view__list-item__size {
173
+ color: var(--str-chat__text-secondary);
174
+ font: var(--str-chat__font-caption-default);
175
+ }
176
+
177
+ .str-chat__channel-detail .str-chat__channel-detail__channel-member-detail-view__body {
178
+ gap: var(--str-chat__spacing-2xl);
179
+ padding: 0 var(--str-chat__spacing-xl) var(--str-chat__spacing-2xl);
180
+ }
181
+
182
+ .str-chat__channel-detail--inline .str-chat__channel-detail__channel-member-detail-view__body {
183
+ padding: var(--str-chat__spacing-2xl) var(--str-chat__spacing-md);
184
+ }
185
+
186
+ .str-chat__channel-detail__channel-member-detail-view__profile {
187
+ display: flex;
188
+ flex-direction: column;
189
+ align-items: center;
190
+ gap: var(--str-chat__spacing-md);
191
+ width: 100%;
192
+ }
193
+ .str-chat__channel-detail__channel-member-detail-view__profile .str-chat__channel-detail__channel-member-detail-view__profile__details {
194
+ display: flex;
195
+ flex-direction: column;
196
+ align-items: center;
197
+ gap: var(--str-chat__spacing-xs);
198
+ width: 100%;
199
+ }
200
+ .str-chat__channel-detail__channel-member-detail-view__profile .str-chat__channel-detail__channel-member-detail-view__profile__details .str-chat__channel-detail__channel-member-detail-view__profile__details__title {
201
+ text-align: center;
202
+ font: var(--str-chat__font-heading-lg);
203
+ color: var(--str-chat__text-primary);
204
+ }
205
+ .str-chat__channel-detail__channel-member-detail-view__profile .str-chat__channel-detail__channel-member-detail-view__profile__details .str-chat__channel-detail__channel-member-detail-view__profile__details__connection-status {
206
+ text-align: center;
207
+ font: var(--str-chat__font-caption-default);
208
+ color: var(--str-chat__text-secondary);
209
+ }
210
+
211
+ .str-chat__channel-detail__channel-member-detail-view__actions {
212
+ display: flex;
213
+ flex-direction: column;
214
+ gap: var(--str-chat__spacing-xxs);
215
+ width: 100%;
216
+ border-radius: var(--str-chat__radius-lg);
217
+ background-color: var(--str-chat__surface-card);
218
+ padding-block: var(--str-chat__spacing-xs);
219
+ }
220
+
221
+ .str-chat__channel-member-detail-action {
222
+ text-transform: capitalize;
223
+ }
224
+
225
+ .str-chat__channel-member-confirmation-alert {
226
+ min-width: min(304px, 100vw - 32px);
227
+ max-width: min(304px, 100vw - 32px);
228
+ }
229
+
230
+ .str-chat__channel-detail__channel-member-detail-view__empty-state {
231
+ display: flex;
232
+ align-items: center;
233
+ justify-content: center;
234
+ min-height: 128px;
235
+ font: var(--str-chat__font-caption-default);
236
+ color: var(--str-chat__text-secondary);
237
+ }
238
+
239
+ .str-chat__channel-detail__channel-management-view {
240
+ display: flex;
241
+ flex-direction: column;
242
+ flex: 1;
243
+ min-height: 0;
244
+ }
245
+
246
+ .str-chat__channel-detail .str-chat__channel-detail__channel-management-view__body {
247
+ display: flex;
248
+ flex-direction: column;
249
+ flex: 1;
250
+ min-height: 0;
251
+ gap: var(--str-chat__spacing-2xl);
252
+ padding: 0 var(--str-chat__spacing-xl) var(--str-chat__spacing-2xl);
253
+ }
254
+ .str-chat__channel-detail .str-chat__channel-detail__channel-management-view__profile {
255
+ display: flex;
256
+ flex-direction: column;
257
+ align-items: center;
258
+ gap: var(--str-chat__spacing-md);
259
+ width: 100%;
260
+ }
261
+ .str-chat__channel-detail .str-chat__channel-detail__channel-management-view__profile .str-chat__channel-detail__channel-management-view__profile__details {
262
+ display: flex;
263
+ flex-direction: column;
264
+ align-items: center;
265
+ gap: var(--str-chat__spacing-xs);
266
+ width: 100%;
267
+ }
268
+ .str-chat__channel-detail .str-chat__channel-detail__channel-management-view__profile .str-chat__channel-detail__channel-management-view__profile__details .str-chat__channel-detail__channel-management-view__profile__details__title {
269
+ display: flex;
270
+ align-items: center;
271
+ gap: var(--str-chat__spacing-xs);
272
+ font: var(--str-chat__font-heading-lg);
273
+ }
274
+ .str-chat__channel-detail .str-chat__channel-detail__channel-management-view__profile .str-chat__channel-detail__channel-management-view__profile__details .str-chat__channel-detail__channel-management-view__profile__details__connection-status {
275
+ font: var(--str-chat__font-caption-default);
276
+ color: var(--str-chat__text-secondary);
277
+ }
278
+
279
+ .str-chat__channel-detail--inline .str-chat__channel-detail__channel-management-view__body {
280
+ padding: var(--str-chat__spacing-2xl) var(--str-chat__spacing-md);
281
+ }
282
+
283
+ .str-chat__channel-detail__channel-management-view__actions {
284
+ display: flex;
285
+ flex-direction: column;
286
+ padding-block: var(--str-chat__spacing-xs);
287
+ gap: var(--str-chat__spacing-xxs);
288
+ }
289
+ .str-chat__channel-detail__channel-management-view__actions .str-chat__form__switch-field .str-chat__form__switch-field__label .str-chat__form__switch-field__label__text {
290
+ font: var(--str-chat__font-caption-default);
291
+ }
292
+
293
+ .str-chat__channel-management-view-action {
294
+ text-transform: capitalize;
295
+ }
296
+
297
+ .str-chat__channel-detail__action-icon {
298
+ width: var(--str-chat__icon-size-sm);
299
+ height: var(--str-chat__icon-size-sm);
300
+ flex-shrink: 0;
301
+ color: var(--str-chat__text-secondary);
302
+ }
303
+
304
+ .str-chat__channel-management-confirmation-alert {
305
+ min-width: min(304px, 100vw - 32px);
306
+ max-width: min(304px, 100vw - 32px);
307
+ }
308
+
309
+ .str-chat__channel-detail__channel-management-view__form {
310
+ display: flex;
311
+ flex-direction: column;
312
+ flex: 1;
313
+ min-height: 0;
314
+ }
315
+
316
+ .str-chat__channel-detail__channel-management-view__avatar-row {
317
+ display: flex;
318
+ align-items: center;
319
+ gap: var(--str-chat__spacing-xl);
320
+ flex-wrap: wrap;
321
+ }
322
+
323
+ .str-chat__channel-detail__channel-management-view__avatar-row__actions {
324
+ display: flex;
325
+ align-items: center;
326
+ gap: var(--str-chat__spacing-xs);
327
+ flex-wrap: wrap;
328
+ }
329
+
330
+ .str-chat__channel-detail__channel-management-view__file-input {
331
+ position: absolute;
332
+ width: 1px;
333
+ height: 1px;
334
+ padding: 0;
335
+ margin: -1px;
336
+ overflow: hidden;
337
+ clip: rect(0, 0, 0, 0);
338
+ white-space: nowrap;
339
+ border: 0;
340
+ }
341
+
342
+ .str-chat__channel-detail__channel-management-view__name-input {
343
+ width: 100%;
344
+ }
345
+
346
+ .str-chat__channel-detail__media-view {
347
+ display: flex;
348
+ flex-direction: column;
349
+ flex: 1;
350
+ min-height: 0;
351
+ }
352
+
353
+ .str-chat__channel-detail__media-view__body {
354
+ display: flex;
355
+ flex-direction: column;
356
+ flex: 1;
357
+ min-height: 0;
358
+ }
359
+
360
+ .str-chat__channel-detail__media-view__empty-state {
361
+ display: flex;
362
+ flex: 1;
363
+ flex-direction: column;
364
+ align-items: center;
365
+ justify-content: center;
366
+ gap: var(--str-chat__spacing-sm);
367
+ width: 100%;
368
+ padding-block: var(--str-chat__spacing-3xl);
369
+ padding-inline: var(--str-chat__spacing-md);
370
+ text-align: center;
371
+ }
372
+
373
+ .str-chat__channel-detail__media-view__empty-state__icon {
374
+ width: 32px;
375
+ height: 32px;
376
+ color: var(--str-chat__text-tertiary);
377
+ }
378
+
379
+ .str-chat__channel-detail__media-view__empty-state__content {
380
+ display: flex;
381
+ flex-direction: column;
382
+ align-items: center;
383
+ gap: var(--str-chat__spacing-xxs);
384
+ width: 100%;
385
+ }
386
+
387
+ .str-chat__channel-detail__media-view__empty-state__title,
388
+ .str-chat__channel-detail__media-view__empty-state__description {
389
+ margin: 0;
390
+ overflow-wrap: anywhere;
391
+ }
392
+
393
+ .str-chat__channel-detail__media-view__empty-state__title {
394
+ color: var(--str-chat__text-primary);
395
+ font: var(--str-chat__font-caption-emphasis);
396
+ }
397
+
398
+ .str-chat__channel-detail__media-view__empty-state__description {
399
+ max-width: 200px;
400
+ color: var(--str-chat__text-secondary);
401
+ font: var(--str-chat__font-caption-default);
402
+ }
403
+
404
+ .str-chat__channel-detail__media-view__grid {
405
+ overflow: auto;
406
+ scrollbar-width: none;
407
+ -ms-overflow-style: none;
408
+ }
409
+ .str-chat__channel-detail__media-view__grid::-webkit-scrollbar {
410
+ display: none;
411
+ }
412
+ .str-chat__channel-detail__media-view__grid {
413
+ display: flex;
414
+ flex-direction: column;
415
+ flex: 1;
416
+ min-height: 0;
417
+ max-height: 100%;
418
+ overflow-y: auto;
419
+ overscroll-behavior: contain;
420
+ }
421
+ .str-chat__channel-detail__media-view__grid .str-chat__channel-detail__media-view__grid__content {
422
+ display: flex;
423
+ flex-direction: column;
424
+ min-height: 100%;
425
+ padding-inline: var(--str-chat__spacing-xl);
426
+ padding-block: var(--str-chat__spacing-xxs);
427
+ }
428
+
429
+ .str-chat__channel-detail--inline .str-chat__channel-detail__media-view__grid .str-chat__channel-detail__media-view__grid__content {
430
+ padding: 0;
431
+ }
432
+ .str-chat__channel-detail--inline .str-chat__channel-detail__media-view__grid .str-chat__channel-detail__media-view__grid__content .str-chat__channel-detail__media-view__grid__items {
433
+ gap: var(--str-chat__spacing-xxxs);
434
+ }
435
+
436
+ .str-chat__channel-detail__media-view__pagination {
437
+ display: flex;
438
+ align-items: center;
439
+ justify-content: space-between;
440
+ margin-block-start: auto;
441
+ gap: var(--str-chat__spacing-md);
442
+ padding-block: var(--str-chat__spacing-xl);
443
+ }
444
+
445
+ .str-chat__channel-detail__media-view__pagination__button .str-chat__icon {
446
+ width: 16px;
447
+ height: 16px;
448
+ }
449
+ .str-chat__channel-detail__media-view__pagination__button:disabled {
450
+ color: var(--str-chat__text-tertiary);
451
+ cursor: default;
452
+ }
453
+
454
+ .str-chat__channel-detail__media-view__grid__items {
455
+ display: grid;
456
+ grid-template-columns: repeat(5, 1fr);
457
+ gap: var(--str-chat__spacing-xxs);
458
+ width: 100%;
459
+ }
460
+
461
+ .str-chat__channel-detail__media-view__item {
462
+ position: relative;
463
+ display: block;
464
+ aspect-ratio: 1;
465
+ width: 100%;
466
+ padding: 0;
467
+ border: none;
468
+ border-radius: var(--str-chat__radius-xs);
469
+ background: var(--str-chat__background-core-surface-subtle);
470
+ cursor: pointer;
471
+ overflow: hidden;
472
+ }
473
+ .str-chat__channel-detail__media-view__item img.str-chat__base-image {
474
+ object-fit: cover;
475
+ }
476
+
477
+ .str-chat__channel-detail__media-view__item__media {
478
+ display: block;
479
+ width: 100%;
480
+ height: 100%;
481
+ object-fit: cover;
482
+ }
483
+
484
+ .str-chat__channel-detail__media-view__item__placeholder {
485
+ display: flex;
486
+ align-items: center;
487
+ justify-content: center;
488
+ width: 100%;
489
+ height: 100%;
490
+ color: var(--str-chat__text-tertiary);
491
+ }
492
+ .str-chat__channel-detail__media-view__item__placeholder .str-chat__icon {
493
+ width: var(--str-chat__icon-size-lg, 32px);
494
+ height: var(--str-chat__icon-size-lg, 32px);
495
+ }
496
+
497
+ .str-chat__avatar.str-chat__channel-detail__media-view__item__avatar {
498
+ position: absolute;
499
+ inset-block-start: var(--str-chat__spacing-xs);
500
+ inset-inline-start: var(--str-chat__spacing-xs);
501
+ pointer-events: none;
502
+ }
503
+
504
+ .str-chat__badge.str-chat__channel-detail__media-view__item__duration {
505
+ position: absolute;
506
+ inset-block-end: var(--str-chat__spacing-xs);
507
+ inset-inline-start: var(--str-chat__spacing-xs);
508
+ gap: var(--str-chat__spacing-xxs);
509
+ padding-block: var(--str-chat__spacing-xxs);
510
+ padding-inline: var(--str-chat__spacing-xs);
511
+ pointer-events: none;
512
+ }
513
+
514
+ .str-chat__channel-detail__media-view__item__duration-icon {
515
+ width: 12px;
516
+ height: 12px;
517
+ }
518
+
519
+ .str-chat__channel-detail__channel-members-view {
520
+ display: flex;
521
+ flex-direction: column;
522
+ flex: 1;
523
+ min-height: 0;
524
+ }
525
+
526
+ .str-chat__channel-detail__channel-members-view__header-actions {
527
+ display: flex;
528
+ align-items: center;
529
+ gap: var(--str-chat__spacing-sm);
530
+ }
531
+
532
+ .str-chat__channel-members-view__body {
533
+ display: flex;
534
+ flex-direction: column;
535
+ flex: 1;
536
+ min-height: 0;
537
+ }
538
+
539
+ .str-chat__channel-detail__channel-members-view__list .str-chat__virtualized-list__content {
540
+ padding-inline: var(--str-chat__spacing-xs);
541
+ padding-block: var(--str-chat__spacing-xxs);
542
+ }
543
+
544
+ .str-chat__channel-detail--inline .str-chat__channel-detail__channel-members-view__list .str-chat__virtualized-list__content {
545
+ padding-inline: var(--str-chat__spacing-xs);
546
+ }
547
+
548
+ .str-chat__channel-detail__channel-members-view__list-item .str-chat__channel-detail__channel-members-view__list-item__indicator-icon {
549
+ color: var(--str-chat__text-tertiary);
550
+ }
551
+
552
+ .str-chat__channel-detail__channel-members-view__list-item--disabled {
553
+ color: var(--str-chat__text-low-emphasis);
554
+ }
555
+
556
+ .str-chat__channel-detail__channel-members-view__list-item__trailing-slot {
557
+ display: flex;
558
+ align-items: center;
559
+ gap: var(--str-chat__spacing-xs);
560
+ }
561
+
562
+ .str-chat__channel-detail__channel-members-view__role-label,
563
+ .str-chat__channel-detail__channel-members-view__already-member-label {
564
+ color: var(--str-chat__text-secondary);
565
+ font: var(--str-chat__font-caption-default);
566
+ }
567
+
568
+ .str-chat__channel-detail__channel-members-view__empty-state {
569
+ display: flex;
570
+ height: 100%;
571
+ min-height: 100%;
572
+ flex-direction: column;
573
+ align-items: center;
574
+ justify-content: center;
575
+ gap: var(--str-chat__spacing-sm);
576
+ color: var(--str-chat__text-secondary);
577
+ font: var(--str-chat__font-body);
578
+ }
579
+ .str-chat__channel-detail__channel-members-view__empty-state svg {
580
+ height: 32px;
581
+ width: 32px;
582
+ }
583
+
584
+ .str-chat__channel-detail__channel-members-view__toast {
585
+ align-self: center;
586
+ padding-block: var(--str-chat__spacing-xs);
587
+ padding-inline: var(--str-chat__spacing-md);
588
+ border-radius: var(--str-chat__radius-md);
589
+ background: var(--str-chat__background-core-inverse);
590
+ color: var(--str-chat__text-on-inverse);
591
+ font: var(--str-chat__font-caption-default);
592
+ }
593
+
594
+ .str-chat__loading-indicator-placeholder {
595
+ width: 100%;
596
+ display: flex;
597
+ justify-content: center;
598
+ align-items: center;
599
+ }
600
+
601
+ .str-chat__channel-detail__pinned-messages-view {
602
+ display: flex;
603
+ flex-direction: column;
604
+ flex: 1;
605
+ min-height: 0;
606
+ }
607
+
608
+ .str-chat__channel-detail__pinned-messages-view__body {
609
+ display: flex;
610
+ flex-direction: column;
611
+ flex: 1;
612
+ min-height: 0;
613
+ }
614
+
615
+ .str-chat__channel-detail__pinned-messages-view__list .str-chat__virtualized-list__content {
616
+ padding-inline: var(--str-chat__spacing-xs);
617
+ padding-block: var(--str-chat__spacing-xxs);
618
+ }
619
+
620
+ .str-chat__channel-detail--inline .str-chat__channel-detail__pinned-messages-view__list .str-chat__virtualized-list__content {
621
+ padding-inline: var(--str-chat__spacing-xxs);
622
+ }
623
+
624
+ .str-chat__channel-detail__pinned-messages-view__list-item__message-preview {
625
+ overflow: hidden;
626
+ text-overflow: ellipsis;
627
+ white-space: nowrap;
628
+ }
629
+
630
+ .str-chat__channel-detail__pinned-messages-view__list-item__date {
631
+ color: var(--str-chat__text-secondary);
632
+ font: var(--str-chat__font-caption-default);
633
+ white-space: nowrap;
634
+ }
635
+
636
+ .str-chat__channel-detail__pinned-messages-view__empty-state {
637
+ display: flex;
638
+ flex: 1;
639
+ flex-direction: column;
640
+ align-items: center;
641
+ justify-content: center;
642
+ gap: var(--str-chat__spacing-sm);
643
+ width: 100%;
644
+ padding-block: var(--str-chat__spacing-3xl);
645
+ padding-inline: var(--str-chat__spacing-md);
646
+ text-align: center;
647
+ }
648
+
649
+ .str-chat__channel-detail__pinned-messages-view__empty-state__icon {
650
+ width: 32px;
651
+ height: 32px;
652
+ color: var(--str-chat__text-tertiary);
653
+ }
654
+
655
+ .str-chat__channel-detail__pinned-messages-view__empty-state__content {
656
+ display: flex;
657
+ flex-direction: column;
658
+ align-items: center;
659
+ gap: var(--str-chat__spacing-xxs);
660
+ width: 100%;
661
+ }
662
+
663
+ .str-chat__channel-detail__pinned-messages-view__empty-state__title,
664
+ .str-chat__channel-detail__pinned-messages-view__empty-state__description {
665
+ margin: 0;
666
+ overflow-wrap: anywhere;
667
+ }
668
+
669
+ .str-chat__channel-detail__pinned-messages-view__empty-state__title {
670
+ color: var(--str-chat__text-primary);
671
+ font: var(--str-chat__font-caption-emphasis);
672
+ }
673
+
674
+ .str-chat__channel-detail__pinned-messages-view__empty-state__description {
675
+ max-width: 200px;
676
+ color: var(--str-chat__text-secondary);
677
+ font: var(--str-chat__font-caption-default);
678
+ }
679
+
680
+ .str-chat__section-navigator {
681
+ position: relative;
682
+ display: flex;
683
+ flex: 1 1 auto;
684
+ min-height: 0;
685
+ min-width: 0;
686
+ width: 100%;
687
+ height: 100%;
688
+ }
689
+
690
+ .str-chat__section-navigator--inline .str-chat__prompt__header {
691
+ padding: var(--str-chat__spacing-md);
692
+ }
693
+
694
+ .str-chat__section-navigator__navigation {
695
+ overflow-y: auto;
696
+ overflow-x: hidden;
697
+ scrollbar-width: none;
698
+ -ms-overflow-style: none;
699
+ }
700
+ .str-chat__section-navigator__navigation::-webkit-scrollbar {
701
+ display: none;
702
+ }
703
+ .str-chat__section-navigator__navigation {
704
+ overscroll-behavior: contain;
705
+ display: flex;
706
+ flex-direction: column;
707
+ flex-shrink: 0;
708
+ min-height: 0;
709
+ padding: var(--str-chat__spacing-xxs);
710
+ border-right: 1px solid var(--str-chat__border-core-subtle);
711
+ width: 200px;
712
+ align-self: stretch;
713
+ }
714
+
715
+ .str-chat__section-navigator__navigation-item {
716
+ min-width: 0;
717
+ width: 100%;
718
+ padding: var(--str-chat__spacing-xxxs);
719
+ }
720
+ .str-chat__section-navigator__navigation-item .str-chat__section-navigator__navigation-item__nav-button {
721
+ padding-block: var(--str-chat__spacing-xs);
722
+ }
723
+
724
+ .str-chat__section-navigator__content {
725
+ flex: 1;
726
+ min-height: 0;
727
+ min-width: 0;
728
+ }
729
+
730
+ .str-chat__section-navigator__header-menu-button {
731
+ flex-shrink: 0;
732
+ align-self: center;
733
+ }
734
+
735
+ .str-chat__prompt__header--withDescription .str-chat__section-navigator__header-menu-button {
736
+ align-self: flex-start;
737
+ }
738
+
739
+ .str-chat__section-navigator__navigation-overlay {
740
+ --str-chat__navigation-drawer-transition-duration: 280ms;
741
+ --str-chat__navigation-drawer-transition-easing: cubic-bezier(0.22, 1, 0.36, 1);
742
+ position: absolute;
743
+ inset: 0;
744
+ z-index: 2;
745
+ display: flex;
746
+ visibility: hidden;
747
+ pointer-events: none;
748
+ transition: visibility 0s linear var(--str-chat__navigation-drawer-transition-duration);
749
+ }
750
+
751
+ .str-chat__section-navigator__navigation-overlay--open {
752
+ visibility: visible;
753
+ pointer-events: auto;
754
+ transition-delay: 0s;
755
+ }
756
+
757
+ .str-chat__section-navigator__navigation-scrim {
758
+ position: absolute;
759
+ inset: 0;
760
+ border: none;
761
+ padding: 0;
762
+ cursor: pointer;
763
+ background: var(--str-chat__overlay-color, rgba(0, 0, 0, 0.5));
764
+ backdrop-filter: blur(25px);
765
+ opacity: 0;
766
+ transition: opacity var(--str-chat__navigation-drawer-transition-duration) var(--str-chat__navigation-drawer-transition-easing);
767
+ }
768
+ .str-chat__section-navigator__navigation-overlay--open .str-chat__section-navigator__navigation-scrim {
769
+ opacity: 1;
770
+ }
771
+
772
+ .str-chat__section-navigator__navigation-drawer {
773
+ position: relative;
774
+ z-index: 1;
775
+ display: flex;
776
+ flex-direction: column;
777
+ min-height: 0;
778
+ width: 75%;
779
+ max-width: 280px;
780
+ height: 100%;
781
+ background: var(--str-chat__background-core-elevation-1, #fff);
782
+ box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
783
+ transform: translateX(-100%);
784
+ transition: transform var(--str-chat__navigation-drawer-transition-duration) var(--str-chat__navigation-drawer-transition-easing);
785
+ will-change: transform;
786
+ }
787
+ .str-chat__section-navigator__navigation-overlay--open .str-chat__section-navigator__navigation-drawer {
788
+ transform: translateX(0);
789
+ }
790
+ .str-chat__section-navigator__navigation-drawer .str-chat__section-navigator__navigation {
791
+ flex: 1;
792
+ width: 100%;
793
+ border-right: none;
794
+ }
795
+
796
+ @media (prefers-reduced-motion: reduce) {
797
+ .str-chat__section-navigator__navigation-scrim,
798
+ .str-chat__section-navigator__navigation-drawer {
799
+ transition: none;
800
+ }
801
+ }
802
+ .str-chat__virtualized-list {
803
+ flex: 1;
804
+ min-height: 0;
805
+ }
806
+ .str-chat__virtualized-list[data-virtuoso-scroller=true],
807
+ .str-chat__virtualized-list [data-virtuoso-scroller=true] {
808
+ overflow: auto;
809
+ scrollbar-width: none;
810
+ -ms-overflow-style: none;
811
+ }
812
+ .str-chat__virtualized-list[data-virtuoso-scroller=true]::-webkit-scrollbar,
813
+ .str-chat__virtualized-list [data-virtuoso-scroller=true]::-webkit-scrollbar {
814
+ display: none;
815
+ }
816
+ .str-chat__virtualized-list[data-virtuoso-scroller=true],
817
+ .str-chat__virtualized-list [data-virtuoso-scroller=true] {
818
+ height: 100% !important;
819
+ overscroll-behavior: contain;
820
+ }
821
+ .str-chat__virtualized-list [data-viewport-type=element] {
822
+ height: 100% !important;
823
+ }
824
+
825
+ /*# sourceMappingURL=channel-detail.css.map */