@atlaskit/rovo-agent-components 3.27.0 → 3.28.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,25 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 3.28.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`8ca108f4ddc19`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8ca108f4ddc19) -
8
+ Improved alignment of verified icon badge
9
+ - [`e93d0946c0929`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e93d0946c0929) -
10
+ Auto sort for export path for last remaining ai-mate packages. Part of de-barreling effort of
11
+ TREX-67
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
17
+ ## 3.27.1
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 3.27.0
4
24
 
5
25
  ### Minor Changes
@@ -1,14 +1,12 @@
1
1
 
2
- ._zulp1b66{gap:var(--ds-space-050,4px)}._195gu2gc{margin-inline:var(--ds-space-100,8px)}
3
- ._1mouze3t{margin-block:var(--ds-space-0,0)}
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}
3
+ ._1mouze3t{margin-block:var(--ds-space-0,0)}._19pkv77o{margin-top:var(--ds-space-025,2px)}
4
4
  ._19pkze3t{margin-top:var(--ds-space-0,0)}
5
5
  ._1bah1yb4{justify-content:space-between}
6
- ._1e0c116y{display:inline-flex}
7
6
  ._1e0c1txw{display:flex}
8
7
  ._1i4qfg65{overflow-wrap:anywhere}
9
8
  ._1nmz1hna{word-break:break-word}
10
9
  ._4cvr1h6o{align-items:center}
11
10
  ._4cvr1y6m{align-items:flex-start}
12
- ._94n5v77o{bottom:var(--ds-space-025,2px)}
13
11
  ._kqswh2mm{position:relative}
14
12
  ._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
@@ -26,9 +26,8 @@ var styles = {
26
26
  description: "_19pkze3t _otyru2gc _1i4qfg65 _1nmz1hna",
27
27
  descriptionRefresh: "_1mouze3t _1i4qfg65 _1nmz1hna",
28
28
  wrapper: "_otyru2gc",
29
- tooltipWrapper: "_195gu2gc _1e0c116y _kqswh2mm _94n5v77o",
30
29
  headingWrapper: "_kqswh2mm",
31
- headingContentWrapper: "_195gu2gc"
30
+ hiddenIconWrapper: "_19pkv77o"
32
31
  };
33
32
  var getAgentCreator = exports.getAgentCreator = function getAgentCreator(_ref) {
34
33
  var creatorType = _ref.creatorType,
@@ -165,21 +164,19 @@ var AgentProfileInfo = exports.AgentProfileInfo = function AgentProfileInfo(_ref
165
164
  space: "space.100",
166
165
  alignBlock: "center"
167
166
  }, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
168
- xcss: styles.headingWrapper,
169
- alignBlock: "end"
167
+ space: "space.100",
168
+ xcss: styles.headingWrapper
170
169
  }, /*#__PURE__*/_react.default.createElement(_heading.default, {
171
170
  as: "h2",
172
171
  size: (0, _platformFeatureFlags.fg)('rovo_agent_empty_state_refresh') ? 'medium' : 'xlarge'
173
- }, agentName), isHidden && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
174
- xcss: styles.tooltipWrapper
172
+ }, agentName), headingRender, isHidden && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
173
+ xcss: styles.hiddenIconWrapper
175
174
  }, /*#__PURE__*/_react.default.createElement(_tooltip.default, {
176
175
  content: formatMessage(_messages.messages.hiddenTooltip),
177
176
  position: "top"
178
177
  }, /*#__PURE__*/_react.default.createElement(_hiddenIcon.HiddenIcon, {
179
178
  label: formatMessage(_messages.messages.hiddenIcon)
180
- }))), headingRender && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
181
- xcss: styles.headingContentWrapper
182
- }, headingRender)), showStarButton && /*#__PURE__*/_react.default.createElement(_starIconButton.StarIconButton, {
179
+ })))), showStarButton && /*#__PURE__*/_react.default.createElement(_starIconButton.StarIconButton, {
183
180
  isStarred: isStarred,
184
181
  handleToggle: onStarToggle
185
182
  })), creatorRender, !!agentDescription && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
