@aintela/chat 0.4.28 → 0.4.29

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.
@@ -75,6 +75,18 @@ interface PromptV2Props {
75
75
  * (no sketch yet) so the prompt reads as the dominant surface.
76
76
  */
77
77
  inputMinHeight?: number;
78
+ /**
79
+ * Horizontal inset of the input row (theme spacing units, default `1.25`).
80
+ *
81
+ * <p>The pill draws its own border, and 10px inside it is right for a prompt that is the width
82
+ * of a chat column. A host that stretches the prompt across a page — the BI composer, whose
83
+ * `DrawablePrompt` fills the width of the composer — reads the same 10px as text jammed against
84
+ * the frame (issue 1259 item 5), so it asks for more. It covers the input row and the
85
+ * attachment strip above it — the two rows PromptV2 draws inside the pill. `topSlot` is the
86
+ * host's own markup and keeps its own inset, so a host that raises this should raise that to
87
+ * match, or the chip above the textarea will no longer share its left edge.</p>
88
+ */
89
+ inputPaddingX?: number;
78
90
  /**
79
91
  * Optional async hook that runs *before* the message hits the
80
92
  * gateway. The composer uses this to ensure a server-side
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aintela/chat",
3
- "version": "0.4.28",
3
+ "version": "0.4.29",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"