@copilotkit/react-textarea 1.0.6 → 1.0.8-integrations-unify.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @copilotkit/react-textarea@1.0.6 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
2
+ > @copilotkit/react-textarea@1.0.8-integrations-unify.1 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
3
3
  > tsup --clean
4
4
 
5
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
@@ -16,177 +16,136 @@
16
16
  warn - https://tailwindcss.com/docs/upgrade-guide#configure-content-sources
17
17
  DTS Build start
18
18
  CJS dist/index.js 86.40 KB
19
+ CJS dist/index.css 18.63 KB
19
20
  CJS dist/components/index.js 86.21 KB
21
+ CJS dist/components/index.css 306.00 B
20
22
  CJS dist/context/index.js 803.00 B
21
23
  CJS dist/hooks/index.js 797.00 B
22
24
  CJS dist/lib/debouncer.js 2.38 KB
23
- CJS dist/types/html-copilot-textarea-element.js 893.00 B
24
- CJS dist/components/base-copilot-textarea/base-copilot-textarea.js 64.18 KB
25
- CJS dist/components/copilot-textarea/copilot-textarea.js 86.15 KB
26
- CJS dist/components/hovering-toolbar/hovering-editor-provider.js 1.85 KB
27
- CJS dist/components/manual-ui/chip-with-icon.js 1.73 KB
28
- CJS dist/components/source-search-box/source-search-box.js 9.37 KB
29
- CJS dist/components/ui/button.js 4.66 KB
30
- CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js 6.41 KB
31
- CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js 6.04 KB
32
- CJS dist/hooks/misc/use-autosize-textarea.js 1.48 KB
33
- CJS dist/lib/slatejs-edits/add-autocompletions.js 1.63 KB
34
- CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js 949.00 B
35
- CJS dist/types/base/autosuggestion-state.js 862.00 B
36
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js 24.31 KB
37
- CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
38
- CJS dist/index.css 18.63 KB
39
- CJS dist/components/index.css 306.00 B
40
25
  CJS dist/lib/editor-to-text.js 2.35 KB
41
26
  CJS dist/lib/get-text-around-cursor.js 4.09 KB
42
27
  CJS dist/lib/retry.js 1.43 KB
43
28
  CJS dist/lib/stream-promise-flatten.js 2.26 KB
44
29
  CJS dist/lib/utils.test.js 182.00 B
45
30
  CJS dist/lib/utils.js 2.89 KB
31
+ CJS dist/types/html-copilot-textarea-element.js 893.00 B
46
32
  CJS dist/types/index.js 12.82 KB
47
- CJS dist/components/base-copilot-textarea/render-element.js 2.94 KB
33
+ CJS dist/components/base-copilot-textarea/base-copilot-textarea.js 64.18 KB
48
34
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css 322.00 B
35
+ CJS dist/components/base-copilot-textarea/render-element.js 2.94 KB
49
36
  CJS dist/components/base-copilot-textarea/render-placeholder.js 2.84 KB
50
37
  CJS dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js 4.02 KB
51
38
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js 3.19 KB
39
+ CJS dist/components/copilot-textarea/copilot-textarea.js 86.15 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.48 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.37 KB
46
+ CJS dist/components/ui/button.js 4.66 KB
55
47
  CJS dist/components/ui/command.js 12.35 KB
56
48
  CJS dist/components/ui/dialog.js 7.67 KB
57
49
  CJS dist/components/ui/label.js 3.58 KB
50
+ CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js 6.41 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
61
57
  CJS dist/lib/slatejs-edits/clear-autocompletions.js 1.71 KB
62
58
  CJS dist/lib/slatejs-edits/replace-text.js 1.61 KB
63
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
64
61
  CJS dist/types/autosuggestions-config/autosuggestions-config.js 12.82 KB
65
62
  CJS dist/types/autosuggestions-config/editing-api-config.js 4.50 KB
66
63
  CJS dist/types/autosuggestions-config/index.js 12.79 KB
67
64
  CJS dist/types/autosuggestions-config/insertions-api-config.js 4.78 KB
68
65
  CJS dist/types/autosuggestions-config/suggestions-api-config.js 4.22 KB
66
+ CJS dist/types/base/autosuggestion-state.js 862.00 B
69
67
  CJS dist/types/base/autosuggestions-bare-function.js 898.00 B
70
68
  CJS dist/types/base/base-autosuggestions-config.js 2.13 KB
