@copilotkit/react-textarea 1.10.0-next.0 → 1.10.0-next.10

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 (31) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/dist/{chunk-MBHQR656.mjs → chunk-2DF2AVDU.mjs} +2 -2
  3. package/dist/{chunk-4ECCCOFV.mjs → chunk-6SGWO63I.mjs} +4 -4
  4. package/dist/{chunk-ZWSCMQRG.mjs → chunk-7WVURIB7.mjs} +20 -20
  5. package/dist/{chunk-S5MB33MW.mjs → chunk-C3PMJNQA.mjs} +2 -2
  6. package/dist/{chunk-N52HKVQZ.mjs → chunk-HBWBHJ64.mjs} +4 -4
  7. package/dist/{chunk-PN2J7XR3.mjs → chunk-NZIHZWRU.mjs} +5 -5
  8. package/dist/chunk-NZIHZWRU.mjs.map +1 -0
  9. package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs +18 -18
  10. package/dist/components/copilot-textarea/copilot-textarea.d.ts +1 -1
  11. package/dist/components/copilot-textarea/copilot-textarea.js.map +1 -1
  12. package/dist/components/copilot-textarea/copilot-textarea.mjs +26 -26
  13. package/dist/components/hovering-toolbar/hovering-toolbar.mjs +6 -6
  14. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs +3 -3
  15. package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs +4 -4
  16. package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs +4 -4
  17. package/dist/components/index.js.map +1 -1
  18. package/dist/components/index.mjs +26 -26
  19. package/dist/index.js.map +1 -1
  20. package/dist/index.mjs +34 -34
  21. package/dist/types/autosuggestions-config/autosuggestions-config.mjs +2 -2
  22. package/dist/types/autosuggestions-config/index.mjs +2 -2
  23. package/dist/types/index.mjs +3 -3
  24. package/package.json +4 -4
  25. package/src/components/copilot-textarea/copilot-textarea.tsx +1 -1
  26. package/dist/chunk-PN2J7XR3.mjs.map +0 -1
  27. /package/dist/{chunk-MBHQR656.mjs.map → chunk-2DF2AVDU.mjs.map} +0 -0
  28. /package/dist/{chunk-4ECCCOFV.mjs.map → chunk-6SGWO63I.mjs.map} +0 -0
  29. /package/dist/{chunk-ZWSCMQRG.mjs.map → chunk-7WVURIB7.mjs.map} +0 -0
  30. /package/dist/{chunk-S5MB33MW.mjs.map → chunk-C3PMJNQA.mjs.map} +0 -0
  31. /package/dist/{chunk-N52HKVQZ.mjs.map → chunk-HBWBHJ64.mjs.map} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,89 @@
1
1
  # ui
2
2
 
