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

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
@@ -10945,6 +10945,219 @@ html[data-resizing] .sn-AppShell-module__sidebar--9-Zb9 {
10945
10945
  width: 100%;
10946
10946
  flex-shrink: 0;
10947
10947
  }
10948
+ /* CommandPalette — tokens only. Trigger mirrors the AppShell header search
10949
+ field; overlay/panel mirror the DS Modal substrate; result highlight reuses
10950
+ the shell rail-item selection tint. */
10951
+
10952
+ /* --------------------------------------------------------------------------
10953
+ Trigger — a <button> styled like a full-width search field.
10954
+ -------------------------------------------------------------------------- */
10955
+ .sn-CommandPalette-module__trigger--ZE1so {
10956
+ display: flex;
10957
+ align-items: center;
10958
+ gap: 10px;
10959
+ width: 100%;
10960
+ max-width: 448px;
10961
+ height: 36px;
10962
+ padding: 0 10px 0 12px;
10963
+ border: 1px solid var(--border-04);
10964
+ border-radius: 8px;
10965
+ background: var(--shell-search-bg);
10966
+ color: var(--text-03);
10967
+ font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
10968
+ font-size: 14px;
10969
+ cursor: pointer;
10970
+ transition:
10971
+ border-color var(--duration-fast, 120ms) var(--ease-out, ease-out),
10972
+ background var(--duration-fast, 120ms) var(--ease-out, ease-out);
10973
+ }
10974
+
10975
+ .sn-CommandPalette-module__trigger--ZE1so:hover {
10976
+ background: var(--shell-search-bg-open);
10977
+ }
10978
+
10979
+ .sn-CommandPalette-module__trigger--ZE1so:focus-visible {
10980
+ outline: 3px solid var(--sophea-focus-halo);
10981
+ outline-offset: 0;
10982
+ border-color: var(--theme-primary-06);
10983
+ }
10984
+
10985
+ .sn-CommandPalette-module__triggerIcon--TrFwF {
10986
+ display: inline-flex;
10987
+ align-items: center;
10988
+ justify-content: center;
10989
+ flex-shrink: 0;
10990
+ color: var(--text-03);
10991
+ }
10992
+
10993
+ .sn-CommandPalette-module__triggerLabel--YBsgv {
10994
+ flex: 1 1 auto;
10995
+ min-width: 0;
10996
+ text-align: left;
10997
+ overflow: hidden;
10998
+ text-overflow: ellipsis;
10999
+ white-space: nowrap;
11000
+ color: var(--text-04);
11001
+ }
11002
+
11003
+ .sn-CommandPalette-module__triggerShortcut--HbGAX {
11004
+ flex-shrink: 0;
11005
+ }
11006
+
11007
+ /* --------------------------------------------------------------------------
11008
+ Overlay + content (centered modal) — mirrors the DS Modal substrate.
11009
+ -------------------------------------------------------------------------- */
11010
+ .sn-CommandPalette-module__overlay--zaPJ3 {
11011
+ position: fixed;
11012
+ inset: 0;
11013
+ background: var(--shell-drawer-scrim, rgba(15, 23, 42, 0.55));
11014
+ backdrop-filter: blur(4px);
11015
+ z-index: 49;
11016
+ animation: sn-CommandPalette-module__cmdk-fade-in--HsgGQ 160ms var(--ease-out, ease-out);
11017
+ }
11018
+
11019
+ .sn-CommandPalette-module__content--dw5ZC {
11020
+ position: fixed;
11021
+ top: 18vh;
11022
+ left: 50%;
11023
+ transform: translateX(-50%);
11024
+ width: 560px;
11025
+ max-width: 92vw;
11026
+ max-height: 64vh;
11027
+ background: var(--surface-s2);
11028
+ border: 1px solid var(--border-02);
11029
+ border-radius: var(--radius-xl, 16px);
11030
+ box-shadow: var(--elevation-4-shadow, 0 24px 56px -8px rgba(0, 0, 0, 0.4));
11031
+ overflow: hidden;
11032
+ display: flex;
11033
+ flex-direction: column;
11034
+ font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
11035
+ z-index: 50;
11036
+ animation: sn-CommandPalette-module__cmdk-pop-in--Kbbpn 160ms var(--ease-out, ease-out);
11037
+ }
11038
+
11039
+ .sn-CommandPalette-module__content--dw5ZC:focus {
11040
+ outline: none;
11041
+ }
11042
+
11043
+ @keyframes sn-CommandPalette-module__cmdk-fade-in--HsgGQ {
11044
+ from {
11045
+ opacity: 0;
11046
+ }
11047
+ to {
11048
+ opacity: 1;
11049
+ }
11050
+ }
11051
+
11052
+ @keyframes sn-CommandPalette-module__cmdk-pop-in--Kbbpn {
11053
+ from {
11054
+ opacity: 0;
11055
+ transform: translateX(-50%) translateY(-6px);
11056
+ }
11057
+ to {
11058
+ opacity: 1;
11059
+ transform: translateX(-50%) translateY(0);
11060
+ }
11061
+ }
11062
+
11063
+ @media (prefers-reduced-motion: reduce) {
11064
+ .sn-CommandPalette-module__overlay--zaPJ3,
11065
+ .sn-CommandPalette-module__content--dw5ZC {
11066
+ animation: none;
11067
+ }
11068
+ }
11069
+
11070
+ /* --------------------------------------------------------------------------
11071
+ Panel
11072
+ -------------------------------------------------------------------------- */
11073
+ .sn-CommandPalette-module__panel--a8k-8 {
11074
+ display: flex;
11075
+ flex-direction: column;
11076
+ min-height: 0;
11077
+ overflow: hidden;
11078
+ }
11079
+
11080
+ .sn-CommandPalette-module__searchRow--gU4df {
11081
+ padding: 12px 12px 8px;
11082
+ border-bottom: 1px solid var(--border-02);
11083
+ }
11084
+
11085
+ /* SearchInput layout seating only — let it fill the row. */
11086
+ .sn-CommandPalette-module__search--ryq5L {
11087
+ width: 100%;
11088
+ }
11089
+
11090
+ .sn-CommandPalette-module__empty--fSFPo {
11091
+ padding: 28px 18px;
11092
+ text-align: center;
11093
+ font-size: 14px;
11094
+ color: var(--text-04);
11095
+ }
11096
+
11097
+ .sn-CommandPalette-module__results--kmGLG {
11098
+ list-style: none;
11099
+ margin: 0;
11100
+ padding: 6px;
11101
+ overflow-y: auto;
11102
+ min-height: 0;
11103
+ }
11104
+
11105
+ .sn-CommandPalette-module__group--qqyzq {
11106
+ list-style: none;
11107
+ }
11108
+
11109
+ .sn-CommandPalette-module__group--qqyzq + .sn-CommandPalette-module__group--qqyzq {
11110
+ margin-top: 4px;
11111
+ }
11112
+
11113
+ .sn-CommandPalette-module__groupHeader--bgglU {
11114
+ padding: 8px 10px 4px;
11115
+ font-size: 11px;
11116
+ font-weight: 600;
11117
+ letter-spacing: 0.04em;
11118
+ text-transform: uppercase;
11119
+ color: var(--text-03);
11120
+ }
11121
+
11122
+ .sn-CommandPalette-module__groupList--ywjCH {
11123
+ list-style: none;
11124
+ margin: 0;
11125
+ padding: 0;
11126
+ }
11127
+
11128
+ .sn-CommandPalette-module__option--IeWkE {
11129
+ display: flex;
11130
+ align-items: center;
11131
+ gap: 10px;
11132
+ padding: 9px 10px;
11133
+ border-radius: var(--radius-md, 8px);
11134
+ font-size: 14px;
11135
+ color: var(--text-05);
11136
+ cursor: pointer;
11137
+ user-select: none;
11138
+ }
11139
+
11140
+ .sn-CommandPalette-module__optionActive--lVo8e {
11141
+ background: var(--shell-rail-item-selected-bg);
11142
+ }
11143
+
11144
+ .sn-CommandPalette-module__optionIcon--M-qCD {
11145
+ display: inline-flex;
11146
+ align-items: center;
11147
+ justify-content: center;
11148
+ flex-shrink: 0;
11149
+ width: 16px;
11150
+ height: 16px;
11151
+ color: var(--text-03);
11152
+ }
11153
+
11154
+ .sn-CommandPalette-module__optionLabel--lkpvm {
11155
+ flex: 1 1 auto;
11156
+ min-width: 0;
11157
+ overflow: hidden;
11158
+ text-overflow: ellipsis;
11159
+ white-space: nowrap;
11160
+ }
10948
11161
  .sn-DestructiveConfirm-module__body--aWZtC {
10949
11162
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
10950
11163
  }