@copilotkit/react-textarea 0.35.0-mme-cloud.2 → 0.35.0-mme-cloud.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,5 +1,5 @@
1
1
 
2
- > @copilotkit/react-textarea@0.35.0-mme-cloud.2 build /home/runner/work/CopilotKit/CopilotKit/CopilotKit/packages/react-textarea
2
+ > @copilotkit/react-textarea@0.35.0-mme-cloud.4 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
@@ -70,8 +70,8 @@ Browserslist: caniuse-lite is outdated. Please run:
70
70
  ESM dist/chunk-H4VKQGVU.mjs 43.00 B
71
71
  ESM dist/chunk-DFTV4TST.mjs 931.00 B
72
72
  ESM dist/lib/editor-to-text.mjs 158.00 B
73
- ESM dist/lib/get-text-around-cursor.mjs 370.00 B
74
73
  ESM dist/chunk-T6MTDQZ7.mjs 1.31 KB
74
+ ESM dist/lib/get-text-around-cursor.mjs 370.00 B
75
75
  ESM dist/chunk-ECR45NSD.mjs 2.67 KB
76
76
  ESM dist/lib/retry.mjs 135.00 B
77
77
  ESM dist/chunk-KNQIEOFP.mjs 472.00 B
@@ -79,7 +79,7 @@ Browserslist: caniuse-lite is outdated. Please run:
79
79
  ESM dist/index.css 18.82 KB
80
80
  ESM dist/components/index.css 242.00 B
81
81
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs 308.00 B
82
- ESM dist/types/base/base-autosuggestions-config.mjs 217.00 B
82
+ ESM dist/types/base/autosuggestions-bare-function.mjs 58.00 B
83
83
  ESM dist/lib/slatejs-edits/with-partial-history.mjs 224.00 B
84
84
  ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs 66.00 B
85
85
  ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs 236.00 B
@@ -89,6 +89,7 @@ Browserslist: caniuse-lite is outdated. Please run:
89
89
  ESM dist/components/manual-ui/chip-with-icon.mjs 690.00 B
90
90
  ESM dist/components/source-search-box/source-search-box.mjs 294.00 B
91
91
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs 645.00 B
92
+ ESM dist/types/base/base-autosuggestions-config.mjs 217.00 B
92
93
  ESM dist/types/base/base-copilot-textarea-props.mjs 56.00 B
93
94
  ESM dist/types/base/custom-editor.mjs 42.00 B
94
95
  ESM dist/types/base/editor-autocomplete-state.mjs 238.00 B
@@ -111,7 +112,6 @@ Browserslist: caniuse-lite is outdated. Please run:
111
112
  ESM dist/components/ui/dialog.mjs 383.00 B
112
113
  ESM dist/components/ui/label.mjs 176.00 B
113
114
  ESM dist/components/ui/separator.mjs 921.00 B
114
- ESM dist/types/base/autosuggestions-bare-function.mjs 58.00 B
115
115
  ESM dist/components/ui/textarea.mjs 886.00 B
116
116
  ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs 286.00 B
117
117
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs 282.00 B
@@ -181,8 +181,8 @@ Browserslist: caniuse-lite is outdated. Please run:
181
181
  ESM dist/chunk-H4VKQGVU.mjs.map 71.00 B
182
182
  ESM dist/chunk-DFTV4TST.mjs.map 1.62 KB
183
183
  ESM dist/lib/editor-to-text.mjs.map 71.00 B
184
- ESM dist/lib/get-text-around-cursor.mjs.map 71.00 B
185
184
  ESM dist/chunk-T6MTDQZ7.mjs.map 2.82 KB
185
+ ESM dist/lib/get-text-around-cursor.mjs.map 71.00 B
186
186
  ESM dist/chunk-ECR45NSD.mjs.map 5.71 KB
187
187
  ESM dist/lib/retry.mjs.map 71.00 B
188
188
  ESM dist/chunk-KNQIEOFP.mjs.map 971.00 B
@@ -191,7 +191,7 @@ Browserslist: caniuse-lite is outdated. Please run:
191
191
  ESM dist/components/index.css.map 429.00 B
192
192
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.mjs.map 71.00 B
193
193
  ESM dist/types/autosuggestions-config/subtypes/minimal-chat-gpt-message.mjs 53.00 B
194
- ESM dist/types/base/base-autosuggestions-config.mjs.map 71.00 B
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
196
196
  ESM dist/types/autosuggestions-config/autosuggestions-config-user-specified.mjs.map 71.00 B
197
197
  ESM dist/hooks/base-copilot-textarea-implementation/use-copilot-textarea-editor.mjs.map 71.00 B
@@ -201,6 +201,7 @@ Browserslist: caniuse-lite is outdated. Please run:
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
203
  ESM dist/components/hovering-toolbar/text-insertion-prompt-box/index.mjs.map 71.00 B
204
+ ESM dist/types/base/base-autosuggestions-config.mjs.map 71.00 B
204
205
  ESM dist/types/base/base-copilot-textarea-props.mjs.map 71.00 B
205
206
  ESM dist/types/base/custom-editor.mjs.map 71.00 B
206
207
  ESM dist/types/base/editor-autocomplete-state.mjs.map 71.00 B
