@rtsee/ngx 0.0.45 → 0.0.47

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.
@@ -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 {
@@ -482,12 +568,68 @@ $rts-new-default-text-size: 16px;
482
568
 
483
569
  // end of new design-variables
484
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
+
619
+ $rts-new-small-text-size: 12px;
620
+ $rts-new-default-text-size: 16px;
621
+
622
+ // end of new design-variables
623
+
624
+
625
+ $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
626
+ $rtsee-chat-input-height: 40px;
627
+
485
628
 
486
- $rtsee-chat-input-height: 50px;
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;
@@ -653,8 +795,8 @@ $last-message-text-color: #707579;
653
795
 
654
796
  .rtsee-chat-thumbnail-name {
655
797
  position: relative;
656
- height: $rts-new-user-avatar-d-sm * 0.33;
657
- line-height: $rts-new-user-avatar-d-sm * 0.33;
798
+ height: $rts-new-user-avatar-d-sm * 0.38;
799
+ line-height: $rts-new-user-avatar-d-sm * 0.38;
658
800
  margin: 0;
659
801
  font-size: 16px;
660
802
  font-weight: 600;
@@ -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,9 +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;
1140
- border-radius: $rts-new-border-radius-rounded;
1141
- color: $rts-main-bg-color-light;
1289
+ padding: (($rts-new-offset-xsm) / 2 - 1) $rts-new-offset-xsm / 2 ;
1290
+ border-radius: 50%;
1291
+ width: 20px;
1292
+ color: $rts-font-color-dbg-light;
1142
1293
  margin-left: 2px;
1143
1294
  }
1144
1295
  }
@@ -1170,10 +1321,11 @@ $rts-new-default-text-size: 16px;
1170
1321
 
1171
1322
  .rtsee-messenger-profile-data-container {
1172
1323
  opacity: 0;
1324
+ position: relative;
1173
1325
  transition: opacity 0.2s;
1174
1326
  }
1175
1327
 
1176
- .rtsee-messenger-menu-toggle {
1328
+ .rtsee-messenger-menu-toggle, .rtsee-messenger-fold-toggle {
1177
1329
  position: absolute;
1178
1330
  right: 0;
1179
1331
  top: 0;
@@ -1262,6 +1414,7 @@ $rts-new-default-text-size: 16px;
1262
1414
 
1263
1415
 
1264
1416
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
1417
+ $rtsee-chat-input-height: 40px;
1265
1418
 
1266
1419
  $rts-offset-sm: 8px;
1267
1420
  $rts-offset-md: 16px;
@@ -1319,7 +1472,7 @@ $rts-new-default-text-size: 16px;
1319
1472
 
1320
1473
  .rtsee-chat-input {
1321
1474
  height: 100%;
1322
- padding-right: $rts-messenger-header-height;
1475
+ padding-right: $rtsee-chat-input-height;
1323
1476
  position: relative;
1324
1477
  overflow: hidden;
1325
1478
 
@@ -1332,8 +1485,14 @@ $rts-new-default-text-size: 16px;
1332
1485
  display: none;
1333
1486
  }
1334
1487
 
1488
+ .rtsee-chat-input-form {
1489
+ height: 100%;
1490
+ overflow: hidden;
1491
+ }
1492
+
1335
1493
  .rtsee-chat-input-field {
1336
1494
  width: 100%;
1495
+ max-height: $rtsee-chat-input-height;
1337
1496
  border: none;
1338
1497
  outline: none;
1339
1498
  resize: none;
@@ -1351,7 +1510,7 @@ $rts-new-default-text-size: 16px;
1351
1510
  right: 0;
1352
1511
  top: 0;
1353
1512
  height: 100%;
1354
- width: $rts-messenger-header-height;
1513
+ width: $rtsee-chat-input-height;
1355
1514
  background: none;
1356
1515
  border: none;
1357
1516
  outline: none;
@@ -1424,6 +1583,10 @@ $rts-new-default-text-size: 16px;
1424
1583
  width: 20px;
1425
1584
  float: right;
1426
1585
  color: $rts-new-primary-color;
1586
+
1587
+ &.showing-status-inside-chat {
1588
+ color: $rts-font-color-dbg-light;
1589
+ }
1427
1590
  }
1428
1591
 
1429
1592
  .rtsee-messenger-message-time {
@@ -1489,6 +1652,7 @@ $rts-new-default-text-size: 16px;
1489
1652
 
1490
1653
 
1491
1654
  $rts-messenger-header-height: $rts-offset-sm + $rts-user-avatar-d-sm + $rts-offset-sm;
1655
+ $rtsee-chat-input-height: 40px;
1492
1656
 
1493
1657
  $rts-offset-sm: 8px;
1494
1658
  $rts-offset-md: 16px;
@@ -1558,6 +1722,79 @@ $search-input-bg-color: #F8F8F8;
1558
1722
  }
1559
1723
  }
1560
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
+
1561
1798
 
1562
1799
 
1563
1800
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.45",
2
+ "version": "0.0.47",
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.15",
38
- "@rtsee/conference": "^0.0.16",
37
+ "@rtsee/common": "^0.0.17",
38
+ "@rtsee/conference": "^0.0.18",
39
39
  "@rtsee/events-dashboard": "./packages/@rtsee/events-dashboard",
40
- "@rtsee/messenger": "^0.0.49",
40
+ "@rtsee/messenger": "^0.0.51",
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": "f8d01ec276d6ef7010b473e59663f98b6fb602bd"
63
+ "gitHead": "3edfc8fb3e8212feed94909d2d62686ec69507f2"
64
64
  }