@atlaskit/rovo-agent-components 8.12.1 → 8.12.3

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 8.12.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 8.12.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`8039321556a06`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8039321556a06) -
14
+ Deprecate AgentAvatar in favour of AvatarRelay and link to the migration guide. Recommend using
15
+ Avatar directly with a hexagon appearance when an image URL is already available.
16
+ - Updated dependencies
17
+
3
18
  ## 8.12.1
4
19
 
5
20
  ### Patch Changes
@@ -32,6 +32,10 @@ var stylesCompiled = {
32
32
  /**
33
33
  * Agent avatar components that handles rendering correct avatar for different variations of agent types
34
34
  *
35
+ * @deprecated Use AvatarRelay to render the agent avatar stored in Identity.
36
+ * See https://hello.atlassian.net/wiki/spaces/agents/pages/7797900562/How+to+migrate+AgentAvatar+to+AvatarRelay
37
+ *
38
+ * @param imageUrl - A non-empty URL takes priority over generated avatars, unless isForgeAgent and forgeAgentIconUrl select a Forge icon. If you already have an image URL, use Avatar from @atlaskit/avatar with appearance="hexagon" and src={imageUrl} directly.
35
39
  * @param agentNamedId - This is agent.external_config_reference, this value exists for OOTB (out of the box) agents. This id is the first priority to generate avatar because each OOTB agents have its own fixed avatar
36
40
  * @param agentIdentityAccountId - This is Atlassian identity account ID for the agent(aaid). This id is prioritised to generate random avatar for non OOTB agents
37
41
  * @param agentId - This is agent.id
@@ -20,6 +20,10 @@ const stylesCompiled = {
20
20
  /**
21
21
  * Agent avatar components that handles rendering correct avatar for different variations of agent types
22
22
  *
23
+ * @deprecated Use AvatarRelay to render the agent avatar stored in Identity.
24
+ * See https://hello.atlassian.net/wiki/spaces/agents/pages/7797900562/How+to+migrate+AgentAvatar+to+AvatarRelay
25
+ *
26
+ * @param imageUrl - A non-empty URL takes priority over generated avatars, unless isForgeAgent and forgeAgentIconUrl select a Forge icon. If you already have an image URL, use Avatar from @atlaskit/avatar with appearance="hexagon" and src={imageUrl} directly.
23
27
  * @param agentNamedId - This is agent.external_config_reference, this value exists for OOTB (out of the box) agents. This id is the first priority to generate avatar because each OOTB agents have its own fixed avatar
24
28
  * @param agentIdentityAccountId - This is Atlassian identity account ID for the agent(aaid). This id is prioritised to generate random avatar for non OOTB agents
25
29
  * @param agentId - This is agent.id
@@ -23,6 +23,10 @@ var stylesCompiled = {
23
23
  /**
24
24
  * Agent avatar components that handles rendering correct avatar for different variations of agent types
25
25
  *
26
+ * @deprecated Use AvatarRelay to render the agent avatar stored in Identity.
27
+ * See https://hello.atlassian.net/wiki/spaces/agents/pages/7797900562/How+to+migrate+AgentAvatar+to+AvatarRelay
28
+ *
29
+ * @param imageUrl - A non-empty URL takes priority over generated avatars, unless isForgeAgent and forgeAgentIconUrl select a Forge icon. If you already have an image URL, use Avatar from @atlaskit/avatar with appearance="hexagon" and src={imageUrl} directly.
26
30
  * @param agentNamedId - This is agent.external_config_reference, this value exists for OOTB (out of the box) agents. This id is the first priority to generate avatar because each OOTB agents have its own fixed avatar
27
31
  * @param agentIdentityAccountId - This is Atlassian identity account ID for the agent(aaid). This id is prioritised to generate random avatar for non OOTB agents
28
32
  * @param agentId - This is agent.id
@@ -16,6 +16,10 @@ type AgentAvatarProps = {
16
16
  /**
17
17
  * Agent avatar components that handles rendering correct avatar for different variations of agent types
18
18
  *
19
+ * @deprecated Use AvatarRelay to render the agent avatar stored in Identity.
20
+ * See https://hello.atlassian.net/wiki/spaces/agents/pages/7797900562/How+to+migrate+AgentAvatar+to+AvatarRelay
21
+ *
22
+ * @param imageUrl - A non-empty URL takes priority over generated avatars, unless isForgeAgent and forgeAgentIconUrl select a Forge icon. If you already have an image URL, use Avatar from @atlaskit/avatar with appearance="hexagon" and src={imageUrl} directly.
19
23
  * @param agentNamedId - This is agent.external_config_reference, this value exists for OOTB (out of the box) agents. This id is the first priority to generate avatar because each OOTB agents have its own fixed avatar
20
24
  * @param agentIdentityAccountId - This is Atlassian identity account ID for the agent(aaid). This id is prioritised to generate random avatar for non OOTB agents
21
25
  * @param agentId - This is agent.id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "8.12.1",
3
+ "version": "8.12.3",
4
4
  "description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
6
6
  "atlassian": {
@@ -52,8 +52,8 @@
52
52
  "@atlaskit/rovo-agent-analytics": "^6.4.0",
53
53
  "@atlaskit/skeleton": "^4.4.0",
54
54
  "@atlaskit/spinner": "^20.4.0",
55
- "@atlaskit/tmp-editor-statsig": "^199.0.0",
56
- "@atlaskit/tokens": "^18.0.0",
55
+ "@atlaskit/tmp-editor-statsig": "^200.0.0",
56
+ "@atlaskit/tokens": "^18.2.0",
57
57
  "@atlaskit/tooltip": "^24.3.0",
58
58
  "@babel/runtime": "^7.0.0",
59
59
  "@compiled/react": "^1.0.2",