71
69
  CJS dist/types/base/base-copilot-textarea-props.js 891.00 B
72
70
  CJS dist/types/base/custom-editor.js 835.00 B
73
71
  CJS dist/types/base/editor-autocomplete-state.js 1.76 KB
74
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.31 KB
75
74
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js 25.09 KB
76
75
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js 5.33 KB
77
76
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js 25.03 KB
77
+ CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
78
78
  CJS dist/index.js.map 153.42 KB
79
+ CJS dist/index.css.map 23.66 KB
79
80
  CJS dist/components/index.js.map 153.62 KB
81
+ CJS dist/components/index.css.map 493.00 B
80
82
  CJS dist/context/index.js.map 139.00 B
81
- CJS dist/lib/debouncer.js.map 1.68 KB
82
83
  CJS dist/hooks/index.js.map 137.00 B
83
- CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
84
- CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 114.96 KB
85
- CJS dist/components/hovering-toolbar/hovering-editor-provider.js.map 1.40 KB
86
- CJS dist/components/manual-ui/chip-with-icon.js.map 969.00 B
87
- CJS dist/components/source-search-box/source-search-box.js.map 12.77 KB
88
- CJS dist/components/ui/button.js.map 4.09 KB
89
- CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js.map 10.64 KB
90
- CJS dist/components/copilot-textarea/copilot-textarea.js.map 153.45 KB
91
- CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map 6.86 KB
92
- CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
93
- CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
94
- CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
95
- CJS dist/types/base/autosuggestion-state.js.map 269.00 B
96
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map 36.09 KB
97
- CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
98
- CJS dist/index.css.map 23.66 KB
99
- CJS dist/components/index.css.map 493.00 B
84
+ CJS dist/lib/debouncer.js.map 1.68 KB
100
85
  CJS dist/lib/editor-to-text.js.map 2.86 KB
101
86
  CJS dist/lib/get-text-around-cursor.js.map 5.75 KB
102
87
  CJS dist/lib/retry.js.map 1018.00 B
103
88
  CJS dist/lib/stream-promise-flatten.js.map 1.45 KB
104
89
  CJS dist/lib/utils.test.js.map 352.00 B
105
90
  CJS dist/lib/utils.js.map 2.28 KB
91
+ CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
106
92
  CJS dist/types/index.js.map 20.35 KB
107
- CJS dist/components/base-copilot-textarea/render-element.js.map 1.75 KB
93
+ CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 114.96 KB
108
94
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css.map 496.00 B
95
+ CJS dist/components/base-copilot-textarea/render-element.js.map 1.75 KB
109
96
  CJS dist/components/base-copilot-textarea/render-placeholder.js.map 1020.00 B
110
97
  CJS dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js.map 5.80 KB
111
98
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js.map 3.50 KB
99
+ CJS dist/components/copilot-textarea/copilot-textarea.js.map 153.45 KB
112
100
  CJS dist/components/copilot-textarea/copilot-textarea.css.map 496.00 B
101
+ CJS dist/components/hovering-toolbar/hovering-editor-provider.js.map 1.40 KB
113
102
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js.map 3.75 KB
114
103
  CJS dist/components/hovering-toolbar/hovering-toolbar.js.map 53.25 KB
104
+ CJS dist/components/manual-ui/chip-with-icon.js.map 969.00 B
105
+ CJS dist/components/source-search-box/source-search-box.js.map 12.77 KB
106
+ CJS dist/components/ui/button.js.map 4.09 KB
115
107
  CJS dist/components/ui/command.js.map 14.07 KB
116
108
  CJS dist/components/ui/dialog.js.map 7.19 KB
117
109
  CJS dist/components/ui/label.js.map 2.61 KB
110
+ CJS dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.js.map 10.64 KB
118
111
  CJS dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js.map 9.92 KB
119
112
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js.map 10.48 KB
113
+ CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map 6.86 KB
120
114
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js.map 12.03 KB
115
+ CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
116
+ CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
121
117
  CJS dist/lib/slatejs-edits/clear-autocompletions.js.map 1.14 KB
122
118
  CJS dist/lib/slatejs-edits/replace-text.js.map 1.17 KB
123
119
  CJS dist/lib/slatejs-edits/with-partial-history.js.map 6.16 KB
120
+ CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
124
121
  CJS dist/types/autosuggestions-config/autosuggestions-config.js.map 20.21 KB
