@supernal/interface-nextjs 1.0.18 → 1.0.20

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
@@ -558,7 +558,7 @@ var DEFAULT_CONFIG = {
558
558
  description: "I'm a TOOL system AI can use to control this site",
559
559
  placeholder: "Try: toggle notifications",
560
560
  sendButtonLabel: "Send",
561
- glassMode: true,
561
+ glassMode: false,
562
562
  welcome: {
563
563
  enabled: true,
564
564
  title: "Welcome - I'm NOT an AI",
@@ -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
@@ -517,7 +517,7 @@ var DEFAULT_CONFIG = {
517
517
  description: "I'm a TOOL system AI can use to control this site",
518
518
  placeholder: "Try: toggle notifications",
519
519
  sendButtonLabel: "Send",
520
- glassMode: true,
520
+ glassMode: false,
521
521
  welcome: {
522
522
  enabled: true,
523
523
  title: "Welcome - I'm NOT an AI",
@@ -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.20",
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",