@rtsee/ngx 0.0.46 → 0.0.48

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 (16) hide show
  1. package/dist/ngx/esm2022/lib/components/rtsee/rtsee-conference.component.mjs +4 -6
  2. package/dist/ngx/esm2022/lib/components/rtsee/rtsee-controls/rtsee-controls.component.mjs +2 -2
  3. package/dist/ngx/esm2022/lib/components/rtsee-events-dashboard/components/rtsee-events-dashboard-client-thumbnail/rtsee-events-dashboard-client-thumbnail.component.mjs +2 -1
  4. package/dist/ngx/esm2022/lib/components/rtsee-messenger/chat-input/chat-input.component.mjs +3 -3
  5. package/dist/ngx/esm2022/lib/components/rtsee-messenger/chat-thumbnail/chat-thumbnail.component.mjs +1 -1
  6. package/dist/ngx/esm2022/lib/components/rtsee-messenger/message/components/message-time-and-status/message-time-and-status.component.mjs +6 -3
  7. package/dist/ngx/esm2022/lib/components/rtsee-messenger/message/message.component.mjs +3 -3
  8. package/dist/ngx/esm2022/lib/components/rtsee-messenger/message-widgets/call-widget/call-widget.component.mjs +3 -3
  9. package/dist/ngx/esm2022/lib/components/rtsee-messenger/messenger/messenger.component.mjs +3 -3
  10. package/dist/ngx/esm2022/lib/components/rtsee-messenger/messenger-header/messenger-header.component.mjs +3 -3
  11. package/dist/ngx/fesm2022/rtsee-ngx.mjs +22 -20
  12. package/dist/ngx/fesm2022/rtsee-ngx.mjs.map +1 -1
  13. package/dist/ngx/lib/components/rtsee/rtsee-conference.component.d.ts +0 -1
  14. package/dist/ngx/lib/components/rtsee-messenger/message/components/message-time-and-status/message-time-and-status.component.d.ts +2 -1
  15. package/dist/ngx/src/lib/common/compiled-scss/styles.scss +252 -16
  16. package/package.json +5 -5
@@ -6,7 +6,8 @@ export declare class MessageTimeAndStatusComponent {
6
6
  timeFormatService: TimeFormatHelperService;
7
7
  message: RTSeeMessage | IMessageThumbnail;
8
8
  hideStatus?: boolean;
9
+ inChat?: boolean;
9
10
  constructor(timeFormatService: TimeFormatHelperService);
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MessageTimeAndStatusComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MessageTimeAndStatusComponent, "rtsee-message-time-and-status", never, { "message": { "alias": "message"; "required": false; }; "hideStatus": { "alias": "hideStatus"; "required": false; }; }, {}, never, never, false, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<MessageTimeAndStatusComponent, "rtsee-message-time-and-status", never, { "message": { "alias": "message"; "required": false; }; "hideStatus": { "alias": "hideStatus"; "required": false; }; "inChat": { "alias": "inChat"; "required": false; }; }, {}, never, never, false, never>;
12
13
  }
@@ -143,15 +143,101 @@ $rts-new-default-text-size: 16px;
143
143
 
144
144
 
145
145
 
146
+ $rts-offset-sm: 8px;
147
+ $rts-offset-md: 16px;
148
+ $rts-offset-lg: 24px;
149
+
150
+ $rts-default-border-radius: 8px;
151
+ $rts-rounded-border-radius: 16px;
152
+
153
+ $rts-main-bg-color-light: #ffffff;
154
+ $rts-secondary-bg-color-light: #e6eef3;
155
+ $rts-main-bg-color-dark: #000000;
156
+ $rts-live-color: #91d8bb;
157
+
158
+ $rts-active-bg-color-light: #bbdffd;
159
+
160
+
161
+ $rts-font-color-dark: #000000;
162
+ $rts-font-color-light: #333333;
163
+
164
+ $rts-font-color-dbg-light: #ffffff;
165
+
166
+ $rts-user-avatar-d-sm: 42px;
167
+ $rts-user-avatar-d-md: 54px;
168
+ $rts-user-avatar-d-lg: 65px;
169
+
170
+ $rts-message-status-width: 69px;
171
+
172
+
173
+ $rts-state-bg-color: #D1F1EF;
174
+ $rts-disabled-color: #82DBD8;
175
+ $rts-slightly-active-color: #B3E8E5;
176
+ $rts-super-active-color: #3BACB6;
177
+
178
+ // new design-variables
179
+
180
+ $rts-new-offset-xsm: 8px;
181
+ $rts-new-offset-sm: 12px;
182
+ $rts-new-offset-md: 18px;
183
+
184
+ $rts-new-user-avatar-d-sm: 40px;
185
+
186
+ $rts-new-default-border-radius: 8px;
187
+ $rts-new-border-radius-rounded: 12px;
188
+
189
+ $rts-new-primary-color: #ea7b00;
190
+ $rts-new-active-bg-color-light: #feefe0;
191
+ $rts-new-secondary-bg-color-light: #e8e9eb;
192
+
193
+
194
+ $rts-new-small-text-size: 12px;
195
+ $rts-new-default-text-size: 16px;
196
+
197
+ // end of new design-variables
198
+
199
+
200
+ $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
201
+ $rtsee-chat-input-height: 40px;
202
+
146
203
 
