@copilotkit/react-textarea 0.31.0-mme-pre-release.3 → 0.31.0-mme-deprecate-annotated-function.4

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@0.31.0-mme-pre-release.3 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
2
+ > @copilotkit/react-textarea@0.31.0-mme-deprecate-annotated-function.4 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/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
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/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
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
@@ -20,8 +20,8 @@ Browserslist: caniuse-lite is outdated. Please run:
20
20
  DTS Build start
21
21
  CJS dist/index.js 79.45 KB
22
22
  CJS dist/components/index.js 79.28 KB
23
- CJS dist/context/index.js 803.00 B
24
23
  CJS dist/hooks/index.js 797.00 B
24
+ CJS dist/context/index.js 803.00 B
25
25
  CJS dist/lib/debouncer.js 2.38 KB
26
26
  CJS dist/types/html-copilot-textarea-element.js 893.00 B
27
27
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.js 63.54 KB
@@ -84,8 +84,8 @@ Browserslist: caniuse-lite is outdated. Please run:
84
84
  CJS dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js 906.00 B
85
85
  CJS dist/index.js.map 142.85 KB
86
86
  CJS dist/components/index.js.map 143.05 KB
87
- CJS dist/context/index.js.map 139.00 B
88
87
  CJS dist/hooks/index.js.map 137.00 B
88
+ CJS dist/context/index.js.map 139.00 B
89
89
  CJS dist/lib/debouncer.js.map 1.68 KB
90
90
  CJS dist/types/html-copilot-textarea-element.js.map 280.00 B
91
91
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.js.map 113.36 KB
@@ -114,8 +114,8 @@ Browserslist: caniuse-lite is outdated. Please run:
114
114
  CJS dist/components/base-copilot-textarea/base-copilot-textarea.css.map 432.00 B
115
115
  CJS dist/components/base-copilot-textarea/render-element.js.map 1.75 KB
116
116
  CJS dist/components/base-copilot-textarea/render-placeholder.js.map 1020.00 B
117
- CJS dist/components/base-copilot-textarea/use-add-branding-css.js.map 3.50 KB
118
117
  CJS dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.js.map 5.80 KB
118
+ CJS dist/components/base-copilot-textarea/use-add-branding-css.js.map 3.50 KB
119
119
  CJS dist/components/copilot-textarea/copilot-textarea.css.map 432.00 B
120
120
  CJS dist/components/hovering-toolbar/hovering-toolbar-components.js.map 3.68 KB
121
121
  CJS dist/components/hovering-toolbar/hovering-toolbar.js.map 53.86 KB
@@ -146,7 +146,7 @@ Browserslist: caniuse-lite is outdated. Please run:
146
146
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map 5.28 KB
147
147
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 38.43 KB
148
148
  CJS dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.js.map 283.00 B
149
- CJS ⚡️ Build success in 1808ms
149
+ CJS ⚡️ Build success in 1739ms
150
150
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs 308.00 B
151
151
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs 645.00 B
152
152
  ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs 47.00 B
@@ -184,16 +184,17 @@ Browserslist: caniuse-lite is outdated. Please run:
184
184
  ESM dist/components/ui/textarea.mjs 886.00 B
185
185
  ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs 286.00 B
186
186
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs 282.00 B
187
+ ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs 250.00 B
187
188
  ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs 239.00 B
188
- ESM dist/components/hovering-toolbar/hovering-toolbar.mjs 697.00 B
189
189
  ESM dist/components/manual-ui/chip-with-icon.mjs 690.00 B
190
+ ESM dist/components/hovering-toolbar/hovering-toolbar.mjs 697.00 B
190
191
  ESM dist/components/source-search-box/source-search-box.mjs 294.00 B
191
192
  ESM dist/lib/stream-promise-flatten.mjs 182.00 B
192
193
  ESM dist/lib/utils.test.mjs 168.00 B
193
194
  ESM dist/lib/utils.mjs 305.00 B
194
195
  ESM dist/types/html-copilot-textarea-element.mjs 90.00 B
195
- ESM dist/types/index.mjs 517.00 B
196
196
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs 1.27 KB
197
+ ESM dist/types/index.mjs 517.00 B
197
198
  ESM dist/components/base-copilot-textarea/render-element.mjs 190.00 B
198
199
  ESM dist/components/base-copilot-textarea/render-placeholder.mjs 202.00 B
199
200
  ESM dist/index.mjs 1.74 KB
@@ -239,26 +240,25 @@ Browserslist: caniuse-lite is outdated. Please run:
239
240
  ESM dist/chunk-LCDTIJSD.mjs 905.00 B
240
241
  ESM dist/chunk-224UKA7C.mjs 1.13 KB
