mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-25 13:24:39 +02:00
feat(shared-ui): locale-aware highlighting + success feedback for InputBar
1. Extract hardcoded German highlight patterns into locale-specific sets (de, en, fr, it, es). InputBar accepts `locale` or custom `highlightPatterns` prop, defaulting to German for backward compat. 2. Add visual success feedback after creating: input bar flashes green with a checkmark icon for 1.2s, confirming the action was successful. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
45db42720c
commit
9edd1c6e2e
5 changed files with 227 additions and 62 deletions
|
|
@ -3,7 +3,10 @@ export { default as InputBar } from './InputBar.svelte';
|
|||
export { default as QuickInputBar } from './InputBar.svelte';
|
||||
export { default as InputBarContextMenu } from './InputBarContextMenu.svelte';
|
||||
export { default as InputBarHelpModal } from './InputBarHelpModal.svelte';
|
||||
export type { QuickInputItem, QuickAction, CreatePreview } from './types';
|
||||
export type { QuickInputItem, QuickAction, CreatePreview, HighlightPattern } from './types';
|
||||
|
||||
// Highlight patterns (locale-aware syntax highlighting)
|
||||
export { getHighlightPatterns } from './highlightPatterns';
|
||||
|
||||
// Recent input history (tags, references)
|
||||
export {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue