@atlaskit/rovo-agent-components 9.9.5 → 9.9.6

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,14 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 9.9.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`34d6cd041f793`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/34d6cd041f793) -
8
+ Cleanup `feature_gate` `platform-dst-motion-uplift-custom-button`. The design system motion uplift
9
+ for custom buttons and `Pressable` primitives is now permanently enabled: the gated motion styles
10
+ are applied unconditionally and the pre-uplift transition styles have been removed.
11
+
3
12
  ## 9.9.5
4
13
 
5
14
  ### Patch Changes
@@ -16,7 +16,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
16
16
  var _reactIntl = require("react-intl");
17
17
  var _css = require("@atlaskit/css");
18
18
  var _aiAgent = _interopRequireDefault(require("@atlaskit/icon/core/ai-agent"));
19
- var _fg = require("@atlaskit/platform-feature-flags/fg");
20
19
  var _compiled = require("@atlaskit/primitives/compiled");
21
20
  var _chatIcon = require("../chat-icon");
22
21
  var _messages = _interopRequireDefault(require("./messages"));
@@ -42,7 +41,7 @@ var ChatPill = exports.ChatPill = /*#__PURE__*/(0, _react.forwardRef)(function (
42
41
  return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({
43
42
  ref: ref
44
43
  }, props, {
45
- xcss: (0, _fg.fg)('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button
44
+ xcss: styles.button_motion
46
45
  }), /*#__PURE__*/React.createElement("div", {
47
46
  className: (0, _runtime.ax)([stylesCompiled.pillLineHeight])
48
47
  }, /*#__PURE__*/React.createElement(_compiled.Inline, {
@@ -58,7 +57,7 @@ var BrowseAgentsPill = exports.BrowseAgentsPill = /*#__PURE__*/(0, _react.forwar
58
57
  return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({
59
58
  ref: ref
60
59
  }, props, {
61
- xcss: (0, _fg.fg)('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button
60
+ xcss: styles.button_motion
62
61
  }), /*#__PURE__*/React.createElement("div", {
63
62
  className: (0, _runtime.ax)([stylesCompiled.pillLineHeight])
64
63
  }, /*#__PURE__*/React.createElement(_compiled.Inline, {
@@ -12,7 +12,6 @@ var _react = _interopRequireDefault(require("react"));
12
12
  var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
13
13
  var _css = require("@atlaskit/css");
14
14
  var _retry = _interopRequireDefault(require("@atlaskit/icon/core/retry"));
15
- var _fg = require("@atlaskit/platform-feature-flags/fg");
16
15
  var _compiled = require("@atlaskit/primitives/compiled");
17
16
  var _agentChatIcon = require("../../common/ui/agent-chat-icon");
18
17
  var _chatPill = require("../../common/ui/chat-pill");
@@ -46,7 +45,7 @@ var ConversationStarters = exports.ConversationStarters = function ConversationS
46
45
  key: starter.message,
47
46
  xcss: refreshDesignEnabled && styles.conversationStaterItem
48
47
  }, /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
49
- xcss: (0, _fg.fg)('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button,
48
+ xcss: styles.button_motion,
50
49
  onClick: function onClick() {
51
50
  return onConversationStarterClick(starter);
52
51
  },
@@ -7,7 +7,6 @@ import { forwardRef } from 'react';
7
7
  import { useIntl } from 'react-intl';
8
8
  import { cx } from '@atlaskit/css';
9
9
  import AgentIcon from '@atlaskit/icon/core/ai-agent';
10
- import { fg } from '@atlaskit/platform-feature-flags/fg';
11
10
  import { Box, Inline, Pressable } from '@atlaskit/primitives/compiled';
12
11
  import { ChatPillIcon } from '../chat-icon';
13
12
  import messages from './messages';
@@ -29,7 +28,7 @@ export const ChatPill = /*#__PURE__*/forwardRef(({
29
28
  }, ref) => /*#__PURE__*/React.createElement(Pressable, _extends({
30
29
  ref: ref
31
30
  }, props, {
32
- xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button
31
+ xcss: styles.button_motion
33
32
  }), /*#__PURE__*/React.createElement("div", {
34
33
  className: ax([stylesCompiled.pillLineHeight])
35
34
  }, /*#__PURE__*/React.createElement(Inline, {
@@ -45,7 +44,7 @@ export const BrowseAgentsPill = /*#__PURE__*/forwardRef((props, ref) => {
45
44
  return /*#__PURE__*/React.createElement(Pressable, _extends({
46
45
  ref: ref
47
46
  }, props, {
48
- xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button
47
+ xcss: styles.button_motion
49
48
  }), /*#__PURE__*/React.createElement("div", {
50
49
  className: ax([stylesCompiled.pillLineHeight])
51
50
  }, /*#__PURE__*/React.createElement(Inline, {
@@ -5,7 +5,6 @@ import React from 'react';
5
5
  import IconButton from '@atlaskit/button/icon/button';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import RetryIcon from '@atlaskit/icon/core/retry';
8
- import { fg } from '@atlaskit/platform-feature-flags/fg';
9
8
  import { Box, Inline, Pressable, Stack } from '@atlaskit/primitives/compiled';
10
9
  import { AgentChatIcon } from '../../common/ui/agent-chat-icon';
11
10
  import { BrowseAgentsPill } from '../../common/ui/chat-pill';
@@ -37,7 +36,7 @@ export const ConversationStarters = ({
37
36
  key: starter.message,
38
37
  xcss: refreshDesignEnabled && styles.conversationStaterItem
39
38
  }, /*#__PURE__*/React.createElement(Pressable, {
40
- xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button,
39
+ xcss: styles.button_motion,
41
40
  onClick: () => onConversationStarterClick(starter),
42
41
  testId: "conversation-starter"
43
42
  }, /*#__PURE__*/React.createElement(Inline, {
@@ -9,7 +9,6 @@ import { forwardRef } from 'react';
9
9
  import { useIntl } from 'react-intl';
10
10
  import { cx } from '@atlaskit/css';
11
11
  import AgentIcon from '@atlaskit/icon/core/ai-agent';
12
- import { fg } from '@atlaskit/platform-feature-flags/fg';
13
12
  import { Box, Inline, Pressable } from '@atlaskit/primitives/compiled';
14
13
  import { ChatPillIcon } from '../chat-icon';
15
14
  import messages from './messages';
@@ -33,7 +32,7 @@ export var ChatPill = /*#__PURE__*/forwardRef(function (_ref, ref) {
33
32
  return /*#__PURE__*/React.createElement(Pressable, _extends({
34
33
  ref: ref
35
34
  }, props, {
36
- xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button
35
+ xcss: styles.button_motion
37
36
  }), /*#__PURE__*/React.createElement("div", {
38
37
  className: ax([stylesCompiled.pillLineHeight])
39
38
  }, /*#__PURE__*/React.createElement(Inline, {
@@ -49,7 +48,7 @@ export var BrowseAgentsPill = /*#__PURE__*/forwardRef(function (props, ref) {
49
48
  return /*#__PURE__*/React.createElement(Pressable, _extends({
50
49
  ref: ref
51
50
  }, props, {
52
- xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button
51
+ xcss: styles.button_motion
53
52
  }), /*#__PURE__*/React.createElement("div", {
54
53
  className: ax([stylesCompiled.pillLineHeight])
55
54
  }, /*#__PURE__*/React.createElement(Inline, {
@@ -5,7 +5,6 @@ import React from 'react';
5
5
  import IconButton from '@atlaskit/button/icon/button';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import RetryIcon from '@atlaskit/icon/core/retry';
8
- import { fg } from '@atlaskit/platform-feature-flags/fg';
9
8
  import { Box, Inline, Pressable, Stack } from '@atlaskit/primitives/compiled';
10
9
  import { AgentChatIcon } from '../../common/ui/agent-chat-icon';
11
10
  import { BrowseAgentsPill } from '../../common/ui/chat-pill';
@@ -39,7 +38,7 @@ export var ConversationStarters = function ConversationStarters(_ref) {
39
38
  key: starter.message,
40
39
  xcss: refreshDesignEnabled && styles.conversationStaterItem
41
40
  }, /*#__PURE__*/React.createElement(Pressable, {
42
- xcss: fg('platform-dst-motion-uplift-custom-button') ? styles.button_motion : styles.button,
41
+ xcss: styles.button_motion,
43
42
  onClick: function onClick() {
44
43
  return onConversationStarterClick(starter);
45
44
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "9.9.5",
3
+ "version": "9.9.6",
4
4
  "description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
5
5
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
6
6
  "atlassian": {
@@ -88,10 +88,6 @@
88
88
  "agent_studio_can_duplicate_permission": {
89
89
  "type": "boolean"
90
90
  },
91
- "platform-dst-motion-uplift-custom-button": {
92
- "type": "boolean",
93
- "referenceOnly": true
94
- },
95
91
  "platform_editor_agent_mentions_drop_one_fixes": {
96
92
  "type": "boolean"
97
93
  },