@copilotkit/react-textarea 1.0.1 → 1.0.3

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.
@@ -1,8 +1,8 @@
1
1
 
2
- > @copilotkit/react-textarea@1.0.1 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
2
+ > @copilotkit/react-textarea@1.0.3 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
3
3
  > tsup --clean
4
4
 
5
- CLI Building entry: src/index.tsx, src/components/index.ts, src/hooks/index.ts, src/context/index.ts, src/lib/debouncer.ts, src/lib/editor-to-text.ts, src/lib/get-text-around-cursor.ts, src/lib/retry.tsx, src/lib/stream-promise-flatten.ts, src/lib/utils.test.ts, src/lib/utils.ts, src/types/html-copilot-textarea-element.ts, src/types/index.ts, src/components/base-copilot-textarea/base-copilot-textarea.tsx, src/components/base-copilot-textarea/render-element.tsx, src/components/base-copilot-textarea/render-placeholder.tsx, src/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.tsx, src/components/base-copilot-textarea/use-add-branding-css.tsx, src/components/copilot-textarea/copilot-textarea.tsx, src/components/hovering-toolbar/hovering-editor-provider.tsx, src/components/hovering-toolbar/hovering-toolbar-components.tsx, src/components/hovering-toolbar/hovering-toolbar.tsx, src/components/manual-ui/chip-with-icon.tsx, src/components/source-search-box/source-search-box.tsx, src/components/ui/button.tsx, src/components/ui/command.tsx, src/components/ui/dialog.tsx, src/components/ui/label.tsx, src/hooks/base-copilot-textarea-implementation/use-autosuggestions.ts, src/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.tsx, src/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.ts, src/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.tsx, src/hooks/make-autosuggestions-function/use-make-standard-insertion-function.tsx, src/hooks/misc/use-autosize-textarea.tsx, src/lib/slatejs-edits/add-autocompletions.ts, src/lib/slatejs-edits/clear-autocompletions.ts, src/lib/slatejs-edits/replace-text.ts, src/lib/slatejs-edits/with-partial-history.ts, src/types/autosuggestions-config/autosuggestions-config-user-specified.tsx, src/types/autosuggestions-config/autosuggestions-config.tsx, src/types/autosuggestions-config/editing-api-config.tsx, src/types/autosuggestions-config/index.ts, src/types/autosuggestions-config/insertions-api-config.tsx, src/types/autosuggestions-config/suggestions-api-config.tsx, src/types/base/autosuggestion-state.ts, src/types/base/autosuggestions-bare-function.ts, src/types/base/base-autosuggestions-config.tsx, src/types/base/base-copilot-textarea-props.tsx, src/types/base/custom-editor.tsx, src/types/base/editor-autocomplete-state.ts, src/types/base/index.ts, src/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.tsx, src/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.tsx, src/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.tsx, src/components/hovering-toolbar/text-insertion-prompt-box/index.ts, src/types/autosuggestions-config/subtypes/make-system-prompt.ts
5
+ CLI Building entry: src/index.tsx, src/components/index.ts, src/context/index.ts, src/hooks/index.ts, src/lib/debouncer.ts, src/lib/editor-to-text.ts, src/lib/get-text-around-cursor.ts, src/lib/retry.tsx, src/lib/stream-promise-flatten.ts, src/lib/utils.test.ts, src/lib/utils.ts, src/types/html-copilot-textarea-element.ts, src/types/index.ts, src/components/base-copilot-textarea/base-copilot-textarea.tsx, src/components/base-copilot-textarea/render-element.tsx, src/components/base-copilot-textarea/render-placeholder.tsx, src/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.tsx, src/components/base-copilot-textarea/use-add-branding-css.tsx, src/components/copilot-textarea/copilot-textarea.tsx, src/components/hovering-toolbar/hovering-editor-provider.tsx, src/components/hovering-toolbar/hovering-toolbar-components.tsx, src/components/hovering-toolbar/hovering-toolbar.tsx, src/components/manual-ui/chip-with-icon.tsx, src/components/source-search-box/source-search-box.tsx, src/components/ui/button.tsx, src/components/ui/command.tsx, src/components/ui/dialog.tsx, src/components/ui/label.tsx, src/hooks/base-copilot-textarea-implementation/use-autosuggestions.ts, src/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.tsx, src/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.ts, src/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.tsx, src/hooks/make-autosuggestions-function/use-make-standard-insertion-function.tsx, src/hooks/misc/use-autosize-textarea.tsx, src/lib/slatejs-edits/add-autocompletions.ts, src/lib/slatejs-edits/clear-autocompletions.ts, src/lib/slatejs-edits/replace-text.ts, src/lib/slatejs-edits/with-partial-history.ts, src/types/autosuggestions-config/autosuggestions-config-user-specified.tsx, src/types/autosuggestions-config/autosuggestions-config.tsx, src/types/autosuggestions-config/editing-api-config.tsx, src/types/autosuggestions-config/index.ts, src/types/autosuggestions-config/insertions-api-config.tsx, src/types/autosuggestions-config/suggestions-api-config.tsx, src/types/base/autosuggestion-state.ts, src/types/base/autosuggestions-bare-function.ts, src/types/base/base-autosuggestions-config.tsx, src/types/base/base-copilot-textarea-props.tsx, src/types/base/custom-editor.tsx, src/types/base/editor-autocomplete-state.ts, src/types/base/index.ts, src/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.tsx, src/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.tsx, src/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.tsx, src/components/hovering-toolbar/text-insertion-prompt-box/index.ts, src/types/autosuggestions-config/subtypes/make-system-prompt.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v6.7.0
8
8
  CLI Using tsup config: /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea/tsup.config.ts