125
122
  CJS dist/types/autosuggestions-config/editing-api-config.js.map 4.27 KB
126
123
  CJS dist/types/autosuggestions-config/index.js.map 20.79 KB
127
124
  CJS dist/types/autosuggestions-config/insertions-api-config.js.map 4.47 KB
128
125
  CJS dist/types/autosuggestions-config/suggestions-api-config.js.map 3.82 KB
126
+ CJS dist/types/base/autosuggestion-state.js.map 269.00 B
129
127
  CJS dist/types/base/autosuggestions-bare-function.js.map 1.01 KB
130
128
  CJS dist/types/base/base-autosuggestions-config.js.map 6.32 KB
131
129
  CJS dist/types/base/base-copilot-textarea-props.js.map 1.84 KB
132
130
  CJS dist/types/base/custom-editor.js.map 886.00 B
133
131
  CJS dist/types/base/editor-autocomplete-state.js.map 2.40 KB
134
132
  CJS dist/types/base/index.js.map 6.69 KB
133
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map 36.09 KB
135
134
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map 37.51 KB
136
135
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map 5.02 KB
137
136
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 37.73 KB
138
- CJS ⚡️ Build success in 1713ms
139
- ESM dist/types/base/custom-editor.mjs 42.00 B
140
- ESM dist/types/base/editor-autocomplete-state.mjs 238.00 B
141
- ESM dist/types/base/index.mjs 230.00 B
142
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs 606.00 B
143
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs 631.00 B
144
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs 308.00 B
145
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs 645.00 B
146
- ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs 47.00 B
147
- ESM dist/types/autosuggestions-config/editing-api-config.mjs 324.00 B
148
- ESM dist/types/autosuggestions-config/index.mjs 397.00 B
149
- ESM dist/types/autosuggestions-config/insertions-api-config.mjs 345.00 B
150
- ESM dist/types/autosuggestions-config/suggestions-api-config.mjs 352.00 B
151
- ESM dist/types/base/autosuggestion-state.mjs 49.00 B
152
- ESM dist/types/base/autosuggestions-bare-function.mjs 58.00 B
153
- ESM dist/types/base/base-autosuggestions-config.mjs 217.00 B
154
- ESM dist/types/base/base-copilot-textarea-props.mjs 56.00 B
155
- ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs 279.00 B
156
- ESM dist/hooks/misc/use-autosize-textarea.mjs 216.00 B
157
- ESM dist/lib/slatejs-edits/add-autocompletions.mjs 197.00 B
158
- ESM dist/lib/slatejs-edits/clear-autocompletions.mjs 207.00 B
159
- ESM dist/lib/slatejs-edits/replace-text.mjs 172.00 B
160
- ESM dist/lib/slatejs-edits/with-partial-history.mjs 224.00 B
161
- ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs 66.00 B
162
- ESM dist/types/autosuggestions-config/autosuggestions-config.mjs 379.00 B
163
- ESM dist/components/ui/button.mjs 215.00 B
164
- ESM dist/components/ui/command.mjs 485.00 B
165
- ESM dist/components/ui/dialog.mjs 383.00 B
166
- ESM dist/components/ui/label.mjs 176.00 B
167
- ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs 286.00 B
168
- ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs 236.00 B
169
- ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs 287.00 B
170
- ESM dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs 277.00 B
171
- ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs 282.00 B
172
- ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs 180.00 B
173
- ESM dist/components/copilot-textarea/copilot-textarea.mjs 1.57 KB
174
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs 250.00 B
175
- ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs 239.00 B
176
- ESM dist/components/hovering-toolbar/hovering-toolbar.mjs 697.00 B
177
- ESM dist/components/manual-ui/chip-with-icon.mjs 690.00 B
178
- ESM dist/components/source-search-box/source-search-box.mjs 294.00 B
179
- ESM dist/lib/stream-promise-flatten.mjs 182.00 B
180
- ESM dist/lib/utils.test.mjs 168.00 B
181
- ESM dist/lib/utils.mjs 285.00 B
182
- ESM dist/types/index.mjs 517.00 B
183
- ESM dist/components/base-copilot-textarea/render-element.mjs 190.00 B
184
- ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs 1.27 KB
185
- ESM dist/components/base-copilot-textarea/render-placeholder.mjs 202.00 B
186
- ESM dist/types/html-copilot-textarea-element.mjs 90.00 B
187
- ESM dist/components/index.mjs 1.52 KB
137
+ CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
138
+ CJS ⚡️ Build success in 1599ms
188
139
  ESM dist/index.mjs 1.76 KB
