@atlaskit/rovo-triggers 7.7.0 → 8.0.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.
- package/CHANGELOG.md +28 -0
- package/dist/types/types.d.ts +6 -0
- package/package.json +5 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/rovo-triggers
|
|
2
2
|
|
|
3
|
+
## 8.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
|
|
8
|
+
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
|
|
9
|
+
|
|
10
|
+
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
|
|
11
|
+
|
|
12
|
+
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
|
|
13
|
+
|
|
14
|
+
```diff
|
|
15
|
+
- "typesVersions": {
|
|
16
|
+
- ">=4.5 <4.9": {
|
|
17
|
+
- "*": [
|
|
18
|
+
- "dist/types-ts4.5/*",
|
|
19
|
+
- "dist/types-ts4.5/index.d.ts"
|
|
20
|
+
- ]
|
|
21
|
+
- }
|
|
22
|
+
- },
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [`590fb0a5ecf3e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/590fb0a5ecf3e) -
|
|
28
|
+
EDITOR-7664: allow chat-new to override auto send
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 7.7.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -74,6 +74,12 @@ export type ChatNewPayload = PayloadCore<'chat-new', {
|
|
|
74
74
|
}>;
|
|
75
75
|
prompt?: string | DocNode;
|
|
76
76
|
creationContextParams?: CreationContextParams;
|
|
77
|
+
/**
|
|
78
|
+
* Overrides the default auto-send behavior for prompts.
|
|
79
|
+
* Set this to true to insert prompts not containing backticks into the chat input for dynamic
|
|
80
|
+
* user completion, rather than sending them immediately.
|
|
81
|
+
*/
|
|
82
|
+
overrideAutoSend?: boolean;
|
|
77
83
|
isPromptPlaceholder?: boolean;
|
|
78
84
|
files?: UploadedFile[];
|
|
79
85
|
contentContext?: 'staging-area' | 'global';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-triggers",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"description": "Provides various trigger events to drive Rovo Chat functionality, such as a publish-subscribe and URL parameter hooks",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -23,21 +23,13 @@
|
|
|
23
23
|
"module": "dist/esm/index.js",
|
|
24
24
|
"module:es2019": "dist/es2019/index.js",
|
|
25
25
|
"types": "dist/types/index.d.ts",
|
|
26
|
-
"typesVersions": {
|
|
27
|
-
">=4.5 <4.9": {
|
|
28
|
-
"*": [
|
|
29
|
-
"dist/types-ts4.5/*",
|
|
30
|
-
"dist/types-ts4.5/index.d.ts"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
26
|
"sideEffects": [
|
|
35
27
|
"*.compiled.css"
|
|
36
28
|
],
|
|
37
29
|
"atlaskit:src": "src/index.ts",
|
|
38
30
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^
|
|
40
|
-
"@atlaskit/platform-feature-flags": "^
|
|
31
|
+
"@atlaskit/adf-schema": "^55.0.0",
|
|
32
|
+
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
41
33
|
"@atlassian/conversation-assistant-external-context": "^0.19.0",
|
|
42
34
|
"@babel/runtime": "^7.0.0",
|
|
43
35
|
"bind-event-listener": "^3.0.0"
|
|
@@ -48,8 +40,8 @@
|
|
|
48
40
|
"devDependencies": {
|
|
49
41
|
"@af/integration-testing": "workspace:^",
|
|
50
42
|
"@af/visual-regression": "workspace:^",
|
|
51
|
-
"@atlaskit/css": "^0.
|
|
52
|
-
"@atlaskit/primitives": "^
|
|
43
|
+
"@atlaskit/css": "^1.0.0",
|
|
44
|
+
"@atlaskit/primitives": "^20.0.0",
|
|
53
45
|
"@atlaskit/ssr": "workspace:^",
|
|
54
46
|
"@atlassian/a11y-jest-testing": "^0.12.0",
|
|
55
47
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|