@@ -15,25 +15,12 @@
15
15
  warn - Update your configuration file to eliminate this warning.
16
16
  warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
17
17
  DTS Build start
18
- CJS dist/types/html-copilot-textarea-element.js 893.00 B
19
- CJS dist/components/hovering-toolbar/hovering-editor-provider.js 1.85 KB
20
- CJS dist/components/manual-ui/chip-with-icon.js 1.73 KB
21
- CJS dist/components/source-search-box/source-search-box.js 9.53 KB
22
- CJS dist/components/ui/button.js 4.82 KB
23
- CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js 6.57 KB
24
- CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js 6.04 KB
25
- CJS dist/hooks/misc/use-autosize-textarea.js 1.48 KB
26
- CJS dist/lib/slatejs-edits/add-autocompletions.js 1.63 KB
27
- CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js 949.00 B
28
- CJS dist/types/base/autosuggestion-state.js 862.00 B
29
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js 24.47 KB
30
- CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
31
18
  CJS dist/index.js 86.56 KB
32
19
  CJS dist/index.css 18.63 KB
33
20
  CJS dist/components/index.js 86.37 KB
34
21
  CJS dist/components/index.css 306.00 B
35
- CJS dist/hooks/index.js 797.00 B
36
22
  CJS dist/context/index.js 803.00 B
23
+ CJS dist/hooks/index.js 797.00 B
37
24
  CJS dist/lib/debouncer.js 2.38 KB
38
25
  CJS dist/lib/editor-to-text.js 2.35 KB
39
26
  CJS dist/lib/get-text-around-cursor.js 4.09 KB
@@ -41,6 +28,7 @@
41
28
  CJS dist/lib/stream-promise-flatten.js 2.26 KB
42
29
  CJS dist/lib/utils.test.js 182.00 B
43
30
  CJS dist/lib/utils.js 3.08 KB
31
+ CJS dist/types/html-copilot-textarea-element.js 893.00 B
44
32
  CJS dist/types/index.js 12.82 KB
45
33
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.js 64.34 KB
46
34
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css 322.00 B
@@ -50,50 +38,49 @@
50
38
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js 3.19 KB
51
39
  CJS dist/components/copilot-textarea/copilot-textarea.js 86.31 KB
52
40
  CJS dist/components/copilot-textarea/copilot-textarea.css 317.00 B
41
+ CJS dist/components/hovering-toolbar/hovering-editor-provider.js 1.85 KB
53
42
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js 5.55 KB
54
43
  CJS dist/components/hovering-toolbar/hovering-toolbar.js 33.64 KB
44
+ CJS dist/components/manual-ui/chip-with-icon.js 1.73 KB
45
+ CJS dist/components/source-search-box/source-search-box.js 9.53 KB
46
+ CJS dist/components/ui/button.js 4.82 KB
55
47
  CJS dist/components/ui/command.js 12.51 KB
56
48
  CJS dist/components/ui/dialog.js 7.83 KB
57
49
  CJS dist/components/ui/label.js 3.73 KB
50
+ CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js 6.57 KB
58
51
  CJS dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js 6.35 KB
