@supernal/interface-nextjs 1.0.18 → 1.0.19

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.js CHANGED
@@ -944,8 +944,13 @@ var ChatBubble = ({
944
944
  className: "fixed z-50",
945
945
  style: {
946
946
  ...dockClasses.container,
947
- width: panelWidth,
948
- height: isMinimized ? "auto" : dynamicHeight
947
+ ...isExpanded ? {
948
+ width: panelWidth,
949
+ height: isMinimized ? "auto" : dynamicHeight
950
+ } : {
951
+ width: "auto",
952
+ height: "auto"
953
+ }
949
954
  },
950
955
  children: [
951
956
  isExpanded && isMinimized && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
package/dist/index.mjs CHANGED
@@ -903,8 +903,13 @@ var ChatBubble = ({
903
903
  className: "fixed z-50",
904
904
  style: {
905
905
  ...dockClasses.container,
906
- width: panelWidth,
907
- height: isMinimized ? "auto" : dynamicHeight
906
+ ...isExpanded ? {
907
+ width: panelWidth,
908
+ height: isMinimized ? "auto" : dynamicHeight
909
+ } : {
910
+ width: "auto",
911
+ height: "auto"
912
+ }
908
913
  },
909
914
  children: [
910
915
  isExpanded && isMinimized && /* @__PURE__ */ jsxs(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supernal/interface-nextjs",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Next.js integration for Supernal Intelligence Interface - enables agentic UX with one line of code",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",