140
+ ESM dist/components/index.mjs 1.52 KB
141
+ ESM dist/context/index.mjs 66.00 B
142
+ ESM dist/hooks/index.mjs 66.00 B
143
+ ESM dist/lib/debouncer.mjs 147.00 B
144
+ ESM dist/components/copilot-textarea/copilot-textarea.css 317.00 B
145
+ ESM dist/components/base-copilot-textarea/base-copilot-textarea.css 322.00 B
189
146
  ESM dist/chunk-DE5K76I2.mjs 43.00 B
147
+ ESM dist/chunk-WADHCMPK.mjs 43.00 B
148
+ ESM dist/chunk-MMVDU6DF.mjs 43.00 B
190
149
  ESM dist/chunk-WV7RRJEN.mjs 1.88 KB
191
150
  ESM dist/chunk-WDV7S66U.mjs 6.24 KB
192
151
  ESM dist/chunk-TTOZXUEA.mjs 3.10 KB
@@ -225,76 +184,76 @@
225
184
  ESM dist/chunk-OJXLHIYQ.mjs 1.02 KB
226
185
  ESM dist/chunk-224UKA7C.mjs 1.13 KB
227
186
  ESM dist/chunk-XW3ICO4S.mjs 688.00 B
228
- ESM dist/context/index.mjs 66.00 B
229
- ESM dist/hooks/index.mjs 66.00 B
230
187
  ESM dist/chunk-IU3WTXLQ.mjs 43.00 B
231
- ESM dist/lib/debouncer.mjs 147.00 B
232
188
  ESM dist/chunk-H4VKQGVU.mjs 43.00 B
233
189
  ESM dist/chunk-DFTV4TST.mjs 931.00 B
190
+ ESM dist/lib/editor-to-text.mjs 158.00 B
234
191
  ESM dist/chunk-T6MTDQZ7.mjs 1.31 KB
235
- ESM dist/chunk-WADHCMPK.mjs 43.00 B
192
+ ESM dist/lib/get-text-around-cursor.mjs 370.00 B
236
193
  ESM dist/chunk-ECR45NSD.mjs 2.67 KB
237
- ESM dist/chunk-MMVDU6DF.mjs 43.00 B
194
+ ESM dist/lib/retry.mjs 135.00 B
238
195
  ESM dist/chunk-KNQIEOFP.mjs 472.00 B
239
196
  ESM dist/chunk-MRXNTQOX.mjs 1.89 KB
240
- ESM dist/components/copilot-textarea/copilot-textarea.css 317.00 B
241
- ESM dist/components/base-copilot-textarea/base-copilot-textarea.css 322.00 B
242
197
  ESM dist/index.css 18.63 KB
243
198
  ESM dist/components/index.css 306.00 B