59
52
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js 6.04 KB
53
+ CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js 6.04 KB
60
54
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js 9.55 KB
55
+ CJS dist/hooks/misc/use-autosize-textarea.js 1.48 KB
56
+ CJS dist/lib/slatejs-edits/add-autocompletions.js 1.63 KB
57
+ CJS dist/lib/slatejs-edits/clear-autocompletions.js 1.71 KB
58
+ CJS dist/lib/slatejs-edits/replace-text.js 1.61 KB
59
+ CJS dist/lib/slatejs-edits/with-partial-history.js 4.30 KB
60
+ CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js 949.00 B
61
61
  CJS dist/types/autosuggestions-config/autosuggestions-config.js 12.82 KB
62
62
  CJS dist/types/autosuggestions-config/editing-api-config.js 4.50 KB
63
63
  CJS dist/types/autosuggestions-config/index.js 12.79 KB
64
64
  CJS dist/types/autosuggestions-config/insertions-api-config.js 4.78 KB
65
65
  CJS dist/types/autosuggestions-config/suggestions-api-config.js 4.22 KB
66
+ CJS dist/types/base/autosuggestion-state.js 862.00 B
66
67
  CJS dist/types/base/autosuggestions-bare-function.js 898.00 B
67
68
  CJS dist/types/base/base-autosuggestions-config.js 2.13 KB
68
69
  CJS dist/types/base/base-copilot-textarea-props.js 891.00 B
69
70
  CJS dist/types/base/custom-editor.js 835.00 B
70
71
  CJS dist/types/base/editor-autocomplete-state.js 1.92 KB
71
72
  CJS dist/types/base/index.js 2.06 KB
73
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js 24.47 KB
72
74
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js 25.25 KB
73
75
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js 5.48 KB
74
76
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js 25.19 KB
75
- CJS dist/lib/slatejs-edits/with-partial-history.js 4.30 KB
76
- CJS dist/lib/slatejs-edits/replace-text.js 1.61 KB
77
- CJS dist/lib/slatejs-edits/clear-autocompletions.js 1.71 KB
78
- CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
79
- CJS dist/components/hovering-toolbar/hovering-editor-provider.js.map 1.40 KB
80
- CJS dist/components/manual-ui/chip-with-icon.js.map 969.00 B
81
- CJS dist/components/source-search-box/source-search-box.js.map 13.01 KB
82
- CJS dist/components/ui/button.js.map 4.34 KB
83
- CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js.map 10.88 KB
84
- CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map 6.86 KB
85
- CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
86
- CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
87
- CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
88
- CJS dist/types/base/autosuggestion-state.js.map 269.00 B
89
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map 36.34 KB
90
- CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
77
+ CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
91
78
  CJS dist/index.js.map 153.76 KB
92
79
  CJS dist/index.css.map 23.66 KB
93
80
  CJS dist/components/index.js.map 153.95 KB
94
81
  CJS dist/components/index.css.map 493.00 B
95
- CJS dist/hooks/index.js.map 137.00 B
96
82
  CJS dist/context/index.js.map 139.00 B
83
+ CJS dist/hooks/index.js.map 137.00 B
97
84
  CJS dist/lib/debouncer.js.map 1.68 KB
98
85
  CJS dist/lib/editor-to-text.js.map 2.86 KB
99
86
  CJS dist/lib/get-text-around-cursor.js.map 5.75 KB
@@ -101,8 +88,8 @@
101
88
  CJS dist/lib/stream-promise-flatten.js.map 1.45 KB
102
89
  CJS dist/lib/utils.test.js.map 352.00 B
103
90
  CJS dist/lib/utils.js.map 2.53 KB
91
+ CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
104
92
  CJS dist/types/index.js.map 20.46 KB
105
- CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 115.21 KB
106
93
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css.map 496.00 B
107
94
  CJS dist/components/base-copilot-textarea/render-element.js.map 1.75 KB
108
95
  CJS dist/components/base-copilot-textarea/render-placeholder.js.map 1020.00 B
@@ -110,43 +97,56 @@
110
97
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js.map 3.50 KB
111
98
  CJS dist/components/copilot-textarea/copilot-textarea.js.map 153.78 KB
112
99
  CJS dist/components/copilot-textarea/copilot-textarea.css.map 496.00 B
100
+ CJS dist/components/hovering-toolbar/hovering-editor-provider.js.map 1.40 KB
113
101
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js.map 3.75 KB
114
102
  CJS dist/components/hovering-toolbar/hovering-toolbar.js.map 53.49 KB
103
+ CJS dist/components/manual-ui/chip-with-icon.js.map 969.00 B
104
+ CJS dist/components/source-search-box/source-search-box.js.map 13.01 KB
105
+ CJS dist/components/ui/button.js.map 4.34 KB
115
106
  CJS dist/components/ui/command.js.map 14.31 KB
