@copilotkit/react-textarea 0.35.0-multi-release-alpha.0 → 0.35.0-multi-feature-usecopilotreadable.4
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/.turbo/turbo-build.log +293 -297
- package/CHANGELOG.md +52 -4
- package/dist/{chunk-COQISBP2.mjs → chunk-3B3LGEDJ.mjs} +2 -2
- package/dist/{chunk-DMLXXOXD.mjs → chunk-FWZ23PN7.mjs} +2 -2
- package/dist/{chunk-SP5HFO3H.mjs → chunk-HXEH4QQL.mjs} +4 -4
- package/dist/{chunk-22TYLEZZ.mjs → chunk-QFG55HEW.mjs} +20 -20
- package/dist/{chunk-OGLVRSCO.mjs → chunk-Y5LVLSUK.mjs} +7 -7
- package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs +36 -1752
- package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/render-element.mjs +4 -48
- package/dist/components/base-copilot-textarea/render-element.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/render-placeholder.mjs +4 -46
- package/dist/components/base-copilot-textarea/render-placeholder.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs +5 -83
- package/dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/use-add-branding-css.mjs +4 -54
- package/dist/components/base-copilot-textarea/use-add-branding-css.mjs.map +1 -1
- package/dist/components/copilot-textarea/copilot-textarea.mjs +45 -2196
- package/dist/components/copilot-textarea/copilot-textarea.mjs.map +1 -1
- package/dist/components/hovering-toolbar/hovering-editor-provider.mjs +5 -13
- package/dist/components/hovering-toolbar/hovering-editor-provider.mjs.map +1 -1
- package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs +8 -130
- package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map +1 -1
- package/dist/components/hovering-toolbar/hovering-toolbar.mjs +19 -876
- package/dist/components/hovering-toolbar/hovering-toolbar.mjs.map +1 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs +14 -569
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs.map +1 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs +15 -592
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs.map +1 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs +7 -98
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map +1 -1
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs +16 -592
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map +1 -1
- package/dist/components/index.mjs +48 -2196
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/manual-ui/chip-with-icon.mjs +2 -0
- package/dist/components/manual-ui/chip-with-icon.mjs.map +1 -1
- package/dist/components/source-search-box/source-search-box.mjs +8 -207
- package/dist/components/source-search-box/source-search-box.mjs.map +1 -1
- package/dist/components/ui/button.mjs +6 -81
- package/dist/components/ui/button.mjs.map +1 -1
- package/dist/components/ui/card.mjs +7 -42
- package/dist/components/ui/card.mjs.map +1 -1
- package/dist/components/ui/command.mjs +14 -232
- package/dist/components/ui/command.mjs.map +1 -1
- package/dist/components/ui/dialog.mjs +11 -134
- package/dist/components/ui/dialog.mjs.map +1 -1
- package/dist/components/ui/label.mjs +5 -56
- package/dist/components/ui/label.mjs.map +1 -1
- package/dist/components/ui/separator.mjs +7 -42
- package/dist/components/ui/separator.mjs.map +1 -1
- package/dist/components/ui/textarea.mjs +7 -42
- package/dist/components/ui/textarea.mjs.map +1 -1
- package/dist/context/index.mjs +1 -0
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs +7 -155
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map +1 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs +5 -165
- package/dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map +1 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs +6 -145
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map +1 -1
- package/dist/hooks/index.mjs +1 -0
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs +5 -111
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map +1 -1
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs +5 -160
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map +1 -1
- package/dist/hooks/misc/use-autosize-textarea.mjs +4 -12
- package/dist/hooks/misc/use-autosize-textarea.mjs.map +1 -1
- package/dist/index.mjs +56 -2196
- package/dist/index.mjs.map +1 -1
- package/dist/lib/debouncer.mjs +4 -48
- package/dist/lib/debouncer.mjs.map +1 -1
- package/dist/lib/editor-to-text.mjs +4 -40
- package/dist/lib/editor-to-text.mjs.map +1 -1
- package/dist/lib/get-text-around-cursor.mjs +7 -96
- package/dist/lib/get-text-around-cursor.mjs.map +1 -1
- package/dist/lib/retry.mjs +4 -14
- package/dist/lib/retry.mjs.map +1 -1
- package/dist/lib/slatejs-edits/add-autocompletions.mjs +4 -22
- package/dist/lib/slatejs-edits/add-autocompletions.mjs.map +1 -1
- package/dist/lib/slatejs-edits/clear-autocompletions.mjs +4 -17
- package/dist/lib/slatejs-edits/clear-autocompletions.mjs.map +1 -1
- package/dist/lib/slatejs-edits/replace-text.mjs +4 -24
- package/dist/lib/slatejs-edits/replace-text.mjs.map +1 -1
- package/dist/lib/slatejs-edits/with-partial-history.mjs +5 -102
- package/dist/lib/slatejs-edits/with-partial-history.mjs.map +1 -1
- package/dist/lib/stream-promise-flatten.mjs +4 -44
- package/dist/lib/stream-promise-flatten.mjs.map +1 -1
- package/dist/lib/utils.mjs +9 -63
- package/dist/lib/utils.mjs.map +1 -1
- package/dist/types/autosuggestions-config/autosuggestions-config.mjs +9 -271
- package/dist/types/autosuggestions-config/autosuggestions-config.mjs.map +1 -1
- package/dist/types/autosuggestions-config/editing-api-config.mjs +6 -82
- package/dist/types/autosuggestions-config/editing-api-config.mjs.map +1 -1
- package/dist/types/autosuggestions-config/index.mjs +10 -271
- package/dist/types/autosuggestions-config/index.mjs.map +1 -1
- package/dist/types/autosuggestions-config/insertions-api-config.mjs +6 -73
- package/dist/types/autosuggestions-config/insertions-api-config.mjs.map +1 -1
- package/dist/types/autosuggestions-config/suggestions-api-config.mjs +6 -59
- package/dist/types/autosuggestions-config/suggestions-api-config.mjs.map +1 -1
- package/dist/types/base/base-autosuggestions-config.mjs +4 -23
- package/dist/types/base/base-autosuggestions-config.mjs.map +1 -1
- package/dist/types/base/editor-autocomplete-state.mjs +5 -14
- package/dist/types/base/editor-autocomplete-state.mjs.map +1 -1
- package/dist/types/base/index.mjs +5 -23
- package/dist/types/base/index.mjs.map +1 -1
- package/dist/types/html-copilot-textarea-element.mjs +1 -0
- package/dist/types/index.mjs +14 -271
- package/dist/types/index.mjs.map +1 -1
- package/package.json +6 -6
- /package/dist/{chunk-COQISBP2.mjs.map → chunk-3B3LGEDJ.mjs.map} +0 -0
- /package/dist/{chunk-DMLXXOXD.mjs.map → chunk-FWZ23PN7.mjs.map} +0 -0
- /package/dist/{chunk-SP5HFO3H.mjs.map → chunk-HXEH4QQL.mjs.map} +0 -0
- /package/dist/{chunk-22TYLEZZ.mjs.map → chunk-QFG55HEW.mjs.map} +0 -0
- /package/dist/{chunk-OGLVRSCO.mjs.map → chunk-Y5LVLSUK.mjs.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,64 @@
|
|
|
1
1
|
# ui
|
|
2
2
|
|
|
3
|
-
## 0.35.0-multi-
|
|
3
|
+
## 0.35.0-multi-feature-usecopilotreadable.4
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- useCopilotReadable
|
|
8
8
|
|
|
9
9
|
### Patch Changes
|
|
10
10
|
|
|
11
11
|
- Updated dependencies
|
|
12
|
-
- @copilotkit/react-core@0.25.0-multi-
|
|
13
|
-
- @copilotkit/shared@0.9.0-multi-
|
|
12
|
+
- @copilotkit/react-core@0.25.0-multi-feature-usecopilotreadable.4
|
|
13
|
+
- @copilotkit/shared@0.9.0-multi-feature-usecopilotreadable.4
|
|
14
|
+
|
|
15
|
+
## 0.35.0-multi-feature-usecopilotreadable.3
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- multiple new features, including new useCopilotReadable
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @copilotkit/react-core@0.25.0-multi-feature-usecopilotreadable.3
|
|
25
|
+
- @copilotkit/shared@0.9.0-multi-feature-usecopilotreadable.3
|
|
26
|
+
|
|
27
|
+
## 0.35.0-function-calling-fixes.2
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- fix backend function calling return values
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
- @copilotkit/react-core@0.25.0-function-calling-fixes.2
|
|
37
|
+
- @copilotkit/shared@0.9.0-function-calling-fixes.2
|
|
38
|
+
|
|
39
|
+
## 0.35.0-function-calling-fixes.1
|
|
40
|
+
|
|
41
|
+
### Minor Changes
|
|
42
|
+
|
|
43
|
+
- gpt-4-turbo-april-2024 function calling fixes
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
- @copilotkit/react-core@0.25.0-function-calling-fixes.1
|
|
49
|
+
- @copilotkit/shared@0.9.0-function-calling-fixes.1
|
|
50
|
+
|
|
51
|
+
## 0.35.0-alpha.0
|
|
52
|
+
|
|
53
|
+
### Minor Changes
|
|
54
|
+
|
|
55
|
+
- gpt-4-turbo-april-2024
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- Updated dependencies
|
|
60
|
+
- @copilotkit/shared@0.9.0-alpha.0
|
|
61
|
+
- @copilotkit/react-core@0.25.0-alpha.0
|
|
14
62
|
|
|
15
63
|
## 0.34.0
|
|
16
64
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HoveringInsertionPromptBoxCore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Y5LVLSUK.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-
|
|
31
|
+
//# sourceMappingURL=chunk-3B3LGEDJ.mjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HoveringInsertionPromptBox
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3B3LGEDJ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useHoveringEditorContext
|
|
6
6
|
} from "./chunk-LYB4B6MK.mjs";
|
|
@@ -121,4 +121,4 @@ function editorState(editor, selection) {
|
|
|
121
121
|
export {
|
|
122
122
|
HoveringToolbar
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=chunk-
|
|
124
|
+
//# sourceMappingURL=chunk-FWZ23PN7.mjs.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
useMakeStandardInsertionOrEditingFunction
|
|
6
6
|
} from "./chunk-QCPS6IYI.mjs";
|
|
7
|
+
import {
|
|
8
|
+
BaseCopilotTextarea
|
|
9
|
+
} from "./chunk-QFG55HEW.mjs";
|
|
7
10
|
import {
|
|
8
11
|
defaultAutosuggestionsConfig
|
|
9
12
|
} from "./chunk-DKE57EAC.mjs";
|
|
10
|
-
import {
|
|
11
|
-
BaseCopilotTextarea
|
|
12
|
-
} from "./chunk-22TYLEZZ.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-
|
|
60
|
+
//# sourceMappingURL=chunk-HXEH4QQL.mjs.map
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useCopilotTextareaEditor
|
|
3
|
-
} from "./chunk-DRV2FOHZ.mjs";
|
|
4
|
-
import {
|
|
5
|
-
usePopulateCopilotTextareaRef
|
|
6
|
-
} from "./chunk-VPEH6V7T.mjs";
|
|
7
1
|
import {
|
|
8
2
|
addAutocompletionsToEditor
|
|
9
3
|
} from "./chunk-2C7O2EVM.mjs";
|
|
10
4
|
import {
|
|
11
5
|
clearAutocompletionsFromEditor
|
|
12
6
|
} from "./chunk-GQN2HYFJ.mjs";
|
|
13
|
-
import {
|
|
14
|
-
replaceEditorText
|
|
15
|
-
} from "./chunk-5UNJXFUO.mjs";
|
|
16
|
-
import {
|
|
17
|
-
useAutosuggestions
|
|
18
|
-
} from "./chunk-QKS2IOUH.mjs";
|
|
19
|
-
import {
|
|
20
|
-
TrackerTextEditedSinceLastCursorMovement
|
|
21
|
-
} from "./chunk-LQ2OWQU7.mjs";
|
|
22
7
|
import {
|
|
23
8
|
useAddBrandingCss
|
|
24
9
|
} from "./chunk-7LSRNPNI.mjs";
|
|
25
10
|
import {
|
|
26
11
|
HoveringToolbar
|
|
27
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FWZ23PN7.mjs";
|
|
28
13
|
import {
|
|
29
14
|
HoveringEditorProvider,
|
|
30
15
|
useHoveringEditorContext
|
|
31
16
|
} from "./chunk-LYB4B6MK.mjs";
|
|
32
|
-
import {
|
|
33
|
-
defaultBaseAutosuggestionsConfig
|
|
34
|
-
} from "./chunk-LCDTIJSD.mjs";
|
|
35
17
|
import {
|
|
36
18
|
makeRenderElementFunction
|
|
37
19
|
} from "./chunk-224UKA7C.mjs";
|
|
38
20
|
import {
|
|
39
21
|
makeRenderPlaceholderFunction
|
|
40
22
|
} from "./chunk-XW3ICO4S.mjs";
|
|
23
|
+
import {
|
|
24
|
+
TrackerTextEditedSinceLastCursorMovement
|
|
25
|
+
} from "./chunk-LQ2OWQU7.mjs";
|
|
26
|
+
import {
|
|
27
|
+
defaultBaseAutosuggestionsConfig
|
|
28
|
+
} from "./chunk-LCDTIJSD.mjs";
|
|
29
|
+
import {
|
|
30
|
+
useAutosuggestions
|
|
31
|
+
} from "./chunk-QKS2IOUH.mjs";
|
|
32
|
+
import {
|
|
33
|
+
useCopilotTextareaEditor
|
|
34
|
+
} from "./chunk-DRV2FOHZ.mjs";
|
|
35
|
+
import {
|
|
36
|
+
usePopulateCopilotTextareaRef
|
|
37
|
+
} from "./chunk-VPEH6V7T.mjs";
|
|
38
|
+
import {
|
|
39
|
+
replaceEditorText
|
|
40
|
+
} from "./chunk-5UNJXFUO.mjs";
|
|
41
41
|
import {
|
|
42
42
|
getFullEditorTextWithNewlines,
|
|
43
43
|
getTextAroundCollapsedCursor
|
|
@@ -256,4 +256,4 @@ function makeSemiFakeReactTextAreaEvent(currentText) {
|
|
|
256
256
|
export {
|
|
257
257
|
BaseCopilotTextarea
|
|
258
258
|
};
|
|
259
|
-
//# sourceMappingURL=chunk-
|
|
259
|
+
//# sourceMappingURL=chunk-QFG55HEW.mjs.map
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IncludedFilesPreview
|
|
3
3
|
} from "./chunk-YNXNMCDX.mjs";
|
|
4
|
-
import {
|
|
5
|
-
use_autosize_textarea_default
|
|
6
|
-
} from "./chunk-3PQ7GSFE.mjs";
|
|
7
|
-
import {
|
|
8
|
-
Button
|
|
9
|
-
} from "./chunk-WFTAAA7R.mjs";
|
|
10
4
|
import {
|
|
11
5
|
Label
|
|
12
6
|
} from "./chunk-YFK5BFEI.mjs";
|
|
@@ -16,6 +10,12 @@ import {
|
|
|
16
10
|
import {
|
|
17
11
|
SourceSearchBox
|
|
18
12
|
} from "./chunk-4OZR65UB.mjs";
|
|
13
|
+
import {
|
|
14
|
+
Button
|
|
15
|
+
} from "./chunk-WFTAAA7R.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";
|
|
@@ -222,4 +222,4 @@ var HoveringInsertionPromptBoxCore = ({
|
|
|
222
222
|
export {
|
|
223
223
|
HoveringInsertionPromptBoxCore
|
|
224
224
|
};
|
|
225
|
-
//# sourceMappingURL=chunk-
|
|
225
|
+
//# sourceMappingURL=chunk-Y5LVLSUK.mjs.map
|