@atlaskit/rovo-agent-analytics 0.1.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 ADDED
@@ -0,0 +1 @@
1
+ # @atlaskit/rovo-agent-analytics
package/LICENSE.md ADDED
@@ -0,0 +1,11 @@
1
+ Copyright 2023 Atlassian Pty Ltd
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
4
+ compliance with the License. You may obtain a copy of the License at
5
+
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+
8
+ Unless required by applicable law or agreed to in writing, software distributed under the License is
9
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
10
+ implied. See the License for the specific language governing permissions and limitations under the
11
+ License.
package/README.md ADDED
@@ -0,0 +1,24 @@
1
+ # RovoAgentAnalytics
2
+
3
+ Rovo Agents analytics
4
+
5
+ ## Usage
6
+
7
+ `import RovoAgentAnalytics from '@atlaskit/rovo-agent-analytics';`
8
+
9
+ Detailed docs and example usage can be found
10
+ [here](https://atlaskit.atlassian.com/packages/ai-mate/rovo-agent-analytics).
11
+
12
+ ## Examples
13
+
14
+ ```
15
+ import { useRovoAgentActionAnalytics, AgentActions } from '@atlaskit/rovo-agent-analytics';
16
+
17
+ const { trackAgentAction } = useRovoAgentActionAnalytics({
18
+ agentId,
19
+ canEdit,
20
+ touchPoint: 'browse-agent-list'
21
+ });
22
+
23
+ trackAgentAction(AgentActions.DUPLICATE);
24
+ ```
package/package.json ADDED
@@ -0,0 +1,89 @@
1
+ {
2
+ "atlassian": {
3
+ "team": "Rovo Agents",
4
+ "website": {
5
+ "name": "RovoAgentAnalytics",
6
+ "category": "Layout and structure"
7
+ }
8
+ },
9
+ "repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
10
+ "main": "dist/cjs/index.js",
11
+ "module": "dist/esm/index.js",
12
+ "module:es2019": "dist/es2019/index.js",
13
+ "types": "dist/types/index.d.ts",
14
+ "typesVersions": {
15
+ ">=4.5 <5.9": {
16
+ "*": [
17
+ "dist/types-ts4.5/*",
18
+ "dist/types-ts4.5/index.d.ts"
19
+ ]
20
+ }
21
+ },
22
+ "sideEffects": [
23
+ "*.compiled.css"
24
+ ],
25
+ "atlaskit:src": "src/index.ts",
26
+ "dependencies": {
27
+ "@atlaskit/css": "^0.17.0",
28
+ "@atlaskit/primitives": "^16.4.0",
29
+ "@atlaskit/tokens": "^8.4.0",
30
+ "@babel/runtime": "^7.0.0",
31
+ "@compiled/react": "^0.18.6"
32
+ },
33
+ "peerDependencies": {
34
+ "react": "^18.2.0"
35
+ },
36
+ "devDependencies": {
37
+ "@af/integration-testing": "workspace:^",
38
+ "@af/visual-regression": "workspace:^",
39
+ "@atlaskit/ssr": "workspace:^",
40
+ "@testing-library/react": "^13.4.0",
41
+ "react-dom": "^18.2.0"
42
+ },
43
+ "techstack": {
44
+ "@atlassian/frontend": {
45
+ "code-structure": [
46
+ "tangerine-next"
47
+ ],
48
+ "import-structure": [
49
+ "atlassian-conventions"
50
+ ],
51
+ "circular-dependencies": [
52
+ "file-and-folder-level"
53
+ ]
54
+ },
55
+ "@repo/internal": {
56
+ "dom-events": "use-bind-event-listener",
57
+ "analytics": [
58
+ "analytics-next"
59
+ ],
60
+ "design-tokens": [
61
+ "color"
62
+ ],
63
+ "theming": [
64
+ "react-context"
65
+ ],
66
+ "ui-components": [
67
+ "lite-mode"
68
+ ],
69
+ "deprecation": [
70
+ "no-deprecated-imports"
71
+ ],
72
+ "styling": [
73
+ "static",
74
+ "compiled"
75
+ ],
76
+ "imports": [
77
+ "import-no-extraneous-disable-for-examples-and-docs"
78
+ ]
79
+ }
80
+ },
81
+ "name": "@atlaskit/rovo-agent-analytics",
82
+ "version": "0.1.0",
83
+ "description": "Rovo Agents analytics",
84
+ "author": "Atlassian Pty Ltd",
85
+ "license": "Apache-2.0",
86
+ "publishConfig": {
87
+ "registry": "https://registry.npmjs.org/"
88
+ }
89
+ }