116
107
  CJS dist/components/ui/dialog.js.map 7.44 KB
117
108
  CJS dist/components/ui/label.js.map 2.85 KB
109
+ CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js.map 10.88 KB
118
110
  CJS dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js.map 9.92 KB
119
111
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js.map 10.48 KB
112
+ CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map 6.86 KB
120
113
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js.map 12.02 KB
114
+ CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
115
+ CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
116
+ CJS dist/lib/slatejs-edits/clear-autocompletions.js.map 1.14 KB
117
+ CJS dist/lib/slatejs-edits/replace-text.js.map 1.17 KB
118
+ CJS dist/lib/slatejs-edits/with-partial-history.js.map 6.16 KB
119
+ CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
121
120
  CJS dist/types/autosuggestions-config/autosuggestions-config.js.map 20.32 KB
122
121
  CJS dist/types/autosuggestions-config/editing-api-config.js.map 4.31 KB
123
122
  CJS dist/types/autosuggestions-config/index.js.map 20.89 KB
124
123
  CJS dist/types/autosuggestions-config/insertions-api-config.js.map 4.51 KB
125
124
  CJS dist/types/autosuggestions-config/suggestions-api-config.js.map 3.86 KB
125
+ CJS dist/types/base/autosuggestion-state.js.map 269.00 B
126
126
  CJS dist/types/base/autosuggestions-bare-function.js.map 1.01 KB
127
127
  CJS dist/types/base/base-autosuggestions-config.js.map 6.32 KB
128
128
  CJS dist/types/base/base-copilot-textarea-props.js.map 1.84 KB
129
129
  CJS dist/types/base/custom-editor.js.map 886.00 B
130
130
  CJS dist/types/base/editor-autocomplete-state.js.map 2.64 KB
131
131
  CJS dist/types/base/index.js.map 6.69 KB
132
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map 36.34 KB
132
133
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map 37.75 KB
133
134
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map 5.26 KB
134
135
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 37.98 KB
135
- CJS dist/lib/slatejs-edits/with-partial-history.js.map 6.16 KB
136
- CJS dist/lib/slatejs-edits/replace-text.js.map 1.17 KB
137
- CJS dist/lib/slatejs-edits/clear-autocompletions.js.map 1.14 KB
138
- CJS ⚡️ Build success in 1571ms
136
+ CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
137
+ CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 115.21 KB
138
+ CJS ⚡️ Build success in 1512ms
139
139
  ESM dist/index.mjs 1.76 KB
140
140
  ESM dist/components/index.mjs 1.52 KB
141
- ESM dist/hooks/index.mjs 66.00 B
142
141
  ESM dist/context/index.mjs 66.00 B
142
+ ESM dist/hooks/index.mjs 66.00 B
143
143
  ESM dist/lib/debouncer.mjs 147.00 B
144
144
  ESM dist/components/copilot-textarea/copilot-textarea.css 317.00 B
145
145
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.css 322.00 B
146
146
  ESM dist/chunk-DE5K76I2.mjs 43.00 B
147
147
  ESM dist/chunk-WADHCMPK.mjs 43.00 B
148
- ESM dist/chunk-WPV52EMI.mjs 1.88 KB
149
148
  ESM dist/chunk-MMVDU6DF.mjs 43.00 B
149
+ ESM dist/chunk-WPV52EMI.mjs 1.88 KB
150
150
  ESM dist/chunk-PAP4ZNRG.mjs 6.24 KB
151
151
  ESM dist/chunk-TTOZXUEA.mjs 3.10 KB
152
152
  ESM dist/chunk-RUV6NBIF.mjs 43.00 B
@@ -184,10 +184,10 @@
184
184
  ESM dist/chunk-OJXLHIYQ.mjs 1.02 KB
185
185
  ESM dist/chunk-224UKA7C.mjs 1.13 KB
186
186
  ESM dist/chunk-XW3ICO4S.mjs 688.00 B
187
- ESM dist/chunk-H4VKQGVU.mjs 43.00 B
188
187
  ESM dist/chunk-IU3WTXLQ.mjs 43.00 B
189
- ESM dist/lib/editor-to-text.mjs 158.00 B
188
+ ESM dist/chunk-H4VKQGVU.mjs 43.00 B
190
189
  ESM dist/chunk-DFTV4TST.mjs 931.00 B
190
+ ESM dist/lib/editor-to-text.mjs 158.00 B
191
191
  ESM dist/chunk-T6MTDQZ7.mjs 1.31 KB
192
192
  ESM dist/lib/get-text-around-cursor.mjs 370.00 B
