@green-on-grey/ui-kit 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,9 +3,11 @@ import type { ChatContext } from "./types";
3
3
  export declare function tokens(n: number, lng: string): string;
4
4
  /** The fill of the context window by a ring next to the send button
5
5
  * (FTR.NAB.CHAT-0001 R3, design §3.1): grey, amber from 70 %, red from 90 %.
6
- * A click shows the numbers; a full context offers to compact or to reset. */
7
- export declare function ContextMeter({ context, onCompact, onReset }: {
6
+ * A click shows the numbers; a full context (from 90 %) offers to compact or to reset, off while the agent answers. */
7
+ export declare function ContextMeter({ context, onCompact, onReset, busy }: {
8
8
  context: ChatContext;
9
9
  onCompact?: () => void;
10
10
  onReset?: () => void;
11
+ /** A turn is being written: the actions wait for it. */
12
+ busy?: boolean;
11
13
  }): import("react").JSX.Element;