@@ -223,7 +224,6 @@ Browserslist: caniuse-lite is outdated. Please run:
223
224
  ESM dist/components/ui/dialog.mjs.map 71.00 B
224
225
  ESM dist/components/ui/label.mjs.map 71.00 B
225
226
  ESM dist/components/ui/separator.mjs.map 1.20 KB
226
- ESM dist/types/base/autosuggestions-bare-function.mjs.map 71.00 B
227
227
  ESM dist/components/ui/textarea.mjs.map 1.11 KB
228
228
  ESM dist/hooks/base-copilot-textarea-implementation/use-autosuggestions.mjs.map 71.00 B
229
229
  ESM dist/components/base-copilot-textarea/track-cursor-moved-since-last-text-change.mjs.map 71.00 B
@@ -242,7 +242,7 @@ 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 1903ms
245
+ ESM ⚡️ Build success in 2034ms
246
246
  CJS dist/index.js 79.68 KB
247
247
  CJS dist/index.css 18.82 KB
248
248
  CJS dist/components/index.js 79.49 KB
@@ -298,15 +298,15 @@ Browserslist: caniuse-lite is outdated. Please run:
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
+ CJS dist/types/base/custom-editor.js 835.00 B
302
+ CJS dist/types/base/editor-autocomplete-state.js 1.92 KB
303
+ CJS dist/types/base/index.js 1.93 KB
301
304
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js 24.47 KB
302
305
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js 25.25 KB
303
306
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js 5.48 KB
304
307
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js 25.19 KB
305
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/types/base/index.js 1.93 KB
308
- CJS dist/types/base/editor-autocomplete-state.js 1.92 KB
309
- CJS dist/types/base/custom-editor.js 835.00 B
310
310
  CJS dist/index.js.map 142.82 KB
311
311
  CJS dist/index.css.map 29.12 KB
312
312
  CJS dist/components/index.js.map 143.02 KB
@@ -362,17 +362,17 @@ Browserslist: caniuse-lite is outdated. Please run:
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
+ CJS dist/types/base/custom-editor.js.map 886.00 B
366
+ CJS dist/types/base/editor-autocomplete-state.js.map 2.64 KB
367
+ CJS dist/types/base/index.js.map 5.72 KB
365
368
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box-core.js.map 36.34 KB
366
369
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/hovering-insertion-prompt-box.js.map 37.75 KB
367
370
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/included-files-preview.js.map 5.26 KB
368
371
  CJS dist/components/hovering-toolbar/text-insertion-prompt-box/index.js.map 37.98 KB
369
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/types/base/index.js.map 5.72 KB
372
- CJS dist/types/base/editor-autocomplete-state.js.map 2.64 KB
373
- CJS dist/types/base/custom-editor.js.map 886.00 B
374
- CJS ⚡️ Build success in 1951ms
375
- DTS ⚡️ Build success in 16140ms
374
+ CJS ⚡️ Build success in 2069ms
375
+ DTS ⚡️ Build success in 16150ms
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,29 @@
1
1
  # ui
2
2
 
3
+ ## 0.35.0-mme-cloud.4
4
+
5
+ ### Minor Changes
6
+
7
+ - Include reason in guardrails response
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @copilotkit/react-core@0.25.0-mme-cloud.4
13
+ - @copilotkit/shared@0.9.0-mme-cloud.4
14
+
15
+ ## 0.35.0-mme-cloud.3
16
+
17
+ ### Minor Changes
18
+
19
+ - Retrieve public API key
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @copilotkit/react-core@0.25.0-mme-cloud.3
25
+ - @copilotkit/shared@0.9.0-mme-cloud.3
26
+
3
27
  ## 0.35.0-mme-cloud.2
4
28
 
5
29
  ### Minor Changes
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.35.0-mme-cloud.2",
7
+ "version": "0.35.0-mme-cloud.4",
8
8
  "sideEffects": [
9
9
  "**/*.css"
10
10
  ],
@@ -37,9 +37,9 @@
37
37
  "ts-jest": "^29.1.1",
38
38
  "tsup": "^6.7.0",
39
39
  "typescript": "^5.2.3",
40
- "eslint-config-custom": "0.10.0-mme-cloud.2",
41
- "tailwind-config": "0.9.0-mme-cloud.2",
42
- "tsconfig": "0.14.0-mme-cloud.2"
40
+ "eslint-config-custom": "0.10.0-mme-cloud.4",
41
+ "tailwind-config": "0.9.0-mme-cloud.4",
42
+ "tsconfig": "0.14.0-mme-cloud.4"
43
43
  },
44
44
  "dependencies": {
45
45
  "@emotion/css": "^11.11.2",
@@ -62,8 +62,8 @@
62
62
  "slate-history": "^0.93.0",
63
63
  "slate-react": "^0.98.1",
64
64
  "tailwind-merge": "^1.13.2",
65
- "@copilotkit/react-core": "0.25.0-mme-cloud.2",
66
- "@copilotkit/shared": "0.9.0-mme-cloud.2"
65
+ "@copilotkit/react-core": "0.25.0-mme-cloud.4",
66
+ "@copilotkit/shared": "0.9.0-mme-cloud.4"
67
67
  },
68
68
  "scripts": {
69
69
  "build": "tsup --clean",