193
193
  ESM dist/chunk-ECR45NSD.mjs 2.67 KB
@@ -196,12 +196,21 @@
196
196
  ESM dist/chunk-MRXNTQOX.mjs 1.89 KB
197
197
  ESM dist/index.css 18.63 KB
198
198
  ESM dist/components/index.css 306.00 B
199
- ESM dist/types/base/index.mjs 230.00 B
199
+ ESM dist/types/base/custom-editor.mjs 42.00 B
200
200
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs 606.00 B
201
+ ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs 47.00 B
202
+ ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs 279.00 B
203
+ ESM dist/hooks/misc/use-autosize-textarea.mjs 216.00 B
204
+ ESM dist/lib/slatejs-edits/add-autocompletions.mjs 197.00 B
205
+ ESM dist/components/ui/button.mjs 215.00 B
206
+ ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs 286.00 B
207
+ ESM dist/components/manual-ui/chip-with-icon.mjs 690.00 B
208
+ ESM dist/components/source-search-box/source-search-box.mjs 294.00 B
209
+ ESM dist/types/base/editor-autocomplete-state.mjs 238.00 B
210
+ ESM dist/types/base/index.mjs 230.00 B
201
211
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs 631.00 B
202
212
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs 308.00 B
203
213
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs 645.00 B
204
- ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs 47.00 B
205
214
  ESM dist/types/autosuggestions-config/editing-api-config.mjs 324.00 B
206
215
  ESM dist/types/autosuggestions-config/index.mjs 397.00 B
207
216
  ESM dist/types/autosuggestions-config/insertions-api-config.mjs 345.00 B
@@ -210,30 +219,23 @@
210
219
  ESM dist/types/base/autosuggestions-bare-function.mjs 58.00 B
211
220
  ESM dist/types/base/base-autosuggestions-config.mjs 217.00 B
212
221
  ESM dist/types/base/base-copilot-textarea-props.mjs 56.00 B
213
- ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs 279.00 B
214
- ESM dist/hooks/misc/use-autosize-textarea.mjs 216.00 B
215
- ESM dist/lib/slatejs-edits/add-autocompletions.mjs 197.00 B
216
222
  ESM dist/lib/slatejs-edits/clear-autocompletions.mjs 207.00 B
217
223
  ESM dist/lib/slatejs-edits/replace-text.mjs 172.00 B
218
224
  ESM dist/lib/slatejs-edits/with-partial-history.mjs 224.00 B
219
225
  ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs 66.00 B
220
226
  ESM dist/types/autosuggestions-config/autosuggestions-config.mjs 379.00 B
221
- ESM dist/components/ui/button.mjs 215.00 B
222
227
  ESM dist/components/ui/command.mjs 485.00 B
223
228
  ESM dist/components/ui/dialog.mjs 383.00 B
224
229
  ESM dist/components/ui/label.mjs 176.00 B
225
- ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs 286.00 B
226
230
  ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs 236.00 B
227
231
  ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs 287.00 B
228
232
  ESM dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs 277.00 B
229
233
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs 282.00 B
230
234
  ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs 180.00 B
231
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs 250.00 B
232
235
  ESM dist/components/copilot-textarea/copilot-textarea.mjs 1.57 KB
236
+ ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs 250.00 B
233
237
  ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs 239.00 B
234
238
  ESM dist/components/hovering-toolbar/hovering-toolbar.mjs 697.00 B
235
- ESM dist/components/manual-ui/chip-with-icon.mjs 690.00 B
236
- ESM dist/components/source-search-box/source-search-box.mjs 294.00 B
237
239
  ESM dist/lib/stream-promise-flatten.mjs 182.00 B
238
240
  ESM dist/lib/utils.test.mjs 168.00 B
239
241
  ESM dist/lib/utils.mjs 305.00 B
@@ -242,19 +244,17 @@
242
244
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs 1.27 KB
243
245
  ESM dist/components/base-copilot-textarea/render-element.mjs 190.00 B
244
246
  ESM dist/components/base-copilot-textarea/render-placeholder.mjs 202.00 B
245
- ESM dist/types/base/editor-autocomplete-state.mjs 238.00 B
246
- ESM dist/types/base/custom-editor.mjs 42.00 B
247
247
  ESM dist/index.mjs.map 71.00 B
248
248
  ESM dist/components/index.mjs.map 71.00 B
249
- ESM dist/hooks/index.mjs.map 71.00 B
250
249
  ESM dist/context/index.mjs.map 71.00 B
250
+ ESM dist/hooks/index.mjs.map 71.00 B
251
251
  ESM dist/lib/debouncer.mjs.map 71.00 B
