@atlaskit/rovo-agent-components 3.14.0 → 3.15.1
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 +14 -0
- package/dist/cjs/common/ui/star-icon-button/index.js +4 -4
- package/dist/cjs/ui/agent-dropdown-menu/index.js +3 -4
- package/dist/cjs/ui/agent-profile-info/agent-star-count/index.js +2 -2
- package/dist/cjs/ui/agent-profile-info/index.js +1 -1
- package/dist/es2019/common/ui/star-icon-button/index.js +2 -2
- package/dist/es2019/ui/agent-dropdown-menu/index.js +2 -3
- package/dist/es2019/ui/agent-profile-info/agent-star-count/index.js +1 -1
- package/dist/es2019/ui/agent-profile-info/index.js +1 -1
- package/dist/esm/common/ui/star-icon-button/index.js +2 -2
- package/dist/esm/ui/agent-dropdown-menu/index.js +2 -3
- package/dist/esm/ui/agent-profile-info/agent-star-count/index.js +1 -1
- package/dist/esm/ui/agent-profile-info/index.js +1 -1
- package/package.json +7 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.15.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`0025a26ae0e11`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0025a26ae0e11) -
|
|
8
|
+
Icon entrypoint migration
|
|
9
|
+
|
|
10
|
+
## 3.15.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`81f7a388b27a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/81f7a388b27a2) -
|
|
15
|
+
clean up expandable_subsection_styling_fix fg and a11y_agents_fixes
|
|
16
|
+
|
|
3
17
|
## 3.14.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -14,8 +14,8 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
15
15
|
var _reactIntlNext = require("react-intl-next");
|
|
16
16
|
var _css = require("@atlaskit/css");
|
|
17
|
-
var
|
|
18
|
-
var
|
|
17
|
+
var _starStarred = _interopRequireDefault(require("@atlaskit/icon/core/star-starred"));
|
|
18
|
+
var _starUnstarred = _interopRequireDefault(require("@atlaskit/icon/core/star-unstarred"));
|
|
19
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
20
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
21
21
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -43,12 +43,12 @@ var StarIconButton = exports.StarIconButton = function StarIconButton(_ref) {
|
|
|
43
43
|
onMouseLeave: function onMouseLeave() {
|
|
44
44
|
return setIsHovered(false);
|
|
45
45
|
}
|
|
46
|
-
}, isStarred || isHovered ? /*#__PURE__*/React.createElement(
|
|
46
|
+
}, isStarred || isHovered ? /*#__PURE__*/React.createElement(_starStarred.default, {
|
|
47
47
|
LEGACY_size: "medium",
|
|
48
48
|
spacing: "spacious",
|
|
49
49
|
label: formatMessage(_messages.default.removeFromFavouritesLabel),
|
|
50
50
|
color: "var(--ds-icon-accent-orange, #E06C00)"
|
|
51
|
-
}) : /*#__PURE__*/React.createElement(
|
|
51
|
+
}) : /*#__PURE__*/React.createElement(_starUnstarred.default, {
|
|
52
52
|
LEGACY_size: "medium",
|
|
53
53
|
spacing: "spacious",
|
|
54
54
|
label: formatMessage(_messages.default.clickToFavouriteLabel),
|
|
@@ -18,8 +18,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
18
18
|
var _reactIntlNext = require("react-intl-next");
|
|
19
19
|
var _new = _interopRequireWildcard(require("@atlaskit/button/new"));
|
|
20
20
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
21
|
-
var
|
|
22
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
|
+
var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
|
|
23
22
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
24
23
|
var _chatIcon = require("../../common/ui/chat-icon");
|
|
25
24
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
@@ -155,8 +154,8 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
|
|
|
155
154
|
var triggerRef = _ref4.triggerRef,
|
|
156
155
|
props = (0, _objectWithoutProperties2.default)(_ref4, _excluded);
|
|
157
156
|
return /*#__PURE__*/_react.default.createElement(_new.IconButton, (0, _extends2.default)({}, props, {
|
|
158
|
-
icon:
|
|
159
|
-
label: agentName
|
|
157
|
+
icon: _showMoreHorizontal.default,
|
|
158
|
+
label: agentName ? formatMessage(_messages.default.moreActionsForLabel, {
|
|
160
159
|
agentName: agentName
|
|
161
160
|
}) : formatMessage(_messages.default.moreActionsLabel),
|
|
162
161
|
ref: triggerRef,
|
|
@@ -11,7 +11,7 @@ require("./index.compiled.css");
|
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
|
-
var
|
|
14
|
+
var _starUnstarred = _interopRequireDefault(require("@atlaskit/icon/core/star-unstarred"));
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
16
|
var _skeleton = _interopRequireDefault(require("@atlaskit/skeleton"));
|
|
17
17
|
var _messages = require("./messages");
|
|
@@ -30,7 +30,7 @@ var AgentStarCount = exports.AgentStarCount = function AgentStarCount(_ref) {
|
|
|
30
30
|
}
|
|
31
31
|
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
32
32
|
xcss: styles.count
|
|
33
|
-
}, /*#__PURE__*/React.createElement(
|
|
33
|
+
}, /*#__PURE__*/React.createElement(_starUnstarred.default, {
|
|
34
34
|
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)"),
|
|
35
35
|
color: "currentColor",
|
|
36
36
|
label: "",
|
|
@@ -53,7 +53,7 @@ var getAgentCreator = exports.getAgentCreator = function getAgentCreator(_ref) {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
if (creatorType === 'CUSTOMER') {
|
|
56
|
-
if (authoringTeam
|
|
56
|
+
if (authoringTeam) {
|
|
57
57
|
var _authoringTeam$profil;
|
|
58
58
|
return {
|
|
59
59
|
type: 'CUSTOMER',
|
|
@@ -5,8 +5,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
|
-
import StarIconMigration from '@atlaskit/icon/core/
|
|
9
|
-
import StarUnstarredIconMigration from '@atlaskit/icon/core/
|
|
8
|
+
import StarIconMigration from '@atlaskit/icon/core/star-starred';
|
|
9
|
+
import StarUnstarredIconMigration from '@atlaskit/icon/core/star-unstarred';
|
|
10
10
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import messages from './messages';
|
|
12
12
|
const styles = {
|
|
@@ -6,8 +6,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
6
6
|
import { useIntl } from 'react-intl-next';
|
|
7
7
|
import Button, { IconButton } from '@atlaskit/button/new';
|
|
8
8
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
9
|
-
import MoreIcon from '@atlaskit/icon/core/
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
11
10
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
12
11
|
import { ChatPillIcon } from '../../common/ui/chat-icon';
|
|
13
12
|
import messages from './messages';
|
|
@@ -117,7 +116,7 @@ export const AgentDropdownMenu = ({
|
|
|
117
116
|
...props
|
|
118
117
|
}) => /*#__PURE__*/React.createElement(IconButton, _extends({}, props, {
|
|
119
118
|
icon: MoreIcon,
|
|
120
|
-
label: agentName
|
|
119
|
+
label: agentName ? formatMessage(messages.moreActionsForLabel, {
|
|
121
120
|
agentName: agentName
|
|
122
121
|
}) : formatMessage(messages.moreActionsLabel),
|
|
123
122
|
ref: triggerRef,
|
|
@@ -3,7 +3,7 @@ import "./index.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
|
-
import StarIcon from '@atlaskit/icon/core/
|
|
6
|
+
import StarIcon from '@atlaskit/icon/core/star-unstarred';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import Skeleton from '@atlaskit/skeleton';
|
|
9
9
|
import { messages } from './messages';
|
|
@@ -6,8 +6,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { useIntl } from 'react-intl-next';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
|
-
import StarIconMigration from '@atlaskit/icon/core/
|
|
10
|
-
import StarUnstarredIconMigration from '@atlaskit/icon/core/
|
|
9
|
+
import StarIconMigration from '@atlaskit/icon/core/star-starred';
|
|
10
|
+
import StarUnstarredIconMigration from '@atlaskit/icon/core/star-unstarred';
|
|
11
11
|
import { Pressable } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import messages from './messages';
|
|
13
13
|
var styles = {
|
|
@@ -11,8 +11,7 @@ import React, { useEffect, useState } from 'react';
|
|
|
11
11
|
import { useIntl } from 'react-intl-next';
|
|
12
12
|
import Button, { IconButton } from '@atlaskit/button/new';
|
|
13
13
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
14
|
-
import MoreIcon from '@atlaskit/icon/core/
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
+
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
16
15
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
17
16
|
import { ChatPillIcon } from '../../common/ui/chat-icon';
|
|
18
17
|
import messages from './messages';
|
|
@@ -147,7 +146,7 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
|
|
|
147
146
|
props = _objectWithoutProperties(_ref4, _excluded);
|
|
148
147
|
return /*#__PURE__*/React.createElement(IconButton, _extends({}, props, {
|
|
149
148
|
icon: MoreIcon,
|
|
150
|
-
label: agentName
|
|
149
|
+
label: agentName ? formatMessage(messages.moreActionsForLabel, {
|
|
151
150
|
agentName: agentName
|
|
152
151
|
}) : formatMessage(messages.moreActionsLabel),
|
|
153
152
|
ref: triggerRef,
|
|
@@ -3,7 +3,7 @@ import "./index.compiled.css";
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
|
-
import StarIcon from '@atlaskit/icon/core/
|
|
6
|
+
import StarIcon from '@atlaskit/icon/core/star-unstarred';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import Skeleton from '@atlaskit/skeleton';
|
|
9
9
|
import { messages } from './messages';
|
|
@@ -46,7 +46,7 @@ export var getAgentCreator = function getAgentCreator(_ref) {
|
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
if (creatorType === 'CUSTOMER') {
|
|
49
|
-
if (authoringTeam
|
|
49
|
+
if (authoringTeam) {
|
|
50
50
|
var _authoringTeam$profil;
|
|
51
51
|
return {
|
|
52
52
|
type: 'CUSTOMER',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.1",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"category": "Components"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
-
"repository": "https://
|
|
17
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
|
|
18
18
|
"main": "dist/cjs/index.js",
|
|
19
19
|
"module": "dist/esm/index.js",
|
|
20
20
|
"module:es2019": "dist/es2019/index.js",
|
|
@@ -34,21 +34,20 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/afm-i18n-platform-ai-mate-rovo-agent-components": "2.10.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
|
-
"@atlaskit/avatar": "^25.
|
|
38
|
-
"@atlaskit/
|
|
39
|
-
"@atlaskit/button": "^23.6.0",
|
|
37
|
+
"@atlaskit/avatar": "^25.6.0",
|
|
38
|
+
"@atlaskit/button": "^23.7.0",
|
|
40
39
|
"@atlaskit/css": "^0.17.0",
|
|
41
40
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
42
41
|
"@atlaskit/heading": "^5.2.0",
|
|
43
|
-
"@atlaskit/icon": "^29.
|
|
42
|
+
"@atlaskit/icon": "^29.1.0",
|
|
44
43
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
45
44
|
"@atlaskit/link": "^3.2.0",
|
|
46
45
|
"@atlaskit/logo": "^19.9.0",
|
|
47
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
47
|
"@atlaskit/primitives": "^16.4.0",
|
|
49
48
|
"@atlaskit/skeleton": "^2.1.0",
|
|
50
|
-
"@atlaskit/tokens": "^8.
|
|
51
|
-
"@atlaskit/tooltip": "^20.
|
|
49
|
+
"@atlaskit/tokens": "^8.5.0",
|
|
50
|
+
"@atlaskit/tooltip": "^20.11.0",
|
|
52
51
|
"@babel/runtime": "^7.0.0",
|
|
53
52
|
"@compiled/react": "^0.18.6",
|
|
54
53
|
"react-dom": "^18.2.0",
|
|
@@ -117,12 +116,6 @@
|
|
|
117
116
|
"should-render-to-parent-should-be-true-ai-mate": {
|
|
118
117
|
"type": "boolean"
|
|
119
118
|
},
|
|
120
|
-
"a11y_agents_fixes": {
|
|
121
|
-
"type": "boolean"
|
|
122
|
-
},
|
|
123
|
-
"agent_studio_permissions_settings_m3_profiles": {
|
|
124
|
-
"type": "boolean"
|
|
125
|
-
},
|
|
126
119
|
"jira_ai_force_rovo_dev_avatar": {
|
|
127
120
|
"type": "boolean"
|
|
128
121
|
},
|