@kiefer-tek/sophea-design-system 0.15.4 → 0.15.6

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 CHANGED
@@ -10458,6 +10458,169 @@ 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
+ /* Full-width "bar" trigger — avatar + name/email row for a wide sidebar. */
10479
+ .sn-AccountMenu-module__triggerBar--1deLW {
10480
+ display: flex;
10481
+ align-items: center;
10482
+ gap: 0.625rem;
10483
+ width: 100%;
10484
+ min-width: 0;
10485
+ padding: 0.375rem 0.5rem;
10486
+ border: 0;
10487
+ background: transparent;
10488
+ border-radius: 12px;
10489
+ cursor: pointer;
10490
+ text-align: start;
10491
+ outline: none;
10492
+ }
10493
+
10494
+ .sn-AccountMenu-module__triggerBar--1deLW:hover {
10495
+ background: var(--shell-chrome-hover-bg);
10496
+ }
10497
+
10498
+ .sn-AccountMenu-module__triggerBar--1deLW:focus-visible {
10499
+ box-shadow: 0 0 0 2px var(--action-link-04);
10500
+ }
10501
+
10502
+ .sn-AccountMenu-module__barIdentity--UoPcg {
10503
+ display: flex;
10504
+ flex-direction: column;
10505
+ min-width: 0;
10506
+ flex: 1;
10507
+ }
10508
+
10509
+ /* Avatar + badge anchor (so the badge positions to the avatar in either
10510
+ trigger shape). */
10511
+ .sn-AccountMenu-module__avatarWrap--j5Q62 {
10512
+ position: relative;
10513
+ display: inline-flex;
10514
+ flex-shrink: 0;
10515
+ }
10516
+
10517
+ /* Unread badge on the avatar — top-right pill. */
10518
+ .sn-AccountMenu-module__avatarBadge--2qs2m {
10519
+ position: absolute;
10520
+ top: -2px;
10521
+ inset-inline-end: -2px;
10522
+ display: flex;
10523
+ align-items: center;
10524
+ justify-content: center;
10525
+ height: 1rem;
10526
+ min-width: 1rem;
10527
+ padding-inline: 0.25rem;
10528
+ border-radius: 999px;
10529
+ background: var(--theme-primary-05);
10530
+ color: #fff;
10531
+ font-size: 10px;
10532
+ font-weight: 700;
10533
+ line-height: 1;
10534
+ pointer-events: none;
10535
+ }
10536
+
10537
+ /* Unread badge shown in the notifications menu row (trailing slot). */
10538
+ .sn-AccountMenu-module__itemBadge--7gWAX {
10539
+ display: inline-flex;
10540
+ align-items: center;
10541
+ justify-content: center;
10542
+ height: 1rem;
10543
+ min-width: 1rem;
10544
+ padding-inline: 0.25rem;
10545
+ border-radius: 999px;
10546
+ background: var(--theme-primary-05);
10547
+ color: #fff;
10548
+ font-size: 10px;
10549
+ font-weight: 700;
10550
+ line-height: 1;
10551
+ }
10552
+
10553
+ /* Identity header lines inside the dropdown label. */
10554
+ .sn-AccountMenu-module__identityName--h6xu9 {
10555
+ display: block;
10556
+ font-size: 13px;
10557
+ font-weight: 600;
10558
+ color: var(--text-05);
10559
+ overflow: hidden;
10560
+ text-overflow: ellipsis;
10561
+ white-space: nowrap;
10562
+ }
10563
+
10564
+ .sn-AccountMenu-module__identityEmail--iiIZe {
10565
+ display: block;
10566
+ font-size: 11px;
10567
+ font-weight: 400;
10568
+ color: var(--text-03);
10569
+ overflow: hidden;
10570
+ text-overflow: ellipsis;
10571
+ white-space: nowrap;
10572
+ }
10573
+
10574
+ /* Notifications view — the dropdown widens and goes edge-to-edge so the
10575
+ consumer's panel fills it. */
10576
+ .sn-AccountMenu-module__notifContent--L-CWv {
10577
+ width: 20rem;
10578
+ padding: 0;
10579
+ }
10580
+
10581
+ .sn-AccountMenu-module__notifView--9YZIb {
10582
+ display: flex;
10583
+ flex-direction: column;
10584
+ max-height: 28rem;
10585
+ }
10586
+
10587
+ .sn-AccountMenu-module__notifBar--WoO2f {
10588
+ display: flex;
10589
+ align-items: center;
10590
+ gap: 0.5rem;
10591
+ padding: 0.375rem 0.5rem;
10592
+ border-bottom: 1px solid var(--shell-divider);
10593
+ flex-shrink: 0;
10594
+ }
10595
+
10596
+ .sn-AccountMenu-module__backButton--CA3pK {
10597
+ display: inline-flex;
10598
+ align-items: center;
10599
+ justify-content: center;
10600
+ width: 1.75rem;
10601
+ height: 1.75rem;
10602
+ border: 0;
10603
+ background: transparent;
10604
+ border-radius: 8px;
10605
+ color: var(--text-04);
10606
+ cursor: pointer;
10607
+ }
10608
+
10609
+ .sn-AccountMenu-module__backButton--CA3pK:hover {
10610
+ background: var(--shell-chrome-hover-bg);
10611
+ color: var(--text-05);
10612
+ }
10613
+
10614
+ .sn-AccountMenu-module__notifTitle--MR2jU {
10615
+ font-size: 13px;
10616
+ font-weight: 600;
10617
+ color: var(--text-05);
10618
+ }
10619
+
10620
+ .sn-AccountMenu-module__notifBody--RH0Ym {
10621
+ min-height: 0;
10622
+ overflow-y: auto;
10623
+ }
10461
10624
  /* AppShell — slot-based application shell.
10462
10625
  Metrics and class-for-class behavior cross-referenced against the live
10463
10626
  nous/web implementation (staging.nous.sophea.ai, 2026-06-12).
@@ -10609,13 +10772,14 @@ tbody tr:hover .sn-Table-module__td--jv9tA {
10609
10772
  border-inline-end-width: 0;
10610
10773
  }
10611
10774
 
10612
- /* Logo slot — nous logo link carries mb-4. */
10775
+ /* Logo slot — centered; gap below the logo is tunable per consumer
10776
+ (nous logo link carries mb-4 → the 1rem default). */
10613
10777
  .sn-AppShell-module__railHeader--Z-dh6 {
10614
10778
  display: flex;
10615
10779
  align-items: center;
10616
10780
  justify-content: center;
10617
10781
  flex-shrink: 0;
10618
- margin-block-end: 1rem;
10782
+ margin-block-end: var(--shell-rail-header-gap, 1rem);
10619
10783
  }