244
- ESM dist/lib/editor-to-text.mjs 158.00 B
245
- ESM dist/lib/get-text-around-cursor.mjs 370.00 B
246
- ESM dist/lib/retry.mjs 135.00 B
247
- ESM dist/types/base/custom-editor.mjs.map 71.00 B
248
- ESM dist/types/base/editor-autocomplete-state.mjs.map 71.00 B
249
- ESM dist/types/base/index.mjs.map 71.00 B
250
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs.map 71.00 B
251
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs.map 71.00 B
252
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map 71.00 B
253
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
254
- ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map 71.00 B
255
- ESM dist/types/autosuggestions-config/editing-api-config.mjs.map 71.00 B
256
- ESM dist/types/autosuggestions-config/index.mjs.map 71.00 B
257
- ESM dist/types/autosuggestions-config/insertions-api-config.mjs.map 71.00 B
258
- ESM dist/types/autosuggestions-config/suggestions-api-config.mjs.map 71.00 B
259
- ESM dist/types/base/autosuggestion-state.mjs.map 71.00 B
260
- ESM dist/types/base/autosuggestions-bare-function.mjs.map 71.00 B
261
- ESM dist/types/base/base-autosuggestions-config.mjs.map 71.00 B
262
- ESM dist/types/base/base-copilot-textarea-props.mjs.map 71.00 B
263
- ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map 71.00 B
264
- ESM dist/hooks/misc/use-autosize-textarea.mjs.map 71.00 B
265
- ESM dist/lib/slatejs-edits/add-autocompletions.mjs.map 71.00 B
266
- ESM dist/lib/slatejs-edits/clear-autocompletions.mjs.map 71.00 B
267
- ESM dist/lib/slatejs-edits/replace-text.mjs.map 71.00 B
268
- ESM dist/lib/slatejs-edits/with-partial-history.mjs.map 71.00 B
269
- ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map 71.00 B
270
- ESM dist/types/autosuggestions-config/autosuggestions-config.mjs.map 71.00 B
271
- ESM dist/components/ui/button.mjs.map 71.00 B
272
- ESM dist/components/ui/command.mjs.map 71.00 B
273
- ESM dist/components/ui/dialog.mjs.map 71.00 B
274
- ESM dist/components/ui/label.mjs.map 71.00 B
275
- ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map 71.00 B
276
- ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map 71.00 B
277
- ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map 71.00 B
278
- ESM dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map 71.00 B
279
- ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map 71.00 B
280
- ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
281
- ESM dist/components/copilot-textarea/copilot-textarea.mjs.map 71.00 B
282
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
283
- ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map 71.00 B
284
- ESM dist/components/hovering-toolbar/hovering-toolbar.mjs.map 71.00 B
285
- ESM dist/components/manual-ui/chip-with-icon.mjs.map 937.00 B
286
- ESM dist/components/source-search-box/source-search-box.mjs.map 71.00 B
287
- ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
288
- ESM dist/lib/utils.test.mjs.map 350.00 B
289
- ESM dist/lib/utils.mjs.map 71.00 B
290
- ESM dist/types/index.mjs.map 71.00 B
291
- ESM dist/components/base-copilot-textarea/render-element.mjs.map 71.00 B
292
- ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map 71.00 B
293
- ESM dist/components/base-copilot-textarea/render-placeholder.mjs.map 71.00 B
294
- ESM dist/types/html-copilot-textarea-element.mjs.map 71.00 B
295
- ESM dist/components/index.mjs.map 71.00 B
199
+ ESM dist/types/base/custom-editor.mjs 42.00 B
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
211
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs 631.00 B
212
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs 308.00 B
213
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs 645.00 B
214
+ ESM dist/types/autosuggestions-config/editing-api-config.mjs 324.00 B
215
+ ESM dist/types/autosuggestions-config/index.mjs 397.00 B
216
+ ESM dist/types/autosuggestions-config/insertions-api-config.mjs 345.00 B
217
+ ESM dist/types/autosuggestions-config/suggestions-api-config.mjs 352.00 B
218
+ ESM dist/types/base/autosuggestion-state.mjs 49.00 B
219
+ ESM dist/types/base/autosuggestions-bare-function.mjs 58.00 B
220
+ ESM dist/types/base/base-autosuggestions-config.mjs 217.00 B
221
+ ESM dist/types/base/base-copilot-textarea-props.mjs 56.00 B
222
+ ESM dist/lib/slatejs-edits/clear-autocompletions.mjs 207.00 B
223
+ ESM dist/lib/slatejs-edits/replace-text.mjs 172.00 B
224
+ ESM dist/lib/slatejs-edits/with-partial-history.mjs 224.00 B
225
+ ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs 66.00 B
226
+ ESM dist/types/autosuggestions-config/autosuggestions-config.mjs 379.00 B
227
+ ESM dist/components/ui/command.mjs 485.00 B
228
+ ESM dist/components/ui/dialog.mjs 383.00 B
229
+ ESM dist/components/ui/label.mjs 176.00 B
230
+ ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs 236.00 B
231
+ ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs 287.00 B
232
+ ESM dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs 277.00 B
233
+ ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs 282.00 B
234
+ ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs 180.00 B
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
237
+ ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs 239.00 B
238
+ ESM dist/components/hovering-toolbar/hovering-toolbar.mjs 697.00 B
239
+ ESM dist/lib/stream-promise-flatten.mjs 182.00 B
240
+ ESM dist/lib/utils.test.mjs 168.00 B
241
+ ESM dist/lib/utils.mjs 285.00 B
242
+ ESM dist/types/html-copilot-textarea-element.mjs 90.00 B
243
+ ESM dist/types/index.mjs 517.00 B
244
+ ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs 1.27 KB
245
+ ESM dist/components/base-copilot-textarea/render-element.mjs 190.00 B
246
+ ESM dist/components/base-copilot-textarea/render-placeholder.mjs 202.00 B
296
247
  ESM dist/index.mjs.map 71.00 B
