@bfrs/agentic-components 0.3.1 → 0.3.2
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/BFRS_AGENTIC_COMPONENTS.md +3 -0
- package/dist/components/ui/patterns/ChatComposer/ChatComposer.d.ts +4 -0
- package/dist/custom-elements.js +1045 -1030
- package/dist/custom-elements.js.map +1 -1
- package/dist/index.js +265 -248
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1558,10 +1558,13 @@ Chat input with attachment and action slots. Submits on `Ctrl+Enter`.
|
|
|
1558
1558
|
| `onSubmit` | `() => void` | — |
|
|
1559
1559
|
| `loading` | `boolean` | `false` |
|
|
1560
1560
|
| `disabled` | `boolean` | `false` |
|
|
1561
|
+
| `size` | `"sm" \| "md"` | `"md"` |
|
|
1561
1562
|
| `placeholder` | `string` | `"Ask me anything"` |
|
|
1562
1563
|
| `attachmentSlot` | `ReactNode` | — |
|
|
1563
1564
|
| `actionSlot` | `ReactNode` | — |
|
|
1564
1565
|
|
|
1566
|
+
Use `size="sm"` for a compact composer in sidebars, inline threads, or dense workspace rails.
|
|
1567
|
+
|
|
1565
1568
|
---
|
|
1566
1569
|
|
|
1567
1570
|
#### `FullPageLoader`
|
|
@@ -5,6 +5,8 @@ export type ChatComposerProps = Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
5
5
|
onSubmit?: () => void;
|
|
6
6
|
loading?: boolean;
|
|
7
7
|
disabled?: boolean;
|
|
8
|
+
/** `"sm"` is a compact composer for inline/sidebar placements; `"md"` is the default. */
|
|
9
|
+
size?: "sm" | "md";
|
|
8
10
|
attachmentSlot?: ReactNode;
|
|
9
11
|
actionSlot?: ReactNode;
|
|
10
12
|
};
|
|
@@ -14,6 +16,8 @@ export declare const ChatComposer: import('react').ForwardRefExoticComponent<Omi
|
|
|
14
16
|
onSubmit?: () => void;
|
|
15
17
|
loading?: boolean;
|
|
16
18
|
disabled?: boolean;
|
|
19
|
+
/** `"sm"` is a compact composer for inline/sidebar placements; `"md"` is the default. */
|
|
20
|
+
size?: "sm" | "md";
|
|
17
21
|
attachmentSlot?: ReactNode;
|
|
18
22
|
actionSlot?: ReactNode;
|
|
19
23
|
} & import('react').RefAttributes<HTMLTextAreaElement>>;
|