10620
10784
 
10621
10785
  .sn-AppShell-module__railItems--q4Ukh {
@@ -10841,7 +11005,10 @@ html[data-resizing] .sn-AppShell-module__sidebar--9-Zb9 {
10841
11005
  inset: 0;
10842
11006
  z-index: -1;
10843
11007
  overflow: hidden;
10844
- background: var(--shell-region-glass);
11008
+ /* Glass by default (aurora frosts through the content pane). Tunable so a host
11009
+ can make the main pane opaque while keeping the rail/sidebar glass — e.g. a
11010
+ glass sidebar over an opaque content area. */
11011
+ background: var(--shell-main-backdrop, var(--shell-region-glass));
10845
11012
  }
10846
11013
 
10847
11014
  .sn-AppShell-module__mainBackdropImage--bjtQh {
@@ -10945,6 +11112,46 @@ html[data-resizing] .sn-AppShell-module__sidebar--9-Zb9 {
10945
11112
  width: 100%;
10946
11113
  flex-shrink: 0;
10947
11114
  }
11115
+
11116
+ /* ------------------------------------------------------------ Solid variant
11117
+ <AppShell.Root surface="solid"> — opaque theme surfaces, no glass/blur.
11118
+ Flat dark shell in the dark theme. Each region is tunable via a
11119
+ --shell-solid-* variable (falling back to the DS solid surface tokens). */
11120
+ .sn-AppShell-module__root--PpqXq[data-surface="solid"] {
11121
+ background: var(--shell-solid-bg, var(--surface-s1));
11122
+ /* Sidebar shares the main pane's surface (s1) so the shell reads as one flat
11123
+ dark slab separated only by the divider — and so elevated widgets inside it
11124
+ (utility chips, account bar) stand out at s2 instead of blending into a
11125
+ same-surface sidebar. */
11126
+ --shell-solid-sidebar: var(--surface-s1);
11127
+ /* Soften descendant search fields (e.g. CommandPalette.Trigger) so they read
11128
+ as a subtle elevated surface on the flat dark shell, not a bright box. */
11129
+ --command-palette-trigger-bg: var(--surface-s2);
11130
+ --command-palette-trigger-bg-hover: var(--surface-s3);
11131
+ --command-palette-trigger-border: var(--shell-divider);
11132
+ }
11133
+ .sn-AppShell-module__root--PpqXq[data-surface="solid"] .sn-AppShell-module__rail--RlMBL {
11134
+ background: var(--shell-solid-rail, var(--surface-s2));
11135
+ -webkit-backdrop-filter: none;
11136
+ backdrop-filter: none;
11137
+ }
11138
+ .sn-AppShell-module__root--PpqXq[data-surface="solid"] .sn-AppShell-module__sidebar--9-Zb9 {
11139
+ background: var(--shell-solid-sidebar, var(--surface-s2));
11140
+ }
11141
+ .sn-AppShell-module__root--PpqXq[data-surface="solid"] .sn-AppShell-module__drawer--3Zhql {
11142
+ background-color: var(--shell-solid-sidebar, var(--surface-s2));
11143
+ background-image: none;
11144
+ box-shadow: none;
11145
+ -webkit-backdrop-filter: none;
11146
+ backdrop-filter: none;
11147
+ }
11148
+ .sn-AppShell-module__root--PpqXq[data-surface="solid"] .sn-AppShell-module__mainBackdrop--oikM- {
11149
+ background: var(--shell-solid-main, var(--surface-s1));
11150
+ }
11151
+ .sn-AppShell-module__root--PpqXq[data-surface="solid"] .sn-AppShell-module__mainBackdropFrost--BmFr9 {
11152
+ -webkit-backdrop-filter: none;
11153
+ backdrop-filter: none;
11154
+ }
10948
11155
  /* CommandPalette — tokens only. Trigger mirrors the AppShell header search
10949
11156
  field; overlay/panel mirror the DS Modal substrate; result highlight reuses
10950
11157
  the shell rail-item selection tint. */
@@ -10960,9 +11167,13 @@ html[data-resizing] .sn-AppShell-module__sidebar--9-Zb9 {
10960
11167
  max-width: 448px;
10961
11168
  height: 36px;
10962
11169
  padding: 0 10px 0 12px;
10963
- border: 1px solid var(--border-04);
10964
- border-radius: 8px;
10965
- background: var(--shell-search-bg);
11170
+ /* Matches the DS SearchInput field by default (surface-s3 / border-04 / 10px
11171
+ radius). The fill + border are tunable so a host shell can soften them —
11172
+ e.g. AppShell `surface="solid"` makes them a subtle elevated surface so the
11173
+ field doesn't read as a bright floating box on a flat dark page. */
11174
+ border: 1px solid var(--command-palette-trigger-border, var(--border-04));
11175
+ border-radius: 10px;
11176
+ background: var(--command-palette-trigger-bg, var(--surface-s3));
10966
11177
  color: var(--text-03);
10967
11178
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
10968
11179
  font-size: 14px;
@@ -10973,7 +11184,7 @@ html[data-resizing] .sn-AppShell-module__sidebar--9-Zb9 {
10973
11184
  }
10974
11185
 
10975
11186
  .sn-CommandPalette-module__trigger--ZE1so:hover {
10976
- background: var(--shell-search-bg-open);
11187
+ background: var(--command-palette-trigger-bg-hover, var(--surface-s4));
10977
11188
  }
10978
11189
 
10979
11190
  .sn-CommandPalette-module__trigger--ZE1so:focus-visible {