@atlaskit/rovo-agent-components 3.15.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 CHANGED
@@ -1,5 +1,12 @@
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
+
3
10
  ## 3.15.0
4
11
 
5
12
  ### 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 _starStarredStarFilled = _interopRequireDefault(require("@atlaskit/icon/core/migration/star-starred--star-filled"));
18
- var _starUnstarredStar = _interopRequireDefault(require("@atlaskit/icon/core/migration/star-unstarred--star"));
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(_starStarredStarFilled.default, {
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(_starUnstarredStar.default, {
51
+ }) : /*#__PURE__*/React.createElement(_starUnstarred.default, {
52
52
  LEGACY_size: "medium",
53
53
  spacing: "spacious",
54
54
  label: formatMessage(_messages.default.clickToFavouriteLabel),
@@ -18,7 +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 _showMoreHorizontalMore = _interopRequireDefault(require("@atlaskit/icon/core/migration/show-more-horizontal--more"));
21
+ var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
22
22
  var _compiled = require("@atlaskit/primitives/compiled");
23
23
  var _chatIcon = require("../../common/ui/chat-icon");
24
24
  var _messages = _interopRequireDefault(require("./messages"));
@@ -154,7 +154,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
154
154
  var triggerRef = _ref4.triggerRef,
155
155
  props = (0, _objectWithoutProperties2.default)(_ref4, _excluded);
156
156
  return /*#__PURE__*/_react.default.createElement(_new.IconButton, (0, _extends2.default)({}, props, {
157
- icon: _showMoreHorizontalMore.default,
157
+ icon: _showMoreHorizontal.default,
158
158
  label: agentName ? formatMessage(_messages.default.moreActionsForLabel, {
159
159
  agentName: agentName
160
160
  }) : formatMessage(_messages.default.moreActionsLabel),
@@ -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 _starUnstarredStar = _interopRequireDefault(require("@atlaskit/icon/core/migration/star-unstarred--star"));
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(_starUnstarredStar.default, {
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 && (0, _platformFeatureFlags.fg)('agent_studio_permissions_settings_m3_profiles')) {
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/migration/star-starred--star-filled';
9
- import StarUnstarredIconMigration from '@atlaskit/icon/core/migration/star-unstarred--star';
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,7 +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/migration/show-more-horizontal--more';
9
+ import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
10
10
  import { Box, Inline } from '@atlaskit/primitives/compiled';
11
11
  import { ChatPillIcon } from '../../common/ui/chat-icon';
12
12
  import messages from './messages';
@@ -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/migration/star-unstarred--star';
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';
@@ -47,7 +47,7 @@ export const getAgentCreator = ({
47
47
  };
48
48
  }
49
49
  if (creatorType === 'CUSTOMER') {
50
- if (authoringTeam && fg('agent_studio_permissions_settings_m3_profiles')) {
50
+ if (authoringTeam) {
51
51
  var _authoringTeam$profil;
52
52
  return {
53
53
  type: 'CUSTOMER',
@@ -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/migration/star-starred--star-filled';
10
- import StarUnstarredIconMigration from '@atlaskit/icon/core/migration/star-unstarred--star';
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,7 +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/migration/show-more-horizontal--more';
14
+ import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
15
15
  import { Box, Inline } from '@atlaskit/primitives/compiled';
16
16
  import { ChatPillIcon } from '../../common/ui/chat-icon';
17
17
  import messages from './messages';
@@ -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/migration/star-unstarred--star';
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 && fg('agent_studio_permissions_settings_m3_profiles')) {
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.15.0",
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://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
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.5.0",
38
- "@atlaskit/browser-apis": "^0.0.1",
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.0.0",
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.4.0",
51
- "@atlaskit/tooltip": "^20.10.0",
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,9 +116,6 @@
117
116
  "should-render-to-parent-should-be-true-ai-mate": {
118
117
  "type": "boolean"
119
118
  },
120
- "agent_studio_permissions_settings_m3_profiles": {
121
- "type": "boolean"
122
- },
123
119
  "jira_ai_force_rovo_dev_avatar": {
124
120
  "type": "boolean"
125
121
  },