@copilotkit/react-textarea 0.30.1-atai-0223-fix-backendOnlyProps.0 → 0.30.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@0.30.1-atai-0223-fix-backendOnlyProps.0 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
2
+ > @copilotkit/react-textarea@0.30.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/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
@@ -242,36 +242,36 @@ Browserslist: caniuse-lite is outdated. Please run:
242
242
  ESM dist/components/base-copilot-textarea/render-placeholder.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 1914ms
245
+ ESM ⚡️ Build success in 1923ms
246
246
  CJS dist/index.js 79.45 KB
247
- CJS dist/components/index.js 79.28 KB
248
247
  CJS dist/index.css 18.82 KB
248
+ CJS dist/components/index.js 79.28 KB
249
+ CJS dist/components/index.css 242.00 B
249
250
  CJS dist/context/index.js 803.00 B
250
251
  CJS dist/hooks/index.js 797.00 B
251
252
  CJS dist/lib/debouncer.js 2.38 KB
252
253
  CJS dist/lib/editor-to-text.js 2.35 KB
253
- CJS dist/components/index.css 242.00 B
254
254
  CJS dist/lib/get-text-around-cursor.js 4.09 KB
255
+ CJS dist/lib/retry.js 1.43 KB
255
256
  CJS dist/lib/stream-promise-flatten.js 2.26 KB
256
257
  CJS dist/lib/utils.test.js 182.00 B
257
- CJS dist/lib/retry.js 1.43 KB
258
258
  CJS dist/lib/utils.js 3.08 KB
259
259
  CJS dist/types/html-copilot-textarea-element.js 893.00 B
260
260
  CJS dist/types/index.js 10.66 KB
261
+ CJS dist/components/base-copilot-textarea/base-copilot-textarea.js 63.54 KB
261
262
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css 258.00 B
262
263
  CJS dist/components/base-copilot-textarea/render-element.js 2.94 KB
263
264
  CJS dist/components/base-copilot-textarea/render-placeholder.js 2.84 KB
264
265
  CJS dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js 4.02 KB
265
266
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js 3.19 KB
266
- CJS dist/components/base-copilot-textarea/base-copilot-textarea.js 63.54 KB
267
+ CJS dist/components/copilot-textarea/copilot-textarea.js 79.21 KB
267
268
  CJS dist/components/copilot-textarea/copilot-textarea.css 253.00 B
268
269
  CJS dist/components/hovering-toolbar/hovering-editor-provider.js 1.85 KB
269
270
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js 5.54 KB
270
271
  CJS dist/components/hovering-toolbar/hovering-toolbar.js 33.65 KB
271
- CJS dist/components/copilot-textarea/copilot-textarea.js 79.21 KB
272
272
  CJS dist/components/manual-ui/chip-with-icon.js 1.73 KB
273
- CJS dist/components/ui/button.js 4.82 KB
274
273
  CJS dist/components/source-search-box/source-search-box.js 9.53 KB
274
+ CJS dist/components/ui/button.js 4.82 KB
275
275
  CJS dist/components/ui/card.js 5.36 KB
276
276
  CJS dist/components/ui/command.js 12.52 KB
277
277
  CJS dist/components/ui/dialog.js 7.84 KB
@@ -282,60 +282,60 @@ Browserslist: caniuse-lite is outdated. Please run:
282
282
  CJS dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js 6.35 KB
283
283
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js 6.04 KB
284
284
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js 4.95 KB
285
+ CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js 6.74 KB
285
286
  CJS dist/hooks/misc/use-autosize-textarea.js 1.48 KB
286
287
  CJS dist/lib/slatejs-edits/add-autocompletions.js 1.63 KB
287
- CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js 6.74 KB
288
288
  CJS dist/lib/slatejs-edits/clear-autocompletions.js 1.71 KB
289
289
  CJS dist/lib/slatejs-edits/replace-text.js 1.61 KB
290
- CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js 949.00 B
291
290
  CJS dist/lib/slatejs-edits/with-partial-history.js 4.30 KB
292
- CJS dist/types/autosuggestions-config/editing-api-config.js 3.69 KB
291
+ CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js 949.00 B
293
292
  CJS dist/types/autosuggestions-config/autosuggestions-config.js 10.65 KB
294
- CJS dist/types/autosuggestions-config/insertions-api-config.js 4.11 KB
293
+ CJS dist/types/autosuggestions-config/editing-api-config.js 3.69 KB
295
294
  CJS dist/types/autosuggestions-config/index.js 10.62 KB
