mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
feat(ui): add TagsInput component with click-to-edit behavior (#8066)
## Summary Add TagsInput component based on shadcn-vue/Reka UI primitives with a click-to-edit UX pattern. ## Features - **Click-to-edit behavior**: Starts in read-only state; clicking enables editing and focuses input; clicking outside exits edit mode - **Disabled state**: When `disabled=true`, component is completely inert - **Empty state placeholder**: Shows input placeholder when tag list is empty - **Animated transitions**: Delete button animates when toggling edit mode --------- Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -282,7 +282,7 @@
|
||||
--modal-card-border-highlighted: var(--secondary-background-selected);
|
||||
--modal-card-button-surface: var(--color-smoke-300);
|
||||
--modal-card-placeholder-background: var(--color-smoke-600);
|
||||
--modal-card-tag-background: var(--color-smoke-400);
|
||||
--modal-card-tag-background: var(--color-smoke-200);
|
||||
--modal-card-tag-foreground: var(--base-foreground);
|
||||
--modal-panel-background: var(--color-white);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user