252
252
  ESM dist/components/copilot-textarea/copilot-textarea.css.map 496.00 B
253
253
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.css.map 496.00 B
254
254
  ESM dist/chunk-DE5K76I2.mjs.map 71.00 B
255
255
  ESM dist/chunk-WADHCMPK.mjs.map 71.00 B
256
- ESM dist/chunk-WPV52EMI.mjs.map 6.65 KB
257
256
  ESM dist/chunk-MMVDU6DF.mjs.map 71.00 B
257
+ ESM dist/chunk-WPV52EMI.mjs.map 6.65 KB
258
258
  ESM dist/chunk-PAP4ZNRG.mjs.map 11.12 KB
259
259
  ESM dist/chunk-TTOZXUEA.mjs.map 5.97 KB
260
260
  ESM dist/chunk-RUV6NBIF.mjs.map 71.00 B
@@ -292,10 +292,10 @@
292
292
  ESM dist/chunk-OJXLHIYQ.mjs.map 6.28 KB
293
293
  ESM dist/chunk-224UKA7C.mjs.map 1.71 KB
294
294
  ESM dist/chunk-XW3ICO4S.mjs.map 947.00 B
295
- ESM dist/chunk-H4VKQGVU.mjs.map 71.00 B
296
295
  ESM dist/chunk-IU3WTXLQ.mjs.map 71.00 B
297
- ESM dist/lib/editor-to-text.mjs.map 71.00 B
296
+ ESM dist/chunk-H4VKQGVU.mjs.map 71.00 B
298
297
  ESM dist/chunk-DFTV4TST.mjs.map 1.62 KB
298
+ ESM dist/lib/editor-to-text.mjs.map 71.00 B
299
299
  ESM dist/chunk-T6MTDQZ7.mjs.map 2.82 KB
300
300
  ESM dist/lib/get-text-around-cursor.mjs.map 71.00 B
301
301
  ESM dist/chunk-ECR45NSD.mjs.map 5.71 KB
@@ -304,12 +304,21 @@
304
304
  ESM dist/chunk-MRXNTQOX.mjs.map 71.00 B
305
305
  ESM dist/index.css.map 23.66 KB
306
306
  ESM dist/components/index.css.map 493.00 B
307
- ESM dist/types/base/index.mjs.map 71.00 B
307
+ ESM dist/types/base/custom-editor.mjs.map 71.00 B
308
308
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs.map 71.00 B
309
+ ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map 71.00 B
310
+ ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map 71.00 B
311
+ ESM dist/hooks/misc/use-autosize-textarea.mjs.map 71.00 B
312
+ ESM dist/lib/slatejs-edits/add-autocompletions.mjs.map 71.00 B
313
+ ESM dist/components/ui/button.mjs.map 71.00 B
314
+ ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map 71.00 B
315
+ ESM dist/components/manual-ui/chip-with-icon.mjs.map 937.00 B
316
+ ESM dist/components/source-search-box/source-search-box.mjs.map 71.00 B
317
+ ESM dist/types/base/editor-autocomplete-state.mjs.map 71.00 B
318
+ ESM dist/types/base/index.mjs.map 71.00 B
309
319
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs.map 71.00 B
310
320
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map 71.00 B
311
321
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
312
- ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map 71.00 B
313
322
  ESM dist/types/autosuggestions-config/editing-api-config.mjs.map 71.00 B
314
323
  ESM dist/types/autosuggestions-config/index.mjs.map 71.00 B
315
324
  ESM dist/types/autosuggestions-config/insertions-api-config.mjs.map 71.00 B
@@ -318,42 +327,33 @@
318
327
  ESM dist/types/base/autosuggestions-bare-function.mjs.map 71.00 B
319
328
  ESM dist/types/base/base-autosuggestions-config.mjs.map 71.00 B
320
329
  ESM dist/types/base/base-copilot-textarea-props.mjs.map 71.00 B
321
- ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map 71.00 B
322
- ESM dist/hooks/misc/use-autosize-textarea.mjs.map 71.00 B
323
- ESM dist/lib/slatejs-edits/add-autocompletions.mjs.map 71.00 B
324
330
  ESM dist/lib/slatejs-edits/clear-autocompletions.mjs.map 71.00 B
325
331
  ESM dist/lib/slatejs-edits/replace-text.mjs.map 71.00 B
326
332
  ESM dist/lib/slatejs-edits/with-partial-history.mjs.map 71.00 B
327
333
  ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map 71.00 B
