@atlaskit/rovo-agent-components 8.1.4 → 8.1.5
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 +8 -0
- package/dist/cjs/ui/agent-dropdown-menu/index.js +2 -2
- package/dist/cjs/ui/agent-profile-info/index.js +1 -1
- package/dist/es2019/ui/agent-dropdown-menu/index.js +2 -2
- package/dist/es2019/ui/agent-profile-info/index.js +1 -1
- package/dist/esm/ui/agent-dropdown-menu/index.js +2 -2
- package/dist/esm/ui/agent-profile-info/index.js +1 -1
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 8.1.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f75155b315007`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f75155b315007) -
|
|
8
|
+
Remove jira_browse_agents_modal feature gate (winning variant: true). Inline truthy branches,
|
|
9
|
+
delete dead code, and clean up test wrappers.
|
|
10
|
+
|
|
3
11
|
## 8.1.4
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -195,12 +195,12 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
|
|
|
195
195
|
setHasBeenCopied(false);
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
}, /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItemGroup, null,
|
|
198
|
+
}, /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItemGroup, null, customDropdownOptions === null || customDropdownOptions === void 0 ? void 0 : customDropdownOptions.map(function (option) {
|
|
199
199
|
return /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
|
|
200
200
|
key: option.id,
|
|
201
201
|
onClick: option.onClick
|
|
202
202
|
}, option.label);
|
|
203
|
-
})
|
|
203
|
+
}), showViewAgentOption && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
|
|
204
204
|
onClick: onViewAgentClick
|
|
205
205
|
}, formatMessage(_messages.default.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
|
|
206
206
|
onClick: onViewAgentFullProfileClick
|
|
@@ -201,5 +201,5 @@ var AgentProfileInfo = exports.AgentProfileInfo = function AgentProfileInfo(_ref
|
|
|
201
201
|
})), creatorRender, !!agentDescription && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
202
202
|
xcss: styles.description,
|
|
203
203
|
as: "p"
|
|
204
|
-
}, agentDescription), starCountRender, !!renderAdditionalContent &&
|
|
204
|
+
}, agentDescription), starCountRender, !!renderAdditionalContent && renderAdditionalContent());
|
|
205
205
|
};
|
|
@@ -151,10 +151,10 @@ export const AgentDropdownMenu = ({
|
|
|
151
151
|
setHasBeenCopied(false);
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
|
-
}, /*#__PURE__*/React.createElement(DropdownItemGroup, null,
|
|
154
|
+
}, /*#__PURE__*/React.createElement(DropdownItemGroup, null, customDropdownOptions === null || customDropdownOptions === void 0 ? void 0 : customDropdownOptions.map(option => /*#__PURE__*/React.createElement(DropdownItem, {
|
|
155
155
|
key: option.id,
|
|
156
156
|
onClick: option.onClick
|
|
157
|
-
}, option.label))
|
|
157
|
+
}, option.label)), showViewAgentOption && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
158
158
|
onClick: onViewAgentClick
|
|
159
159
|
}, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
160
160
|
onClick: onViewAgentFullProfileClick
|
|
@@ -196,5 +196,5 @@ export const AgentProfileInfo = ({
|
|
|
196
196
|
})), creatorRender, !!agentDescription && /*#__PURE__*/React.createElement(Box, {
|
|
197
197
|
xcss: styles.description,
|
|
198
198
|
as: "p"
|
|
199
|
-
}, agentDescription), starCountRender, !!renderAdditionalContent &&
|
|
199
|
+
}, agentDescription), starCountRender, !!renderAdditionalContent && renderAdditionalContent());
|
|
200
200
|
};
|
|
@@ -186,12 +186,12 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
|
|
|
186
186
|
setHasBeenCopied(false);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
}, /*#__PURE__*/React.createElement(DropdownItemGroup, null,
|
|
189
|
+
}, /*#__PURE__*/React.createElement(DropdownItemGroup, null, customDropdownOptions === null || customDropdownOptions === void 0 ? void 0 : customDropdownOptions.map(function (option) {
|
|
190
190
|
return /*#__PURE__*/React.createElement(DropdownItem, {
|
|
191
191
|
key: option.id,
|
|
192
192
|
onClick: option.onClick
|
|
193
193
|
}, option.label);
|
|
194
|
-
})
|
|
194
|
+
}), showViewAgentOption && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
195
195
|
onClick: onViewAgentClick
|
|
196
196
|
}, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
197
197
|
onClick: onViewAgentFullProfileClick
|
|
@@ -194,5 +194,5 @@ export var AgentProfileInfo = function AgentProfileInfo(_ref3) {
|
|
|
194
194
|
})), creatorRender, !!agentDescription && /*#__PURE__*/React.createElement(Box, {
|
|
195
195
|
xcss: styles.description,
|
|
196
196
|
as: "p"
|
|
197
|
-
}, agentDescription), starCountRender, !!renderAdditionalContent &&
|
|
197
|
+
}, agentDescription), starCountRender, !!renderAdditionalContent && renderAdditionalContent());
|
|
198
198
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.5",
|
|
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": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/rovo-agent-analytics": "^6.0.0",
|
|
50
50
|
"@atlaskit/skeleton": "^4.2.0",
|
|
51
51
|
"@atlaskit/spinner": "^20.1.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^133.
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^133.2.0",
|
|
53
53
|
"@atlaskit/tokens": "^16.3.0",
|
|
54
54
|
"@atlaskit/tooltip": "^23.1.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|
|
@@ -139,9 +139,6 @@
|
|
|
139
139
|
},
|
|
140
140
|
"jira_improve_agent_profile_for_a2a": {
|
|
141
141
|
"type": "boolean"
|
|
142
|
-
},
|
|
143
|
-
"jira_browse_agents_modal": {
|
|
144
|
-
"type": "boolean"
|
|
145
142
|
}
|
|
146
143
|
}
|
|
147
144
|
}
|