@copilotkit/react-textarea 0.33.0-mme-firebase-fixes.0 → 0.33.0

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@0.33.0-mme-firebase-fixes.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
2
+ > @copilotkit/react-textarea@0.33.0 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/card.tsx, src/components/ui/command.tsx, src/components/ui/dialog.tsx, src/components/ui/label.tsx, src/components/ui/separator.tsx, src/components/ui/textarea.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, src/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.tsx
@@ -135,6 +135,7 @@ Browserslist: caniuse-lite is outdated. Please run:
135
135
  ESM dist/lib/debouncer.mjs.map 71.00 B
136
136
  ESM dist/components/copilot-textarea/copilot-textarea.css.map 432.00 B
137
137
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.css.map 432.00 B
138
+ ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs 47.00 B
138
139
  ESM dist/chunk-DE5K76I2.mjs.map 71.00 B
139
140
  ESM dist/chunk-WADHCMPK.mjs.map 71.00 B
140
141
  ESM dist/chunk-MMVDU6DF.mjs.map 71.00 B
@@ -189,7 +190,6 @@ Browserslist: caniuse-lite is outdated. Please run:
189
190
  ESM dist/index.css.map 29.12 KB
190
191
  ESM dist/components/index.css.map 429.00 B
191
192
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map 71.00 B
192
- ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs 47.00 B
193
193
  ESM dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs 53.00 B
194
194
  ESM dist/types/base/autosuggestions-bare-function.mjs.map 71.00 B
195
195
  ESM dist/lib/slatejs-edits/with-partial-history.mjs.map 71.00 B
@@ -200,10 +200,7 @@ Browserslist: caniuse-lite is outdated. Please run:
200
200
  ESM dist/components/ui/button.mjs.map 71.00 B
201
201
  ESM dist/components/manual-ui/chip-with-icon.mjs.map 937.00 B
202
202
  ESM dist/components/source-search-box/source-search-box.mjs.map 71.00 B
203
- ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
204
203
  ESM dist/types/base/base-autosuggestions-config.mjs.map 71.00 B
205
- ESM dist/types/base/base-copilot-textarea-props.mjs.map 71.00 B
206
- ESM dist/types/base/custom-editor.mjs.map 71.00 B
207
204
  ESM dist/types/base/editor-autocomplete-state.mjs.map 71.00 B
208
205
  ESM dist/types/base/index.mjs.map 71.00 B
209
206
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.mjs.map 71.00 B
@@ -217,22 +214,22 @@ Browserslist: caniuse-lite is outdated. Please run:
217
214
  ESM dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.mjs.map 71.00 B
218
215
  ESM dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.mjs.map 71.00 B
219
216
  ESM dist/lib/slatejs-edits/add-autocompletions.mjs.map 71.00 B
217
+ ESM dist/types/base/custom-editor.mjs.map 71.00 B
220
218
  ESM dist/lib/slatejs-edits/clear-autocompletions.mjs.map 71.00 B
221
219
  ESM dist/lib/slatejs-edits/replace-text.mjs.map 71.00 B
222
- ESM dist/components/ui/card.mjs.map 3.08 KB
223
220
  ESM dist/components/ui/command.mjs.map 71.00 B
224
- ESM dist/components/ui/dialog.mjs.map 71.00 B
221
+ ESM dist/components/ui/card.mjs.map 3.08 KB
225
222
  ESM dist/components/ui/label.mjs.map 71.00 B
226
- ESM dist/components/ui/separator.mjs.map 1.20 KB
223
+ ESM dist/components/ui/dialog.mjs.map 71.00 B
227
224
  ESM dist/components/ui/textarea.mjs.map 1.11 KB
225
+ ESM dist/components/ui/separator.mjs.map 1.20 KB
228
226
  ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map 71.00 B
229
227
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map 71.00 B
230
- ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
231
228
  ESM dist/components/copilot-textarea/copilot-textarea.mjs.map 71.00 B
232
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
229
+ ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
233
230
  ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map 71.00 B
231
+ ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
234
232
  ESM dist/components/hovering-toolbar/hovering-toolbar.mjs.map 71.00 B
235
- ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
236
233
  ESM dist/lib/utils.test.mjs.map 350.00 B
237
234
  ESM dist/lib/utils.mjs.map 71.00 B
238
235
  ESM dist/types/html-copilot-textarea-element.mjs.map 71.00 B