328
334
  ESM dist/types/autosuggestions-config/autosuggestions-config.mjs.map 71.00 B
329
- ESM dist/components/ui/button.mjs.map 71.00 B
330
335
  ESM dist/components/ui/command.mjs.map 71.00 B
331
336
  ESM dist/components/ui/dialog.mjs.map 71.00 B
332
337
  ESM dist/components/ui/label.mjs.map 71.00 B
333
- ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map 71.00 B
334
338
  ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map 71.00 B
335
339
  ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map 71.00 B
336
340
  ESM dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map 71.00 B
337
341
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map 71.00 B
338
342
  ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
339
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
340
343
  ESM dist/components/copilot-textarea/copilot-textarea.mjs.map 71.00 B
344
+ ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
341
345
  ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map 71.00 B
342
346
  ESM dist/components/hovering-toolbar/hovering-toolbar.mjs.map 71.00 B
343
- ESM dist/components/manual-ui/chip-with-icon.mjs.map 937.00 B
344
- ESM dist/components/source-search-box/source-search-box.mjs.map 71.00 B
345
347
  ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
346
348
  ESM dist/lib/utils.test.mjs.map 350.00 B
347
349
  ESM dist/lib/utils.mjs.map 71.00 B
348
350
  ESM dist/types/html-copilot-textarea-element.mjs.map 71.00 B
349
351
  ESM dist/types/index.mjs.map 71.00 B
350
352
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map 71.00 B
351
- ESM dist/components/base-copilot-textarea/render-element.mjs.map 71.00 B
352
353
  ESM dist/components/base-copilot-textarea/render-placeholder.mjs.map 71.00 B
353
- ESM dist/types/base/editor-autocomplete-state.mjs.map 71.00 B
354
- ESM dist/types/base/custom-editor.mjs.map 71.00 B
355
- ESM ⚡️ Build success in 1597ms
356
- DTS ⚡️ Build success in 19137ms
354
+ ESM dist/components/base-copilot-textarea/render-element.mjs.map 71.00 B
355
+ ESM ⚡️ Build success in 1532ms
356
+ DTS ⚡️ Build success in 19679ms
357
357
  DTS dist/index.d.ts 1.27 KB
358
358
  DTS dist/components/base-copilot-textarea/base-copilot-textarea.d.ts 1.62 KB
359
359
  DTS dist/components/copilot-textarea/copilot-textarea.d.ts 4.55 KB
@@ -368,8 +368,8 @@
368
368
  DTS dist/types/autosuggestions-config/insertions-api-config.d.ts 623.00 B
369
369
  DTS dist/types/autosuggestions-config/editing-api-config.d.ts 596.00 B
370
370
  DTS dist/components/index.d.ts 916.00 B
371
- DTS dist/hooks/index.d.ts 12.00 B
372
371
  DTS dist/context/index.d.ts 12.00 B
372
+ DTS dist/hooks/index.d.ts 12.00 B
373
373
  DTS dist/lib/debouncer.d.ts 372.00 B
374
374
  DTS dist/lib/editor-to-text.d.ts 243.00 B
375
375
  DTS dist/lib/get-text-around-cursor.d.ts 745.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # ui
2
2
 
3
+ ## 1.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Add README.md to published packages and add keywords to package.json
8
+ - Updated dependencies
9
+ - @copilotkit/react-core@1.0.3
10
+ - @copilotkit/runtime-client-gql@1.0.3
11
+ - @copilotkit/shared@1.0.3
12
+
13
+ ## 1.0.2
14
+
15
+ ### Patch Changes
16
+
17
+ - Add README.md and homepage/url to published packages
18
+ - Updated dependencies
19
+ - @copilotkit/react-core@1.0.2
20
+ - @copilotkit/runtime-client-gql@1.0.2
21
+ - @copilotkit/shared@1.0.2
22
+
3
23
  ## 1.0.1
4
24
 
5
25
  ### Patch Changes