3
+ ## 1.10.0-next.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6d1de58]
8
+ - @copilotkit/react-core@1.10.0-next.10
9
+ - @copilotkit/shared@1.10.0-next.10
10
+ - @copilotkit/runtime-client-gql@1.10.0-next.10
11
+
12
+ ## 1.10.0-next.9
13
+
14
+ ### Patch Changes
15
+
16
+ - @copilotkit/react-core@1.10.0-next.9
17
+ - @copilotkit/runtime-client-gql@1.10.0-next.9
18
+ - @copilotkit/shared@1.10.0-next.9
19
+
20
+ ## 1.10.0-next.8
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [6de24ce]
25
+ - @copilotkit/react-core@1.10.0-next.8
26
+ - @copilotkit/runtime-client-gql@1.10.0-next.8
27
+ - @copilotkit/shared@1.10.0-next.8
28
+
29
+ ## 1.10.0-next.7
30
+
31
+ ### Patch Changes
32
+
33
+ - @copilotkit/runtime-client-gql@1.10.0-next.7
34
+ - @copilotkit/react-core@1.10.0-next.7
35
+ - @copilotkit/shared@1.10.0-next.7
36
+
37
+ ## 1.10.0-next.6
38
+
39
+ ### Patch Changes
40
+
41
+ - @copilotkit/runtime-client-gql@1.10.0-next.6
42
+ - @copilotkit/react-core@1.10.0-next.6
43
+ - @copilotkit/shared@1.10.0-next.6
44
+
45
+ ## 1.10.0-next.5
46
+
47
+ ### Patch Changes
48
+
49
+ - Updated dependencies [a8c0263]
50
+ - @copilotkit/shared@1.10.0-next.5
51
+ - @copilotkit/react-core@1.10.0-next.5
52
+ - @copilotkit/runtime-client-gql@1.10.0-next.5
53
+
54
+ ## 1.10.0-next.4
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies [967d0ab]
59
+ - @copilotkit/react-core@1.10.0-next.4
60
+ - @copilotkit/runtime-client-gql@1.10.0-next.4
61
+ - @copilotkit/shared@1.10.0-next.4
62
+
63
+ ## 1.10.0-next.3
64
+
65
+ ### Patch Changes
66
+
67
+ - @copilotkit/runtime-client-gql@1.10.0-next.3
68
+ - @copilotkit/react-core@1.10.0-next.3
69
+ - @copilotkit/shared@1.10.0-next.3
70
+
71
+ ## 1.10.0-next.2
72
+
73
+ ### Patch Changes
74
+
75
+ - @copilotkit/runtime-client-gql@1.10.0-next.2
76
+ - @copilotkit/react-core@1.10.0-next.2
77
+ - @copilotkit/shared@1.10.0-next.2
78
+
79
+ ## 1.10.0-next.1
80
+
81
+ ### Patch Changes
82
+
83
+ - @copilotkit/runtime-client-gql@1.10.0-next.1
84
+ - @copilotkit/react-core@1.10.0-next.1
85
+ - @copilotkit/shared@1.10.0-next.1
86
+
3
87
  ## 1.10.0-next.0
4
88
 
5
89
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HoveringInsertionPromptBoxCore
3
- } from "./chunk-N52HKVQZ.mjs";
3
+ } from "./chunk-HBWBHJ64.mjs";
4
4
 
5
5
  // src/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.tsx
6
6
  import { jsx } from "react/jsx-runtime";