296
- CJS dist/types/base/autosuggestion-state.js 862.00 B
295
+ CJS dist/types/autosuggestions-config/insertions-api-config.js 4.11 KB
297
296
  CJS dist/types/autosuggestions-config/suggestions-api-config.js 3.71 KB
297
+ CJS dist/types/base/autosuggestion-state.js 862.00 B
298
298
  CJS dist/types/base/autosuggestions-bare-function.js 898.00 B
299
299
  CJS dist/types/base/base-autosuggestions-config.js 1.99 KB
300
300
  CJS dist/types/base/base-copilot-textarea-props.js 891.00 B
301
301
  CJS dist/types/base/custom-editor.js 835.00 B
302
302
  CJS dist/types/base/editor-autocomplete-state.js 1.92 KB
303
303
  CJS dist/types/base/index.js 1.93 KB
304
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js 25.28 KB
305
304
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js 24.50 KB
305
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js 25.28 KB
306
306
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js 5.48 KB
307
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js 25.22 KB
307
308
  CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js 881.00 B
308
309
  CJS dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js 906.00 B
309
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js 25.22 KB
310
310
  CJS dist/index.js.map 142.85 KB
311
311
  CJS dist/index.css.map 29.12 KB
312
312
  CJS dist/components/index.js.map 143.05 KB
313
+ CJS dist/components/index.css.map 429.00 B
313
314
  CJS dist/context/index.js.map 139.00 B
314
315
  CJS dist/hooks/index.js.map 137.00 B
315
316
  CJS dist/lib/debouncer.js.map 1.68 KB
316
317
  CJS dist/lib/editor-to-text.js.map 2.86 KB
317
- CJS dist/components/index.css.map 429.00 B
318
318
  CJS dist/lib/get-text-around-cursor.js.map 5.75 KB
319
+ CJS dist/lib/retry.js.map 1018.00 B
319
320
  CJS dist/lib/stream-promise-flatten.js.map 1.45 KB
320
321
  CJS dist/lib/utils.test.js.map 352.00 B
321
- CJS dist/lib/retry.js.map 1018.00 B
322
322
  CJS dist/lib/utils.js.map 2.53 KB
323
323
  CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
324
324
  CJS dist/types/index.js.map 18.56 KB
325
+ CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 113.36 KB
325
326
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css.map 432.00 B
326
327
  CJS dist/components/base-copilot-textarea/render-element.js.map 1.75 KB
327
328
  CJS dist/components/base-copilot-textarea/render-placeholder.js.map 1020.00 B
328
329
  CJS dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js.map 5.80 KB
329
330
  CJS dist/components/base-copilot-textarea/use-add-branding-css.js.map 3.50 KB
330
- CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 113.36 KB
331
+ CJS dist/components/copilot-textarea/copilot-textarea.js.map 142.88 KB
331
332
  CJS dist/components/copilot-textarea/copilot-textarea.css.map 432.00 B
332
333
  CJS dist/components/hovering-toolbar/hovering-editor-provider.js.map 1.40 KB
333
334
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js.map 3.68 KB
334
335
  CJS dist/components/hovering-toolbar/hovering-toolbar.js.map 53.86 KB
335
- CJS dist/components/copilot-textarea/copilot-textarea.js.map 142.88 KB
336
336
  CJS dist/components/manual-ui/chip-with-icon.js.map 969.00 B
337
- CJS dist/components/ui/button.js.map 4.34 KB
338
337
  CJS dist/components/source-search-box/source-search-box.js.map 13.07 KB
338
+ CJS dist/components/ui/button.js.map 4.34 KB
339
339
  CJS dist/components/ui/card.js.map 4.86 KB
340
340
  CJS dist/components/ui/command.js.map 14.39 KB
341
341
  CJS dist/components/ui/dialog.js.map 7.46 KB
@@ -346,33 +346,33 @@ Browserslist: caniuse-lite is outdated. Please run:
346
346
  CJS dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.js.map 9.92 KB
347
347
  CJS dist/hooks/base-copilot-textarea-implementation/use-populate-copilot-textarea-ref.js.map 10.46 KB
348
348
  CJS dist/hooks/make-autosuggestions-function/use-make-standard-autosuggestions-function.js.map 5.49 KB
349
+ CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js.map 8.60 KB
349
350
  CJS dist/hooks/misc/use-autosize-textarea.js.map 1.17 KB
350
351
  CJS dist/lib/slatejs-edits/add-autocompletions.js.map 1.08 KB
