@copilotkit/react-textarea 0.20.0 → 0.21.0-alpha.1
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 +304 -319
- package/CHANGELOG.md +22 -0
- package/dist/chunk-2NURR2DX.mjs +16 -8
- package/dist/chunk-2NURR2DX.mjs.map +1 -1
- package/dist/chunk-34D4UIYX.mjs +58 -22
- package/dist/chunk-34D4UIYX.mjs.map +1 -1
- package/dist/chunk-463BFNUP.mjs +16 -5
- package/dist/chunk-463BFNUP.mjs.map +1 -1
- package/dist/chunk-4S5ZJH3I.mjs +3 -2
- package/dist/chunk-4S5ZJH3I.mjs.map +1 -1
- package/dist/chunk-5EJ5XOGP.mjs +16 -8
- package/dist/chunk-5EJ5XOGP.mjs.map +1 -1
- package/dist/chunk-5FO6ISW4.mjs +0 -2
- package/dist/chunk-5FO6ISW4.mjs.map +1 -1
- package/dist/chunk-7JO276KU.mjs +8 -4
- package/dist/chunk-7JO276KU.mjs.map +1 -1
- package/dist/chunk-AXN37AHC.mjs +5 -2
- package/dist/chunk-AXN37AHC.mjs.map +1 -1
- package/dist/chunk-CSGFJU3L.mjs +11 -6
- package/dist/chunk-CSGFJU3L.mjs.map +1 -1
- package/dist/chunk-DE5K76I2.mjs +0 -2
- package/dist/chunk-DE5K76I2.mjs.map +1 -1
- package/dist/{chunk-PPWNZF3T.mjs → chunk-DYGPLRY3.mjs} +16 -8
- package/dist/chunk-DYGPLRY3.mjs.map +1 -0
- package/dist/chunk-F2TIBXML.mjs +19 -7
- package/dist/chunk-F2TIBXML.mjs.map +1 -1
- package/dist/chunk-F3MHL6ZY.mjs +4 -4
- package/dist/chunk-F3MHL6ZY.mjs.map +1 -1
- package/dist/chunk-F4WZCQG6.mjs +34 -12
- package/dist/chunk-F4WZCQG6.mjs.map +1 -1
- package/dist/chunk-GCMQHIRF.mjs +6 -3
- package/dist/chunk-GCMQHIRF.mjs.map +1 -1
- package/dist/chunk-H4VKQGVU.mjs +0 -2
- package/dist/chunk-H4VKQGVU.mjs.map +1 -1
- package/dist/{chunk-OM3Z4S4Y.mjs → chunk-IPM5WWPW.mjs} +32 -13
- package/dist/chunk-IPM5WWPW.mjs.map +1 -0
- package/dist/chunk-IU3WTXLQ.mjs +0 -2
- package/dist/chunk-IU3WTXLQ.mjs.map +1 -1
- package/dist/chunk-IXJ2HCOA.mjs +14 -4
- package/dist/chunk-IXJ2HCOA.mjs.map +1 -1
- package/dist/chunk-JAFCXEPU.mjs +6 -3
- package/dist/chunk-JAFCXEPU.mjs.map +1 -1
- package/dist/chunk-JHTAOLEW.mjs +5 -2
- package/dist/chunk-JHTAOLEW.mjs.map +1 -1
- package/dist/chunk-KCHYD3EB.mjs +6 -5
- package/dist/chunk-KCHYD3EB.mjs.map +1 -1
- package/dist/chunk-KGKLUWKW.mjs +15 -6
- package/dist/chunk-KGKLUWKW.mjs.map +1 -1
- package/dist/chunk-L7VVZH4Q.mjs +0 -2
- package/dist/chunk-L7VVZH4Q.mjs.map +1 -1
- package/dist/chunk-LNAIMEB2.mjs +9 -4
- package/dist/chunk-LNAIMEB2.mjs.map +1 -1
- package/dist/chunk-LRXRD5KU.mjs +23 -11
- package/dist/chunk-LRXRD5KU.mjs.map +1 -1
- package/dist/chunk-MMVDU6DF.mjs +0 -2
- package/dist/chunk-MMVDU6DF.mjs.map +1 -1
- package/dist/chunk-MPME5BW2.mjs +4 -4
- package/dist/chunk-MPME5BW2.mjs.map +1 -1
- package/dist/chunk-MRXNTQOX.mjs +6 -2
- package/dist/chunk-MRXNTQOX.mjs.map +1 -1
- package/dist/chunk-ND5PXTAW.mjs +4 -4
- package/dist/chunk-ND5PXTAW.mjs.map +1 -1
- package/dist/chunk-NKW5OU2S.mjs +6 -3
- package/dist/chunk-NKW5OU2S.mjs.map +1 -1
- package/dist/chunk-O5OWT5GE.mjs +23 -8
- package/dist/chunk-O5OWT5GE.mjs.map +1 -1
- package/dist/chunk-OD7ZMOVE.mjs +11 -7
- package/dist/chunk-OD7ZMOVE.mjs.map +1 -1
- package/dist/chunk-OELUUJZY.mjs +10 -4
- package/dist/chunk-OELUUJZY.mjs.map +1 -1
- package/dist/{chunk-KIRROE2K.mjs → chunk-QJDMIGLU.mjs} +15 -6
- package/dist/chunk-QJDMIGLU.mjs.map +1 -0
- package/dist/chunk-RQHOUUXQ.mjs +4 -4
- package/dist/chunk-RQHOUUXQ.mjs.map +1 -1
- package/dist/chunk-RR6OQGTI.mjs +5 -2
- package/dist/chunk-RR6OQGTI.mjs.map +1 -1
- package/dist/chunk-S6JUGJK2.mjs +3 -2
- package/dist/chunk-S6JUGJK2.mjs.map +1 -1
- package/dist/chunk-TIBMW3DC.mjs +11 -6
- package/dist/chunk-TIBMW3DC.mjs.map +1 -1
- package/dist/chunk-UHD44NC5.mjs +17 -7
- package/dist/chunk-UHD44NC5.mjs.map +1 -1
- package/dist/chunk-WADHCMPK.mjs +0 -2
- package/dist/chunk-WADHCMPK.mjs.map +1 -1
- package/dist/chunk-WJHSY5T6.mjs +0 -2
- package/dist/chunk-WJHSY5T6.mjs.map +1 -1
- package/dist/chunk-WJYQWL4I.mjs +4 -4
- package/dist/chunk-WJYQWL4I.mjs.map +1 -1
- package/dist/chunk-WLPYYGES.mjs +42 -22
- package/dist/chunk-WLPYYGES.mjs.map +1 -1
- package/dist/{chunk-IBSJOQI7.mjs → chunk-WPIA53HF.mjs} +16 -8
- package/dist/chunk-WPIA53HF.mjs.map +1 -0
- package/dist/chunk-XHUMROEY.mjs +17 -7
- package/dist/chunk-XHUMROEY.mjs.map +1 -1
- package/dist/chunk-YQU7WG7T.mjs +12 -6
- package/dist/chunk-YQU7WG7T.mjs.map +1 -1
- package/dist/chunk-YTOPHPSG.mjs +4 -4
- package/dist/chunk-YTOPHPSG.mjs.map +1 -1
- package/dist/chunk-YW3REYX6.mjs +6 -5
- package/dist/chunk-YW3REYX6.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs +39 -35
- package/dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/render-element.mjs +7 -3
- package/dist/components/base-copilot-textarea/render-element.mjs.map +1 -1
- package/dist/components/base-copilot-textarea/render-placeholder.mjs +7 -3
- 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 +8 -4
- 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 +7 -3
- package/dist/components/base-copilot-textarea/use-add-branding-css.mjs.map +1 -1
- package/dist/components/copilot-textarea/copilot-textarea.mjs +51 -47
- package/dist/components/copilot-textarea/copilot-textarea.mjs.map +1 -1
- package/dist/components/hovering-toolbar/hovering-editor-provider.mjs +9 -3
- package/dist/components/hovering-toolbar/hovering-editor-provider.mjs.map +1 -1
- package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs +15 -3
- package/dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map +1 -1
- package/dist/components/hovering-toolbar/hovering-toolbar.mjs +22 -18
- 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 +16 -12
- 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 +17 -13
- 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 +11 -5
- 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 +18 -14
- package/dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map +1 -1
- package/dist/components/index.mjs +55 -48
- package/dist/components/index.mjs.map +1 -1
- package/dist/components/manual-ui/chip-with-icon.mjs +6 -5
- package/dist/components/manual-ui/chip-with-icon.mjs.map +1 -1
- package/dist/components/source-search-box/source-search-box.mjs +12 -6
- package/dist/components/source-search-box/source-search-box.mjs.map +1 -1
- package/dist/components/ui/button.mjs +10 -4
- package/dist/components/ui/button.mjs.map +1 -1
- package/dist/components/ui/card.mjs +18 -7
- package/dist/components/ui/card.mjs.map +1 -1
- package/dist/components/ui/command.mjs +25 -5
- package/dist/components/ui/command.mjs.map +1 -1
- package/dist/components/ui/dialog.mjs +20 -4
- package/dist/components/ui/dialog.mjs.map +1 -1
- package/dist/components/ui/label.mjs +8 -4
- package/dist/components/ui/label.mjs.map +1 -1
- package/dist/components/ui/separator.mjs +15 -8
- package/dist/components/ui/separator.mjs.map +1 -1
- package/dist/components/ui/textarea.mjs +13 -7
- package/dist/components/ui/textarea.mjs.map +1 -1
- package/dist/context/index.mjs +1 -2
- package/dist/context/index.mjs.map +1 -1
- package/dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs +10 -6
- 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 +8 -4
- 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 +9 -5
- package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map +1 -1
- package/dist/hooks/index.mjs +1 -2
- package/dist/hooks/index.mjs.map +1 -1
- package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs +18 -14
- 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 +18 -14
- package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map +1 -1
- package/dist/hooks/misc/use-autosize-textarea.mjs +7 -3
- package/dist/hooks/misc/use-autosize-textarea.mjs.map +1 -1
- package/dist/index.mjs +66 -50
- package/dist/index.mjs.map +1 -1
- package/dist/lib/debouncer.mjs +7 -3
- package/dist/lib/debouncer.mjs.map +1 -1
- package/dist/lib/editor-to-text.mjs +7 -3
- package/dist/lib/editor-to-text.mjs.map +1 -1
- package/dist/lib/get-text-around-cursor.mjs +13 -3
- package/dist/lib/get-text-around-cursor.mjs.map +1 -1
- package/dist/lib/retry.mjs +7 -3
- package/dist/lib/retry.mjs.map +1 -1
- package/dist/lib/slatejs-edits/add-autocompletions.mjs +7 -3
- package/dist/lib/slatejs-edits/add-autocompletions.mjs.map +1 -1
- package/dist/lib/slatejs-edits/clear-autocompletions.mjs +7 -3
- package/dist/lib/slatejs-edits/clear-autocompletions.mjs.map +1 -1
- package/dist/lib/slatejs-edits/replace-text.mjs +7 -3
- package/dist/lib/slatejs-edits/replace-text.mjs.map +1 -1
- package/dist/lib/slatejs-edits/with-partial-history.mjs +9 -3
- package/dist/lib/slatejs-edits/with-partial-history.mjs.map +1 -1
- package/dist/lib/stream-promise-flatten.mjs +7 -3
- package/dist/lib/stream-promise-flatten.mjs.map +1 -1
- package/dist/lib/utils.mjs +17 -3
- package/dist/lib/utils.mjs.map +1 -1
- package/dist/lib/utils.test.mjs +0 -1
- package/dist/lib/utils.test.mjs.map +1 -1
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs +0 -2
- package/dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map +1 -1
- package/dist/types/autosuggestions-config/autosuggestions-config.mjs +12 -8
- package/dist/types/autosuggestions-config/autosuggestions-config.mjs.map +1 -1
- package/dist/types/autosuggestions-config/editing-api-config.mjs +11 -3
- package/dist/types/autosuggestions-config/editing-api-config.mjs.map +1 -1
- package/dist/types/autosuggestions-config/index.mjs +17 -10
- package/dist/types/autosuggestions-config/index.mjs.map +1 -1
- package/dist/types/autosuggestions-config/insertions-api-config.mjs +11 -3
- package/dist/types/autosuggestions-config/insertions-api-config.mjs.map +1 -1
- package/dist/types/autosuggestions-config/subtypes/chatlike-api-endpoint.mjs +7 -3
- package/dist/types/autosuggestions-config/subtypes/chatlike-api-endpoint.mjs.map +1 -1
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs +0 -2
- package/dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map +1 -1
- package/dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs +0 -2
- package/dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs.map +1 -1
- package/dist/types/autosuggestions-config/suggestions-api-config.mjs +11 -3
- package/dist/types/autosuggestions-config/suggestions-api-config.mjs.map +1 -1
- package/dist/types/base/autosuggestion-state.mjs +0 -2
- package/dist/types/base/autosuggestion-state.mjs.map +1 -1
- package/dist/types/base/autosuggestions-bare-function.mjs +0 -2
- package/dist/types/base/autosuggestions-bare-function.mjs.map +1 -1
- package/dist/types/base/base-autosuggestions-config.mjs +7 -3
- package/dist/types/base/base-autosuggestions-config.mjs.map +1 -1
- package/dist/types/base/base-copilot-textarea-props.mjs +0 -2
- package/dist/types/base/base-copilot-textarea-props.mjs.map +1 -1
- package/dist/types/base/custom-editor.mjs +0 -2
- package/dist/types/base/custom-editor.mjs.map +1 -1
- package/dist/types/base/editor-autocomplete-state.mjs +8 -4
- package/dist/types/base/editor-autocomplete-state.mjs.map +1 -1
- package/dist/types/base/index.mjs +8 -4
- package/dist/types/base/index.mjs.map +1 -1
- package/dist/types/html-copilot-textarea-element.mjs +1 -2
- package/dist/types/html-copilot-textarea-element.mjs.map +1 -1
- package/dist/types/index.mjs +22 -12
- package/dist/types/index.mjs.map +1 -1
- package/package.json +5 -7
- package/src/components/copilot-textarea/copilot-textarea.tsx +8 -2
- package/src/types/autosuggestions-config/subtypes/chatlike-api-endpoint.tsx +4 -0
- package/dist/chunk-IBSJOQI7.mjs.map +0 -1
- package/dist/chunk-KIRROE2K.mjs.map +0 -1
- package/dist/chunk-OM3Z4S4Y.mjs.map +0 -1
- package/dist/chunk-PPWNZF3T.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
Dialog,
|
|
3
|
+
DialogContent,
|
|
4
|
+
DialogDescription,
|
|
5
|
+
DialogFooter,
|
|
6
|
+
DialogHeader,
|
|
7
|
+
DialogTitle,
|
|
8
|
+
DialogTrigger
|
|
9
|
+
} from "../../chunk-O5OWT5GE.mjs";
|
|
10
|
+
import "../../chunk-KGKLUWKW.mjs";
|
|
11
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
12
|
+
export {
|
|
13
|
+
Dialog,
|
|
14
|
+
DialogContent,
|
|
15
|
+
DialogDescription,
|
|
16
|
+
DialogFooter,
|
|
17
|
+
DialogHeader,
|
|
18
|
+
DialogTitle,
|
|
19
|
+
DialogTrigger
|
|
20
|
+
};
|
|
5
21
|
//# sourceMappingURL=dialog.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
Label
|
|
3
|
+
} from "../../chunk-5EJ5XOGP.mjs";
|
|
4
|
+
import "../../chunk-KGKLUWKW.mjs";
|
|
5
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
6
|
+
export {
|
|
7
|
+
Label
|
|
8
|
+
};
|
|
5
9
|
//# sourceMappingURL=label.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "../../chunk-KGKLUWKW.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__objRest,
|
|
6
|
+
__spreadValues
|
|
7
|
+
} from "../../chunk-MRXNTQOX.mjs";
|
|
6
8
|
|
|
9
|
+
// src/components/ui/separator.tsx
|
|
10
|
+
import * as React from "react";
|
|
11
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
12
|
+
import { jsx } from "react/jsx-runtime";
|
|
13
|
+
"use client";
|
|
7
14
|
var Separator = React.forwardRef(
|
|
8
15
|
(_a, ref) => {
|
|
9
16
|
var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
|
|
@@ -20,7 +27,7 @@ var Separator = React.forwardRef(
|
|
|
20
27
|
}
|
|
21
28
|
);
|
|
22
29
|
Separator.displayName = SeparatorPrimitive.Root.displayName;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
30
|
+
export {
|
|
31
|
+
Separator
|
|
32
|
+
};
|
|
26
33
|
//# sourceMappingURL=separator.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ui/separator.tsx"],"
|
|
1
|
+
{"version":3,"sources":["../../../src/components/ui/separator.tsx"],"sourcesContent":["\"use client\";\n\nimport * as React from \"react\";\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\";\n\nimport { cn } from \"../../lib/utils\";\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(\n (\n { className, orientation = \"horizontal\", decorative = true, ...props },\n ref\n ) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n \"shrink-0 bg-border\",\n orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\n className\n )}\n {...props}\n />\n )\n);\nSeparator.displayName = SeparatorPrimitive.Root.displayName;\n\nexport { Separator };\n"],"mappings":";;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,wBAAwB;AAYhC;AAfJ;AAOA,IAAM,YAAkB;AAAA,EAItB,CACE,IACA,QACA;AAFA,iBAAE,aAAW,cAAc,cAAc,aAAa,KAZ1D,IAYI,IAA+D,kBAA/D,IAA+D,CAA7D,aAAW,eAA4B;AAGzC,+BAAoB,yBAAnB;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA,gBAAgB,eAAe,mBAAmB;AAAA,QAClD;AAAA,MACF;AAAA,OACI,MACN;AAAA;AAEJ;AACA,UAAU,cAAiC,wBAAK;","names":[]}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
cn
|
|
3
|
+
} from "../../chunk-KGKLUWKW.mjs";
|
|
4
|
+
import {
|
|
5
|
+
__objRest,
|
|
6
|
+
__spreadValues
|
|
7
|
+
} from "../../chunk-MRXNTQOX.mjs";
|
|
5
8
|
|
|
9
|
+
// src/components/ui/textarea.tsx
|
|
10
|
+
import * as React from "react";
|
|
11
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
12
|
var Textarea = React.forwardRef(
|
|
7
13
|
(_a, ref) => {
|
|
8
14
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
@@ -16,7 +22,7 @@ var Textarea = React.forwardRef(
|
|
|
16
22
|
}
|
|
17
23
|
);
|
|
18
24
|
Textarea.displayName = "Textarea";
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
export {
|
|
26
|
+
Textarea
|
|
27
|
+
};
|
|
22
28
|
//# sourceMappingURL=textarea.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/ui/textarea.tsx"],"
|
|
1
|
+
{"version":3,"sources":["../../../src/components/ui/textarea.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../../lib/utils\";\n\nexport interface TextareaProps\n extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {}\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50\",\n className\n )}\n ref={ref}\n {...props}\n />\n );\n }\n);\nTextarea.displayName = \"Textarea\";\n\nexport { Textarea };\n"],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AAUjB;AAHN,IAAM,WAAiB;AAAA,EACrB,CAAC,IAAyB,QAAQ;AAAjC,iBAAE,YARL,IAQG,IAAgB,kBAAhB,IAAgB,CAAd;AACD,WACE,oBAAC;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,MACA;AAAA,OACI,MACN;AAAA,EAEJ;AACF;AACA,SAAS,cAAc;","names":[]}
|
package/dist/context/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
1
|
+
import {
|
|
2
|
+
useAutosuggestions
|
|
3
|
+
} from "../../chunk-UHD44NC5.mjs";
|
|
4
|
+
import "../../chunk-JAFCXEPU.mjs";
|
|
5
|
+
import "../../chunk-KGKLUWKW.mjs";
|
|
6
|
+
import "../../chunk-NKW5OU2S.mjs";
|
|
7
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
8
|
+
export {
|
|
9
|
+
useAutosuggestions
|
|
10
|
+
};
|
|
7
11
|
//# sourceMappingURL=use-autosuggestions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import {
|
|
2
|
+
useCopilotTextareaEditor
|
|
3
|
+
} from "../../chunk-CSGFJU3L.mjs";
|
|
4
|
+
import "../../chunk-KCHYD3EB.mjs";
|
|
5
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
6
|
+
export {
|
|
7
|
+
useCopilotTextareaEditor
|
|
8
|
+
};
|
|
5
9
|
//# sourceMappingURL=use-copilot-textarea-editor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
|
|
1
|
+
import {
|
|
2
|
+
usePopulateCopilotTextareaRef
|
|
3
|
+
} from "../../chunk-YQU7WG7T.mjs";
|
|
4
|
+
import "../../chunk-RQHOUUXQ.mjs";
|
|
5
|
+
import "../../chunk-IXJ2HCOA.mjs";
|
|
6
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
7
|
+
export {
|
|
8
|
+
usePopulateCopilotTextareaRef
|
|
9
|
+
};
|
|
6
10
|
//# sourceMappingURL=use-populate-copilot-textarea-ref.mjs.map
|
package/dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/hooks/index.mjs
CHANGED
package/dist/hooks/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
1
|
+
import {
|
|
2
|
+
useMakeStandardAutosuggestionFunction
|
|
3
|
+
} from "../../chunk-DYGPLRY3.mjs";
|
|
4
|
+
import "../../chunk-DE5K76I2.mjs";
|
|
5
|
+
import "../../chunk-5FO6ISW4.mjs";
|
|
6
|
+
import "../../chunk-QJDMIGLU.mjs";
|
|
7
|
+
import "../../chunk-F2TIBXML.mjs";
|
|
8
|
+
import "../../chunk-AXN37AHC.mjs";
|
|
9
|
+
import "../../chunk-RR6OQGTI.mjs";
|
|
10
|
+
import "../../chunk-JHTAOLEW.mjs";
|
|
11
|
+
import "../../chunk-WADHCMPK.mjs";
|
|
12
|
+
import "../../chunk-WJHSY5T6.mjs";
|
|
13
|
+
import "../../chunk-S6JUGJK2.mjs";
|
|
14
|
+
import "../../chunk-4S5ZJH3I.mjs";
|
|
15
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
16
|
+
export {
|
|
17
|
+
useMakeStandardAutosuggestionFunction
|
|
18
|
+
};
|
|
15
19
|
//# sourceMappingURL=use-make-standard-autosuggestions-function.mjs.map
|
package/dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,15 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
|
|
1
|
+
import {
|
|
2
|
+
useMakeStandardInsertionOrEditingFunction
|
|
3
|
+
} from "../../chunk-WPIA53HF.mjs";
|
|
4
|
+
import "../../chunk-DE5K76I2.mjs";
|
|
5
|
+
import "../../chunk-5FO6ISW4.mjs";
|
|
6
|
+
import "../../chunk-QJDMIGLU.mjs";
|
|
7
|
+
import "../../chunk-F2TIBXML.mjs";
|
|
8
|
+
import "../../chunk-AXN37AHC.mjs";
|
|
9
|
+
import "../../chunk-RR6OQGTI.mjs";
|
|
10
|
+
import "../../chunk-JHTAOLEW.mjs";
|
|
11
|
+
import "../../chunk-WADHCMPK.mjs";
|
|
12
|
+
import "../../chunk-WJHSY5T6.mjs";
|
|
13
|
+
import "../../chunk-S6JUGJK2.mjs";
|
|
14
|
+
import "../../chunk-4S5ZJH3I.mjs";
|
|
15
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
16
|
+
export {
|
|
17
|
+
useMakeStandardInsertionOrEditingFunction
|
|
18
|
+
};
|
|
15
19
|
//# sourceMappingURL=use-make-standard-insertion-function.mjs.map
|
package/dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
use_autosize_textarea_default
|
|
3
|
+
} from "../../chunk-ND5PXTAW.mjs";
|
|
4
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
use_autosize_textarea_default as default
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=use-autosize-textarea.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/index.mjs
CHANGED
|
@@ -1,51 +1,67 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
import "./chunk-MMVDU6DF.mjs";
|
|
2
|
+
import {
|
|
3
|
+
CopilotTextarea
|
|
4
|
+
} from "./chunk-IPM5WWPW.mjs";
|
|
5
|
+
import "./chunk-DYGPLRY3.mjs";
|
|
6
|
+
import "./chunk-WPIA53HF.mjs";
|
|
7
|
+
import "./chunk-DE5K76I2.mjs";
|
|
8
|
+
import "./chunk-5FO6ISW4.mjs";
|
|
9
|
+
import {
|
|
10
|
+
ChatlikeApiEndpoint
|
|
11
|
+
} from "./chunk-QJDMIGLU.mjs";
|
|
12
|
+
import {
|
|
13
|
+
defaultAutosuggestionsConfig
|
|
14
|
+
} from "./chunk-F2TIBXML.mjs";
|
|
15
|
+
import "./chunk-AXN37AHC.mjs";
|
|
16
|
+
import "./chunk-RR6OQGTI.mjs";
|
|
17
|
+
import "./chunk-JHTAOLEW.mjs";
|
|
18
|
+
import "./chunk-WADHCMPK.mjs";
|
|
19
|
+
import {
|
|
20
|
+
BaseCopilotTextarea
|
|
21
|
+
} from "./chunk-34D4UIYX.mjs";
|
|
22
|
+
import "./chunk-CSGFJU3L.mjs";
|
|
23
|
+
import "./chunk-KCHYD3EB.mjs";
|
|
24
|
+
import "./chunk-YQU7WG7T.mjs";
|
|
25
|
+
import "./chunk-WJYQWL4I.mjs";
|
|
26
|
+
import "./chunk-F3MHL6ZY.mjs";
|
|
27
|
+
import "./chunk-RQHOUUXQ.mjs";
|
|
28
|
+
import "./chunk-UHD44NC5.mjs";
|
|
29
|
+
import "./chunk-JAFCXEPU.mjs";
|
|
30
|
+
import "./chunk-OD7ZMOVE.mjs";
|
|
31
|
+
import "./chunk-MPME5BW2.mjs";
|
|
32
|
+
import "./chunk-LRXRD5KU.mjs";
|
|
33
|
+
import "./chunk-L7VVZH4Q.mjs";
|
|
34
|
+
import "./chunk-7JO276KU.mjs";
|
|
35
|
+
import "./chunk-F4WZCQG6.mjs";
|
|
36
|
+
import "./chunk-TIBMW3DC.mjs";
|
|
37
|
+
import "./chunk-ND5PXTAW.mjs";
|
|
38
|
+
import "./chunk-2NURR2DX.mjs";
|
|
39
|
+
import "./chunk-5EJ5XOGP.mjs";
|
|
40
|
+
import "./chunk-YW3REYX6.mjs";
|
|
41
|
+
import "./chunk-XHUMROEY.mjs";
|
|
42
|
+
import "./chunk-463BFNUP.mjs";
|
|
43
|
+
import "./chunk-WLPYYGES.mjs";
|
|
44
|
+
import "./chunk-O5OWT5GE.mjs";
|
|
45
|
+
import "./chunk-GCMQHIRF.mjs";
|
|
46
|
+
import "./chunk-KGKLUWKW.mjs";
|
|
47
|
+
import "./chunk-WJHSY5T6.mjs";
|
|
48
|
+
import {
|
|
49
|
+
defaultBaseAutosuggestionsConfig
|
|
50
|
+
} from "./chunk-S6JUGJK2.mjs";
|
|
51
|
+
import "./chunk-LNAIMEB2.mjs";
|
|
52
|
+
import "./chunk-OELUUJZY.mjs";
|
|
53
|
+
import "./chunk-H4VKQGVU.mjs";
|
|
54
|
+
import "./chunk-IU3WTXLQ.mjs";
|
|
55
|
+
import "./chunk-NKW5OU2S.mjs";
|
|
56
|
+
import "./chunk-YTOPHPSG.mjs";
|
|
57
|
+
import "./chunk-IXJ2HCOA.mjs";
|
|
58
|
+
import "./chunk-4S5ZJH3I.mjs";
|
|
59
|
+
import "./chunk-MRXNTQOX.mjs";
|
|
60
|
+
export {
|
|
61
|
+
BaseCopilotTextarea,
|
|
62
|
+
ChatlikeApiEndpoint,
|
|
63
|
+
CopilotTextarea,
|
|
64
|
+
defaultAutosuggestionsConfig,
|
|
65
|
+
defaultBaseAutosuggestionsConfig
|
|
66
|
+
};
|
|
51
67
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/lib/debouncer.mjs
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
Debouncer
|
|
3
|
+
} from "../chunk-NKW5OU2S.mjs";
|
|
4
|
+
import "../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
Debouncer
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=debouncer.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
editorToText
|
|
3
|
+
} from "../chunk-YTOPHPSG.mjs";
|
|
4
|
+
import "../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
editorToText
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=editor-to-text.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
extractTextWithNewlines,
|
|
3
|
+
getFullEditorTextWithNewlines,
|
|
4
|
+
getTextAroundCollapsedCursor,
|
|
5
|
+
getTextAroundSelection
|
|
6
|
+
} from "../chunk-IXJ2HCOA.mjs";
|
|
7
|
+
import "../chunk-MRXNTQOX.mjs";
|
|
8
|
+
export {
|
|
9
|
+
extractTextWithNewlines,
|
|
10
|
+
getFullEditorTextWithNewlines,
|
|
11
|
+
getTextAroundCollapsedCursor,
|
|
12
|
+
getTextAroundSelection
|
|
13
|
+
};
|
|
4
14
|
//# sourceMappingURL=get-text-around-cursor.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/lib/retry.mjs
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
retry
|
|
3
|
+
} from "../chunk-4S5ZJH3I.mjs";
|
|
4
|
+
import "../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
retry
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=retry.mjs.map
|
package/dist/lib/retry.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
addAutocompletionsToEditor
|
|
3
|
+
} from "../../chunk-WJYQWL4I.mjs";
|
|
4
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
addAutocompletionsToEditor
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=add-autocompletions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
clearAutocompletionsFromEditor
|
|
3
|
+
} from "../../chunk-F3MHL6ZY.mjs";
|
|
4
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
clearAutocompletionsFromEditor
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=clear-autocompletions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
replaceEditorText
|
|
3
|
+
} from "../../chunk-RQHOUUXQ.mjs";
|
|
4
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
replaceEditorText
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=replace-text.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
defaultShouldSave,
|
|
3
|
+
withPartialHistory
|
|
4
|
+
} from "../../chunk-KCHYD3EB.mjs";
|
|
5
|
+
import "../../chunk-MRXNTQOX.mjs";
|
|
6
|
+
export {
|
|
7
|
+
defaultShouldSave,
|
|
8
|
+
withPartialHistory
|
|
9
|
+
};
|
|
4
10
|
//# sourceMappingURL=with-partial-history.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import {
|
|
2
|
+
streamPromiseFlatten
|
|
3
|
+
} from "../chunk-GCMQHIRF.mjs";
|
|
4
|
+
import "../chunk-MRXNTQOX.mjs";
|
|
5
|
+
export {
|
|
6
|
+
streamPromiseFlatten
|
|
7
|
+
};
|
|
4
8
|
//# sourceMappingURL=stream-promise-flatten.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|