11import { Keyboard } from "lucide-react" ;
2+ import { Header3 } from "./primitives/Headers" ;
23import { Paragraph } from "./primitives/Paragraph" ;
34import {
45 Sheet ,
89 SheetTitle ,
910 SheetTrigger ,
1011} from "./primitives/SheetV3" ;
11- import { Header3 } from "./primitives/Headers" ;
1212import { ShortcutKey } from "./primitives/ShortcutKey" ;
1313
1414export function Shortcuts ( ) {
@@ -83,6 +83,25 @@ export function Shortcuts() {
8383 < Shortcut name = "Metadata" >
8484 < ShortcutKey shortcut = { { key : "m" } } variant = "medium/bright" />
8585 </ Shortcut >
86+ < Shortcut name = "Navigate" >
87+ < ShortcutKey shortcut = { { key : "arrowup" } } variant = "medium/bright" />
88+ < ShortcutKey shortcut = { { key : "arrowdown" } } variant = "medium/bright" />
89+ < ShortcutKey shortcut = { { key : "arrowleft" } } variant = "medium/bright" />
90+ < ShortcutKey shortcut = { { key : "arrowright" } } variant = "medium/bright" />
91+ </ Shortcut >
92+ < Shortcut name = "Expand all" >
93+ < ShortcutKey shortcut = { { key : "e" } } variant = "medium/bright" />
94+ </ Shortcut >
95+ < Shortcut name = "Collapse all" >
96+ < ShortcutKey shortcut = { { key : "w" } } variant = "medium/bright" />
97+ </ Shortcut >
98+ < Shortcut name = "Toggle level" >
99+ < ShortcutKey shortcut = { { key : "0" } } variant = "medium/bright" />
100+ < Paragraph variant = "small" className = "ml-1" >
101+ to
102+ </ Paragraph >
103+ < ShortcutKey shortcut = { { key : "9" } } variant = "medium/bright" />
104+ </ Shortcut >
86105 </ div >
87106 < div className = "space-y-3" >
88107 < Header3 > Alerts page</ Header3 >
@@ -100,7 +119,7 @@ export function Shortcuts() {
100119function Shortcut ( { children, name } : { children : React . ReactNode ; name : string } ) {
101120 return (
102121 < div className = "flex items-center justify-between gap-x-2" >
103- < Paragraph variant = "small "> { name } </ Paragraph >
122+ < span className = "text-sm text-text-dimmed "> { name } </ span >
104123 < span className = "flex items-center gap-x-0.5" > { children } </ span >
105124 </ div >
106125 ) ;
0 commit comments