@atelier-ui/angular 0.0.28 → 0.0.30

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atelier-ui/angular",
3
- "version": "0.0.28",
3
+ "version": "0.0.30",
4
4
  "description": "Atelier UI component library for Angular — LLM-optimised, accessible, design-token-driven",
5
5
  "keywords": [
6
6
  "angular",
@@ -1680,6 +1680,7 @@ declare class LlmChat {
1680
1680
  /** @internal — referenced by LlmChatHeader via LLM_CHAT token for aria-labelledby. */
1681
1681
  readonly headerId: string;
1682
1682
  protected readonly dialogRef: _angular_core.Signal<ElementRef<HTMLDialogElement> | undefined>;
1683
+ private readonly host;
1683
1684
  private readonly triggerEl;
1684
1685
  protected readonly hostClasses: _angular_core.Signal<string>;
1685
1686
  constructor();
@@ -1699,9 +1700,14 @@ declare class LlmChatHeader {
1699
1700
  }
1700
1701
  /**
1701
1702
  * Scrollable message list for `llm-chat`. Project `llm-chat-message`,
1702
- * `llm-chat-typing`, or `llm-chat-suggestion` children inside.
1703
+ * `llm-chat-typing`, or `llm-chat-suggestion` children inside. Auto-scrolls
1704
+ * to the bottom whenever children are added or content changes — important
1705
+ * for streaming responses where new tokens are appended live.
1703
1706
  */
1704
1707
  declare class LlmChatMessages {
1708
+ private readonly host;
1709
+ private readonly destroyRef;
1710
+ constructor();
1705
1711
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LlmChatMessages, never>;
1706
1712
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LlmChatMessages, "llm-chat-messages", never, {}, {}, never, ["*"], true, never>;
1707
1713
  }
@@ -1725,12 +1731,23 @@ declare class LlmChatMessage {
1725
1731
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<LlmChatMessage, "llm-chat-message", never, { "role": { "alias": "role"; "required": false; "isSignal": true; }; "failed": { "alias": "failed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
1726
1732
  }
1727
1733
  /**
1728
- * Typing indicator (three animated dots). Render at the end of the message
1729
- * list while the assistant is streaming a response.
1734
+ * Typing indicator (three animated dots).
1735
+ *
1736
+ * Two display modes:
1737
+ * - **Standalone bubble** (default) — render as the last child of
1738
+ * `LlmChatMessages` to show "the assistant is starting to respond"
1739
+ * before any tokens arrive.
1740
+ * - **Inline cursor** (`inline`) — render as the LAST child INSIDE
1741
+ * `LlmChatMessage role="assistant"` to show the dots after the
1742
+ * currently-streaming text. The bubble background is dropped so the
1743
+ * dots read as a typing caret at the end of the partial response.
1730
1744
  */
1731
1745
  declare class LlmChatTyping {
1746
+ /** When true, renders as an inline cursor without bubble chrome. */
1747
+ readonly inline: _angular_core.InputSignal<boolean>;
1748
+ protected readonly hostClasses: _angular_core.Signal<"" | "is-inline">;
1732
1749
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<LlmChatTyping, never>;
1733
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<LlmChatTyping, "llm-chat-typing", never, {}, {}, never, never, true, never>;
1750
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<LlmChatTyping, "llm-chat-typing", never, { "inline": { "alias": "inline"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
1734
1751
  }
1735
1752
  /**
1736
1753
  * Tappable suggestion chip used in the empty state to seed a conversation.