@@ -1,14 +1,12 @@
1
1
 
2
- ._zulp1b66{gap:var(--ds-space-050,4px)}._195gu2gc{margin-inline:var(--ds-space-100,8px)}
3
- ._1mouze3t{margin-block:var(--ds-space-0,0)}
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}
3
+ ._1mouze3t{margin-block:var(--ds-space-0,0)}._19pkv77o{margin-top:var(--ds-space-025,2px)}
4
4
  ._19pkze3t{margin-top:var(--ds-space-0,0)}
5
5
  ._1bah1yb4{justify-content:space-between}
6
- ._1e0c116y{display:inline-flex}
7
6
  ._1e0c1txw{display:flex}
8
7
  ._1i4qfg65{overflow-wrap:anywhere}
9
8
  ._1nmz1hna{word-break:break-word}
10
9
  ._4cvr1h6o{align-items:center}
11
10
  ._4cvr1y6m{align-items:flex-start}
12
- ._94n5v77o{bottom:var(--ds-space-025,2px)}
13
11
  ._kqswh2mm{position:relative}
14
12
  ._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
@@ -19,9 +19,8 @@ const styles = {
19
19
  description: "_19pkze3t _otyru2gc _1i4qfg65 _1nmz1hna",
20
20
  descriptionRefresh: "_1mouze3t _1i4qfg65 _1nmz1hna",
21
21
  wrapper: "_otyru2gc",
22
- tooltipWrapper: "_195gu2gc _1e0c116y _kqswh2mm _94n5v77o",
23
22
  headingWrapper: "_kqswh2mm",
24
- headingContentWrapper: "_195gu2gc"
23
+ hiddenIconWrapper: "_19pkv77o"
25
24
  };
