@atlaskit/rovo-agent-components 9.9.4 → 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 +15 -0
- package/dist/cjs/common/ui/chat-pill/index.js +2 -3
- package/dist/cjs/ui/agent-conversation-starters/ConversationStarters.js +1 -2
- package/dist/es2019/common/ui/chat-pill/index.js +2 -3
- package/dist/es2019/ui/agent-conversation-starters/ConversationStarters.js +1 -2
- package/dist/esm/common/ui/chat-pill/index.js +2 -3
- package/dist/esm/ui/agent-conversation-starters/ConversationStarters.js +1 -2
- package/package.json +3 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
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
|
+
|
|
12
|
+
## 9.9.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 9.9.4
|
|
4
19
|
|
|
5
20
|
### 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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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": {
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"@atlaskit/rovo-agent-analytics": "^6.5.0",
|
|
55
55
|
"@atlaskit/skeleton": "^4.4.0",
|
|
56
56
|
"@atlaskit/spinner": "^20.4.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
58
|
-
"@atlaskit/tokens": "^20.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^228.0.0",
|
|
58
|
+
"@atlaskit/tokens": "^20.4.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@compiled/react": "^1.0.2",
|
|
@@ -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
|
},
|