@@ -28,4 +28,4 @@ var HoveringInsertionPromptBox = (props) => {
28
28
  export {
29
29
  HoveringInsertionPromptBox
30
30
  };
31
- //# sourceMappingURL=chunk-MBHQR656.mjs.map
31
+ //# sourceMappingURL=chunk-2DF2AVDU.mjs.map
@@ -1,12 +1,12 @@
1
- import {
2
- defaultEditingApiConfig
3
- } from "./chunk-EJGGLWWR.mjs";
4
1
  import {
5
2
  defaultInsertionsApiConfig
6
3
  } from "./chunk-MCNXIA4Q.mjs";
7
4
  import {
8
5
  defaultSuggestionsApiConfig
9
6
  } from "./chunk-QFXR6DOA.mjs";
7
+ import {
8
+ defaultEditingApiConfig
9
+ } from "./chunk-EJGGLWWR.mjs";
10
10
  import {
11
11
  defaultBaseAutosuggestionsConfig
12
12
  } from "./chunk-F6RLSVG3.mjs";
@@ -29,4 +29,4 @@ var defaultAutosuggestionsConfig = __spreadProps(__spreadValues({}, defaultBaseA
29
29
  export {
30
30
  defaultAutosuggestionsConfig
31
31
  };
32
- //# sourceMappingURL=chunk-4ECCCOFV.mjs.map
32
+ //# sourceMappingURL=chunk-6SGWO63I.mjs.map
@@ -4,13 +4,31 @@ import {
4
4
  import {
5
5
  clearAutocompletionsFromEditor
6
6
  } from "./chunk-GQN2HYFJ.mjs";
7
+ import {
8
+ useAutosuggestions
9
+ } from "./chunk-23Q6A46J.mjs";
10
+ import {
11
+ useCopilotTextareaEditor
12
+ } from "./chunk-DRV2FOHZ.mjs";
13
+ import {
14
+ usePopulateCopilotTextareaRef
15
+ } from "./chunk-QJNFNPWH.mjs";
16
+ import {
17
+ replaceEditorText
18
+ } from "./chunk-5UNJXFUO.mjs";
19
+ import {
20
+ useAddBrandingCss
21
+ } from "./chunk-7LSRNPNI.mjs";
7
22
  import {
8
23
  HoveringToolbar
9
- } from "./chunk-S5MB33MW.mjs";
24
+ } from "./chunk-C3PMJNQA.mjs";
10
25
  import {
11
26
  HoveringEditorProvider,
12
27
  useHoveringEditorContext
13
28
  } from "./chunk-LYB4B6MK.mjs";
29
+ import {
30
+ defaultBaseAutosuggestionsConfig
31
+ } from "./chunk-F6RLSVG3.mjs";
14
32
  import {
15
33
  makeRenderElementFunction
16
34
  } from "./chunk-7L6GIHDM.mjs";
@@ -20,28 +38,10 @@ import {
20
38
  import {
21
39
  TrackerTextEditedSinceLastCursorMovement
22
40
  } from "./chunk-LQ2OWQU7.mjs";
23
- import {
24
- useAddBrandingCss
25
- } from "./chunk-7LSRNPNI.mjs";
26
- import {
27
- usePopulateCopilotTextareaRef
28
- } from "./chunk-QJNFNPWH.mjs";
29
- import {
30
- replaceEditorText
31
- } from "./chunk-5UNJXFUO.mjs";
32
41
  import {
33
42
  getFullEditorTextWithNewlines,
34
43
  getTextAroundCollapsedCursor
35
44
  } from "./chunk-ECR45NSD.mjs";
36
- import {
37
- defaultBaseAutosuggestionsConfig
38
- } from "./chunk-F6RLSVG3.mjs";
39
- import {
40
- useAutosuggestions
41
- } from "./chunk-23Q6A46J.mjs";
42
- import {
43
- useCopilotTextareaEditor
44
- } from "./chunk-DRV2FOHZ.mjs";
45
45
  import {
46
46
  __objRest,
47
47
  __spreadProps,
@@ -266,4 +266,4 @@ function makeSemiFakeReactTextAreaEvent(currentText) {
266
266
  export {
267
267
  BaseCopilotTextarea
268
268
  };
269
- //# sourceMappingURL=chunk-ZWSCMQRG.mjs.map
269
+ //# sourceMappingURL=chunk-7WVURIB7.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HoveringInsertionPromptBox
3
- } from "./chunk-MBHQR656.mjs";
3
+ } from "./chunk-2DF2AVDU.mjs";
4
4
  import {
5
5
  useHoveringEditorContext
6
6
  } from "./chunk-LYB4B6MK.mjs";
@@ -117,4 +117,4 @@ function editorState(editor, selection) {
117
117
  export {
118
118
  HoveringToolbar
119
119
  };
120
- //# sourceMappingURL=chunk-S5MB33MW.mjs.map
120
+ //# sourceMappingURL=chunk-C3PMJNQA.mjs.map
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  IncludedFilesPreview
3
3
  } from "./chunk-KMVGEY7Q.mjs";
4
+ import {
5
+ use_autosize_textarea_default
6
+ } from "./chunk-3PQ7GSFE.mjs";
4
7
  import {
5
8
  Label
6
9
  } from "./chunk-D47EKHIF.mjs";
@@ -13,9 +16,6 @@ import {
13
16
  import {
14
17
  Button
15
18
  } from "./chunk-4PDYALMP.mjs";
16
- import {
17
- use_autosize_textarea_default
18
- } from "./chunk-3PQ7GSFE.mjs";
19
19
  import {
20
20
  streamPromiseFlatten
21
21
  } from "./chunk-2QDCE7PD.mjs";
@@ -223,4 +223,4 @@ var HoveringInsertionPromptBoxCore = ({
223
223
  export {
224
224
  HoveringInsertionPromptBoxCore
225
225
  };
226
- //# sourceMappingURL=chunk-N52HKVQZ.mjs.map
226
+ //# sourceMappingURL=chunk-HBWBHJ64.mjs.map
@@ -1,6 +1,3 @@
1
- import {
2
- BaseCopilotTextarea
3
- } from "./chunk-ZWSCMQRG.mjs";
4
1
  import {
5
2
  useMakeStandardAutosuggestionFunction
6
3
  } from "./chunk-F6GMWOLE.mjs";
@@ -9,7 +6,10 @@ import {
9
6
  } from "./chunk-RXV67GJN.mjs";
10
7
  import {
11
8
  defaultAutosuggestionsConfig
12
- } from "./chunk-4ECCCOFV.mjs";
9
+ } from "./chunk-6SGWO63I.mjs";
10
+ import {
11
+ BaseCopilotTextarea
12
+ } from "./chunk-7WVURIB7.mjs";
13
13
  import {
14
14
  __objRest,
15
15
  __spreadProps,
@@ -57,4 +57,4 @@ var CopilotTextarea = React.forwardRef(
57
57
  export {
58
58
  CopilotTextarea
59
59
  };
60
- //# sourceMappingURL=chunk-PN2J7XR3.mjs.map
60
+ //# sourceMappingURL=chunk-NZIHZWRU.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/copilot-textarea/copilot-textarea.tsx"],"sourcesContent":["/**\n * <br/>\n * <img src=\"https://cdn.copilotkit.ai/docs/copilotkit/images/CopilotTextarea.gif\" width=\"500\" />\n *\n * `<CopilotTextarea>` is a React component that acts as a drop-in replacement for the standard `<textarea>`,\n * offering enhanced autocomplete features powered by AI. It is context-aware, integrating seamlessly with the\n * [`useCopilotReadable`](/reference/hooks/useCopilotReadable) hook to provide intelligent suggestions based on the application context.\n *\n * In addition, it provides a hovering editor window (available by default via `Cmd + K` on Mac and `Ctrl + K` on Windows) that allows the user to\n * suggest changes to the text, for example providing a summary or rephrasing the text.\n *\n * ## Example\n *\n * ```tsx\n * import { CopilotTextarea } from '@copilotkit/react-textarea';\n * import \"@copilotkit/react-textarea/styles.css\";\n *\n * <CopilotTextarea\n * autosuggestionsConfig={{\n * textareaPurpose:\n * \"the body of an email message\",\n * chatApiConfigs: {},\n * }}\n * />\n * ```\n *\n * ## Usage\n *\n * ### Install Dependencies\n *\n * This component is part of the [@copilotkit/react-textarea](https://npmjs.com/package/@copilotkit/react-textarea) package.\n *\n * ```shell npm2yarn \\\"@copilotkit/react-textarea\"\\\n * npm install @copilotkit/react-core @copilotkit/react-textarea\n * ```\n *\n * ### Usage\n *\n * Use the CopilotTextarea component in your React application similarly to a standard `<textarea />`,\n * with additional configurations for AI-powered features.\n *\n * For example:\n *\n * ```tsx\n * import { useState } from \"react\";\n * import { CopilotTextarea } from \"@copilotkit/react-textarea\";\n * import \"@copilotkit/react-textarea/styles.css\";\n *\n * export function ExampleComponent() {\n * const [text, setText] = useState(\"\");\n *\n * return (\n * <CopilotTextarea\n * className=\"custom-textarea-class\"\n * value={text}\n * onValueChange={(value: string) => setText(value)}\n * placeholder=\"Enter your text here...\"\n * autosuggestionsConfig={{\n * textareaPurpose: \"Provide context or purpose of the textarea.\",\n * chatApiConfigs: {\n * suggestionsApiConfig: {\n * maxTokens: 20,\n * stop: [\".\", \"?\", \"!\"],\n * },\n * },\n * }}\n * />\n * );\n * }\n * ```\n *\n * ### Look & Feel\n *\n * By default, CopilotKit components do not have any styles. You can import CopilotKit's stylesheet at the root of your project:\n * ```tsx title=\"YourRootComponent.tsx\"\n * ...\n * import \"@copilotkit/react-textarea/styles.css\"; // [!code highlight]\n *\n * export function YourRootComponent() {\n * return (\n * <CopilotKit>\n * ...\n * </CopilotKit>\n * );\n * }\n * ```\n * For more information about how to customize the styles, check out the [Customize Look & Feel](/guides/custom-look-and-feel/customize-built-in-ui-components) guide.\n * */\nimport React from \"react\";\nimport { useMakeStandardAutosuggestionFunction } from \"../../hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function\";\nimport { HTMLCopilotTextAreaElement } from \"../../types\";\nimport { BaseCopilotTextareaProps } from \"../../types/base/base-copilot-textarea-props\";\nimport {\n AutosuggestionsConfig,\n defaultAutosuggestionsConfig,\n} from \"../../types/autosuggestions-config\";\nimport { BaseCopilotTextarea } from \"../base-copilot-textarea/base-copilot-textarea\";\nimport { useMakeStandardInsertionOrEditingFunction } from \"../../hooks/make-autosuggestions-function/use-make-standard-insertion-function\";\nimport merge from \"lodash.merge\";\nimport { AutosuggestionsConfigUserSpecified } from \"../../types/autosuggestions-config/autosuggestions-config-user-specified\";\n\n// Like the base copilot textarea props,\n// but with baseAutosuggestionsConfig replaced with autosuggestionsConfig.\nexport interface CopilotTextareaProps\n extends Omit<BaseCopilotTextareaProps, \"baseAutosuggestionsConfig\"> {\n /**\n * Configuration settings for the autosuggestions feature.\n * For full reference, [check the interface on GitHub](https://github.com/CopilotKit/CopilotKit/blob/main/CopilotKit/packages/react-textarea/src/types/base/base-copilot-textarea-props.tsx#L8).\n *\n * <PropertyReference name=\"textareaPurpose\" type=\"string\" required={true} >\n * The purpose of the text area in plain text.\n *\n * Example: *\"The body of the email response\"*\n * </PropertyReference>\n *\n * <PropertyReference name=\"chatApiConfigs\" type=\"ChatApiConfigs\" >\n * The chat API configurations.\n *\n * <strong>NOTE:</strong> You must provide specify at least one of `suggestionsApiConfig` or `insertionApiConfig`.\n *\n * <PropertyReference name=\"suggestionsApiConfig\" type=\"SuggestionsApiConfig\">\n * For full reference, please [click here](https://github.com/CopilotKit/CopilotKit/blob/main/CopilotKit/packages/react-textarea/src/types/autosuggestions-config/suggestions-api-config.tsx#L4).\n * </PropertyReference>\n * <PropertyReference name=\"insertionApiConfig\" type=\"InsertionApiConfig\">\n * For full reference, please [click here](https://github.com/CopilotKit/CopilotKit/blob/main/CopilotKit/packages/react-textarea/src/types/autosuggestions-config/insertions-api-config.tsx#L4).\n * </PropertyReference>\n * </PropertyReference>\n *\n * <PropertyReference name=\"disabled\" type=\"boolean\" >\n * Whether the textarea is disabled.\n * </PropertyReference>\n *\n * <PropertyReference name=\"disableBranding\" type=\"boolean\" >\n * Whether to disable the CopilotKit branding.\n * </PropertyReference>\n *\n * <PropertyReference name=\"placeholderStyle\" type=\"React.CSSProperties\" >\n * Specifies the CSS styles to apply to the placeholder text.\n * </PropertyReference>\n *\n * <PropertyReference name=\"suggestionsStyle\" type=\"React.CSSProperties\" >\n * Specifies the CSS styles to apply to the suggestions list.\n * </PropertyReference>\n *\n * <PropertyReference name=\"hoverMenuClassname\" type=\"string\" >\n * A class name to apply to the editor popover window.\n * </PropertyReference>\n *\n * <PropertyReference name=\"value\" type=\"string\" >\n * The initial value of the textarea. Can be controlled via `onValueChange`.\n * </PropertyReference>\n *\n * <PropertyReference name=\"onValueChange\" type=\"(value: string) => void\" >\n * Callback invoked when the value of the textarea changes.\n * </PropertyReference>\n *\n * <PropertyReference name=\"onChange\" type=\"(event: React.ChangeEvent<HTMLTextAreaElement>) => void\" >\n * Callback invoked when a `change` event is triggered on the textarea element.\n * </PropertyReference>\n *\n * <PropertyReference name=\"shortcut\" type=\"string\" >\n * The shortcut to use to open the editor popover window. Default is `\"Cmd-k\"`.\n * </PropertyReference>\n */\n autosuggestionsConfig: AutosuggestionsConfigUserSpecified;\n}\n\n/**\n * A copilot textarea that uses the standard autosuggestions function.\n */\nexport const CopilotTextarea = React.forwardRef(\n (props: CopilotTextareaProps, ref: React.Ref<HTMLCopilotTextAreaElement>) => {\n // separate the AutosuggestionsConfigUserSpecified from the rest of the props\n const { autosuggestionsConfig: autosuggestionsConfigUserSpecified, ...forwardedProps } = props;\n\n const autosuggestionsConfig: AutosuggestionsConfig = merge(\n defaultAutosuggestionsConfig,\n autosuggestionsConfigUserSpecified,\n );\n\n const autosuggestionsFunction = useMakeStandardAutosuggestionFunction(\n autosuggestionsConfig.textareaPurpose,\n autosuggestionsConfig.contextCategories,\n autosuggestionsConfig.chatApiConfigs.suggestionsApiConfig,\n );\n\n const insertionOrEditingFunction = useMakeStandardInsertionOrEditingFunction(\n autosuggestionsConfig.textareaPurpose,\n autosuggestionsConfig.contextCategories,\n autosuggestionsConfig.chatApiConfigs.insertionApiConfig,\n autosuggestionsConfig.chatApiConfigs.editingApiConfig,\n );\n\n return (\n <>\n <BaseCopilotTextarea\n ref={ref}\n {...forwardedProps}\n baseAutosuggestionsConfig={{\n ...autosuggestionsConfig,\n apiConfig: {\n insertionOrEditingFunction: insertionOrEditingFunction,\n autosuggestionsFunction: autosuggestionsFunction,\n },\n }}\n />\n </>\n );\n },\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAwFA,OAAO,WAAW;AAUlB,OAAO,WAAW;AAgGZ,mBACE,WADF;AAxBC,IAAM,kBAAkB,MAAM;AAAA,EACnC,CAAC,OAA6B,QAA+C;AAE3E,UAAyF,YAAjF,yBAAuB,mCA7KnC,IA6K6F,IAAnB,2BAAmB,IAAnB,CAA9D;AAER,UAAM,wBAA+C;AAAA,MACnD;AAAA,MACA;AAAA,IACF;AAEA,UAAM,0BAA0B;AAAA,MAC9B,sBAAsB;AAAA,MACtB,sBAAsB;AAAA,MACtB,sBAAsB,eAAe;AAAA,IACvC;AAEA,UAAM,6BAA6B;AAAA,MACjC,sBAAsB;AAAA,MACtB,sBAAsB;AAAA,MACtB,sBAAsB,eAAe;AAAA,MACrC,sBAAsB,eAAe;AAAA,IACvC;AAEA,WACE,gCACE;AAAA,MAAC;AAAA;AAAA,QACC;AAAA,SACI,iBAFL;AAAA,QAGC,2BAA2B,iCACtB,wBADsB;AAAA,UAEzB,WAAW;AAAA,YACT;AAAA,YACA;AAAA,UACF;AAAA,QACF;AAAA;AAAA,IACF,GACF;AAAA,EAEJ;AACF;","names":[]}
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  BaseCopilotTextarea
3
- } from "../../chunk-ZWSCMQRG.mjs";
3
+ } from "../../chunk-7WVURIB7.mjs";
4
4
  import "../../chunk-2C7O2EVM.mjs";
5
5
  import "../../chunk-GQN2HYFJ.mjs";
6
- import "../../chunk-S5MB33MW.mjs";
6
+ import "../../chunk-23Q6A46J.mjs";
7
+ import "../../chunk-AJ5OMEXM.mjs";
8
+ import "../../chunk-DRV2FOHZ.mjs";
9
+ import "../../chunk-4NHVQZ67.mjs";
10
+ import "../../chunk-QJNFNPWH.mjs";
11
+ import "../../chunk-5UNJXFUO.mjs";
12
+ import "../../chunk-7LSRNPNI.mjs";
13
+ import "../../chunk-C3PMJNQA.mjs";
7
14
  import "../../chunk-L7VVZH4Q.mjs";
8
- import "../../chunk-MBHQR656.mjs";
9
- import "../../chunk-N52HKVQZ.mjs";
15
+ import "../../chunk-2DF2AVDU.mjs";
16
+ import "../../chunk-HBWBHJ64.mjs";
10
17
  import "../../chunk-KMVGEY7Q.mjs";
18
+ import "../../chunk-3PQ7GSFE.mjs";
11
19
  import "../../chunk-D47EKHIF.mjs";
12
20
  import "../../chunk-LYB4B6MK.mjs";
13
21
  import "../../chunk-HDBI2WN5.mjs";
14
22
  import "../../chunk-WGWQRALG.mjs";
15
- import "../../chunk-4PDYALMP.mjs";
16
23
  import "../../chunk-VSVQZUPW.mjs";
17
24
  import "../../chunk-I72DKFHD.mjs";
18
- import "../../chunk-3PQ7GSFE.mjs";
25
+ import "../../chunk-4PDYALMP.mjs";
26
+ import "../../chunk-2QDCE7PD.mjs";
27
+ import "../../chunk-YLFAIYRY.mjs";
28
+ import "../../chunk-WJHSY5T6.mjs";
29
+ import "../../chunk-F6RLSVG3.mjs";
19
30
  import "../../chunk-7L6GIHDM.mjs";
20
31
  import "../../chunk-XW3ICO4S.mjs";
21
32
  import "../../chunk-LQ2OWQU7.mjs";
22
- import "../../chunk-7LSRNPNI.mjs";
23
- import "../../chunk-QJNFNPWH.mjs";
24
- import "../../chunk-5UNJXFUO.mjs";
33
+ import "../../chunk-DFTV4TST.mjs";
25
34
  import "../../chunk-T6MTDQZ7.mjs";
26
35
  import "../../chunk-ECR45NSD.mjs";
27
- import "../../chunk-2QDCE7PD.mjs";
28
- import "../../chunk-WJHSY5T6.mjs";
29
- import "../../chunk-F6RLSVG3.mjs";
30
- import "../../chunk-23Q6A46J.mjs";
31
- import "../../chunk-AJ5OMEXM.mjs";
32
- import "../../chunk-YLFAIYRY.mjs";
33
- import "../../chunk-DFTV4TST.mjs";
34
- import "../../chunk-DRV2FOHZ.mjs";
35
- import "../../chunk-4NHVQZ67.mjs";
36
36
  import "../../chunk-MRXNTQOX.mjs";
37
37
  export {
38
38
  BaseCopilotTextarea
@@ -14,7 +14,7 @@ import '../../types/autosuggestions-config/editing-api-config.js';
14
14
 
15
15
  /**
16
16
  * <br/>
17
- * <img src="/images/CopilotTextarea.gif" width="500" />
17
+ * <img src="https://cdn.copilotkit.ai/docs/copilotkit/images/CopilotTextarea.gif" width="500" />
18
18
  *
19
19
  * `<CopilotTextarea>` is a React component that acts as a drop-in replacement for the standard `<textarea>`,
20
20
  * offering enhanced autocomplete features powered by AI. It is context-aware, integrating seamlessly with the