147
204
  .rtsee-messenger, .rtsee-events-dashboard {
148
- font-family: Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
205
+ font-family: "Work Sans", Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;
149
206
  }
150
207
  .rts-section {
151
208
  padding: $rts-offset-sm;
152
209
  background-color: $rts-main-bg-color-light;
153
210
  }
154
211
 
212
+ $rtsee-container-top-offset: 84px;
213
+ $rtsee-default-component-dimension: 320px;
214
+
215
+ .rtsee-container {
216
+ position: fixed;
217
+ width: $rtsee-default-component-dimension;
218
+ height: calc(100% - ($rtsee-container-top-offset + $rts-offset-md));
219
+ top: $rtsee-container-top-offset;
220
+ right: $rts-new-offset-md;
221
+
222
+ .rtsee-messenger {
223
+ height: $rtsee-default-component-dimension;
224
+
225
+ &.rtsee-messenger-folded {
226
+ height: $rts-messenger-header-height;
227
+ position: absolute;
228
+ border-radius: $rts-default-border-radius $rts-default-border-radius 0 0;
229
+ bottom: 0;
230
+ z-index: 1;
231
+ }
232
+ }
233
+
234
+ > :not(:first-child) {
235
+ .rtsee-messenger {
236
+ margin-top: $rts-offset-lg;
237
+ }
238
+ }
239
+ }
240
+
155
241
  $rts-offset-sm: 8px;
156
242
  $rts-offset-md: 16px;
157
243
  $rts-offset-lg: 24px;
@@ -207,6 +293,7 @@ $rts-new-default-text-size: 16px;
207
293
 
208
294
 
209
295
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
296
+ $rtsee-chat-input-height: 40px;
210
297
 
211
298
  $rts-offset-sm: 8px;
212
299
  $rts-offset-md: 16px;
@@ -341,6 +428,8 @@ $control-icon-size: 18px;
341
428
  display: flex;
342
429
  align-items: center;
343
430
  margin-bottom: 18px;
431
+ color: $rts-font-color-dbg-light;
432
+ text-shadow: 1px 1px 2px black;
344
433
  }
345
434
 
