@social-mail/social-mail-client 1.0.81 → 1.0.82

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.
@@ -29494,15 +29494,20 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
29494
29494
  grid-template-columns: 1fr minmax(200px, 5fr) auto;
29495
29495
  }
29496
29496
 
29497
+ & [data-page-element=content] {
29498
+ background-color: #80808030;
29499
+ }
29500
+
29497
29501
  & .threads {
29498
29502
  display: flex;
29499
29503
  gap: 5px;
29500
29504
  flex-direction: column;
29501
29505
  overflow-x: hidden !important;
29502
29506
  & .mailbox-thread {
29507
+ background-color: canvas;
29503
29508
  display: grid;
29504
29509
  grid-template-columns: 1fr auto auto;
29505
- grid-template-rows: auto 1fr;
29510
+ grid-template-rows: 1fr auto auto;
29506
29511
  gap: 5px;
29507
29512
  padding: 5px;
29508
29513
  padding-left: 10px;
@@ -29514,14 +29519,29 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
29514
29519
  & > .name {
29515
29520
  grid-row: 1;
29516
29521
  grid-column: 1;
29522
+ overflow: hidden;
29523
+ white-space: nowrap;
29524
+ text-overflow: ellipsis;
29517
29525
  }
29518
- & > .email-address {
29526
+ & > .subject {
29519
29527
  grid-row: 2;
29520
29528
  grid-column: 1;
29529
+ overflow: hidden;
29530
+ white-space: nowrap;
29531
+ text-overflow: ellipsis;
29532
+ font-size: smaller;
29533
+ }
29534
+ & > .summary {
29535
+ grid-row: 3;
29536
+ grid-column: 1;
29537
+ overflow: hidden;
29538
+ white-space: nowrap;
29539
+ text-overflow: ellipsis;
29540
+ font-size: smaller;
29521
29541
  }
29522
29542
  & > .unread {
29523
29543
  grid-column: 2;
29524
- grid-row: 1 / span 2;
29544
+ grid-row: 1 / span 3;
29525
29545
  place-self: center;
29526
29546
  font-weight: bold;
29527
29547
  border-radius: 9999px;
@@ -29614,20 +29634,26 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
29614
29634
  version: this.version,
29615
29635
  cancelToken
29616
29636
  })), {
29617
- itemRenderer: item => XNode.create("div", {
29618
- class: "mailbox-thread",
29619
- "data-unread": item.unread > 0
29620
- }, XNode.create("div", {
29621
- class: "name",
29622
- text: displayName(item)
29623
- }), XNode.create("div", {
29624
- class: "email-address",
29625
- text: item.emailAddress.emailAddress
29626
- }), item.unread && XNode.create("div", {
29627
- class: "unread",
29628
- text: item.unread,
29629
- title: `Unread ${item.unread} out of ${item.total}`
29630
- }))
29637
+ itemRenderer: item => {
29638
+ var _a, _b;
29639
+ return XNode.create("div", {
29640
+ class: "mailbox-thread",
29641
+ "data-unread": item.unread > 0
29642
+ }, XNode.create("div", {
29643
+ class: "name",
29644
+ text: displayName(item) + " " + item.emailAddress.emailAddress
29645
+ }), XNode.create("div", {
29646
+ class: "subject",
29647
+ text: (_a = item.lastEmail) === null || _a === void 0 ? void 0 : _a.subject
29648
+ }), XNode.create("div", {
29649
+ class: "summary",
29650
+ text: (_b = item.lastEmail) === null || _b === void 0 ? void 0 : _b.summary
29651
+ }), item.unread && XNode.create("div", {
29652
+ class: "unread",
29653
+ text: item.unread,
29654
+ title: `Unread ${item.unread} out of ${item.total}`
29655
+ }));
29656
+ }
29631
29657
  })));
29632
29658
  this.registerDisposable(yield this.resolve(MailboxSocket).join(this.currentMailbox.mailboxID.toString(), {
29633
29659
  newMail: (_, emailAddressID, emailID) => {