241
242
  ESM dist/chunk-XW3ICO4S.mjs 688.00 B
242
- ESM dist/context/index.mjs 66.00 B
243
- ESM dist/chunk-IU3WTXLQ.mjs 43.00 B
244
243
  ESM dist/hooks/index.mjs 66.00 B
245
244
  ESM dist/chunk-H4VKQGVU.mjs 43.00 B
245
+ ESM dist/context/index.mjs 66.00 B
246
+ ESM dist/chunk-IU3WTXLQ.mjs 43.00 B
246
247
  ESM dist/lib/debouncer.mjs 147.00 B
247
248
  ESM dist/chunk-DFTV4TST.mjs 931.00 B
248
- ESM dist/lib/editor-to-text.mjs 158.00 B
249
249
  ESM dist/chunk-T6MTDQZ7.mjs 1.31 KB
250
250
  ESM dist/lib/get-text-around-cursor.mjs 370.00 B
251
251
  ESM dist/chunk-ECR45NSD.mjs 2.67 KB
252
252
  ESM dist/lib/retry.mjs 135.00 B
253
253
  ESM dist/chunk-KNQIEOFP.mjs 472.00 B
254
254
  ESM dist/chunk-MRXNTQOX.mjs 1.89 KB
255
- ESM dist/components/copilot-textarea/copilot-textarea.css 253.00 B
255
+ ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs 180.00 B
256
256
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.css 258.00 B
257
257
  ESM dist/index.css 18.82 KB
258
258
  ESM dist/components/index.css 242.00 B
259
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs 250.00 B
260
259
  ESM dist/components/copilot-textarea/copilot-textarea.mjs 1.57 KB
261
- ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs 180.00 B
260
+ ESM dist/lib/editor-to-text.mjs 158.00 B
261
+ ESM dist/components/copilot-textarea/copilot-textarea.css 253.00 B
262
262
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map 71.00 B
263
263
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
264
264
  ESM dist/types/autosuggestions-config/subtypes/make-system-prompt.mjs.map 71.00 B
@@ -295,17 +295,18 @@ Browserslist: caniuse-lite is outdated. Please run:
295
295
  ESM dist/components/ui/separator.mjs.map 1.22 KB
296
296
  ESM dist/components/ui/textarea.mjs.map 1.11 KB
297
297
  ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map 71.00 B
298
- ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map 71.00 B
299
298
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map 71.00 B
300
- ESM dist/components/hovering-toolbar/hovering-toolbar.mjs.map 71.00 B
299
+ ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
300
+ ESM dist/components/hovering-toolbar/hovering-toolbar-components.mjs.map 71.00 B
301
301
  ESM dist/components/manual-ui/chip-with-icon.mjs.map 937.00 B
302
- ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
302
+ ESM dist/components/hovering-toolbar/hovering-toolbar.mjs.map 71.00 B
303
303
  ESM dist/components/source-search-box/source-search-box.mjs.map 71.00 B
304
+ ESM dist/lib/stream-promise-flatten.mjs.map 71.00 B
304
305
  ESM dist/lib/utils.test.mjs.map 350.00 B
305
306
  ESM dist/lib/utils.mjs.map 71.00 B
306
- ESM dist/types/index.mjs.map 71.00 B
307
307
  ESM dist/types/html-copilot-textarea-element.mjs.map 71.00 B
308
308
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.mjs.map 71.00 B
309
+ ESM dist/types/index.mjs.map 71.00 B
309
310
  ESM dist/components/base-copilot-textarea/render-element.mjs.map 71.00 B
310
311
  ESM dist/components/base-copilot-textarea/render-placeholder.mjs.map 71.00 B
311
312
  ESM dist/index.mjs.map 71.00 B
@@ -351,28 +352,27 @@ Browserslist: caniuse-lite is outdated. Please run:
351
352
  ESM dist/chunk-LCDTIJSD.mjs.map 5.30 KB
352
353
  ESM dist/chunk-224UKA7C.mjs.map 1.71 KB
353
354
  ESM dist/chunk-XW3ICO4S.mjs.map 947.00 B
354
- ESM dist/context/index.mjs.map 71.00 B
355
- ESM dist/chunk-IU3WTXLQ.mjs.map 71.00 B
356
355
  ESM dist/hooks/index.mjs.map 71.00 B
357
356
  ESM dist/chunk-H4VKQGVU.mjs.map 71.00 B
357
+ ESM dist/context/index.mjs.map 71.00 B
358
+ ESM dist/chunk-IU3WTXLQ.mjs.map 71.00 B
358
359
  ESM dist/lib/debouncer.mjs.map 71.00 B
