@cometchat/chat-uikit-react 6.0.1 → 6.0.3
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.
- package/dist/assets/missedCallIcon.svg +10 -0
- package/dist/index.d.ts +54 -10
- package/dist/index.js +1 -10
- package/dist/index.js.map +1 -1
- package/dist/styles/CometChatCallLogs.css +2 -2
- package/dist/styles/CometChatConversationStarter.css +2 -1
- package/dist/styles/CometChatMediaRecorder.css +76 -4
- package/dist/styles/CometChatMessageBubble.css +4 -1
- package/dist/styles/CometChatMessageComposer.css +19 -2
- package/dist/styles/CometChatMessageInformation.css +7 -1
- package/dist/styles/CometChatMessageList.css +20 -8
- package/dist/styles/CometChatOngoingCall.css +2 -2
- package/dist/styles/CometChatReactionList.css +3 -4
- package/dist/styles/CometChatThreadHeader.css +1 -1
- package/dist/styles/PollsBubble.css +5 -1
- package/dist/styles/StickersKeyboard.css +2 -5
- package/dist/styles/components/CometChatCallLogs.css +2 -2
- package/dist/styles/components/CometChatConversationStarter.css +2 -1
- package/dist/styles/components/CometChatMediaRecorder.css +76 -4
- package/dist/styles/components/CometChatMessageBubble.css +4 -1
- package/dist/styles/components/CometChatMessageComposer.css +19 -2
- package/dist/styles/components/CometChatMessageInformation.css +7 -1
- package/dist/styles/components/CometChatMessageList.css +20 -8
- package/dist/styles/components/CometChatOngoingCall.css +2 -2
- package/dist/styles/components/CometChatReactionList.css +3 -4
- package/dist/styles/components/CometChatThreadHeader.css +1 -1
- package/dist/styles/components/PollsBubble.css +5 -1
- package/dist/styles/components/StickersKeyboard.css +2 -5
- package/dist/styles/components/index.css +3 -1
- package/dist/styles/index.css +3 -1
- package/dist/types/components/BaseComponents/CometChatContextMenu/CometChatContextMenu.d.ts +2 -0
- package/dist/types/components/BaseComponents/CometChatListItem/CometChatListItem.d.ts +1 -0
- package/dist/types/components/BaseComponents/CometChatListItem/useCometChatListItem.d.ts +9 -6
- package/dist/types/components/BaseComponents/CometChatPopover/CometChatPopover.d.ts +3 -0
- package/dist/types/components/Extensions/Stickers/StickersExtensionDecorator.d.ts +1 -4
- package/dist/types/constants/CometChatUIKitConstants.d.ts +5 -1
- package/dist/types/events/CometChatMessageEvents.d.ts +4 -0
- package/dist/types/resources/CometChatLocalize/cometchat-localize.d.ts +1 -0
- package/dist/types/utils/DataSource.d.ts +9 -0
- package/dist/types/utils/DataSourceDecorator.d.ts +9 -0
- package/dist/types/utils/MessagesDataSource.d.ts +9 -0
- package/dist/types/utils/util.d.ts +1 -0
- package/package.json +6 -1
- package/rollup.config.js +1 -1
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.cometchat-call-logs__list-item-subtitle-icon-incoming-call {
|
|
95
|
-
-webkit-mask: url("../../assets/
|
|
96
|
-
mask: url("../../assets/
|
|
95
|
+
-webkit-mask: url("../../assets/missedCallIcon.svg") center center no-repeat;
|
|
96
|
+
mask: url("../../assets/missedCallIcon.svg") center center no-repeat;
|
|
97
97
|
background-color: var(--cometchat-success-color,#09C26F);
|
|
98
98
|
|
|
99
99
|
}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.cometchat-media-recorder__recording{
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
16
19
|
.cometchat-media-recorder {
|
|
17
20
|
width: max-content;
|
|
18
21
|
}
|
|
@@ -127,11 +130,8 @@
|
|
|
127
130
|
background: var(--cometchat-background-color-01, #FFF);
|
|
128
131
|
box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
|
|
129
132
|
}
|
|
130
|
-
|
|
133
|
+
.cometchat-media-recorder__recording-control-error>.cometchat-media-recorder__recording-control-record-icon,
|
|
131
134
|
.cometchat-media-recorder__recording-control-record-icon {
|
|
132
|
-
-webkit-mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
133
|
-
mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
134
|
-
background: var(--cometchat-error-color, #F44649);
|
|
135
135
|
width: 32px;
|
|
136
136
|
height: 32px;
|
|
137
137
|
flex-shrink: 0;
|
|
@@ -139,6 +139,21 @@
|
|
|
139
139
|
mask-size: contain;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
.cometchat-media-recorder__recording-control-record-icon {
|
|
143
|
+
-webkit-mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
144
|
+
mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
145
|
+
background: var(--cometchat-error-color, #F44649);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.cometchat-media-recorder__recording-control-error>.cometchat-media-recorder__recording-control-record-icon {
|
|
149
|
+
-webkit-mask: url("../../assets/mic_off.svg") center center no-repeat;
|
|
150
|
+
mask: url("../../assets/mic_off.svg") center center no-repeat;
|
|
151
|
+
background: var(--cometchat-text-color-tertiary, #A1A1A1);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cometchat-media-recorder__recording-control-error {
|
|
155
|
+
pointer-events: none;
|
|
156
|
+
}
|
|
142
157
|
.cometchat-media-recorder__recording-control-pause-icon {
|
|
143
158
|
-webkit-mask: url("../../assets/pause.svg") center center no-repeat;
|
|
144
159
|
mask: url("../../assets/pause.svg") center center no-repeat;
|
|
@@ -214,4 +229,61 @@
|
|
|
214
229
|
text-align: center;
|
|
215
230
|
font: var(--cometchat-font-heading4-regular, 400 16px Roboto);
|
|
216
231
|
line-height: 120%;
|
|
232
|
+
}
|
|
233
|
+
.cometchat-media-recorder__error {
|
|
234
|
+
display: flex;
|
|
235
|
+
justify-content: flex-start;
|
|
236
|
+
align-items: flex-start;
|
|
237
|
+
background: var(--cometchat-background-color-02, #FAFAFA);
|
|
238
|
+
border-radius: var(--cometchat-radius-4) var(--cometchat-radius-4) 0px 0px;
|
|
239
|
+
padding: var(--cometchat-padding-2);
|
|
240
|
+
gap: var(--cometchat-padding-2);
|
|
241
|
+
width: 260px;
|
|
242
|
+
position: absolute;
|
|
243
|
+
z-index: 2;
|
|
244
|
+
bottom: 100%;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.cometchat-media-recorder__error-content {
|
|
248
|
+
display: flex;
|
|
249
|
+
flex-direction: column;
|
|
250
|
+
gap: var(--cometchat-padding-1);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.cometchat-media-recorder__error-content-title {
|
|
254
|
+
font: var(--cometchat-font-caption1-bold);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.cometchat-media-recorder__error-content-subtitle {
|
|
258
|
+
font: var(--cometchat-font-caption1-regular);
|
|
259
|
+
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.cometchat-media-recorder__error-content-title,
|
|
263
|
+
.cometchat-media-recorder__error-content-subtitle {
|
|
264
|
+
text-align: left;
|
|
265
|
+
color: var(--cometchat-text-color-secondary, #727272);
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.cometchat-media-recorder__error-icon-wrapper {
|
|
270
|
+
width: 16px;
|
|
271
|
+
height: 16px;
|
|
272
|
+
display: flex;
|
|
273
|
+
justify-content: center;
|
|
274
|
+
align-items: center;
|
|
275
|
+
background: var(--cometchat-error-color);
|
|
276
|
+
border-radius: var(--cometchat-radius-max);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.cometchat-media-recorder__error-icon {
|
|
280
|
+
width: 16px;
|
|
281
|
+
height: 16px;
|
|
282
|
+
flex-shrink: 0;
|
|
283
|
+
background: var(--cometchat-static-white);
|
|
284
|
+
-webkit-mask: url("../../assets/error_info.svg") center center no-repeat;
|
|
285
|
+
mask: url("../../assets/error_info.svg") center center no-repeat;
|
|
286
|
+
-webkit-mask-size: contain;
|
|
287
|
+
transform: rotate(180deg);
|
|
288
|
+
mask-size: contain;
|
|
217
289
|
}
|
|
@@ -49,7 +49,10 @@
|
|
|
49
49
|
align-items: flex-start;
|
|
50
50
|
}
|
|
51
51
|
.cometchat-message-bubble__text-message .cometchat-message-bubble__body-content-view{
|
|
52
|
-
width:
|
|
52
|
+
width: fit-content;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-self: flex-start;
|
|
55
|
+
max-width: 100%;
|
|
53
56
|
}
|
|
54
57
|
.cometchat-message-bubble .cometchat-text-bubble__body-text{
|
|
55
58
|
text-align: left;
|
|
@@ -57,12 +57,29 @@
|
|
|
57
57
|
border: none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
/* Voice recording button popover content */
|
|
61
|
-
.cometchat-message-composer__voice-recording-button .cometchat-popover__content {
|
|
60
|
+
/* Voice recording button popover content */ .cometchat-message-composer__voice-recording-button .cometchat-popover__content {
|
|
62
61
|
width: fit-content;
|
|
62
|
+
max-height: 300px;
|
|
63
|
+
height: fit-content;
|
|
64
|
+
min-height: 200px;
|
|
63
65
|
}
|
|
64
66
|
|
|
67
|
+
.cometchat-message-composer__voice-recording-button .cometchat-media-recorder {
|
|
68
|
+
max-height: 300px;
|
|
69
|
+
min-height: 220px;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
}
|
|
65
72
|
|
|
73
|
+
.cometchat-message-composer__voice-recording-button .cometchat-media-recorder__recording {
|
|
74
|
+
max-height: 300px;
|
|
75
|
+
min-height: 220px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cometchat-message-composer__voice-recording-button .cometchat-media-recorder__recorded {
|
|
79
|
+
max-height: 300px;
|
|
80
|
+
min-height: 220px;
|
|
81
|
+
justify-content: space-between;
|
|
82
|
+
}
|
|
66
83
|
|
|
67
84
|
.cometchat-message-composer__input .cometchat-mentions>span {
|
|
68
85
|
color: var(--cometchat-text-color-highlight, #6852D6);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
.cometchat-message-information {
|
|
2
|
-
width: 420px;
|
|
2
|
+
max-width: 420px;
|
|
3
|
+
width: 100%;
|
|
3
4
|
height: fit-content;
|
|
5
|
+
max-height: 100%;
|
|
4
6
|
flex-shrink: 0;
|
|
5
7
|
border-radius: var(--cometchat-radius-5, 20px);
|
|
6
8
|
border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
|
|
@@ -229,4 +231,8 @@
|
|
|
229
231
|
|
|
230
232
|
.cometchat-message-information .cometchat-list__header {
|
|
231
233
|
border-bottom: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.cometchat-message-information .cometchat-message-bubble {
|
|
237
|
+
pointer-events: none;
|
|
232
238
|
}
|
|
@@ -173,7 +173,7 @@ width: fit-content;
|
|
|
173
173
|
.cometchat-message-list__date-header {
|
|
174
174
|
position: absolute;
|
|
175
175
|
top: 12px;
|
|
176
|
-
z-index:
|
|
176
|
+
z-index: 2;
|
|
177
177
|
}
|
|
178
178
|
.cometchat-message-list__bubble-date-header{
|
|
179
179
|
margin: auto;
|
|
@@ -490,7 +490,10 @@ width: fit-content;
|
|
|
490
490
|
align-items: center;
|
|
491
491
|
align-self: center;
|
|
492
492
|
border-radius: var(--cometchat-radius-2, 8px);
|
|
493
|
+
margin: auto;
|
|
493
494
|
margin-top: 10px;
|
|
495
|
+
z-index: 1;
|
|
496
|
+
position: relative;
|
|
494
497
|
|
|
495
498
|
|
|
496
499
|
}
|
|
@@ -656,12 +659,6 @@ width: fit-content;
|
|
|
656
659
|
|
|
657
660
|
|
|
658
661
|
}
|
|
659
|
-
/**
|
|
660
|
-
* Adding margin on first message to avoid overlap for message and date header.
|
|
661
|
-
*/
|
|
662
|
-
.cometchat-message-list__body .cometchat-list__body .cometchat-list__item-wrapper:nth-of-type(2) {
|
|
663
|
-
margin-top: 30px;
|
|
664
|
-
}
|
|
665
662
|
|
|
666
663
|
/**
|
|
667
664
|
* Setting transparent background and gap for sticker message bubble
|
|
@@ -707,5 +704,20 @@ width: fit-content;
|
|
|
707
704
|
justify-content: center;
|
|
708
705
|
align-items: center;
|
|
709
706
|
overflow: auto;
|
|
710
|
-
background-color: rgba(0, 0, 0, 0.
|
|
707
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.cometchat-message-list__body
|
|
711
|
+
{
|
|
712
|
+
justify-content: flex-end;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.cometchat-message-list .cometchat-message-list__body .cometchat-list__body{
|
|
716
|
+
height: fit-content;
|
|
717
|
+
max-height: 100%;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.cometchat-message-list > .cometchat-message-list__body > .cometchat {
|
|
721
|
+
height: fit-content !important;
|
|
722
|
+
max-height: 100%;
|
|
711
723
|
}
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
padding: 0px;
|
|
73
73
|
flex-direction: column;
|
|
74
|
-
max-height: 300px;
|
|
75
74
|
align-items: flex-start;
|
|
76
75
|
align-self: stretch;
|
|
77
76
|
border-radius: var(--cometchat-radius-0, 0px);
|
|
78
77
|
background: var(--cometchat-background-color-01, #FFF);
|
|
79
78
|
overflow-y: auto;
|
|
79
|
+
height: 200px;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.cometchat-reaction-list .cometchat-list-item {
|
|
@@ -120,7 +120,6 @@
|
|
|
120
120
|
display: flex;
|
|
121
121
|
width: 280px;
|
|
122
122
|
max-height: 300px;
|
|
123
|
-
padding: var(--cometchat-padding-2, 8px) 0px;
|
|
124
123
|
flex-direction: column;
|
|
125
124
|
align-items: flex-start;
|
|
126
125
|
align-self: stretch;
|
|
@@ -165,8 +164,8 @@
|
|
|
165
164
|
background: var(--cometchat-shimmer-gradient-color);
|
|
166
165
|
display: flex;
|
|
167
166
|
border-radius: var(--cometchat-radius-max, 1000px);
|
|
168
|
-
width:
|
|
169
|
-
height:
|
|
167
|
+
width: 32px;
|
|
168
|
+
height: 32px;
|
|
170
169
|
justify-content: center;
|
|
171
170
|
align-items: center;
|
|
172
171
|
animation: shimmerAnimation 10s infinite linear;
|
|
@@ -92,8 +92,8 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.cometchat-call-logs__list-item-subtitle-icon-incoming-call {
|
|
95
|
-
-webkit-mask: url("../../assets/
|
|
96
|
-
mask: url("../../assets/
|
|
95
|
+
-webkit-mask: url("../../assets/missedCallIcon.svg") center center no-repeat;
|
|
96
|
+
mask: url("../../assets/missedCallIcon.svg") center center no-repeat;
|
|
97
97
|
background-color: var(--cometchat-success-color,#09C26F);
|
|
98
98
|
|
|
99
99
|
}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.cometchat-media-recorder__recording{
|
|
17
|
+
justify-content: space-between;
|
|
18
|
+
}
|
|
16
19
|
.cometchat-media-recorder {
|
|
17
20
|
width: max-content;
|
|
18
21
|
}
|
|
@@ -127,11 +130,8 @@
|
|
|
127
130
|
background: var(--cometchat-background-color-01, #FFF);
|
|
128
131
|
box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06);
|
|
129
132
|
}
|
|
130
|
-
|
|
133
|
+
.cometchat-media-recorder__recording-control-error>.cometchat-media-recorder__recording-control-record-icon,
|
|
131
134
|
.cometchat-media-recorder__recording-control-record-icon {
|
|
132
|
-
-webkit-mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
133
|
-
mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
134
|
-
background: var(--cometchat-error-color, #F44649);
|
|
135
135
|
width: 32px;
|
|
136
136
|
height: 32px;
|
|
137
137
|
flex-shrink: 0;
|
|
@@ -139,6 +139,21 @@
|
|
|
139
139
|
mask-size: contain;
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
+
.cometchat-media-recorder__recording-control-record-icon {
|
|
143
|
+
-webkit-mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
144
|
+
mask: url("../../assets/recording_resume.svg") center center no-repeat;
|
|
145
|
+
background: var(--cometchat-error-color, #F44649);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.cometchat-media-recorder__recording-control-error>.cometchat-media-recorder__recording-control-record-icon {
|
|
149
|
+
-webkit-mask: url("../../assets/mic_off.svg") center center no-repeat;
|
|
150
|
+
mask: url("../../assets/mic_off.svg") center center no-repeat;
|
|
151
|
+
background: var(--cometchat-text-color-tertiary, #A1A1A1);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.cometchat-media-recorder__recording-control-error {
|
|
155
|
+
pointer-events: none;
|
|
156
|
+
}
|
|
142
157
|
.cometchat-media-recorder__recording-control-pause-icon {
|
|
143
158
|
-webkit-mask: url("../../assets/pause.svg") center center no-repeat;
|
|
144
159
|
mask: url("../../assets/pause.svg") center center no-repeat;
|
|
@@ -214,4 +229,61 @@
|
|
|
214
229
|
text-align: center;
|
|
215
230
|
font: var(--cometchat-font-heading4-regular, 400 16px Roboto);
|
|
216
231
|
line-height: 120%;
|
|
232
|
+
}
|
|
233
|
+
.cometchat-media-recorder__error {
|
|
234
|
+
display: flex;
|
|
235
|
+
justify-content: flex-start;
|
|
236
|
+
align-items: flex-start;
|
|
237
|
+
background: var(--cometchat-background-color-02, #FAFAFA);
|
|
238
|
+
border-radius: var(--cometchat-radius-4) var(--cometchat-radius-4) 0px 0px;
|
|
239
|
+
padding: var(--cometchat-padding-2);
|
|
240
|
+
gap: var(--cometchat-padding-2);
|
|
241
|
+
width: 260px;
|
|
242
|
+
position: absolute;
|
|
243
|
+
z-index: 2;
|
|
244
|
+
bottom: 100%;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.cometchat-media-recorder__error-content {
|
|
248
|
+
display: flex;
|
|
249
|
+
flex-direction: column;
|
|
250
|
+
gap: var(--cometchat-padding-1);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.cometchat-media-recorder__error-content-title {
|
|
254
|
+
font: var(--cometchat-font-caption1-bold);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.cometchat-media-recorder__error-content-subtitle {
|
|
258
|
+
font: var(--cometchat-font-caption1-regular);
|
|
259
|
+
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.cometchat-media-recorder__error-content-title,
|
|
263
|
+
.cometchat-media-recorder__error-content-subtitle {
|
|
264
|
+
text-align: left;
|
|
265
|
+
color: var(--cometchat-text-color-secondary, #727272);
|
|
266
|
+
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.cometchat-media-recorder__error-icon-wrapper {
|
|
270
|
+
width: 16px;
|
|
271
|
+
height: 16px;
|
|
272
|
+
display: flex;
|
|
273
|
+
justify-content: center;
|
|
274
|
+
align-items: center;
|
|
275
|
+
background: var(--cometchat-error-color);
|
|
276
|
+
border-radius: var(--cometchat-radius-max);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.cometchat-media-recorder__error-icon {
|
|
280
|
+
width: 16px;
|
|
281
|
+
height: 16px;
|
|
282
|
+
flex-shrink: 0;
|
|
283
|
+
background: var(--cometchat-static-white);
|
|
284
|
+
-webkit-mask: url("../../assets/error_info.svg") center center no-repeat;
|
|
285
|
+
mask: url("../../assets/error_info.svg") center center no-repeat;
|
|
286
|
+
-webkit-mask-size: contain;
|
|
287
|
+
transform: rotate(180deg);
|
|
288
|
+
mask-size: contain;
|
|
217
289
|
}
|
|
@@ -49,7 +49,10 @@
|
|
|
49
49
|
align-items: flex-start;
|
|
50
50
|
}
|
|
51
51
|
.cometchat-message-bubble__text-message .cometchat-message-bubble__body-content-view{
|
|
52
|
-
width:
|
|
52
|
+
width: fit-content;
|
|
53
|
+
display: flex;
|
|
54
|
+
align-self: flex-start;
|
|
55
|
+
max-width: 100%;
|
|
53
56
|
}
|
|
54
57
|
.cometchat-message-bubble .cometchat-text-bubble__body-text{
|
|
55
58
|
text-align: left;
|
|
@@ -57,12 +57,29 @@
|
|
|
57
57
|
border: none;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
/* Voice recording button popover content */
|
|
61
|
-
.cometchat-message-composer__voice-recording-button .cometchat-popover__content {
|
|
60
|
+
/* Voice recording button popover content */ .cometchat-message-composer__voice-recording-button .cometchat-popover__content {
|
|
62
61
|
width: fit-content;
|
|
62
|
+
max-height: 300px;
|
|
63
|
+
height: fit-content;
|
|
64
|
+
min-height: 200px;
|
|
63
65
|
}
|
|
64
66
|
|
|
67
|
+
.cometchat-message-composer__voice-recording-button .cometchat-media-recorder {
|
|
68
|
+
max-height: 300px;
|
|
69
|
+
min-height: 220px;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
}
|
|
65
72
|
|
|
73
|
+
.cometchat-message-composer__voice-recording-button .cometchat-media-recorder__recording {
|
|
74
|
+
max-height: 300px;
|
|
75
|
+
min-height: 220px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cometchat-message-composer__voice-recording-button .cometchat-media-recorder__recorded {
|
|
79
|
+
max-height: 300px;
|
|
80
|
+
min-height: 220px;
|
|
81
|
+
justify-content: space-between;
|
|
82
|
+
}
|
|
66
83
|
|
|
67
84
|
.cometchat-message-composer__input .cometchat-mentions>span {
|
|
68
85
|
color: var(--cometchat-text-color-highlight, #6852D6);
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
.cometchat-message-information {
|
|
2
|
-
width: 420px;
|
|
2
|
+
max-width: 420px;
|
|
3
|
+
width: 100%;
|
|
3
4
|
height: fit-content;
|
|
5
|
+
max-height: 100%;
|
|
4
6
|
flex-shrink: 0;
|
|
5
7
|
border-radius: var(--cometchat-radius-5, 20px);
|
|
6
8
|
border: 1px solid var(--cometchat-border-color-light, #F5F5F5);
|
|
@@ -229,4 +231,8 @@
|
|
|
229
231
|
|
|
230
232
|
.cometchat-message-information .cometchat-list__header {
|
|
231
233
|
border-bottom: none;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
.cometchat-message-information .cometchat-message-bubble {
|
|
237
|
+
pointer-events: none;
|
|
232
238
|
}
|
|
@@ -173,7 +173,7 @@ width: fit-content;
|
|
|
173
173
|
.cometchat-message-list__date-header {
|
|
174
174
|
position: absolute;
|
|
175
175
|
top: 12px;
|
|
176
|
-
z-index:
|
|
176
|
+
z-index: 2;
|
|
177
177
|
}
|
|
178
178
|
.cometchat-message-list__bubble-date-header{
|
|
179
179
|
margin: auto;
|
|
@@ -490,7 +490,10 @@ width: fit-content;
|
|
|
490
490
|
align-items: center;
|
|
491
491
|
align-self: center;
|
|
492
492
|
border-radius: var(--cometchat-radius-2, 8px);
|
|
493
|
+
margin: auto;
|
|
493
494
|
margin-top: 10px;
|
|
495
|
+
z-index: 1;
|
|
496
|
+
position: relative;
|
|
494
497
|
|
|
495
498
|
|
|
496
499
|
}
|
|
@@ -656,12 +659,6 @@ width: fit-content;
|
|
|
656
659
|
|
|
657
660
|
|
|
658
661
|
}
|
|
659
|
-
/**
|
|
660
|
-
* Adding margin on first message to avoid overlap for message and date header.
|
|
661
|
-
*/
|
|
662
|
-
.cometchat-message-list__body .cometchat-list__body .cometchat-list__item-wrapper:nth-of-type(2) {
|
|
663
|
-
margin-top: 30px;
|
|
664
|
-
}
|
|
665
662
|
|
|
666
663
|
/**
|
|
667
664
|
* Setting transparent background and gap for sticker message bubble
|
|
@@ -707,5 +704,20 @@ width: fit-content;
|
|
|
707
704
|
justify-content: center;
|
|
708
705
|
align-items: center;
|
|
709
706
|
overflow: auto;
|
|
710
|
-
background-color: rgba(0, 0, 0, 0.
|
|
707
|
+
background-color: rgba(0, 0, 0, 0.6);
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.cometchat-message-list__body
|
|
711
|
+
{
|
|
712
|
+
justify-content: flex-end;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.cometchat-message-list .cometchat-message-list__body .cometchat-list__body{
|
|
716
|
+
height: fit-content;
|
|
717
|
+
max-height: 100%;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.cometchat-message-list > .cometchat-message-list__body > .cometchat {
|
|
721
|
+
height: fit-content !important;
|
|
722
|
+
max-height: 100%;
|
|
711
723
|
}
|
|
@@ -71,12 +71,12 @@
|
|
|
71
71
|
display: flex;
|
|
72
72
|
padding: 0px;
|
|
73
73
|
flex-direction: column;
|
|
74
|
-
max-height: 300px;
|
|
75
74
|
align-items: flex-start;
|
|
76
75
|
align-self: stretch;
|
|
77
76
|
border-radius: var(--cometchat-radius-0, 0px);
|
|
78
77
|
background: var(--cometchat-background-color-01, #FFF);
|
|
79
78
|
overflow-y: auto;
|
|
79
|
+
height: 200px;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.cometchat-reaction-list .cometchat-list-item {
|
|
@@ -120,7 +120,6 @@
|
|
|
120
120
|
display: flex;
|
|
121
121
|
width: 280px;
|
|
122
122
|
max-height: 300px;
|
|
123
|
-
padding: var(--cometchat-padding-2, 8px) 0px;
|
|
124
123
|
flex-direction: column;
|
|
125
124
|
align-items: flex-start;
|
|
126
125
|
align-self: stretch;
|
|
@@ -165,8 +164,8 @@
|
|
|
165
164
|
background: var(--cometchat-shimmer-gradient-color);
|
|
166
165
|
display: flex;
|
|
167
166
|
border-radius: var(--cometchat-radius-max, 1000px);
|
|
168
|
-
width:
|
|
169
|
-
height:
|
|
167
|
+
width: 32px;
|
|
168
|
+
height: 32px;
|
|
170
169
|
justify-content: center;
|
|
171
170
|
align-items: center;
|
|
172
171
|
animation: shimmerAnimation 10s infinite linear;
|