346
435
  .rtsee-messenger-control-icon {
@@ -414,10 +503,7 @@ $rts-new-default-text-size: 16px;
414
503
 
415
504
 
416
505
  .rtsee-chats-list {
417
- margin-top: $rts-new-offset-sm;
418
-
419
506
  .rtsee-chat-thumbnail-container {
420
-
421
507
  }
422
508
 
423
509
  .rtsee-chat-thumbnail-separator {
@@ -477,17 +563,73 @@ $rts-new-active-bg-color-light: #feefe0;
477
563
  $rts-new-secondary-bg-color-light: #e8e9eb;
478
564
 
479
565
 
566
+ $rts-new-small-text-size: 12px;
567
+ $rts-new-default-text-size: 16px;
568
+
569
+ // end of new design-variables
570
+
571
+ $rts-offset-sm: 8px;
572
+ $rts-offset-md: 16px;
573
+ $rts-offset-lg: 24px;
574
+
575
+ $rts-default-border-radius: 8px;
576
+ $rts-rounded-border-radius: 16px;
577
+
578
+ $rts-main-bg-color-light: #ffffff;
579
+ $rts-secondary-bg-color-light: #e6eef3;
580
+ $rts-main-bg-color-dark: #000000;
581
+ $rts-live-color: #91d8bb;
582
+
583
+ $rts-active-bg-color-light: #bbdffd;
584
+
585
+
586
+ $rts-font-color-dark: #000000;
587
+ $rts-font-color-light: #333333;
588
+
589
+ $rts-font-color-dbg-light: #ffffff;
590
+
591
+ $rts-user-avatar-d-sm: 42px;
592
+ $rts-user-avatar-d-md: 54px;
593
+ $rts-user-avatar-d-lg: 65px;
594
+
595
+ $rts-message-status-width: 69px;
596
+
597
+
598
+ $rts-state-bg-color: #D1F1EF;
599
+ $rts-disabled-color: #82DBD8;
600
+ $rts-slightly-active-color: #B3E8E5;
601
+ $rts-super-active-color: #3BACB6;
602
+
603
+ // new design-variables
604
+
605
+ $rts-new-offset-xsm: 8px;
606
+ $rts-new-offset-sm: 12px;
607
+ $rts-new-offset-md: 18px;
608
+
609
+ $rts-new-user-avatar-d-sm: 40px;
610
+
611
+ $rts-new-default-border-radius: 8px;
612
+ $rts-new-border-radius-rounded: 12px;
613
+
614
+ $rts-new-primary-color: #ea7b00;
615
+ $rts-new-active-bg-color-light: #feefe0;
616
+ $rts-new-secondary-bg-color-light: #e8e9eb;
617
+
618
+
480
619
  $rts-new-small-text-size: 12px;
481
620
  $rts-new-default-text-size: 16px;
482
621
 
483
622
  // end of new design-variables
484
623
 
485
624
 
486
- $rtsee-chat-input-height: 50px;
625
+ $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
626
+ $rtsee-chat-input-height: 40px;
627
+
628
+
487
629
 
488
630
  .rtsee-chat {
489
631
  height: 100%;
490
- padding-bottom: $rtsee-chat-input-height;
632
+ padding-bottom: $rtsee-chat-input-height + $rts-offset-sm + $rts-offset-sm;
491
633
  background: $rts-new-secondary-bg-color-light;
492
634
 
493
635
  .rtsee-chat-body-container {
@@ -497,11 +639,11 @@ $rtsee-chat-input-height: 50px;
497
639
  .rtsee-chat-footer-container {
498
640
  position: absolute;
499
641
  height: $rtsee-chat-input-height;
500
- width: calc(100% - #{$rts-new-offset-sm * 2});
501
- margin: 0 $rts-new-offset-sm;
642
+ width: calc(100% - #{$rts-new-offset-xsm * 2});
643
+ margin: 0 $rts-new-offset-xsm;
502
644
  background: $rts-main-bg-color-light;
503
645
  border-radius: $rts-new-border-radius-rounded;
504
- bottom: $rts-new-offset-sm;
646
+ bottom: $rts-new-offset-xsm;
505
647
  }
506
648
  }
507
649
 
@@ -560,6 +702,7 @@ $rts-new-default-text-size: 16px;
560
702
 
561
703
 
562
704
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
705
+ $rtsee-chat-input-height: 40px;
563
706
 
564
707
  $rts-offset-sm: 8px;
565
708
  $rts-offset-md: 16px;
@@ -623,7 +766,6 @@ $last-message-text-color: #707579;
623
766
  height: $rts-user-avatar-d-sm + $rts-offset-sm * 2;
624
767
  padding: $rts-new-offset-sm $rts-new-offset-sm $rts-new-offset-sm $rts-new-offset-sm * 2 + $rts-new-user-avatar-d-sm;
625
768
  cursor: pointer;
626
- border-radius: $rts-new-default-border-radius;
627
769
 
628
770
  -webkit-touch-callout: none;
629
771
  -webkit-user-select: none;
@@ -805,6 +947,7 @@ $rts-new-default-text-size: 16px;
805
947
  background-color: $rts-main-bg-color-light;
806
948
  border-radius: $rts-new-border-radius-rounded;
807
949
  padding: $rts-new-offset-xsm $rts-new-offset-sm $rts-new-offset-sm $rts-new-offset-sm;
950
+ font-size: 14px;
808
951
 
809
952
 
810
953
  overflow-wrap: break-word;
@@ -980,6 +1123,7 @@ $rts-new-default-text-size: 16px;
980
1123
 
981
1124
 
982
1125
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
1126
+ $rtsee-chat-input-height: 40px;
983
1127
 
984
1128
  $rts-offset-sm: 8px;
985
1129
  $rts-offset-md: 16px;
@@ -1042,6 +1186,7 @@ $rts-new-default-text-size: 16px;
1042
1186
  padding-right: $rts-messenger-header-height;
1043
1187
  overflow: hidden;
1044
1188
  background-color: $rts-main-bg-color-light;
1189
+ border-bottom: 1px solid $rts-new-secondary-bg-color-light;
1045
1190
 
1046
1191
  -webkit-touch-callout: none;
1047
1192
  -webkit-user-select: none;
@@ -1072,6 +1217,10 @@ $rts-new-default-text-size: 16px;
1072
1217
  }
1073
1218
  }
1074
1219
 
1220
+ &.rtsee-chat-header-unread {
1221
+ padding-left: $rts-offset-lg;
1222
+ }
1223
+
1075
1224
  .rtsee-messenger-header-opened-chat-info {
1076
1225
  position: relative;
1077
1226
  padding: $rts-offset-sm $rts-messenger-header-height $rts-offset-sm $rts-offset-sm;
@@ -1100,7 +1249,7 @@ $rts-new-default-text-size: 16px;
1100
1249
  }
1101
1250
 
1102
1251
  .rtsee-messenger-profile-header-placeholder {
1103
- padding-top: 100%;
1252
+ padding-top: 65%;
1104
1253
  height: unset;
1105
1254
  position: relative;
1106
1255
 
@@ -1110,6 +1259,7 @@ $rts-new-default-text-size: 16px;
1110
1259
  bottom: $rts-offset-sm;
1111
1260
  color: $rts-font-color-dbg-light;
1112
1261
  z-index: 2;
1262
+ text-shadow: 1px 1px 2px black;
1113
1263
  }
1114
1264
  }
1115
1265
 
@@ -1136,10 +1286,10 @@ $rts-new-default-text-size: 16px;
1136
1286
 
1137
1287
  .unread-count {
1138
1288
  background: $rts-new-primary-color;
1139
- padding: $rts-new-offset-xsm / 2;
1289
+ padding: (($rts-new-offset-xsm) / 2 - 1) $rts-new-offset-xsm / 2 ;
1140
1290
  border-radius: 50%;
1141
1291
  width: 20px;
1142
- color: $rts-main-bg-color-light;
1292
+ color: $rts-font-color-dbg-light;
1143
1293
  margin-left: 2px;
1144
1294
  }
1145
1295
  }
@@ -1171,10 +1321,11 @@ $rts-new-default-text-size: 16px;
1171
1321
 
1172
1322
  .rtsee-messenger-profile-data-container {
1173
1323
  opacity: 0;
1324
+ position: relative;
1174
1325
  transition: opacity 0.2s;
1175
1326
  }
1176
1327
 
1177
- .rtsee-messenger-menu-toggle {
1328
+ .rtsee-messenger-menu-toggle, .rtsee-messenger-fold-toggle {
1178
1329
  position: absolute;
1179
1330
  right: 0;
1180
1331
  top: 0;
@@ -1263,6 +1414,7 @@ $rts-new-default-text-size: 16px;
1263
1414
 
1264
1415
 
1265
1416
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
1417
+ $rtsee-chat-input-height: 40px;
1266
1418
 
1267
1419
  $rts-offset-sm: 8px;
1268
1420
  $rts-offset-md: 16px;
@@ -1320,7 +1472,7 @@ $rts-new-default-text-size: 16px;
1320
1472
 
1321
1473
  .rtsee-chat-input {
1322
1474
  height: 100%;
1323
- padding-right: $rts-messenger-header-height;
1475
+ padding-right: $rtsee-chat-input-height;
1324
1476
  position: relative;
1325
1477
  overflow: hidden;
1326
1478
 
@@ -1333,8 +1485,14 @@ $rts-new-default-text-size: 16px;
1333
1485
  display: none;
1334
1486
  }
1335
1487
 
1488
+ .rtsee-chat-input-form {
1489
+ height: 100%;
1490
+ overflow: hidden;
1491
+ }
1492
+
1336
1493
  .rtsee-chat-input-field {
1337
1494
  width: 100%;
1495
+ max-height: $rtsee-chat-input-height;
1338
1496
  border: none;
1339
1497
  outline: none;
1340
1498
  resize: none;
@@ -1352,7 +1510,7 @@ $rts-new-default-text-size: 16px;
1352
1510
  right: 0;
1353
1511
  top: 0;
1354
1512
  height: 100%;
1355
- width: $rts-messenger-header-height;
1513
+ width: $rtsee-chat-input-height;
1356
1514
  background: none;
1357
1515
  border: none;
1358
1516
  outline: none;
@@ -1425,6 +1583,10 @@ $rts-new-default-text-size: 16px;
1425
1583
  width: 20px;
1426
1584
  float: right;
1427
1585
  color: $rts-new-primary-color;
1586
+
1587
+ &.showing-status-inside-chat {
1588
+ color: $rts-font-color-dbg-light;
1589
+ }
1428
1590
  }
1429
1591
 
1430
1592
  .rtsee-messenger-message-time {
@@ -1490,6 +1652,7 @@ $rts-new-default-text-size: 16px;
1490
1652
 
1491
1653
 
1492
1654
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
1655
+ $rtsee-chat-input-height: 40px;
1493
1656
 
1494
1657
  $rts-offset-sm: 8px;
1495
1658
  $rts-offset-md: 16px;
@@ -1559,6 +1722,79 @@ $search-input-bg-color: #F8F8F8;
1559
1722
  }
1560
1723
  }
1561
1724
 
1725
+ $rts-offset-sm: 8px;
1726
+ $rts-offset-md: 16px;
1727
+ $rts-offset-lg: 24px;
1728
+
1729
+ $rts-default-border-radius: 8px;
1730
+ $rts-rounded-border-radius: 16px;
1731
+
1732
+ $rts-main-bg-color-light: #ffffff;
1733
+ $rts-secondary-bg-color-light: #e6eef3;
1734
+ $rts-main-bg-color-dark: #000000;
1735
+ $rts-live-color: #91d8bb;
1736
+
1737
+ $rts-active-bg-color-light: #bbdffd;
1738
+
1739
+
1740
+ $rts-font-color-dark: #000000;
1741
+ $rts-font-color-light: #333333;
1742
+
1743
+ $rts-font-color-dbg-light: #ffffff;
1744
+
1745
+ $rts-user-avatar-d-sm: 42px;
1746
+ $rts-user-avatar-d-md: 54px;
1747
+ $rts-user-avatar-d-lg: 65px;
1748
+
1749
+ $rts-message-status-width: 69px;
1750
+
1751
+
1752
+ $rts-state-bg-color: #D1F1EF;
1753
+ $rts-disabled-color: #82DBD8;
1754
+ $rts-slightly-active-color: #B3E8E5;
1755
+ $rts-super-active-color: #3BACB6;
1756
+
1757
+ // new design-variables
1758
+
1759
+ $rts-new-offset-xsm: 8px;
1760
+ $rts-new-offset-sm: 12px;
1761
+ $rts-new-offset-md: 18px;
1762
+
1763
+ $rts-new-user-avatar-d-sm: 40px;
1764
+
1765
+ $rts-new-default-border-radius: 8px;
1766
+ $rts-new-border-radius-rounded: 12px;
1767
+
1768
+ $rts-new-primary-color: #ea7b00;
1769
+ $rts-new-active-bg-color-light: #feefe0;
1770
+ $rts-new-secondary-bg-color-light: #e8e9eb;
1771
+
1772
+
1773
+ $rts-new-small-text-size: 12px;
1774
+ $rts-new-default-text-size: 16px;
1775
+
1776
+ // end of new design-variables
1777
+
1778
+
1779
+ $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
1780
+ $rtsee-chat-input-height: 40px;
1781
+
1782
+
1783
+ .rtsee-call-widget {
1784
+ .rtsee-join-call-btn {
1785
+ border: none;
1786
+ background: $rts-new-primary-color;
1787
+ color: $rts-font-color-dbg-light;
1788
+ border-radius: $rts-new-border-radius-rounded;
1789
+ padding: $rts-new-offset-sm $rts-new-offset-md;
1790
+
1791
+ &.rtsee-join-your-call-btn {
1792
+ background: $rts-font-color-dbg-light;
1793
+ color: $rts-new-primary-color;
1794
+ }
1795
+ }
1796
+ }
1797
+
1562
1798
 
1563
1799
 
1564
1800
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.46",
2
+ "version": "0.0.48",
3
3
  "name": "@rtsee/ngx",
4
4
  "module": "./dist/ngx/esm2022/public-api.mjs",
5
5
  "types": "./dist/ngx/index.d.ts",
@@ -34,10 +34,10 @@
34
34
  "@angular/platform-browser": "~16.2.2",
35
35
  "@angular/platform-browser-dynamic": "~16.2.2",
36
36
  "@angular/router": "~16.2.2",
37
- "@rtsee/common": "^0.0.16",
38
- "@rtsee/conference": "^0.0.17",
37
+ "@rtsee/common": "^0.0.18",
38
+ "@rtsee/conference": "^0.0.19",
39
39
  "@rtsee/events-dashboard": "./packages/@rtsee/events-dashboard",
40
- "@rtsee/messenger": "^0.0.50",
40
+ "@rtsee/messenger": "^0.0.52",
41
41
  "dayjs": "^1.11.9",
42
42
  "ngx-autosize": "^2.0.4",
43
43
  "ngx-infinite-scroll": "16.0.0",
@@ -60,5 +60,5 @@
60
60
  "publishConfig": {
61
61
  "access": "public"
62
62
  },
63
- "gitHead": "cc9018b2c8f75f1e3fd2e4c1046971dc2f3ed812"
63
+ "gitHead": "03607f2effa50b000817db909b1d55e6153a2cff"
64
64
  }