@kiefer-tek/sophea-design-system 0.15.4 → 0.15.5
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/index.css +127 -2
- package/dist/index.js +817 -709
- package/dist/index.js.map +1 -1
- package/dist/patterns/AccountMenu/AccountMenu.d.ts +51 -0
- package/dist/patterns/AccountMenu/AccountMenu.d.ts.map +1 -0
- package/dist/patterns/AccountMenu/index.d.ts +3 -0
- package/dist/patterns/AccountMenu/index.d.ts.map +1 -0
- package/dist/patterns/index.d.ts +1 -0
- package/dist/patterns/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -10458,6 +10458,130 @@ tbody tr:hover .sn-Table-module__td--jv9tA {
|
|
|
10458
10458
|
gap: 8px;
|
|
10459
10459
|
margin-top: 8px;
|
|
10460
10460
|
}
|
|
10461
|
+
.sn-AccountMenu-module__trigger--EHklO {
|
|
10462
|
+
position: relative;
|
|
10463
|
+
display: inline-flex;
|
|
10464
|
+
align-items: center;
|
|
10465
|
+
justify-content: center;
|
|
10466
|
+
border: 0;
|
|
10467
|
+
padding: 0;
|
|
10468
|
+
background: transparent;
|
|
10469
|
+
border-radius: 999px;
|
|
10470
|
+
cursor: pointer;
|
|
10471
|
+
outline: none;
|
|
10472
|
+
}
|
|
10473
|
+
|
|
10474
|
+
.sn-AccountMenu-module__trigger--EHklO:focus-visible {
|
|
10475
|
+
box-shadow: 0 0 0 2px var(--action-link-04);
|
|
10476
|
+
}
|
|
10477
|
+
|
|
10478
|
+
/* Unread badge on the avatar — top-right pill. */
|
|
10479
|
+
.sn-AccountMenu-module__avatarBadge--2qs2m {
|
|
10480
|
+
position: absolute;
|
|
10481
|
+
top: -2px;
|
|
10482
|
+
inset-inline-end: -2px;
|
|
10483
|
+
display: flex;
|
|
10484
|
+
align-items: center;
|
|
10485
|
+
justify-content: center;
|
|
10486
|
+
height: 1rem;
|
|
10487
|
+
min-width: 1rem;
|
|
10488
|
+
padding-inline: 0.25rem;
|
|
10489
|
+
border-radius: 999px;
|
|
10490
|
+
background: var(--theme-primary-05);
|
|
10491
|
+
color: #fff;
|
|
10492
|
+
font-size: 10px;
|
|
10493
|
+
font-weight: 700;
|
|
10494
|
+
line-height: 1;
|
|
10495
|
+
pointer-events: none;
|
|
10496
|
+
}
|
|
10497
|
+
|
|
10498
|
+
/* Unread badge shown in the notifications menu row (trailing slot). */
|
|
10499
|
+
.sn-AccountMenu-module__itemBadge--7gWAX {
|
|
10500
|
+
display: inline-flex;
|
|
10501
|
+
align-items: center;
|
|
10502
|
+
justify-content: center;
|
|
10503
|
+
height: 1rem;
|
|
10504
|
+
min-width: 1rem;
|
|
10505
|
+
padding-inline: 0.25rem;
|
|
10506
|
+
border-radius: 999px;
|
|
10507
|
+
background: var(--theme-primary-05);
|
|
10508
|
+
color: #fff;
|
|
10509
|
+
font-size: 10px;
|
|
10510
|
+
font-weight: 700;
|
|
10511
|
+
line-height: 1;
|
|
10512
|
+
}
|
|
10513
|
+
|
|
10514
|
+
/* Identity header lines inside the dropdown label. */
|
|
10515
|
+
.sn-AccountMenu-module__identityName--h6xu9 {
|
|
10516
|
+
display: block;
|
|
10517
|
+
font-size: 13px;
|
|
10518
|
+
font-weight: 600;
|
|
10519
|
+
color: var(--text-05);
|
|
10520
|
+
overflow: hidden;
|
|
10521
|
+
text-overflow: ellipsis;
|
|
10522
|
+
white-space: nowrap;
|
|
10523
|
+
}
|
|
10524
|
+
|
|
10525
|
+
.sn-AccountMenu-module__identityEmail--iiIZe {
|
|
10526
|
+
display: block;
|
|
10527
|
+
font-size: 11px;
|
|
10528
|
+
font-weight: 400;
|
|
10529
|
+
color: var(--text-03);
|
|
10530
|
+
overflow: hidden;
|
|
10531
|
+
text-overflow: ellipsis;
|
|
10532
|
+
white-space: nowrap;
|
|
10533
|
+
}
|
|
10534
|
+
|
|
10535
|
+
/* Notifications view — the dropdown widens and goes edge-to-edge so the
|
|
10536
|
+
consumer's panel fills it. */
|
|
10537
|
+
.sn-AccountMenu-module__notifContent--L-CWv {
|
|
10538
|
+
width: 20rem;
|
|
10539
|
+
padding: 0;
|
|
10540
|
+
}
|
|
10541
|
+
|
|
10542
|
+
.sn-AccountMenu-module__notifView--9YZIb {
|
|
10543
|
+
display: flex;
|
|
10544
|
+
flex-direction: column;
|
|
10545
|
+
max-height: 28rem;
|
|
10546
|
+
}
|
|
10547
|
+
|
|
10548
|
+
.sn-AccountMenu-module__notifBar--WoO2f {
|
|
10549
|
+
display: flex;
|
|
10550
|
+
align-items: center;
|
|
10551
|
+
gap: 0.5rem;
|
|
10552
|
+
padding: 0.375rem 0.5rem;
|
|
10553
|
+
border-bottom: 1px solid var(--shell-divider);
|
|
10554
|
+
flex-shrink: 0;
|
|
10555
|
+
}
|
|
10556
|
+
|
|
10557
|
+
.sn-AccountMenu-module__backButton--CA3pK {
|
|
10558
|
+
display: inline-flex;
|
|
10559
|
+
align-items: center;
|
|
10560
|
+
justify-content: center;
|
|
10561
|
+
width: 1.75rem;
|
|
10562
|
+
height: 1.75rem;
|
|
10563
|
+
border: 0;
|
|
10564
|
+
background: transparent;
|
|
10565
|
+
border-radius: 8px;
|
|
10566
|
+
color: var(--text-04);
|
|
10567
|
+
cursor: pointer;
|
|
10568
|
+
}
|
|
10569
|
+
|
|
10570
|
+
.sn-AccountMenu-module__backButton--CA3pK:hover {
|
|
10571
|
+
background: var(--shell-chrome-hover-bg);
|
|
10572
|
+
color: var(--text-05);
|
|
10573
|
+
}
|
|
10574
|
+
|
|
10575
|
+
.sn-AccountMenu-module__notifTitle--MR2jU {
|
|
10576
|
+
font-size: 13px;
|
|
10577
|
+
font-weight: 600;
|
|
10578
|
+
color: var(--text-05);
|
|
10579
|
+
}
|
|
10580
|
+
|
|
10581
|
+
.sn-AccountMenu-module__notifBody--RH0Ym {
|
|
10582
|
+
min-height: 0;
|
|
10583
|
+
overflow-y: auto;
|
|
10584
|
+
}
|
|
10461
10585
|
/* AppShell — slot-based application shell.
|
|
10462
10586
|
Metrics and class-for-class behavior cross-referenced against the live
|
|
10463
10587
|
nous/web implementation (staging.nous.sophea.ai, 2026-06-12).
|
|
@@ -10609,13 +10733,14 @@ tbody tr:hover .sn-Table-module__td--jv9tA {
|
|
|
10609
10733
|
border-inline-end-width: 0;
|
|
10610
10734
|
}
|
|
10611
10735
|
|
|
10612
|
-
/* Logo slot —
|
|
10736
|
+
/* Logo slot — centered; gap below the logo is tunable per consumer
|
|
10737
|
+
(nous logo link carries mb-4 → the 1rem default). */
|
|
10613
10738
|
.sn-AppShell-module__railHeader--Z-dh6 {
|
|
10614
10739
|
display: flex;
|
|
10615
10740
|
align-items: center;
|
|
10616
10741
|
justify-content: center;
|
|
10617
10742
|
flex-shrink: 0;
|
|
10618
|
-
margin-block-end: 1rem;
|
|
10743
|
+
margin-block-end: var(--shell-rail-header-gap, 1rem);
|
|
10619
10744
|
}
|
|
10620
10745
|
|
|
10621
10746
|
.sn-AppShell-module__railItems--q4Ukh {
|