@atlaskit/rovo-agent-components 3.35.1 → 3.36.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,13 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 3.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`9ad74d8309d6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9ad74d8309d6f) -
8
+ Extracted `AgentNameSideNav` into new entry-point
9
+ `@atlaskit/rovo-agent-components/agent-name-side-nav`
10
+
3
11
  ## 3.35.1
4
12
 
5
13
  ### Patch Changes
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "@atlaskit/rovo-agent-components/agent-name-side-nav",
3
+ "main": "../dist/cjs/ui/agent-name-side-nav/index.js",
4
+ "module": "../dist/esm/ui/agent-name-side-nav/index.js",
5
+ "module:es2019": "../dist/es2019/ui/agent-name-side-nav/index.js",
6
+ "sideEffects": [
7
+ "*.compiled.css"
8
+ ],
9
+ "types": "../dist/types/ui/agent-name-side-nav/index.d.ts",
10
+ "typesVersions": {
11
+ ">=4.5 <5.9": {
12
+ "*": [
13
+ "../dist/types-ts4.5/ui/agent-name-side-nav/index.d.ts"
14
+ ]
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,4 @@
1
+
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}._1e0c1n7u{display:inline-grid}
3
+ ._4cvr1h6o{align-items:center}
4
+ ._yv0e1ghl{grid-template-columns:1fr auto}
@@ -0,0 +1,25 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.AgentNameSideNav = void 0;
9
+ require("./index.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
11
+ var _react = _interopRequireDefault(require("react"));
12
+ var _compiled = require("@atlaskit/primitives/compiled");
13
+ // This workaround prevents unwanted text truncation in LinkMenuItem caused by the current
14
+ // behavior in the ADS 'LinkMenuItem' component.
15
+ // More info: https://atlassian.slack.com/archives/C09FTFN0APN/p1770606423849489
16
+ var agentNameStyles = null;
17
+ var AgentNameSideNav = exports.AgentNameSideNav = function AgentNameSideNav(_ref) {
18
+ var children = _ref.children,
19
+ name = _ref.name;
20
+ return /*#__PURE__*/_react.default.createElement("div", {
21
+ className: (0, _runtime.ax)(["_zulp1b66 _1e0c1n7u _yv0e1ghl _4cvr1h6o"])
22
+ }, /*#__PURE__*/_react.default.createElement(_compiled.Text, {
23
+ maxLines: 1
24
+ }, name), children);
25
+ };
@@ -0,0 +1,4 @@
1
+
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}._1e0c1n7u{display:inline-grid}
3
+ ._4cvr1h6o{align-items:center}
4
+ ._yv0e1ghl{grid-template-columns:1fr auto}
@@ -0,0 +1,17 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
+ import "./index.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { Text } from '@atlaskit/primitives/compiled';
6
+ // This workaround prevents unwanted text truncation in LinkMenuItem caused by the current
7
+ // behavior in the ADS 'LinkMenuItem' component.
8
+ // More info: https://atlassian.slack.com/archives/C09FTFN0APN/p1770606423849489
9
+ const agentNameStyles = null;
10
+ export const AgentNameSideNav = ({
11
+ children,
12
+ name
13
+ }) => /*#__PURE__*/React.createElement("div", {
14
+ className: ax(["_zulp1b66 _1e0c1n7u _yv0e1ghl _4cvr1h6o"])
15
+ }, /*#__PURE__*/React.createElement(Text, {
16
+ maxLines: 1
17
+ }, name), children);
@@ -0,0 +1,4 @@
1
+
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}._1e0c1n7u{display:inline-grid}
3
+ ._4cvr1h6o{align-items:center}
4
+ ._yv0e1ghl{grid-template-columns:1fr auto}
@@ -0,0 +1,18 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.38.1 */
2
+ import "./index.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { Text } from '@atlaskit/primitives/compiled';
6
+ // This workaround prevents unwanted text truncation in LinkMenuItem caused by the current
7
+ // behavior in the ADS 'LinkMenuItem' component.
8
+ // More info: https://atlassian.slack.com/archives/C09FTFN0APN/p1770606423849489
9
+ var agentNameStyles = null;
10
+ export var AgentNameSideNav = function AgentNameSideNav(_ref) {
11
+ var children = _ref.children,
12
+ name = _ref.name;
13
+ return /*#__PURE__*/React.createElement("div", {
14
+ className: ax(["_zulp1b66 _1e0c1n7u _yv0e1ghl _4cvr1h6o"])
15
+ }, /*#__PURE__*/React.createElement(Text, {
16
+ maxLines: 1
17
+ }, name), children);
18
+ };
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare const AgentNameSideNav: ({ children, name, }: {
7
+ children: React.ReactNode;
8
+ name: string;
9
+ }) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare const AgentNameSideNav: ({ children, name, }: {
7
+ children: React.ReactNode;
8
+ name: string;
9
+ }) => JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "3.35.1",
3
+ "version": "3.36.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",