import { LitElement } from 'lit'; /** * @tag loquix-action-edit * @summary Action button for editing user messages. Supports inline and composer modes. * * In **inline** mode, clicking the trigger replaces the message content with an * editable textarea plus Save & Cancel buttons. * * In **composer** mode, clicking the trigger dispatches `loquix-edit-start` so the * host application (or ``) can transfer the text to the main * composer input. The component shows an "Editing…" badge until editing completes. * * @csspart trigger - The pencil-icon trigger button. * @csspart textarea - The `