351
- CJS dist/hooks/make-autosuggestions-function/use-make-standard-insertion-function.js.map 8.60 KB
352
352
  CJS dist/lib/slatejs-edits/clear-autocompletions.js.map 1.14 KB
353
353
  CJS dist/lib/slatejs-edits/replace-text.js.map 1.17 KB
354
- CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
355
354
  CJS dist/lib/slatejs-edits/with-partial-history.js.map 6.16 KB
356
- CJS dist/types/autosuggestions-config/editing-api-config.js.map 3.96 KB
355
+ CJS dist/types/autosuggestions-config/autosuggestions-config-user-specified.js.map 1.16 KB
357
356
  CJS dist/types/autosuggestions-config/autosuggestions-config.js.map 18.42 KB
358
- CJS dist/types/autosuggestions-config/insertions-api-config.js.map 4.22 KB
357
+ CJS dist/types/autosuggestions-config/editing-api-config.js.map 3.96 KB
359
358
  CJS dist/types/autosuggestions-config/index.js.map 19.08 KB
360
- CJS dist/types/base/autosuggestion-state.js.map 269.00 B
359
+ CJS dist/types/autosuggestions-config/insertions-api-config.js.map 4.22 KB
361
360
  CJS dist/types/autosuggestions-config/suggestions-api-config.js.map 3.63 KB
361
+ CJS dist/types/base/autosuggestion-state.js.map 269.00 B
362
362
  CJS dist/types/base/autosuggestions-bare-function.js.map 1.01 KB
363
363
  CJS dist/types/base/base-autosuggestions-config.js.map 5.34 KB
364
364
  CJS dist/types/base/base-copilot-textarea-props.js.map 2.29 KB
365
365
  CJS dist/types/base/custom-editor.js.map 886.00 B
366
366
  CJS dist/types/base/editor-autocomplete-state.js.map 2.64 KB
367
367
  CJS dist/types/base/index.js.map 5.72 KB
368
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map 38.20 KB
369
368
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map 36.79 KB
369
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map 38.20 KB
370
370
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map 5.28 KB
371
+ CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 38.43 KB
371
372
  CJS dist/types/autosuggestions-config/subtypes/make-system-prompt.js.map 268.00 B
372
373
  CJS dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js.map 283.00 B
373
- CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 38.43 KB
374
- CJS ⚡️ Build success in 1975ms
375
- DTS ⚡️ Build success in 15927ms
374
+ CJS ⚡️ Build success in 2016ms
375
+ DTS ⚡️ Build success in 16516ms
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,27 @@
1
1
  # ui
2
2
 
3
+ ## 0.30.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 5ec8ad4: fix- bring back removeBackendOnlyProps
8
+ - 5a154d0: fix: bring back removeBackendOnlyProps
9
+ - fix: bring back removeBackendOnlyProps
10
+ - Updated dependencies [5ec8ad4]
11
+ - Updated dependencies [5a154d0]
12
+ - Updated dependencies
13
+ - @copilotkit/react-core@0.20.1
14
+ - @copilotkit/shared@0.4.1
15
+
16
+ ## 0.30.1-atai-0223-fix-backendOnlyProps.1
17
+
18
+ ### Patch Changes
19
+
20
+ - fix- bring back removeBackendOnlyProps
21
+ - Updated dependencies
22
+ - @copilotkit/react-core@0.20.1-atai-0223-fix-backendOnlyProps.1
23
+ - @copilotkit/shared@0.4.1-atai-0223-fix-backendOnlyProps.1
24
+
3
25
  ## 0.30.1-atai-0223-fix-backendOnlyProps.0
4
26
 
5
27
  ### Patch Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.30.1-atai-0223-fix-backendOnlyProps.0",
7
+ "version": "0.30.1",
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.1.3",
36
- "eslint-config-custom": "0.5.1-atai-0223-fix-backendOnlyProps.0",
37
- "tailwind-config": "0.4.1-atai-0223-fix-backendOnlyProps.0",
38
- "tsconfig": "0.9.1-atai-0223-fix-backendOnlyProps.0"
36
+ "eslint-config-custom": "0.5.1",
37
+ "tailwind-config": "0.4.1",
38
+ "tsconfig": "0.9.1"
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.20.1-atai-0223-fix-backendOnlyProps.0",
62
- "@copilotkit/shared": "0.4.1-atai-0223-fix-backendOnlyProps.0"
61
+ "@copilotkit/react-core": "0.20.1",
62
+ "@copilotkit/shared": "0.4.1"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsup --clean",