@atlaskit/rovo-agent-components 3.40.0 → 3.41.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,12 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 3.41.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`8036cb29672c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8036cb29672c7) -
8
+ Add avatar for Replit agent (OOTB)
9
+
3
10
  ## 3.40.0
4
11
 
5
12
  ### Minor Changes
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
9
+ /* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
10
+ var _default = exports.default = function _default(_ref) {
11
+ var size = _ref.size;
12
+ return /*#__PURE__*/_react.default.createElement("svg", {
13
+ width: size,
14
+ height: size,
15
+ viewBox: "0 0 32 32",
16
+ fill: "none",
17
+ xmlns: "http://www.w3.org/2000/svg",
18
+ "aria-hidden": "true"
19
+ }, /*#__PURE__*/_react.default.createElement("path", {
20
+ d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
21
+ fill: "#1C1D21"
22
+ }), /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "M16.2032 24.7882C16.2031 25.4524 15.6463 26 14.9716 26H9.23065C8.55611 25.9999 8.00008 25.4523 8 24.7882V20.7443C8.00001 20.0802 8.55607 19.5326 9.23065 19.5325H16.2032V24.7882Z",
24
+ fill: "#FD5402"
25
+ }), /*#__PURE__*/_react.default.createElement("path", {
26
+ d: "M23.6809 12.4577C24.4037 12.4578 25 13.0551 25 13.7797V18.1911C24.9999 18.9282 24.4037 19.5129 23.6809 19.513H16.2103V12.4577H23.6809Z",
27
+ fill: "#FD5402"
28
+ }), /*#__PURE__*/_react.default.createElement("path", {
29
+ d: "M14.9716 6C15.6582 6 16.2032 6.54905 16.2032 7.21449V12.4675H9.23065C8.54437 12.4674 8.00022 11.9191 8 11.2539V7.21449C8 6.53747 8.55606 6.00015 9.23065 6H14.9716Z",
30
+ fill: "#FD5402"
31
+ }));
32
+ };
@@ -191,6 +191,11 @@ var GammaAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
191
191
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent'));
192
192
  });
193
193
  });
194
+ var ReplitAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
195
+ return Promise.resolve().then(function () {
196
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent'));
197
+ });
198
+ });
194
199
  /**
195
200
  * OOTB Agents avatars - end
196
201
  */
@@ -458,6 +463,16 @@ var outOfTheBoxAgentAvatar = {
458
463
  });
459
464
  },
460
465
  color: blueColor
466
+ },
467
+ mcp_replit_agent: {
468
+ getRender: function getRender(size) {
469
+ return /*#__PURE__*/_react.default.createElement(ReplitAgentAvatar, {
470
+ size: _avatar.AVATAR_SIZES[size],
471
+ primaryColor: "",
472
+ secondaryColor: ""
473
+ });
474
+ },
475
+ color: blueColor
461
476
  }
462
477
  };
463
478
 
@@ -0,0 +1,24 @@
1
+ /* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
2
+ import React from 'react';
3
+ export default (({
4
+ size
5
+ }) => /*#__PURE__*/React.createElement("svg", {
6
+ width: size,
7
+ height: size,
8
+ viewBox: "0 0 32 32",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ "aria-hidden": "true"
12
+ }, /*#__PURE__*/React.createElement("path", {
13
+ d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
14
+ fill: "#1C1D21"
15
+ }), /*#__PURE__*/React.createElement("path", {
16
+ d: "M16.2032 24.7882C16.2031 25.4524 15.6463 26 14.9716 26H9.23065C8.55611 25.9999 8.00008 25.4523 8 24.7882V20.7443C8.00001 20.0802 8.55607 19.5326 9.23065 19.5325H16.2032V24.7882Z",
17
+ fill: "#FD5402"
18
+ }), /*#__PURE__*/React.createElement("path", {
19
+ d: "M23.6809 12.4577C24.4037 12.4578 25 13.0551 25 13.7797V18.1911C24.9999 18.9282 24.4037 19.5129 23.6809 19.513H16.2103V12.4577H23.6809Z",
20
+ fill: "#FD5402"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ d: "M14.9716 6C15.6582 6 16.2032 6.54905 16.2032 7.21449V12.4675H9.23065C8.54437 12.4674 8.00022 11.9191 8 11.2539V7.21449C8 6.53747 8.55606 6.00015 9.23065 6H14.9716Z",
23
+ fill: "#FD5402"
24
+ })));
@@ -55,6 +55,7 @@ const FigmaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@
55
55
  const HubSpotAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-HubSpotAgentAvatar"*/'./assets/hubspot-agent'));
56
56
  const IntercomAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-IntercomAgentAvatar"*/'./assets/intercom-agent'));
57
57
  const GammaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent'));
58
+ const ReplitAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent'));
58
59
  /**
59
60
  * OOTB Agents avatars - end
60
61
  */
@@ -274,6 +275,14 @@ const outOfTheBoxAgentAvatar = {
274
275
  secondaryColor: ""
275
276
  }),
276
277
  color: blueColor
278
+ },
279
+ mcp_replit_agent: {
280
+ getRender: size => /*#__PURE__*/React.createElement(ReplitAgentAvatar, {
281
+ size: AVATAR_SIZES[size],
282
+ primaryColor: "",
283
+ secondaryColor: ""
284
+ }),
285
+ color: blueColor
277
286
  }
278
287
  };
279
288
 
@@ -0,0 +1,25 @@
1
+ /* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
2
+ import React from 'react';
3
+ export default (function (_ref) {
4
+ var size = _ref.size;
5
+ return /*#__PURE__*/React.createElement("svg", {
6
+ width: size,
7
+ height: size,
8
+ viewBox: "0 0 32 32",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg",
11
+ "aria-hidden": "true"
12
+ }, /*#__PURE__*/React.createElement("path", {
13
+ d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
14
+ fill: "#1C1D21"
15
+ }), /*#__PURE__*/React.createElement("path", {
16
+ d: "M16.2032 24.7882C16.2031 25.4524 15.6463 26 14.9716 26H9.23065C8.55611 25.9999 8.00008 25.4523 8 24.7882V20.7443C8.00001 20.0802 8.55607 19.5326 9.23065 19.5325H16.2032V24.7882Z",
17
+ fill: "#FD5402"
18
+ }), /*#__PURE__*/React.createElement("path", {
19
+ d: "M23.6809 12.4577C24.4037 12.4578 25 13.0551 25 13.7797V18.1911C24.9999 18.9282 24.4037 19.5129 23.6809 19.513H16.2103V12.4577H23.6809Z",
20
+ fill: "#FD5402"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ d: "M14.9716 6C15.6582 6 16.2032 6.54905 16.2032 7.21449V12.4675H9.23065C8.54437 12.4674 8.00022 11.9191 8 11.2539V7.21449C8 6.53747 8.55606 6.00015 9.23065 6H14.9716Z",
23
+ fill: "#FD5402"
24
+ }));
25
+ });
@@ -118,6 +118,9 @@ var IntercomAgentAvatar = /*#__PURE__*/lazy(function () {
118
118
  var GammaAgentAvatar = /*#__PURE__*/lazy(function () {
119
119
  return import( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent');
120
120
  });
121
+ var ReplitAgentAvatar = /*#__PURE__*/lazy(function () {
122
+ return import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent');
123
+ });
121
124
  /**
122
125
  * OOTB Agents avatars - end
123
126
  */
@@ -385,6 +388,16 @@ var outOfTheBoxAgentAvatar = {
385
388
  });
386
389
  },
387
390
  color: blueColor
391
+ },
392
+ mcp_replit_agent: {
393
+ getRender: function getRender(size) {
394
+ return /*#__PURE__*/React.createElement(ReplitAgentAvatar, {
395
+ size: AVATAR_SIZES[size],
396
+ primaryColor: "",
397
+ secondaryColor: ""
398
+ });
399
+ },
400
+ color: blueColor
388
401
  }
389
402
  };
390
403
 
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type AvatarIconProps } from './types';
3
+ declare const _default: ({ size }: AvatarIconProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type AvatarIconProps } from './types';
3
+ declare const _default: ({ size }: AvatarIconProps) => React.JSX.Element;
4
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "3.40.0",
3
+ "version": "3.41.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
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,7 +37,7 @@
37
37
  "@atlaskit/avatar": "^25.8.0",
38
38
  "@atlaskit/button": "^23.10.0",
39
39
  "@atlaskit/css": "^0.19.0",
40
- "@atlaskit/dropdown-menu": "^16.5.0",
40
+ "@atlaskit/dropdown-menu": "^16.6.0",
41
41
  "@atlaskit/flag": "^17.8.0",
42
42
  "@atlaskit/heading": "^5.3.0",
43
43
  "@atlaskit/icon": "^32.0.0",