@@ -240,17 +237,19 @@ Browserslist: caniuse-lite is outdated. Please run:
240
237
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map 71.00 B
241
238
  ESM dist/components/base-copilot-textarea/render-element.mjs.map 71.00 B
242
239
  ESM dist/components/base-copilot-textarea/render-placeholder.mjs.map 71.00 B
240
+ ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
241
+ ESM dist/types/base/base-copilot-textarea-props.mjs.map 71.00 B
242
+ ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
243
243
  ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map 71.00 B
244
244
  ESM dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs.map 71.00 B
245
- ESM ⚡️ Build success in 1763ms
246
- CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
245
+ ESM ⚡️ Build success in 2051ms
247
246
  CJS dist/index.js 79.47 KB
248
- CJS dist/index.css 18.82 KB
249
247
  CJS dist/components/index.js 79.28 KB
248
+ CJS dist/index.css 18.82 KB
250
249
  CJS dist/components/index.css 242.00 B
251
250
  CJS dist/context/index.js 803.00 B
252
- CJS dist/hooks/index.js 797.00 B
253
251
  CJS dist/lib/debouncer.js 2.38 KB
252
+ CJS dist/hooks/index.js 797.00 B
254
253
  CJS dist/lib/editor-to-text.js 2.35 KB
255
254
  CJS dist/lib/get-text-around-cursor.js 4.09 KB
256
255
  CJS dist/lib/retry.js 1.43 KB
@@ -284,6 +283,9 @@ Browserslist: caniuse-lite is outdated. Please run:
284
283
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js 6.04 KB
285
284
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js 4.95 KB
286
285
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js 6.74 KB
286
+ CJS dist/hooks/misc/use-autosize-textarea.js 1.48 KB
287
+ CJS dist/lib/slatejs-edits/add-autocompletions.js 1.63 KB
288
+ CJS dist/lib/slatejs-edits/clear-autocompletions.js 1.71 KB
287
289
  CJS dist/lib/slatejs-edits/replace-text.js 1.61 KB
288
290
  CJS dist/lib/slatejs-edits/with-partial-history.js 4.30 KB
289
291
  CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js 949.00 B
@@ -303,36 +305,33 @@ Browserslist: caniuse-lite is outdated. Please run:
303
305
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js 25.28 KB
304
306
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js 5.48 KB
305
307
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js 25.22 KB
308
+ CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
306
309
  CJS dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js 906.00 B
307
- CJS dist/lib/slatejs-edits/clear-autocompletions.js 1.71 KB
308
- CJS dist/lib/slatejs-edits/add-autocompletions.js 1.63 KB
309
- CJS dist/hooks/misc/use-autosize-textarea.js 1.48 KB
310
- CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
311
- CJS dist/index.css.map 29.12 KB
312
310
  CJS dist/index.js.map 142.77 KB
311
+ CJS dist/components/index.js.map 142.97 KB
312
+ CJS dist/index.css.map 29.12 KB
313
313
  CJS dist/components/index.css.map 429.00 B
314
314
  CJS dist/context/index.js.map 139.00 B
315
- CJS dist/components/index.js.map 142.97 KB
316
- CJS dist/hooks/index.js.map 137.00 B
317
315
  CJS dist/lib/debouncer.js.map 1.68 KB
316
+ CJS dist/hooks/index.js.map 137.00 B
318
317
  CJS dist/lib/editor-to-text.js.map 2.86 KB
319
- CJS dist/lib/retry.js.map 1018.00 B
320
318
  CJS dist/lib/get-text-around-cursor.js.map 5.75 KB
321
- CJS dist/lib/utils.test.js.map 352.00 B
319
+ CJS dist/lib/retry.js.map 1018.00 B
322
320
  CJS dist/lib/stream-promise-flatten.js.map 1.45 KB
321
+ CJS dist/lib/utils.test.js.map 352.00 B
323
322
  CJS dist/lib/utils.js.map 2.53 KB
324
323
  CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
325
324
  CJS dist/types/index.js.map 18.56 KB
325
+ CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 113.28 KB
326
326
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css.map 432.00 B
327
327
  CJS dist/components/base-copilot-textarea/render-element.js.map 1.75 KB
328
- CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 113.28 KB
329
328
  CJS dist/components/base-copilot-textarea/render-placeholder.js.map 1020.00 B
