@runtypelabs/persona 3.1.1 → 3.2.1
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/README.md +1 -0
- package/dist/index.cjs +14 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.global.js +16 -16
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/widget.css +5 -0
- package/package.json +2 -2
- package/src/components/launcher.test.ts +58 -0
- package/src/components/launcher.ts +10 -6
- package/src/styles/widget.css +5 -0
- package/src/types.ts +7 -0
package/dist/index.d.cts
CHANGED
|
@@ -1375,6 +1375,13 @@ type AgentWidgetLauncherConfig = {
|
|
|
1375
1375
|
* @default "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"
|
|
1376
1376
|
*/
|
|
1377
1377
|
shadow?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* CSS `max-width` for the floating launcher button when the panel is closed.
|
|
1380
|
+
* Title and subtitle each truncate with an ellipsis when space is tight; full strings are available via the native `title` tooltip. Does not affect the open chat panel (`width` / `launcherWidth`).
|
|
1381
|
+
*
|
|
1382
|
+
* @example "min(380px, calc(100vw - 48px))"
|
|
1383
|
+
*/
|
|
1384
|
+
collapsedMaxWidth?: string;
|
|
1378
1385
|
};
|
|
1379
1386
|
type AgentWidgetSendButtonConfig = {
|
|
1380
1387
|
borderWidth?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1375,6 +1375,13 @@ type AgentWidgetLauncherConfig = {
|
|
|
1375
1375
|
* @default "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)"
|
|
1376
1376
|
*/
|
|
1377
1377
|
shadow?: string;
|
|
1378
|
+
/**
|
|
1379
|
+
* CSS `max-width` for the floating launcher button when the panel is closed.
|
|
1380
|
+
* Title and subtitle each truncate with an ellipsis when space is tight; full strings are available via the native `title` tooltip. Does not affect the open chat panel (`width` / `launcherWidth`).
|
|
1381
|
+
*
|
|
1382
|
+
* @example "min(380px, calc(100vw - 48px))"
|
|
1383
|
+
*/
|
|
1384
|
+
collapsedMaxWidth?: string;
|
|
1378
1385
|
};
|
|
1379
1386
|
type AgentWidgetSendButtonConfig = {
|
|
1380
1387
|
borderWidth?: string;
|