26
25
  export const getAgentCreator = ({
27
26
  creatorType,
@@ -158,21 +157,19 @@ export const AgentProfileInfo = ({
158
157
  space: "space.100",
159
158
  alignBlock: "center"
160
159
  }, /*#__PURE__*/React.createElement(Inline, {
161
- xcss: styles.headingWrapper,
162
- alignBlock: "end"
160
+ space: "space.100",
161
+ xcss: styles.headingWrapper
163
162
  }, /*#__PURE__*/React.createElement(Heading, {
164
163
  as: "h2",
165
164
  size: fg('rovo_agent_empty_state_refresh') ? 'medium' : 'xlarge'
166
- }, agentName), isHidden && /*#__PURE__*/React.createElement(Box, {
167
- xcss: styles.tooltipWrapper
165
+ }, agentName), headingRender, isHidden && /*#__PURE__*/React.createElement(Box, {
166
+ xcss: styles.hiddenIconWrapper
168
167
  }, /*#__PURE__*/React.createElement(Tooltip, {
169
168
  content: formatMessage(messages.hiddenTooltip),
170
169
  position: "top"
171
170
  }, /*#__PURE__*/React.createElement(HiddenIcon, {
172
171
  label: formatMessage(messages.hiddenIcon)
173
- }))), headingRender && /*#__PURE__*/React.createElement(Box, {
174
- xcss: styles.headingContentWrapper
175
- }, headingRender)), showStarButton && /*#__PURE__*/React.createElement(StarIconButton, {
172
+ })))), showStarButton && /*#__PURE__*/React.createElement(StarIconButton, {
176
173
  isStarred: isStarred,
177
174
  handleToggle: onStarToggle
178
175
  })), creatorRender, !!agentDescription && /*#__PURE__*/React.createElement(Box, {
@@ -1,14 +1,12 @@
1
1
 
2
- ._zulp1b66{gap:var(--ds-space-050,4px)}._195gu2gc{margin-inline:var(--ds-space-100,8px)}
3
- ._1mouze3t{margin-block:var(--ds-space-0,0)}
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}
3
+ ._1mouze3t{margin-block:var(--ds-space-0,0)}._19pkv77o{margin-top:var(--ds-space-025,2px)}
4
4
  ._19pkze3t{margin-top:var(--ds-space-0,0)}
5
5
  ._1bah1yb4{justify-content:space-between}
6
- ._1e0c116y{display:inline-flex}
7
6
  ._1e0c1txw{display:flex}
8
7
  ._1i4qfg65{overflow-wrap:anywhere}
9
8
  ._1nmz1hna{word-break:break-word}
10
9
  ._4cvr1h6o{align-items:center}
11
10
  ._4cvr1y6m{align-items:flex-start}
12
- ._94n5v77o{bottom:var(--ds-space-025,2px)}
13
11
  ._kqswh2mm{position:relative}
14
12
  ._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
@@ -19,9 +19,8 @@ var styles = {
19
19
  description: "_19pkze3t _otyru2gc _1i4qfg65 _1nmz1hna",
20
20
  descriptionRefresh: "_1mouze3t _1i4qfg65 _1nmz1hna",
21
21
  wrapper: "_otyru2gc",
22
- tooltipWrapper: "_195gu2gc _1e0c116y _kqswh2mm _94n5v77o",
23
22
  headingWrapper: "_kqswh2mm",
24
- headingContentWrapper: "_195gu2gc"
23
+ hiddenIconWrapper: "_19pkv77o"
25
24
  };
26
25
  export var getAgentCreator = function getAgentCreator(_ref) {
27
26
  var creatorType = _ref.creatorType,
@@ -158,21 +157,19 @@ export var AgentProfileInfo = function AgentProfileInfo(_ref3) {
158
157
  space: "space.100",
159
158
  alignBlock: "center"
160
159
  }, /*#__PURE__*/React.createElement(Inline, {
161
- xcss: styles.headingWrapper,
162
- alignBlock: "end"
160
+ space: "space.100",
161
+ xcss: styles.headingWrapper
163
162
  }, /*#__PURE__*/React.createElement(Heading, {
164
163
  as: "h2",
165
164
  size: fg('rovo_agent_empty_state_refresh') ? 'medium' : 'xlarge'
166
- }, agentName), isHidden && /*#__PURE__*/React.createElement(Box, {
167
- xcss: styles.tooltipWrapper
165
+ }, agentName), headingRender, isHidden && /*#__PURE__*/React.createElement(Box, {
166
+ xcss: styles.hiddenIconWrapper
168
167
  }, /*#__PURE__*/React.createElement(Tooltip, {
169
168
  content: formatMessage(messages.hiddenTooltip),
170
169
  position: "top"
171
170
  }, /*#__PURE__*/React.createElement(HiddenIcon, {
172
171
  label: formatMessage(messages.hiddenIcon)
173
- }))), headingRender && /*#__PURE__*/React.createElement(Box, {
174
- xcss: styles.headingContentWrapper
175
- }, headingRender)), showStarButton && /*#__PURE__*/React.createElement(StarIconButton, {
172
+ })))), showStarButton && /*#__PURE__*/React.createElement(StarIconButton, {
176
173
  isStarred: isStarred,
177
174
  handleToggle: onStarToggle
178
175
  })), creatorRender, !!agentDescription && /*#__PURE__*/React.createElement(Box, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "3.27.0",
3
+ "version": "3.28.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",
@@ -44,10 +44,10 @@
44
44
  "@atlaskit/link": "^3.3.0",
45
45
  "@atlaskit/logo": "^19.10.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
- "@atlaskit/primitives": "^17.1.0",
48
- "@atlaskit/rovo-agent-analytics": "^0.9.0",
47
+ "@atlaskit/primitives": "^18.0.0",
48
+ "@atlaskit/rovo-agent-analytics": "^0.10.0",
49
49
  "@atlaskit/skeleton": "^2.1.0",
50
- "@atlaskit/tokens": "^10.1.0",
50
+ "@atlaskit/tokens": "^11.0.0",
51
51
  "@atlaskit/tooltip": "^20.14.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@compiled/react": "^0.18.6",