330
329
  CJS dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js.map 5.80 KB
331
330
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js.map 3.50 KB
331
+ CJS dist/components/copilot-textarea/copilot-textarea.js.map 142.80 KB
332
332
  CJS dist/components/copilot-textarea/copilot-textarea.css.map 432.00 B
333
333
  CJS dist/components/hovering-toolbar/hovering-editor-provider.js.map 1.40 KB
334
334
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js.map 3.68 KB
335
- CJS dist/components/copilot-textarea/copilot-textarea.js.map 142.80 KB
336
335
  CJS dist/components/hovering-toolbar/hovering-toolbar.js.map 53.78 KB
337
336
  CJS dist/components/manual-ui/chip-with-icon.js.map 969.00 B
338
337
  CJS dist/components/source-search-box/source-search-box.js.map 13.01 KB
@@ -347,8 +346,11 @@ Browserslist: caniuse-lite is outdated. Please run:
347
346
  CJS dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js.map 9.92 KB
348
347
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js.map 10.46 KB
349
348
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map 5.49 KB
350
- CJS dist/lib/slatejs-edits/replace-text.js.map 1.17 KB
351
349
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js.map 8.60 KB
350
+ CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
351
+ CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
352
+ CJS dist/lib/slatejs-edits/clear-autocompletions.js.map 1.14 KB
353
+ CJS dist/lib/slatejs-edits/replace-text.js.map 1.17 KB
352
354
  CJS dist/lib/slatejs-edits/with-partial-history.js.map 6.16 KB
353
355
  CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
354
356
  CJS dist/types/autosuggestions-config/autosuggestions-config.js.map 18.42 KB
@@ -367,12 +369,10 @@ Browserslist: caniuse-lite is outdated. Please run:
367
369
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map 38.12 KB
368
370
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map 5.26 KB
369
371
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 38.35 KB
372
+ CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
370
373
  CJS dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js.map 283.00 B
371
- CJS dist/lib/slatejs-edits/clear-autocompletions.js.map 1.14 KB
372
- CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
373
- CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
374
- CJS ⚡️ Build success in 1774ms
375
- DTS ⚡️ Build success in 16370ms
374
+ CJS ⚡️ Build success in 2110ms
375
+ DTS ⚡️ Build success in 16297ms
376
376
  DTS dist/index.d.ts 1.34 KB
377
377
  DTS dist/components/base-copilot-textarea/base-copilot-textarea.d.ts 1.62 KB
378
378
  DTS dist/components/copilot-textarea/copilot-textarea.d.ts 1.36 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # ui
2
2
 
3
+ ## 0.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 899aa6e: Backend improvements for running on GCP
8
+ - Improve streamHttpServerResponse for express and firebase apps
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [899aa6e]
13
+ - Updated dependencies
14
+ - @copilotkit/react-core@0.23.0
15
+ - @copilotkit/shared@0.7.0
16
+
3
17
  ## 0.33.0-mme-firebase-fixes.0
4
18
 
5
19
  ### Minor Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.33.0-mme-firebase-fixes.0",
7
+ "version": "0.33.0",
8
8
  "sideEffects": [
9
9
  "**/*.css"
10
10
  ],
@@ -33,9 +33,9 @@
33
33
  "ts-jest": "^29.1.1",
34
34
  "tsup": "^6.7.0",
35
35
  "typescript": "^5.2.3",
36
- "eslint-config-custom": "0.8.0-mme-firebase-fixes.0",
37
- "tailwind-config": "0.7.0-mme-firebase-fixes.0",
38
- "tsconfig": "0.12.0-mme-firebase-fixes.0"
36
+ "eslint-config-custom": "0.8.0",
37
+ "tailwind-config": "0.7.0",
38
+ "tsconfig": "0.12.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "@emotion/css": "^11.11.2",
@@ -58,8 +58,8 @@
58
58
  "slate-history": "^0.93.0",
59
59
  "slate-react": "^0.98.1",
60
60
  "tailwind-merge": "^1.13.2",
61
- "@copilotkit/react-core": "0.23.0-mme-firebase-fixes.0",
62
- "@copilotkit/shared": "0.7.0-mme-firebase-fixes.0"
61
+ "@copilotkit/react-core": "0.23.0",
62
+ "@copilotkit/shared": "0.7.0"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsup --clean",