@stainless-api/docs-ai-chat 0.1.0-beta.2 → 0.1.0-beta.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.
- package/CHANGELOG.md +18 -0
- package/package.json +3 -3
- package/src/Trigger.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @stainless-api/docs-ai-chat
|
|
2
2
|
|
|
3
|
+
## 0.1.0-beta.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [3c4a030]
|
|
8
|
+
- Updated dependencies [cd86726]
|
|
9
|
+
- Updated dependencies [aa9d333]
|
|
10
|
+
- Updated dependencies [07a2c87]
|
|
11
|
+
- @stainless-api/docs@0.1.0-beta.62
|
|
12
|
+
- @stainless-api/docs-ui@0.1.0-beta.51
|
|
13
|
+
- @stainless-api/ui-primitives@0.1.0-beta.38
|
|
14
|
+
|
|
15
|
+
## 0.1.0-beta.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 77c0d47: steelie: submit on enter
|
|
20
|
+
|
|
3
21
|
## 0.1.0-beta.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs-ai-chat",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"react": ">=19.0.0",
|
|
10
10
|
"react-dom": ">=19.0.0",
|
|
11
|
-
"@stainless-api/docs": "0.1.0-beta.
|
|
11
|
+
"@stainless-api/docs": "0.1.0-beta.62",
|
|
12
12
|
"@stainless-api/docs-ui": "0.1.0-beta.51",
|
|
13
13
|
"@stainless-api/ui-primitives": "0.1.0-beta.38"
|
|
14
14
|
},
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@types/react-dom": "^19.2.3",
|
|
29
29
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
30
30
|
"typescript": "5.9.3",
|
|
31
|
-
"@stainless/eslint-config": "0.1.0-beta.
|
|
31
|
+
"@stainless/eslint-config": "0.1.0-beta.1"
|
|
32
32
|
},
|
|
33
33
|
"exports": {
|
|
34
34
|
"./plugin": {
|
package/src/Trigger.tsx
CHANGED
|
@@ -101,7 +101,7 @@ export default function AiChatTrigger({
|
|
|
101
101
|
}}
|
|
102
102
|
// Submit on Cmd+Enter
|
|
103
103
|
onKeyDown={(e: React.KeyboardEvent<HTMLTextAreaElement>) => {
|
|
104
|
-
if (e.key === 'Enter' &&
|
|
104
|
+
if (e.key === 'Enter' && !e.shiftKey) {
|
|
105
105
|
e.preventDefault();
|
|
106
106
|
e.currentTarget.form?.requestSubmit();
|
|
107
107
|
}
|