package/README.md ADDED
@@ -0,0 +1,51 @@
1
+ <div align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://github.com/CopilotKit/CopilotKit/assets/746397/5890217b-524e-49c5-a89e-b8743d2acd51">
4
+ <img alt="CopilotKit Logo" src="https://github.com/CopilotKit/CopilotKit/assets/746397/bd5c9079-929b-4d55-bdc9-16d1c8181b71" width="450px" max-width="100%"/>
5
+ </picture>
6
+ </a>
7
+ </div>
8
+
9
+ <p align="center">
10
+ <a href="https://discord.gg/6dffbvGU3D">
11
+ <img src="https://dcbadge.vercel.app/api/server/6dffbvGU3D?compact=true&style=flat" alt="Discord">
12
+ </a>
13
+ <a href="https://github.com/CopilotKit/CopilotKit/actions/workflows/ci.yml">
14
+ <img src="https://github.com/CopilotKit/CopilotKit/actions/workflows/ci.yml/badge.svg" alt="GitHub CI">
15
+ </a>
16
+
17
+ <a href="https://www.npmjs.com/package/@copilotkit/react-core">
18
+ <img src="https://img.shields.io/npm/v/@copilotkit/react-core" alt="NPM">
19
+ <img src="https://img.shields.io/github/license/CopilotKit/CopilotKit" alt="MIT">
20
+
21
+ </p>
22
+
23
+ <h1 align="center">
24
+ The Open-Source Copilot Framework
25
+ </h1>
26
+
27
+ <h2 align="center">
28
+ Build, deploy, and operate fully custom AI Copilots.
29
+ </h2>
30
+
31
+ <h3 align="center">
32
+ in-app AI chatbots, AI agents, and AI Textareas.
33
+ </h3>
34
+
35
+ <p align="center">
36
+ <a href="https://discord.com/invite/6dffbvGU3D">
37
+ <img src="https://github.com/CopilotKit/CopilotKit/assets/131273140/bf8d96ea-3aeb-4c9a-9043-96a868b7ad0f" alt="Join our Discord" height="30">
38
+ </a>
39
+ &nbsp;&middot;&nbsp;
40
+ <a href="https://docs.copilotkit.ai/getting-started/quickstart-chatbot">
41
+ <img src="https://github.com/CopilotKit/CopilotKit/assets/131273140/a4a0fd04-6aee-4e02-9c3e-3f11d60b4e8b" alt="Read the Docs" height="30">
42
+ </a>
43
+ &nbsp;&middot;&nbsp;
44
+ <a href="https://go.copilotkit.ai/kM4Lo86">
45
+ <img src="https://github.com/CopilotKit/CopilotKit/assets/131273140/28ca62a8-cf93-4d3f-96b0-dc11bf89b734" alt="Try Copilot Cloud" height="30">
46
+ </a>
47
+ </p>
48
+
49
+ # Documentation
50
+
51
+ To get started with CopilotKit, please check out the [documentation](https://docs.copilotkit.ai).
package/dist/index.mjs CHANGED
@@ -48,8 +48,8 @@ import {
48
48
  } from "./chunk-OJXLHIYQ.mjs";
49
49
  import "./chunk-224UKA7C.mjs";
50
50
  import "./chunk-XW3ICO4S.mjs";
51
- import "./chunk-H4VKQGVU.mjs";
52
51
  import "./chunk-IU3WTXLQ.mjs";
52
+ import "./chunk-H4VKQGVU.mjs";
53
53
  import "./chunk-DFTV4TST.mjs";
54
54
  import "./chunk-T6MTDQZ7.mjs";
55
55
  import "./chunk-ECR45NSD.mjs";
package/package.json CHANGED
@@ -1,10 +1,15 @@
1
1
  {
2
2
  "name": "@copilotkit/react-textarea",
3
3
  "private": false,
4
+ "homepage": "https://github.com/CopilotKit/CopilotKit",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/CopilotKit/CopilotKit.git"
8
+ },
4
9
  "publishConfig": {
5
10
  "access": "public"
6
11
  },
7
- "version": "1.0.1",
12
+ "version": "1.0.3",
8
13
  "sideEffects": [
9
14
  "**/*.css"
10
15
  ],
@@ -63,10 +68,22 @@
63
68
  "slate-history": "^0.93.0",
64
69
  "slate-react": "^0.98.1",
65
70
  "tailwind-merge": "^1.13.2",
66
- "@copilotkit/react-core": "1.0.1",
67
- "@copilotkit/runtime-client-gql": "1.0.1",
68
- "@copilotkit/shared": "1.0.1"
71
+ "@copilotkit/react-core": "1.0.3",
72
+ "@copilotkit/runtime-client-gql": "1.0.3",
73
+ "@copilotkit/shared": "1.0.3"
69
74
  },
75
+ "keywords": [
76
+ "copilotkit",
77
+ "copilot",
78
+ "react",
79
+ "nextjs",
80
+ "nodejs",
81
+ "ai",
82
+ "assistant",
83
+ "javascript",
84
+ "automation",
85
+ "textarea"
86
+ ],
70
87
  "scripts": {
71
88
  "build": "tsup --clean",
72
89
  "dev": "tsup --watch --no-splitting",