feat: add command palette functionality and shortcuts
- Implemented command palette with keyboard shortcut (⌘K) for opening. - Added commands for opening, closing, setting query, and selecting items in the command palette. - Created tests for command palette commands and input handling. - Enhanced layer actions with functions for adding, grouping, and deleting layers. - Updated UI components to integrate command palette and shortcuts.
This commit is contained in:
@@ -71,6 +71,18 @@ export type {
|
||||
export type { CommandDispatcher, Dispatch } from "./dispatcher";
|
||||
export type { CommandId, CommandPayloads } from "./payloads";
|
||||
export { createCommandDispatcher } from "./dispatcher";
|
||||
export {
|
||||
commandPaletteCloseCommand,
|
||||
commandPaletteCommands,
|
||||
commandPaletteOpenCommand,
|
||||
commandPaletteSetQueryCommand,
|
||||
commandPaletteSetSelectedIndexCommand,
|
||||
} from "./palette";
|
||||
export type {
|
||||
CommandPaletteOpenPayload,
|
||||
CommandPaletteSetQueryPayload,
|
||||
CommandPaletteSetSelectedIndexPayload,
|
||||
} from "./palette";
|
||||
export type { CommandRegistry } from "./registry";
|
||||
export { createCommandRegistry } from "./registry";
|
||||
export { selectionAddLayerCommand, selectionClearCommand, selectionCommands, selectionSetCommand } from "./selection";
|
||||
|
||||
Reference in New Issue
Block a user