@helpai/elements 0.56.2 → 0.56.3

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/index.mjs CHANGED
@@ -29,7 +29,7 @@ var BRAND = {
29
29
  };
30
30
 
31
31
  // src/core/version.ts
32
- var ELEMENTS_VERSION = true ? "0.56.2" : "0.0.0-dev";
32
+ var ELEMENTS_VERSION = true ? "0.56.3" : "0.0.0-dev";
33
33
  var ELEMENTS_VERSION_PARAM = "_ev";
34
34
 
35
35
  // src/i18n/strings.ts
@@ -4453,7 +4453,7 @@ function Composer({ options, transport, feedback, bus, isStreaming, onSend, onSt
4453
4453
  return;
4454
4454
  }
4455
4455
  el.style.height = "auto";
4456
- el.style.height = `${Math.min(el.scrollHeight, 160)}px`;
4456
+ el.style.height = `${Math.min(Math.max(el.scrollHeight, 40), 160)}px`;
4457
4457
  }, [text]);
4458
4458
  const attsRef = useRef2(atts);
4459
4459
  attsRef.current = atts;
package/package.json CHANGED
@@ -80,5 +80,5 @@
80
80
  ],
81
81
  "type": "module",
82
82
  "types": "./index.d.ts",
83
- "version": "0.56.2"
83
+ "version": "0.56.3"
84
84
  }
package/web-component.mjs CHANGED
@@ -1909,7 +1909,7 @@ function createAuth(opts) {
1909
1909
  }
1910
1910
 
1911
1911
  // src/core/version.ts
1912
- var ELEMENTS_VERSION = true ? "0.56.2" : "0.0.0-dev";
1912
+ var ELEMENTS_VERSION = true ? "0.56.3" : "0.0.0-dev";
1913
1913
  var ELEMENTS_VERSION_PARAM = "_ev";
1914
1914
 
1915
1915
  // src/stream/types.ts
@@ -4412,7 +4412,7 @@ function Composer({ options, transport, feedback, bus, isStreaming, onSend, onSt
4412
4412
  return;
4413
4413
  }
4414
4414
  el.style.height = "auto";
4415
- el.style.height = `${Math.min(el.scrollHeight, 160)}px`;
4415
+ el.style.height = `${Math.min(Math.max(el.scrollHeight, 40), 160)}px`;
4416
4416
  }, [text]);
4417
4417
  const attsRef = useRef2(atts);
4418
4418
  attsRef.current = atts;