359
360
  ESM dist/chunk-DFTV4TST.mjs.map 1.62 KB
360
- ESM dist/lib/editor-to-text.mjs.map 71.00 B
361
361
  ESM dist/chunk-T6MTDQZ7.mjs.map 2.82 KB
362
362
  ESM dist/lib/get-text-around-cursor.mjs.map 71.00 B
363
363
  ESM dist/chunk-ECR45NSD.mjs.map 5.71 KB
364
364
  ESM dist/lib/retry.mjs.map 71.00 B
365
365
  ESM dist/chunk-KNQIEOFP.mjs.map 971.00 B
366
366
  ESM dist/chunk-MRXNTQOX.mjs.map 71.00 B
367
- ESM dist/components/copilot-textarea/copilot-textarea.css.map 432.00 B
367
+ ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
368
368
  ESM dist/components/base-copilot-textarea/base-copilot-textarea.css.map 432.00 B
369
369
  ESM dist/index.css.map 29.12 KB
370
370
  ESM dist/components/index.css.map 429.00 B
371
- ESM dist/components/hovering-toolbar/hovering-editor-provider.mjs.map 71.00 B
372
371
  ESM dist/components/copilot-textarea/copilot-textarea.mjs.map 71.00 B
373
- ESM dist/components/base-copilot-textarea/use-add-branding-css.mjs.map 71.00 B
374
- ESM ⚡️ Build success in 1824ms
375
- DTS ⚡️ Build success in 15555ms
372
+ ESM dist/lib/editor-to-text.mjs.map 71.00 B
373
+ ESM dist/components/copilot-textarea/copilot-textarea.css.map 432.00 B
374
+ ESM ⚡️ Build success in 1758ms
375
+ DTS ⚡️ Build success in 15465ms
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
@@ -388,8 +388,8 @@ Browserslist: caniuse-lite is outdated. Please run:
388
388
  DTS dist/types/autosuggestions-config/insertions-api-config.d.ts 673.00 B
389
389
  DTS dist/types/autosuggestions-config/editing-api-config.d.ts 646.00 B
390
390
  DTS dist/components/index.d.ts 954.00 B
391
- DTS dist/context/index.d.ts 12.00 B
392
391
  DTS dist/hooks/index.d.ts 12.00 B
392
+ DTS dist/context/index.d.ts 12.00 B
393
393
  DTS dist/lib/debouncer.d.ts 372.00 B
394
394
  DTS dist/lib/editor-to-text.d.ts 243.00 B
395
395
  DTS dist/lib/get-text-around-cursor.d.ts 745.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # ui
2
2
 
3
+ ## 0.31.0-mme-deprecate-annotated-function.4
4
+
5
+ ### Minor Changes
6
+
7
+ - Test backward compatibility of AnnotatedFunction on the backend
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @copilotkit/react-core@0.21.0-mme-deprecate-annotated-function.4
13
+ - @copilotkit/shared@0.5.0-mme-deprecate-annotated-function.4
14
+
3
15
  ## 0.31.0-mme-pre-release.3
4
16
 
5
17
  ### Minor Changes
package/dist/index.mjs CHANGED
@@ -47,8 +47,8 @@ import {
47
47
  } from "./chunk-LCDTIJSD.mjs";
48
48
  import "./chunk-224UKA7C.mjs";
49
49
  import "./chunk-XW3ICO4S.mjs";
50
- import "./chunk-IU3WTXLQ.mjs";
51
50
  import "./chunk-H4VKQGVU.mjs";
51
+ import "./chunk-IU3WTXLQ.mjs";
52
52
  import "./chunk-DFTV4TST.mjs";
53
53
  import "./chunk-T6MTDQZ7.mjs";
54
54
  import "./chunk-ECR45NSD.mjs";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.31.0-mme-pre-release.3",
7
+ "version": "0.31.0-mme-deprecate-annotated-function.4",
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.6.0-mme-pre-release.3",
37
- "tailwind-config": "0.5.0-mme-pre-release.3",
38
- "tsconfig": "0.10.0-mme-pre-release.3"
36
+ "eslint-config-custom": "0.6.0-mme-deprecate-annotated-function.4",
37
+ "tailwind-config": "0.5.0-mme-deprecate-annotated-function.4",
38
+ "tsconfig": "0.10.0-mme-deprecate-annotated-function.4"
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.21.0-mme-pre-release.3",
62
- "@copilotkit/shared": "0.5.0-mme-pre-release.3"
61
+ "@copilotkit/react-core": "0.21.0-mme-deprecate-annotated-function.4",
62
+ "@copilotkit/shared": "0.5.0-mme-deprecate-annotated-function.4"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsup --clean",