@waniwani/sdk 0.11.9 → 0.11.10
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/dist/chat/embed.js +58 -58
- package/dist/chat/embed.js.map +1 -1
- package/dist/chat/index.d.ts +8 -7
- package/dist/chat/index.js +7 -7
- package/dist/chat/index.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.js +5 -5
- package/dist/mcp/index.js.map +1 -1
- package/package.json +1 -1
package/dist/chat/index.d.ts
CHANGED
|
@@ -348,13 +348,14 @@ declare const ChatCard: react.ForwardRefExoticComponent<ChatCardProps & react.Re
|
|
|
348
348
|
/**
|
|
349
349
|
* Bring-your-own-backend chat with internal scroll.
|
|
350
350
|
*
|
|
351
|
-
* Sizes
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
356
|
-
*
|
|
357
|
-
*
|
|
351
|
+
* Sizes off its parent via two complementary mechanisms applied by the
|
|
352
|
+
* embed host: a `height: 100%; max-height: inherit` chain for
|
|
353
|
+
* definite-height parents, and `flex: 1 1 auto; min-height: 0` so the
|
|
354
|
+
* chat also fills a flex-column parent bounded only by `max-height`.
|
|
355
|
+
* Both work across the shadow boundary. When the parent is truly
|
|
356
|
+
* unbounded the chat grows with content; bound it by setting `height`,
|
|
357
|
+
* `max-height`, or a flex/grid track on the parent. Internally a flex
|
|
358
|
+
* column: header and input pinned, messages scrolling between them.
|
|
358
359
|
*/
|
|
359
360
|
declare const ChatEmbed: react.ForwardRefExoticComponent<ChatEmbedProps & react.RefAttributes<ChatHandle>>;
|
|
360
361
|
|