@copilotkit/react-ui 1.8.10-next.0 → 1.8.10-next.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.
Files changed (41) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{chunk-BDNHZ3GW.mjs → chunk-B4N2T3V3.mjs} +3 -2
  3. package/dist/chunk-B4N2T3V3.mjs.map +1 -0
  4. package/dist/{chunk-JOL7NS2W.mjs → chunk-DP6QC6LJ.mjs} +2 -2
  5. package/dist/{chunk-O34Z4XM2.mjs → chunk-FHVERB23.mjs} +2 -2
  6. package/dist/{chunk-Y7UO3RPW.mjs → chunk-IJDF7C64.mjs} +3 -3
  7. package/dist/{chunk-T7N77F5Y.mjs → chunk-T4ETOM63.mjs} +2 -2
  8. package/dist/components/chat/Chat.js +2 -1
  9. package/dist/components/chat/Chat.js.map +1 -1
  10. package/dist/components/chat/Chat.mjs +2 -2
  11. package/dist/components/chat/Input.js +2 -1
  12. package/dist/components/chat/Input.js.map +1 -1
  13. package/dist/components/chat/Input.mjs +1 -1
  14. package/dist/components/chat/Modal.js +2 -1
  15. package/dist/components/chat/Modal.js.map +1 -1
  16. package/dist/components/chat/Modal.mjs +3 -3
  17. package/dist/components/chat/Popup.js +2 -1
  18. package/dist/components/chat/Popup.js.map +1 -1
  19. package/dist/components/chat/Popup.mjs +4 -4
  20. package/dist/components/chat/Sidebar.js +2 -1
  21. package/dist/components/chat/Sidebar.js.map +1 -1
  22. package/dist/components/chat/Sidebar.mjs +4 -4
  23. package/dist/components/chat/index.js +2 -1
  24. package/dist/components/chat/index.js.map +1 -1
  25. package/dist/components/chat/index.mjs +5 -5
  26. package/dist/components/index.js +2 -1
  27. package/dist/components/index.js.map +1 -1
  28. package/dist/components/index.mjs +5 -5
  29. package/dist/index.css +18 -3
  30. package/dist/index.css.map +1 -1
  31. package/dist/index.js +2 -1
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.mjs +5 -5
  34. package/package.json +4 -4
  35. package/src/components/chat/Input.tsx +3 -1
  36. package/src/css/input.css +23 -3
  37. package/dist/chunk-BDNHZ3GW.mjs.map +0 -1
  38. /package/dist/{chunk-JOL7NS2W.mjs.map → chunk-DP6QC6LJ.mjs.map} +0 -0
  39. /package/dist/{chunk-O34Z4XM2.mjs.map → chunk-FHVERB23.mjs.map} +0 -0
  40. /package/dist/{chunk-Y7UO3RPW.mjs.map → chunk-IJDF7C64.mjs.map} +0 -0
  41. /package/dist/{chunk-T7N77F5Y.mjs.map → chunk-T4ETOM63.mjs.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  CopilotModal
3
- } from "../../chunk-Y7UO3RPW.mjs";
3
+ } from "../../chunk-IJDF7C64.mjs";
4
4
  import "../../chunk-Q2NFQTCQ.mjs";
5
5
  import "../../chunk-UH2UFL5W.mjs";
6
6
  import "../../chunk-V7W6IM2V.mjs";
@@ -11,7 +11,7 @@ import "../../chunk-KXE2JCUH.mjs";
11
11
  import "../../chunk-NRA3CFEE.mjs";
12
12
  import "../../chunk-BH6PCAAL.mjs";
13
13
  import "../../chunk-UFN2VWSR.mjs";
14
- import "../../chunk-O34Z4XM2.mjs";
14
+ import "../../chunk-FHVERB23.mjs";
15
15
  import "../../chunk-DSQGQJI4.mjs";
16
16
  import "../../chunk-24TDU7MY.mjs";
17
17
  import "../../chunk-SLTG4L62.mjs";
@@ -21,7 +21,7 @@ import "../../chunk-HWMFMBJC.mjs";
21
21
  import "../../chunk-OZXUB3V7.mjs";
22
22
  import "../../chunk-XZNY26GH.mjs";
23
23
  import "../../chunk-PLHTVHUW.mjs";
24
- import "../../chunk-BDNHZ3GW.mjs";
24
+ import "../../chunk-B4N2T3V3.mjs";
25
25
  import "../../chunk-YQFVRDNC.mjs";
26
26
  import "../../chunk-ABHUX6T6.mjs";
27
27
  import "../../chunk-KENCH7RN.mjs";
@@ -1432,6 +1432,7 @@ var usePushToTalk = ({
1432
1432
  // src/components/chat/Input.tsx
1433
1433
  var import_react_core6 = require("@copilotkit/react-core");
1434
1434
  var import_jsx_runtime12 = require("react/jsx-runtime");
1435
+ var MAX_NEWLINES = 6;
1435
1436
  var Input = ({ inProgress, onSend, isVisible = false, onStop, onUpload }) => {
1436
1437
  const context = useChatContext();
1437
1438
  const copilotContext = (0, import_react_core6.useCopilotContext)();
@@ -1482,7 +1483,7 @@ var Input = ({ inProgress, onSend, isVisible = false, onStop, onUpload }) => {
1482
1483
  ref: textareaRef,
1483
1484
  placeholder: context.labels.placeholder,
1484
1485
  autoFocus: true,
1485
- maxRows: 5,
1486
+ maxRows: MAX_NEWLINES,
1486
1487
  value: text,
1487
1488
  onChange: (event) => setText(event.target.value),
1488
1489
  onKeyDown: (event) => {