248
+ ESM dist/components/index.mjs.map 71.00 B
249
+ ESM dist/context/index.mjs.map 71.00 B
250
+ ESM dist/hooks/index.mjs.map 71.00 B
251
+ ESM dist/lib/debouncer.mjs.map 71.00 B
252
+ ESM dist/components/copilot-textarea/copilot-textarea.css.map 496.00 B
253
+ ESM dist/components/base-copilot-textarea/base-copilot-textarea.css.map 496.00 B
297
254
  ESM dist/chunk-DE5K76I2.mjs.map 71.00 B
255
+ ESM dist/chunk-WADHCMPK.mjs.map 71.00 B
256
+ ESM dist/chunk-MMVDU6DF.mjs.map 71.00 B
298
257
  ESM dist/chunk-WV7RRJEN.mjs.map 6.65 KB
299
258
  ESM dist/chunk-WDV7S66U.mjs.map 11.13 KB
300
259
  ESM dist/chunk-TTOZXUEA.mjs.map 5.97 KB
@@ -333,27 +292,68 @@
333
292
  ESM dist/chunk-OJXLHIYQ.mjs.map 6.28 KB
334
293
  ESM dist/chunk-224UKA7C.mjs.map 1.71 KB
335
294
  ESM dist/chunk-XW3ICO4S.mjs.map 947.00 B
336
- ESM dist/context/index.mjs.map 71.00 B
337
- ESM dist/hooks/index.mjs.map 71.00 B
338
295
  ESM dist/chunk-IU3WTXLQ.mjs.map 71.00 B
339
- ESM dist/lib/debouncer.mjs.map 71.00 B
340
296
  ESM dist/chunk-H4VKQGVU.mjs.map 71.00 B
341
297
  ESM dist/chunk-DFTV4TST.mjs.map 1.62 KB
298
+ ESM dist/lib/editor-to-text.mjs.map 71.00 B
342
299
  ESM dist/chunk-T6MTDQZ7.mjs.map 2.82 KB
343
- ESM dist/chunk-WADHCMPK.mjs.map 71.00 B
300
+ ESM dist/lib/get-text-around-cursor.mjs.map 71.00 B
344
301
  ESM dist/chunk-ECR45NSD.mjs.map 5.71 KB
345
- ESM dist/chunk-MMVDU6DF.mjs.map 71.00 B
302
+ ESM dist/lib/retry.mjs.map 71.00 B
346
303
  ESM dist/chunk-KNQIEOFP.mjs.map 971.00 B
347
304
  ESM dist/chunk-MRXNTQOX.mjs.map 71.00 B
348
- ESM dist/components/copilot-textarea/copilot-textarea.css.map 496.00 B
349
- ESM dist/components/base-copilot-textarea/base-copilot-textarea.css.map 496.00 B
350
305
  ESM dist/index.css.map 23.66 KB
351
306
  ESM dist/components/index.css.map 493.00 B
