@atlaskit/rovo-agent-components 5.2.3 → 6.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 CHANGED
@@ -1,5 +1,40 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 6.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
+ - Updated dependencies
28
+
29
+ ## 5.3.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [`3c682874dac06`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3c682874dac06) -
34
+ [ux] Hide the "Agent by …" creator attribution for `REMOTE_A2A` agents on the agent profile card,
35
+ thebrowse agents modal view-agent panel, and agent cards.
36
+ Behind`rovo_hide_remote_a2a_agent_creator`.
37
+
3
38
  ## 5.2.3
4
39
 
5
40
  ### Patch Changes
@@ -117,6 +117,9 @@ var AgentProfileCreator = exports.AgentProfileCreator = function AgentProfileCre
117
117
  });
118
118
  }
119
119
  if (creator.type === 'REMOTE_A2A') {
120
+ if ((0, _platformFeatureFlags.fg)('rovo_hide_remote_a2a_agent_creator')) {
121
+ return null;
122
+ }
120
123
  return formatMessage(_messages.messages.remoteAgentCreatedBy, {
121
124
  creatorNameWithLink: creator.name
122
125
  });
@@ -111,6 +111,9 @@ export const AgentProfileCreator = ({
111
111
  });
112
112
  }
113
113
  if (creator.type === 'REMOTE_A2A') {
114
+ if (fg('rovo_hide_remote_a2a_agent_creator')) {
115
+ return null;
116
+ }
114
117
  return formatMessage(messages.remoteAgentCreatedBy, {
115
118
  creatorNameWithLink: creator.name
116
119
  });
@@ -110,6 +110,9 @@ export var AgentProfileCreator = function AgentProfileCreator(_ref2) {
110
110
  });
111
111
  }
112
112
  if (creator.type === 'REMOTE_A2A') {
113
+ if (fg('rovo_hide_remote_a2a_agent_creator')) {
114
+ return null;
115
+ }
113
116
  return formatMessage(messages.remoteAgentCreatedBy, {
114
117
  creatorNameWithLink: creator.name
115
118
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "5.2.3",
3
+ "version": "6.0.0",
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": {
@@ -26,37 +26,29 @@
26
26
  "module": "dist/esm/index.js",
27
27
  "module:es2019": "dist/es2019/index.js",
28
28
  "types": "dist/types/index.d.ts",
29
- "typesVersions": {
30
- ">=4.5 <5.4": {
31
- "*": [
32
- "dist/types-ts4.5/*",
33
- "dist/types-ts4.5/index.d.ts"
34
- ]
35
- }
36
- },
37
29
  "atlaskit:src": "src/index.ts",
38
30
  "sideEffects": [
39
31
  "*.compiled.css"
40
32
  ],
41
33
  "dependencies": {
42
34
  "@atlaskit/afm-i18n-platform-ai-mate-rovo-agent-components": "2.10.0",
43
- "@atlaskit/analytics-next": "^11.3.0",
44
- "@atlaskit/avatar": "^25.15.0",
45
- "@atlaskit/button": "^23.11.0",
46
- "@atlaskit/css": "^0.19.0",
47
- "@atlaskit/dropdown-menu": "^16.10.0",
48
- "@atlaskit/flag": "^17.13.0",
49
- "@atlaskit/heading": "^5.4.0",
50
- "@atlaskit/icon": "^35.4.0",
51
- "@atlaskit/link": "^3.4.0",
52
- "@atlaskit/logo": "^20.2.0",
53
- "@atlaskit/platform-feature-flags": "^1.1.0",
54
- "@atlaskit/primitives": "^19.0.0",
55
- "@atlaskit/rovo-agent-analytics": "^3.0.0",
56
- "@atlaskit/skeleton": "^2.2.0",
57
- "@atlaskit/spinner": "^19.1.0",
58
- "@atlaskit/tokens": "^13.4.0",
59
- "@atlaskit/tooltip": "^22.6.0",
35
+ "@atlaskit/analytics-next": "^12.0.0",
36
+ "@atlaskit/avatar": "^26.0.0",
37
+ "@atlaskit/button": "^24.0.0",
38
+ "@atlaskit/css": "^1.0.0",
39
+ "@atlaskit/dropdown-menu": "^17.0.0",
40
+ "@atlaskit/flag": "^18.0.0",
41
+ "@atlaskit/heading": "^6.0.0",
42
+ "@atlaskit/icon": "^36.0.0",
43
+ "@atlaskit/link": "^4.0.0",
44
+ "@atlaskit/logo": "^21.0.0",
45
+ "@atlaskit/platform-feature-flags": "^2.0.0",
46
+ "@atlaskit/primitives": "^20.0.0",
47
+ "@atlaskit/rovo-agent-analytics": "^4.0.0",
48
+ "@atlaskit/skeleton": "^3.0.0",
49
+ "@atlaskit/spinner": "^20.0.0",
50
+ "@atlaskit/tokens": "^14.0.0",
51
+ "@atlaskit/tooltip": "^23.0.0",
60
52
  "@babel/runtime": "^7.0.0",
61
53
  "@compiled/react": "^0.20.0",
62
54
  "react-dom": "^18.2.0",
@@ -142,6 +134,9 @@
142
134
  },
143
135
  "jira_browse_agents_modal": {
144
136
  "type": "boolean"
137
+ },
138
+ "rovo_hide_remote_a2a_agent_creator": {
139
+ "type": "boolean"
145
140
  }
146
141
  }
147
142
  }