@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,7 +1,7 @@
1
1
  import {
2
2
  CopilotPopup
3
- } from "../../chunk-T7N77F5Y.mjs";
4
- import "../../chunk-Y7UO3RPW.mjs";
3
+ } from "../../chunk-T4ETOM63.mjs";
4
+ import "../../chunk-IJDF7C64.mjs";
5
5
  import "../../chunk-Q2NFQTCQ.mjs";
6
6
  import "../../chunk-UH2UFL5W.mjs";
7
7
  import "../../chunk-V7W6IM2V.mjs";
@@ -12,7 +12,7 @@ import "../../chunk-KXE2JCUH.mjs";
12
12
  import "../../chunk-NRA3CFEE.mjs";
13
13
  import "../../chunk-BH6PCAAL.mjs";
14
14
  import "../../chunk-UFN2VWSR.mjs";
15
- import "../../chunk-O34Z4XM2.mjs";
15
+ import "../../chunk-FHVERB23.mjs";
16
16
  import "../../chunk-DSQGQJI4.mjs";
17
17
  import "../../chunk-24TDU7MY.mjs";
18
18
  import "../../chunk-SLTG4L62.mjs";
@@ -22,7 +22,7 @@ import "../../chunk-HWMFMBJC.mjs";
22
22
  import "../../chunk-OZXUB3V7.mjs";
23
23
  import "../../chunk-XZNY26GH.mjs";
24
24
  import "../../chunk-PLHTVHUW.mjs";
25
- import "../../chunk-BDNHZ3GW.mjs";
25
+ import "../../chunk-B4N2T3V3.mjs";
26
26
  import "../../chunk-YQFVRDNC.mjs";
27
27
  import "../../chunk-ABHUX6T6.mjs";
28
28
  import "../../chunk-KENCH7RN.mjs";
@@ -1433,6 +1433,7 @@ var usePushToTalk = ({
1433
1433
  // src/components/chat/Input.tsx
1434
1434
  var import_react_core6 = require("@copilotkit/react-core");
1435
1435
  var import_jsx_runtime12 = require("react/jsx-runtime");
1436
+ var MAX_NEWLINES = 6;
1436
1437
  var Input = ({ inProgress, onSend, isVisible = false, onStop, onUpload }) => {
1437
1438
  const context = useChatContext();
1438
1439
  const copilotContext = (0, import_react_core6.useCopilotContext)();
@@ -1483,7 +1484,7 @@ var Input = ({ inProgress, onSend, isVisible = false, onStop, onUpload }) => {
1483
1484
  ref: textareaRef,
1484
1485
  placeholder: context.labels.placeholder,
1485
1486
  autoFocus: true,
1486
- maxRows: 5,
1487
+ maxRows: MAX_NEWLINES,
1487
1488
  value: text,
1488
1489
  onChange: (event) => setText(event.target.value),
1489
1490
  onKeyDown: (event) => {