@runtypelabs/persona 3.2.0 → 3.2.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/dist/index.cjs +25 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.global.js +45 -43
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +26 -24
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/runtime/host-layout.ts +1 -1
- package/src/types.ts +8 -0
- package/src/ui.overlay-z-index.test.ts +62 -0
- package/src/ui.ts +9 -2
package/dist/index.d.cts
CHANGED
|
@@ -1338,6 +1338,14 @@ type AgentWidgetLauncherConfig = {
|
|
|
1338
1338
|
* @default 640
|
|
1339
1339
|
*/
|
|
1340
1340
|
mobileBreakpoint?: number;
|
|
1341
|
+
/**
|
|
1342
|
+
* CSS z-index applied to the widget wrapper when it is in a positioned mode
|
|
1343
|
+
* (floating panel, mobile fullscreen, or sidebar). Increase this value if
|
|
1344
|
+
* other elements on the host page appear on top of the widget.
|
|
1345
|
+
*
|
|
1346
|
+
* @default 9999 in overlay modes (mobile fullscreen / sidebar); 50 for the regular floating panel
|
|
1347
|
+
*/
|
|
1348
|
+
zIndex?: number;
|
|
1341
1349
|
callToActionIconText?: string;
|
|
1342
1350
|
callToActionIconName?: string;
|
|
1343
1351
|
callToActionIconColor?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -1338,6 +1338,14 @@ type AgentWidgetLauncherConfig = {
|
|
|
1338
1338
|
* @default 640
|
|
1339
1339
|
*/
|
|
1340
1340
|
mobileBreakpoint?: number;
|
|
1341
|
+
/**
|
|
1342
|
+
* CSS z-index applied to the widget wrapper when it is in a positioned mode
|
|
1343
|
+
* (floating panel, mobile fullscreen, or sidebar). Increase this value if
|
|
1344
|
+
* other elements on the host page appear on top of the widget.
|
|
1345
|
+
*
|
|
1346
|
+
* @default 9999 in overlay modes (mobile fullscreen / sidebar); 50 for the regular floating panel
|
|
1347
|
+
*/
|
|
1348
|
+
zIndex?: number;
|
|
1341
1349
|
callToActionIconText?: string;
|
|
1342
1350
|
callToActionIconName?: string;
|
|
1343
1351
|
callToActionIconColor?: string;
|