352
- ESM dist/lib/editor-to-text.mjs.map 71.00 B
353
- ESM dist/lib/get-text-around-cursor.mjs.map 71.00 B
354
- ESM dist/lib/retry.mjs.map 71.00 B
355
- ESM ⚡️ Build success in 1758ms
356
- DTS ⚡️ Build success in 19607ms
307
+ ESM dist/types/base/custom-editor.mjs.map 71.00 B
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
319
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.mjs.map 71.00 B
320
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map 71.00 B
321
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
322
+ ESM dist/types/autosuggestions-config/editing-api-config.mjs.map 71.00 B
323
+ ESM dist/types/autosuggestions-config/index.mjs.map 71.00 B
324
+ ESM dist/types/autosuggestions-config/insertions-api-config.mjs.map 71.00 B
325
+ ESM dist/types/autosuggestions-config/suggestions-api-config.mjs.map 71.00 B
326
+ ESM dist/types/base/autosuggestion-state.mjs.map 71.00 B
327
+ ESM dist/types/base/autosuggestions-bare-function.mjs.map 71.00 B
328
+ ESM dist/types/base/base-autosuggestions-config.mjs.map 71.00 B
329
+ ESM dist/types/base/base-copilot-textarea-props.mjs.map 71.00 B
330
+ ESM dist/lib/slatejs-edits/clear-autocompletions.mjs.map 71.00 B
331
+ ESM dist/lib/slatejs-edits/replace-text.mjs.map 71.00 B
332
+ ESM dist/lib/slatejs-edits/with-partial-history.mjs.map 71.00 B
333
+ ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map 71.00 B
334
+ ESM dist/types/autosuggestions-config/autosuggestions-config.mjs.map 71.00 B
335
+ ESM dist/components/ui/command.mjs.map 71.00 B
336
+ ESM dist/components/ui/dialog.mjs.map 71.00 B
337
+ ESM dist/components/ui/label.mjs.map 71.00 B
338
+ ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map 71.00 B
339
+ ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map 71.00 B
340
+ ESM dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.mjs.map 71.00 B
341
+ ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map 71.00 B
342
+ ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
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
345
+ ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map 71.00 B
346
+ ESM dist/components/hovering-toolbar/hovering-toolbar.mjs.map 71.00 B
347
+ ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
348
+ ESM dist/lib/utils.test.mjs.map 350.00 B
349
+ ESM dist/lib/utils.mjs.map 71.00 B
350
+ ESM dist/types/html-copilot-textarea-element.mjs.map 71.00 B
351
+ ESM dist/types/index.mjs.map 71.00 B
352
+ ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map 71.00 B
353
+ ESM dist/components/base-copilot-textarea/render-placeholder.mjs.map 71.00 B
354
+ ESM dist/components/base-copilot-textarea/render-element.mjs.map 71.00 B
355
+ ESM ⚡️ Build success in 1621ms
356
+ DTS ⚡️ Build success in 20277ms
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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,35 @@
1
1
  # ui
2
2
 
3
+ ## 1.0.8-integrations-unify.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Unify adapter support
8
+ - Updated dependencies
9
+ - @copilotkit/runtime-client-gql@1.0.8-integrations-unify.1
10
+ - @copilotkit/react-core@1.0.8-integrations-unify.1
11
+ - @copilotkit/shared@1.0.8-integrations-unify.1
12
+
13
+ ## 1.0.8-integrations-unify.0
14
+
15
+ ### Patch Changes
16
+
17
+ - Unify adapter support
18
+ - Updated dependencies
19
+ - @copilotkit/react-core@1.0.8-integrations-unify.0
20
+ - @copilotkit/runtime-client-gql@1.0.8-integrations-unify.0
21
+ - @copilotkit/shared@1.0.8-integrations-unify.0
22
+
23
+ ## 1.0.7
24
+
25
+ ### Patch Changes
26
+
27
+ - Add \_copilotkit internal properties to runtime
28
+ - Updated dependencies
29
+ - @copilotkit/react-core@1.0.7
30
+ - @copilotkit/runtime-client-gql@1.0.7
31
+ - @copilotkit/shared@1.0.7
32
+
3
33
  ## 1.0.6
4
34
 
5
35
  ### Patch Changes
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "publishConfig": {
10
10
  "access": "public"
11
11
  },
12
- "version": "1.0.6",
12
+ "version": "1.0.8-integrations-unify.1",
13
13
  "sideEffects": [
14
14
  "**/*.css"
15
15
  ],
@@ -43,9 +43,9 @@
43
43
  "ts-jest": "^29.1.1",
44
44
  "tsup": "^6.7.0",
45
45
  "typescript": "^5.2.3",
46
- "eslint-config-custom": "1.0.2",
47
- "tailwind-config": "1.0.2",
48
- "tsconfig": "1.0.2"
46
+ "eslint-config-custom": "1.0.3-integrations-unify.1",
47
+ "tailwind-config": "1.0.3-integrations-unify.1",
48
+ "tsconfig": "1.0.3-integrations-unify.1"
49
49
  },
50
50
  "dependencies": {
51
51
  "@emotion/css": "^11.11.2",
@@ -67,9 +67,9 @@
67
67
  "slate-history": "^0.93.0",
68
68
  "slate-react": "^0.98.1",
69
69
  "tailwind-merge": "^1.13.2",
70
- "@copilotkit/react-core": "1.0.6",
71
- "@copilotkit/runtime-client-gql": "1.0.6",
72
- "@copilotkit/shared": "1.0.6"
70
+ "@copilotkit/react-core": "1.0.8-integrations-unify.1",
71
+ "@copilotkit/runtime-client-gql": "1.0.8-integrations-unify.1",
72
+ "@copilotkit/shared": "1.0.8-integrations-unify.1"
73
73
  },
74
74
  "keywords": [
75
75
  "copilotkit",