@atlaskit/smart-card 43.29.3 → 43.30.1
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 +17 -0
- package/dist/cjs/messages.js +5 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +58 -0
- package/dist/cjs/view/InlineCard/ResolvedView/index.js +10 -7
- package/dist/cjs/view/InlineCard/ResolvedView/renderLozenge.js +47 -0
- package/dist/cjs/view/InlineCard/ResolvedView/types.js +5 -0
- package/dist/cjs/view/InlineCard/common/action-button/index.compiled.css +8 -0
- package/dist/cjs/view/InlineCard/common/action-button/index.js +2 -1
- package/dist/cjs/view/InlineCard/common/rovo-actions-button/index.compiled.css +15 -0
- package/dist/cjs/view/InlineCard/common/rovo-actions-button/index.js +110 -0
- package/dist/cjs/view/InlineCard/common/rovo-post-auth-actions-modal/index.compiled.css +41 -0
- package/dist/cjs/view/InlineCard/common/rovo-post-auth-actions-modal/index.js +86 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/messages.js +5 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +49 -0
- package/dist/es2019/view/InlineCard/ResolvedView/index.js +5 -2
- package/dist/es2019/view/InlineCard/ResolvedView/renderLozenge.js +37 -0
- package/dist/es2019/view/InlineCard/ResolvedView/types.js +1 -0
- package/dist/es2019/view/InlineCard/common/action-button/index.compiled.css +8 -0
- package/dist/es2019/view/InlineCard/common/action-button/index.js +2 -1
- package/dist/es2019/view/InlineCard/common/rovo-actions-button/index.compiled.css +15 -0
- package/dist/es2019/view/InlineCard/common/rovo-actions-button/index.js +78 -0
- package/dist/es2019/view/InlineCard/common/rovo-post-auth-actions-modal/index.compiled.css +41 -0
- package/dist/es2019/view/InlineCard/common/rovo-post-auth-actions-modal/index.js +78 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/messages.js +5 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.js +51 -0
- package/dist/esm/view/InlineCard/ResolvedView/index.js +10 -7
- package/dist/esm/view/InlineCard/ResolvedView/renderLozenge.js +40 -0
- package/dist/esm/view/InlineCard/ResolvedView/types.js +1 -0
- package/dist/esm/view/InlineCard/common/action-button/index.compiled.css +8 -0
- package/dist/esm/view/InlineCard/common/action-button/index.js +2 -1
- package/dist/esm/view/InlineCard/common/rovo-actions-button/index.compiled.css +15 -0
- package/dist/esm/view/InlineCard/common/rovo-actions-button/index.js +101 -0
- package/dist/esm/view/InlineCard/common/rovo-post-auth-actions-modal/index.compiled.css +41 -0
- package/dist/esm/view/InlineCard/common/rovo-post-auth-actions-modal/index.js +77 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/view/InlineCard/Frame/index.d.ts +1 -1
- package/dist/types/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.d.ts +3 -0
- package/dist/types/view/InlineCard/ResolvedView/index.d.ts +1 -4
- package/dist/types/view/InlineCard/ResolvedView/renderLozenge.d.ts +3 -0
- package/dist/types/view/InlineCard/ResolvedView/types.d.ts +42 -0
- package/dist/types/view/InlineCard/common/action-button/index.d.ts +1 -1
- package/dist/types/view/InlineCard/common/rovo-actions-button/index.d.ts +12 -0
- package/dist/types/view/InlineCard/common/rovo-post-auth-actions-modal/index.d.ts +11 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/Frame/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/InlineCardResolvedViewFunctional.d.ts +3 -0
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +1 -4
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/renderLozenge.d.ts +3 -0
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/types.d.ts +42 -0
- package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/common/rovo-actions-button/index.d.ts +12 -0
- package/dist/types-ts4.5/view/InlineCard/common/rovo-post-auth-actions-modal/index.d.ts +11 -0
- package/package.json +7 -3
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
._1s7zia51{border-right:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
3
|
+
._n7zlia51{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
4
|
+
._x3doia51{border-top:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}._13liidpf{border-top-left-radius:0}
|
|
1
5
|
._13lilb4i{border-top-left-radius:var(--ds-radius-xsmall,2px)}
|
|
2
6
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
3
7
|
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
@@ -7,6 +11,7 @@
|
|
|
7
11
|
._1o0zlb4i{border-bottom-right-radius:var(--ds-radius-xsmall,2px)}
|
|
8
12
|
._1y1m1u8q{background-clip:padding-box}
|
|
9
13
|
._2hwxt94y{margin-right:1px}
|
|
14
|
+
._2hwxv77o{margin-right:var(--ds-space-025,2px)}
|
|
10
15
|
._80om13gf{cursor:not-allowed}
|
|
11
16
|
._80omtlke{cursor:pointer}
|
|
12
17
|
._bfhkby5v{background-color:var(--ds-background-disabled,#17171708)}
|
|
@@ -16,16 +21,19 @@
|
|
|
16
21
|
._ca0qv77o{padding-top:var(--ds-space-025,2px)}
|
|
17
22
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
18
23
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
24
|
+
._mrkbidpf{border-bottom-left-radius:0}
|
|
19
25
|
._mrkblb4i{border-bottom-left-radius:var(--ds-radius-xsmall,2px)}
|
|
20
26
|
._n3tdt94y{padding-bottom:1px}
|
|
21
27
|
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
22
28
|
._o5721btx{white-space:break-spaces}
|
|
29
|
+
._o5721q9c{white-space:nowrap}
|
|
23
30
|
._qrwqlb4i{border-top-right-radius:var(--ds-radius-xsmall,2px)}
|
|
24
31
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
25
32
|
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
26
33
|
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
27
34
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
28
35
|
._y3gn18uv{text-align:initial}
|
|
36
|
+
._4cvxq98m:hover{border-color:var(--ds-border-selected,#1868db)}
|
|
29
37
|
._irr31q28:hover{background-color:var(--ds-background-selected-bold-hovered,#1558bc)}
|
|
30
38
|
._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
31
39
|
._1di612kk:active{background-color:var(--ds-background-selected-bold-pressed,#123263)}
|
|
@@ -10,7 +10,8 @@ const styles = {
|
|
|
10
10
|
innerContainer: "_1e0c1nu9 _1y1m1u8q _16d9qvcn _k48p1wq8 _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _o5721btx _1nmz9jpi",
|
|
11
11
|
enabled: "_syazi7uo _80omtlke _bfhki8nm _irr3plhp _1di61gdz",
|
|
12
12
|
disabled: "_syaz1gmx _80om13gf _bfhkby5v",
|
|
13
|
-
unauthorised: "_syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13lilb4i _mrkblb4i _ca0qt94y _n3tdt94y _2hwxt94y _k48pi7a9 _irr31q28 _1di612kk"
|
|
13
|
+
unauthorised: "_syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13lilb4i _mrkblb4i _ca0qt94y _n3tdt94y _2hwxt94y _k48pi7a9 _irr31q28 _1di612kk",
|
|
14
|
+
action: "_x3doia51 _1s7zia51 _n7zlia51 _syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13liidpf _mrkbidpf _2hwxv77o _k48pi7a9 _o5721q9c _4cvxq98m _irr31q28 _1di612kk"
|
|
14
15
|
};
|
|
15
16
|
/**
|
|
16
17
|
* Action button has to be a span for the overflow to work correctly
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
._v564hlhx{transition:max-width .3s ease-in-out,padding-right .3s ease-in-out}._154iidpf{top:0}
|
|
3
|
+
._18m915vq{overflow-y:hidden}
|
|
4
|
+
._1e0c1nu9{display:inline}
|
|
5
|
+
._1e0c1o8l{display:inline-block}
|
|
6
|
+
._1pbykb7n{z-index:1}
|
|
7
|
+
._1reo15vq{overflow-x:hidden}
|
|
8
|
+
._1xi2idpf{right:0}
|
|
9
|
+
._kqswh2mm{position:relative}
|
|
10
|
+
._kqswstnw{position:absolute}
|
|
11
|
+
._o5721q9c{white-space:nowrap}
|
|
12
|
+
._p12fidpf{max-width:0}
|
|
13
|
+
._p12fuuw1{max-width:200px}
|
|
14
|
+
._s7n4jp4b{vertical-align:top}
|
|
15
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import "./index.compiled.css";
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import React, { useState } from 'react';
|
|
6
|
+
import { useIntl } from 'react-intl-next';
|
|
7
|
+
import { cx } from '@atlaskit/css';
|
|
8
|
+
import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
|
|
9
|
+
import Popup from '@atlaskit/popup';
|
|
10
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
+
import { messages } from '../../../../messages';
|
|
12
|
+
import AIPrism from '../../../common/ai-prism';
|
|
13
|
+
import { ActionButton } from '../action-button';
|
|
14
|
+
import { RovoPostAuthActionsModal } from '../rovo-post-auth-actions-modal';
|
|
15
|
+
const styles = {
|
|
16
|
+
wrapper: "_kqswh2mm _1e0c1o8l",
|
|
17
|
+
expanded: "_kqswstnw _154iidpf _1xi2idpf _1e0c1nu9 _o5721q9c _1pbykb7n",
|
|
18
|
+
expandedText: "_1reo15vq _18m915vq _v564hlhx _1e0c1o8l _p12fidpf _s7n4jp4b _o5721q9c",
|
|
19
|
+
expandedTextVisible: "_p12fuuw1 _u5f31b66"
|
|
20
|
+
};
|
|
21
|
+
export const RovoActionsButton = ({
|
|
22
|
+
onClick,
|
|
23
|
+
testId,
|
|
24
|
+
title = '',
|
|
25
|
+
url = ''
|
|
26
|
+
}) => {
|
|
27
|
+
const [isHovered, setIsHovered] = useState(false);
|
|
28
|
+
const [isPopupOpen, setIsPopupOpen] = useState(false);
|
|
29
|
+
const {
|
|
30
|
+
formatMessage
|
|
31
|
+
} = useIntl();
|
|
32
|
+
const handleClick = e => {
|
|
33
|
+
e.preventDefault();
|
|
34
|
+
e.stopPropagation();
|
|
35
|
+
setIsPopupOpen(prev => !prev);
|
|
36
|
+
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
37
|
+
};
|
|
38
|
+
return /*#__PURE__*/React.createElement(Popup, {
|
|
39
|
+
isOpen: isPopupOpen,
|
|
40
|
+
onClose: () => setIsPopupOpen(false),
|
|
41
|
+
placement: "right-start",
|
|
42
|
+
content: () => /*#__PURE__*/React.createElement(AIPrism, {
|
|
43
|
+
isVisible: true,
|
|
44
|
+
isMoving: true,
|
|
45
|
+
isGlowing: true
|
|
46
|
+
}, /*#__PURE__*/React.createElement(RovoPostAuthActionsModal, {
|
|
47
|
+
title: title,
|
|
48
|
+
url: url,
|
|
49
|
+
testId: testId && `${testId}-popup`
|
|
50
|
+
})),
|
|
51
|
+
trigger: triggerProps => /*#__PURE__*/React.createElement(Box, {
|
|
52
|
+
xcss: styles.wrapper,
|
|
53
|
+
onMouseEnter: () => setIsHovered(true),
|
|
54
|
+
onMouseLeave: () => setIsHovered(false),
|
|
55
|
+
onFocus: () => setIsHovered(true),
|
|
56
|
+
onBlur: () => setIsHovered(false)
|
|
57
|
+
}, /*#__PURE__*/React.createElement(ActionButton, _extends({
|
|
58
|
+
onClick: handleClick,
|
|
59
|
+
viewType: "action",
|
|
60
|
+
testId: testId
|
|
61
|
+
}, triggerProps), /*#__PURE__*/React.createElement(RovoChatIcon, {
|
|
62
|
+
label: "Rovo",
|
|
63
|
+
color: "var(--ds-icon-inverse, #FFFFFF)",
|
|
64
|
+
size: "small"
|
|
65
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
66
|
+
xcss: styles.expanded
|
|
67
|
+
}, /*#__PURE__*/React.createElement(ActionButton, _extends({
|
|
68
|
+
onClick: handleClick,
|
|
69
|
+
viewType: "action"
|
|
70
|
+
}, triggerProps), /*#__PURE__*/React.createElement(Box, {
|
|
71
|
+
xcss: cx(styles.expandedText, isHovered && styles.expandedTextVisible)
|
|
72
|
+
}, formatMessage(messages.rovo_actions_explore)), /*#__PURE__*/React.createElement(RovoChatIcon, {
|
|
73
|
+
label: "Rovo",
|
|
74
|
+
color: "var(--ds-icon-inverse, #FFFFFF)",
|
|
75
|
+
size: "small"
|
|
76
|
+
}))))
|
|
77
|
+
});
|
|
78
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._19it1cdj{border:var(--ds-border-width,1px) solid var(--ds-border-accent-lime,#6a9a23)}
|
|
3
|
+
._19it1kc4{border:var(--ds-border-width,1px) solid var(--ds-border-accent-orange,#e06c00)}
|
|
4
|
+
._19itia51{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
5
|
+
._19itnf5y{border:var(--ds-border-width,1px) solid var(--ds-border-accent-purple,#af59e1)}
|
|
6
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
7
|
+
._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}
|
|
8
|
+
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
9
|
+
._195gpxbi{margin-inline:var(--ds-space-200,1pc)}
|
|
10
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
11
|
+
._18m915vq{overflow-y:hidden}
|
|
12
|
+
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
13
|
+
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
14
|
+
._1bsb1kdj{width:25pc}
|
|
15
|
+
._1bsb1ns9{width:-moz-fit-content;width:fit-content}
|
|
16
|
+
._1e0c1bgi{display:contents}
|
|
17
|
+
._1e0c1txw{display:flex}
|
|
18
|
+
._1reo15vq{overflow-x:hidden}
|
|
19
|
+
._2lx21bp4{flex-direction:column}
|
|
20
|
+
._4cvr1h6o{align-items:center}
|
|
21
|
+
._4t3it94y{height:1px}
|
|
22
|
+
._80omtlke{cursor:pointer}
|
|
23
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
24
|
+
._bfhkf5uh{background-color:var(--ds-background-accent-orange-subtlest,#fff5db)}
|
|
25
|
+
._bfhkhfxm{background-color:var(--ds-surface-sunken,#f8f8f8)}
|
|
26
|
+
._bfhkm890{background-color:var(--ds-background-accent-lime-subtlest,#efffd6)}
|
|
27
|
+
._bfhkp2ly{background-color:var(--ds-background-accent-purple-subtlest,#f8eefe)}
|
|
28
|
+
._bfhkplhp{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
29
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
30
|
+
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
31
|
+
._ca0qutpp{padding-top:var(--ds-space-150,9pt)}
|
|
32
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
33
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
34
|
+
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
35
|
+
._n3tdutpp{padding-bottom:var(--ds-space-150,9pt)}
|
|
36
|
+
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
37
|
+
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
38
|
+
._irr319yr:hover{background-color:var(--ds-background-accent-orange-subtlest-hovered,#fce4a6)}
|
|
39
|
+
._irr3d4y8:hover{background-color:var(--ds-background-accent-lime-subtlest-hovered,#d3f1a7)}
|
|
40
|
+
._irr3kca2:hover{background-color:var(--ds-background-accent-purple-subtlest-hovered,#eed7fc)}
|
|
41
|
+
._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
+
import AiGenerativeRemoveIcon from '@atlaskit/icon-lab/core/ai-generative-remove';
|
|
6
|
+
import AiGenerativeTextIcon from '@atlaskit/icon-lab/core/ai-generative-text';
|
|
7
|
+
import AiSearchIcon from '@atlaskit/icon-lab/core/ai-search';
|
|
8
|
+
import Link from '@atlaskit/link';
|
|
9
|
+
import { Box, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
10
|
+
const styles = {
|
|
11
|
+
container: "_2rko1mok _1reo15vq _18m915vq _bfhk1bhr _16qs130s _1bsb1kdj _1e0c1txw _2lx21bp4",
|
|
12
|
+
header: "_ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi",
|
|
13
|
+
title: "_11c8fhey _k48pwu06",
|
|
14
|
+
divider: "_195gpxbi _4t3it94y _bfhkplhp",
|
|
15
|
+
actions: "_ca0qutpp _u5f3pxbi _n3tdutpp _19bvpxbi",
|
|
16
|
+
pressable: "_1e0c1bgi",
|
|
17
|
+
actionButtonBase: "_zulpu2gc _2rkopb1k _11c8fhey _1e0c1txw _4cvr1h6o _ca0q1b66 _u5f3utpp _n3td1b66 _19bvutpp _80omtlke _1bsb1ns9",
|
|
18
|
+
actionButtonImproveDraft: "_19itnf5y _bfhkp2ly _irr3kca2",
|
|
19
|
+
actionButtonFindRelated: "_19it1kc4 _bfhkf5uh _irr319yr",
|
|
20
|
+
actionButtonCreateActions: "_19it1cdj _bfhkm890 _irr3d4y8",
|
|
21
|
+
actionButtonShowRelevance: "_19itia51 _bfhkhfxm _irr3plhp"
|
|
22
|
+
};
|
|
23
|
+
export const RovoPostAuthActionsModal = ({
|
|
24
|
+
title,
|
|
25
|
+
url,
|
|
26
|
+
testId
|
|
27
|
+
}) => {
|
|
28
|
+
return /*#__PURE__*/React.createElement(Stack, {
|
|
29
|
+
xcss: styles.container,
|
|
30
|
+
testId: testId,
|
|
31
|
+
space: "space.0"
|
|
32
|
+
}, /*#__PURE__*/React.createElement(Stack, {
|
|
33
|
+
xcss: styles.header,
|
|
34
|
+
space: "space.100"
|
|
35
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
36
|
+
xcss: styles.title
|
|
37
|
+
}, /*#__PURE__*/React.createElement(Link, {
|
|
38
|
+
href: url
|
|
39
|
+
}, title))), /*#__PURE__*/React.createElement(Box, {
|
|
40
|
+
xcss: styles.divider
|
|
41
|
+
}), /*#__PURE__*/React.createElement(Stack, {
|
|
42
|
+
xcss: styles.actions,
|
|
43
|
+
space: "space.100",
|
|
44
|
+
alignInline: "start"
|
|
45
|
+
}, /*#__PURE__*/React.createElement(Pressable, {
|
|
46
|
+
xcss: styles.pressable
|
|
47
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
48
|
+
className: ax([styles.actionButtonBase, styles.actionButtonImproveDraft])
|
|
49
|
+
}, /*#__PURE__*/React.createElement(AiGenerativeRemoveIcon, {
|
|
50
|
+
label: "Improve draft icon",
|
|
51
|
+
color: "var(--ds-icon-accent-purple, #AF59E1)",
|
|
52
|
+
size: "small"
|
|
53
|
+
}))), /*#__PURE__*/React.createElement(Pressable, {
|
|
54
|
+
xcss: styles.pressable
|
|
55
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
56
|
+
className: ax([styles.actionButtonBase, styles.actionButtonFindRelated])
|
|
57
|
+
}, /*#__PURE__*/React.createElement(AiSearchIcon, {
|
|
58
|
+
label: "Find related icon",
|
|
59
|
+
color: "var(--ds-icon-accent-orange, #E06C00)",
|
|
60
|
+
size: "small"
|
|
61
|
+
}))), /*#__PURE__*/React.createElement(Pressable, {
|
|
62
|
+
xcss: styles.pressable
|
|
63
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
64
|
+
className: ax([styles.actionButtonBase, styles.actionButtonCreateActions])
|
|
65
|
+
}, /*#__PURE__*/React.createElement(AiGenerativeTextIcon, {
|
|
66
|
+
label: "Create actions icon",
|
|
67
|
+
color: "var(--ds-icon-accent-lime, #6A9A23)",
|
|
68
|
+
size: "small"
|
|
69
|
+
}))), /*#__PURE__*/React.createElement(Pressable, {
|
|
70
|
+
xcss: styles.pressable
|
|
71
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
72
|
+
className: ax([styles.actionButtonBase, styles.actionButtonShowRelevance])
|
|
73
|
+
}, /*#__PURE__*/React.createElement(AiGenerativeTextIcon, {
|
|
74
|
+
label: "Show relevance icon",
|
|
75
|
+
color: "var(--ds-icon-subtle, #505258)",
|
|
76
|
+
size: "small"
|
|
77
|
+
})))));
|
|
78
|
+
};
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
const PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "43.
|
|
15
|
+
packageVersion: "43.30.0",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
const Anchor = withLinkClickedEvent('a');
|
package/dist/esm/messages.js
CHANGED
|
@@ -570,6 +570,11 @@ export var messages = defineMessages({
|
|
|
570
570
|
defaultMessage: "We can't display private pages",
|
|
571
571
|
description: 'Shown when a user does not have access to a link.'
|
|
572
572
|
},
|
|
573
|
+
rovo_actions_explore: {
|
|
574
|
+
id: 'fabric.linking.rovo_actions_explore-non-final',
|
|
575
|
+
defaultMessage: 'Explore',
|
|
576
|
+
description: 'Label for the Rovo Actions button that allows users to explore AI actions for a link'
|
|
577
|
+
},
|
|
573
578
|
unassigned: {
|
|
574
579
|
id: 'fabric.linking.unassigned',
|
|
575
580
|
defaultMessage: 'Unassigned',
|
|
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export var context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card",
|
|
7
|
-
packageVersion: "43.
|
|
7
|
+
packageVersion: "43.30.0"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HoverCard } from '../../HoverCard';
|
|
3
|
+
import { Frame } from '../Frame';
|
|
4
|
+
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
5
|
+
import { renderLozenge } from './renderLozenge';
|
|
6
|
+
export function InlineCardResolvedViewFunctional(_ref) {
|
|
7
|
+
var id = _ref.id,
|
|
8
|
+
_ref$title = _ref.title,
|
|
9
|
+
title = _ref$title === void 0 ? '' : _ref$title,
|
|
10
|
+
isSelected = _ref.isSelected,
|
|
11
|
+
isHovered = _ref.isHovered,
|
|
12
|
+
onClick = _ref.onClick,
|
|
13
|
+
icon = _ref.icon,
|
|
14
|
+
link = _ref.link,
|
|
15
|
+
_ref$testId = _ref.testId,
|
|
16
|
+
testId = _ref$testId === void 0 ? 'inline-card-resolved-view' : _ref$testId,
|
|
17
|
+
titleTextColor = _ref.titleTextColor,
|
|
18
|
+
titlePrefix = _ref.titlePrefix,
|
|
19
|
+
_ref$showHoverPreview = _ref.showHoverPreview,
|
|
20
|
+
showHoverPreview = _ref$showHoverPreview === void 0 ? false : _ref$showHoverPreview,
|
|
21
|
+
hoverPreviewOptions = _ref.hoverPreviewOptions,
|
|
22
|
+
actionOptions = _ref.actionOptions,
|
|
23
|
+
truncateInline = _ref.truncateInline,
|
|
24
|
+
type = _ref.type,
|
|
25
|
+
hideIconLoadingSkeleton = _ref.hideIconLoadingSkeleton,
|
|
26
|
+
lozenge = _ref.lozenge;
|
|
27
|
+
var frame = /*#__PURE__*/React.createElement(Frame, {
|
|
28
|
+
testId: testId,
|
|
29
|
+
link: link,
|
|
30
|
+
isSelected: isSelected,
|
|
31
|
+
isHovered: isHovered,
|
|
32
|
+
onClick: onClick,
|
|
33
|
+
truncateInline: truncateInline
|
|
34
|
+
}, /*#__PURE__*/React.createElement(IconAndTitleLayout, {
|
|
35
|
+
emoji: titlePrefix,
|
|
36
|
+
icon: icon,
|
|
37
|
+
title: title,
|
|
38
|
+
titleTextColor: titleTextColor,
|
|
39
|
+
type: type,
|
|
40
|
+
hideIconLoadingSkeleton: hideIconLoadingSkeleton
|
|
41
|
+
}), renderLozenge(lozenge));
|
|
42
|
+
if (!showHoverPreview || !link) {
|
|
43
|
+
return frame;
|
|
44
|
+
}
|
|
45
|
+
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
46
|
+
id: id,
|
|
47
|
+
url: link,
|
|
48
|
+
actionOptions: actionOptions,
|
|
49
|
+
hoverPreviewOptions: hoverPreviewOptions
|
|
50
|
+
}, frame);
|
|
51
|
+
}
|
|
@@ -8,17 +8,19 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
8
8
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
9
9
|
import React from 'react';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
+
import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
|
|
11
12
|
import { HoverCard } from '../../HoverCard';
|
|
12
13
|
import InlineLozenge from '../common/inline-lozenge';
|
|
13
14
|
import { Frame } from '../Frame';
|
|
14
15
|
import { IconAndTitleLayout } from '../IconAndTitleLayout';
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
import { InlineCardResolvedViewFunctional } from './InlineCardResolvedViewFunctional';
|
|
17
|
+
var InlineCardResolvedViewClass = /*#__PURE__*/function (_React$Component) {
|
|
18
|
+
function InlineCardResolvedViewClass() {
|
|
19
|
+
_classCallCheck(this, InlineCardResolvedViewClass);
|
|
20
|
+
return _callSuper(this, InlineCardResolvedViewClass, arguments);
|
|
19
21
|
}
|
|
20
|
-
_inherits(
|
|
21
|
-
return _createClass(
|
|
22
|
+
_inherits(InlineCardResolvedViewClass, _React$Component);
|
|
23
|
+
return _createClass(InlineCardResolvedViewClass, [{
|
|
22
24
|
key: "renderLozenge",
|
|
23
25
|
value: function renderLozenge() {
|
|
24
26
|
var _lozenge$style3, _lozenge$style4;
|
|
@@ -105,4 +107,5 @@ export var InlineCardResolvedView = /*#__PURE__*/function (_React$Component) {
|
|
|
105
107
|
return inlineCardResolvedView;
|
|
106
108
|
}
|
|
107
109
|
}]);
|
|
108
|
-
}(React.Component);
|
|
110
|
+
}(React.Component);
|
|
111
|
+
export var InlineCardResolvedView = componentWithFG('smart-card-inline-resolved-view-refactor', InlineCardResolvedViewFunctional, InlineCardResolvedViewClass);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import InlineLozenge from '../common/inline-lozenge';
|
|
5
|
+
var LOZENGE_TEST_ID = 'inline-card-resolved-view-lozenge';
|
|
6
|
+
export function renderLozenge(lozenge) {
|
|
7
|
+
var _lozenge$style3, _lozenge$style4;
|
|
8
|
+
if (!lozenge || !(lozenge !== null && lozenge !== void 0 && lozenge.text)) {
|
|
9
|
+
return null;
|
|
10
|
+
}
|
|
11
|
+
if (fg('platform-dst-lozenge-tag-badge-visual-uplifts')) {
|
|
12
|
+
var stateMetricMatch = lozenge.text.match(/^(.+?)\s+-\s+(\d+(?:\.\d+)?)$/);
|
|
13
|
+
if (stateMetricMatch) {
|
|
14
|
+
var _lozenge$style, _lozenge$style2;
|
|
15
|
+
var _stateMetricMatch = _slicedToArray(stateMetricMatch, 3),
|
|
16
|
+
label = _stateMetricMatch[1],
|
|
17
|
+
metric = _stateMetricMatch[2];
|
|
18
|
+
var _appearance = lozenge.appearance || 'neutral';
|
|
19
|
+
return /*#__PURE__*/React.createElement(InlineLozenge, {
|
|
20
|
+
testId: LOZENGE_TEST_ID,
|
|
21
|
+
appearance: _appearance,
|
|
22
|
+
style: {
|
|
23
|
+
backgroundColor: lozenge === null || lozenge === void 0 || (_lozenge$style = lozenge.style) === null || _lozenge$style === void 0 ? void 0 : _lozenge$style.backgroundColor,
|
|
24
|
+
color: lozenge === null || lozenge === void 0 || (_lozenge$style2 = lozenge.style) === null || _lozenge$style2 === void 0 ? void 0 : _lozenge$style2.color
|
|
25
|
+
},
|
|
26
|
+
trailingMetric: metric
|
|
27
|
+
}, label);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
var appearance = lozenge.appearance || 'default';
|
|
31
|
+
return /*#__PURE__*/React.createElement(InlineLozenge, {
|
|
32
|
+
testId: LOZENGE_TEST_ID,
|
|
33
|
+
appearance: appearance,
|
|
34
|
+
style: {
|
|
35
|
+
backgroundColor: lozenge === null || lozenge === void 0 || (_lozenge$style3 = lozenge.style) === null || _lozenge$style3 === void 0 ? void 0 : _lozenge$style3.backgroundColor,
|
|
36
|
+
color: lozenge === null || lozenge === void 0 || (_lozenge$style4 = lozenge.style) === null || _lozenge$style4 === void 0 ? void 0 : _lozenge$style4.color
|
|
37
|
+
},
|
|
38
|
+
isBold: lozenge.isBold !== false
|
|
39
|
+
}, lozenge.text);
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
._1s7zia51{border-right:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
3
|
+
._n7zlia51{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
4
|
+
._x3doia51{border-top:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}._13liidpf{border-top-left-radius:0}
|
|
1
5
|
._13lilb4i{border-top-left-radius:var(--ds-radius-xsmall,2px)}
|
|
2
6
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
3
7
|
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
@@ -7,6 +11,7 @@
|
|
|
7
11
|
._1o0zlb4i{border-bottom-right-radius:var(--ds-radius-xsmall,2px)}
|
|
8
12
|
._1y1m1u8q{background-clip:padding-box}
|
|
9
13
|
._2hwxt94y{margin-right:1px}
|
|
14
|
+
._2hwxv77o{margin-right:var(--ds-space-025,2px)}
|
|
10
15
|
._80om13gf{cursor:not-allowed}
|
|
11
16
|
._80omtlke{cursor:pointer}
|
|
12
17
|
._bfhkby5v{background-color:var(--ds-background-disabled,#17171708)}
|
|
@@ -16,16 +21,19 @@
|
|
|
16
21
|
._ca0qv77o{padding-top:var(--ds-space-025,2px)}
|
|
17
22
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
18
23
|
._k48pi7a9{font-weight:var(--ds-font-weight-regular,400)}
|
|
24
|
+
._mrkbidpf{border-bottom-left-radius:0}
|
|
19
25
|
._mrkblb4i{border-bottom-left-radius:var(--ds-radius-xsmall,2px)}
|
|
20
26
|
._n3tdt94y{padding-bottom:1px}
|
|
21
27
|
._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
|
|
22
28
|
._o5721btx{white-space:break-spaces}
|
|
29
|
+
._o5721q9c{white-space:nowrap}
|
|
23
30
|
._qrwqlb4i{border-top-right-radius:var(--ds-radius-xsmall,2px)}
|
|
24
31
|
._syaz15cr{color:var(--ds-text-inverse,#fff)}
|
|
25
32
|
._syaz1gmx{color:var(--ds-text-disabled,#080f214a)}
|
|
26
33
|
._syazi7uo{color:var(--ds-text,#292a2e)}
|
|
27
34
|
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
28
35
|
._y3gn18uv{text-align:initial}
|
|
36
|
+
._4cvxq98m:hover{border-color:var(--ds-border-selected,#1868db)}
|
|
29
37
|
._irr31q28:hover{background-color:var(--ds-background-selected-bold-hovered,#1558bc)}
|
|
30
38
|
._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
31
39
|
._1di612kk:active{background-color:var(--ds-background-selected-bold-pressed,#123263)}
|
|
@@ -12,7 +12,8 @@ var styles = {
|
|
|
12
12
|
innerContainer: "_1e0c1nu9 _1y1m1u8q _16d9qvcn _k48p1wq8 _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _o5721btx _1nmz9jpi",
|
|
13
13
|
enabled: "_syazi7uo _80omtlke _bfhki8nm _irr3plhp _1di61gdz",
|
|
14
14
|
disabled: "_syaz1gmx _80om13gf _bfhkby5v",
|
|
15
|
-
unauthorised: "_syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13lilb4i _mrkblb4i _ca0qt94y _n3tdt94y _2hwxt94y _k48pi7a9 _irr31q28 _1di612kk"
|
|
15
|
+
unauthorised: "_syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13lilb4i _mrkblb4i _ca0qt94y _n3tdt94y _2hwxt94y _k48pi7a9 _irr31q28 _1di612kk",
|
|
16
|
+
action: "_x3doia51 _1s7zia51 _n7zlia51 _syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13liidpf _mrkbidpf _2hwxv77o _k48pi7a9 _o5721q9c _4cvxq98m _irr31q28 _1di612kk"
|
|
16
17
|
};
|
|
17
18
|
/**
|
|
18
19
|
* Action button has to be a span for the overflow to work correctly
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
._v564hlhx{transition:max-width .3s ease-in-out,padding-right .3s ease-in-out}._154iidpf{top:0}
|
|
3
|
+
._18m915vq{overflow-y:hidden}
|
|
4
|
+
._1e0c1nu9{display:inline}
|
|
5
|
+
._1e0c1o8l{display:inline-block}
|
|
6
|
+
._1pbykb7n{z-index:1}
|
|
7
|
+
._1reo15vq{overflow-x:hidden}
|
|
8
|
+
._1xi2idpf{right:0}
|
|
9
|
+
._kqswh2mm{position:relative}
|
|
10
|
+
._kqswstnw{position:absolute}
|
|
11
|
+
._o5721q9c{white-space:nowrap}
|
|
12
|
+
._p12fidpf{max-width:0}
|
|
13
|
+
._p12fuuw1{max-width:200px}
|
|
14
|
+
._s7n4jp4b{vertical-align:top}
|
|
15
|
+
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.39.1 */
|
|
2
|
+
import _extends from "@babel/runtime/helpers/extends";
|
|
3
|
+
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
|
+
import "./index.compiled.css";
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
import React, { useState } from 'react';
|
|
7
|
+
import { useIntl } from 'react-intl-next';
|
|
8
|
+
import { cx } from '@atlaskit/css';
|
|
9
|
+
import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
|
|
10
|
+
import Popup from '@atlaskit/popup';
|
|
11
|
+
import { Box } from '@atlaskit/primitives/compiled';
|
|
12
|
+
import { messages } from '../../../../messages';
|
|
13
|
+
import AIPrism from '../../../common/ai-prism';
|
|
14
|
+
import { ActionButton } from '../action-button';
|
|
15
|
+
import { RovoPostAuthActionsModal } from '../rovo-post-auth-actions-modal';
|
|
16
|
+
var styles = {
|
|
17
|
+
wrapper: "_kqswh2mm _1e0c1o8l",
|
|
18
|
+
expanded: "_kqswstnw _154iidpf _1xi2idpf _1e0c1nu9 _o5721q9c _1pbykb7n",
|
|
19
|
+
expandedText: "_1reo15vq _18m915vq _v564hlhx _1e0c1o8l _p12fidpf _s7n4jp4b _o5721q9c",
|
|
20
|
+
expandedTextVisible: "_p12fuuw1 _u5f31b66"
|
|
21
|
+
};
|
|
22
|
+
export var RovoActionsButton = function RovoActionsButton(_ref) {
|
|
23
|
+
var onClick = _ref.onClick,
|
|
24
|
+
testId = _ref.testId,
|
|
25
|
+
_ref$title = _ref.title,
|
|
26
|
+
title = _ref$title === void 0 ? '' : _ref$title,
|
|
27
|
+
_ref$url = _ref.url,
|
|
28
|
+
url = _ref$url === void 0 ? '' : _ref$url;
|
|
29
|
+
var _useState = useState(false),
|
|
30
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
31
|
+
isHovered = _useState2[0],
|
|
32
|
+
setIsHovered = _useState2[1];
|
|
33
|
+
var _useState3 = useState(false),
|
|
34
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
35
|
+
isPopupOpen = _useState4[0],
|
|
36
|
+
setIsPopupOpen = _useState4[1];
|
|
37
|
+
var _useIntl = useIntl(),
|
|
38
|
+
formatMessage = _useIntl.formatMessage;
|
|
39
|
+
var handleClick = function handleClick(e) {
|
|
40
|
+
e.preventDefault();
|
|
41
|
+
e.stopPropagation();
|
|
42
|
+
setIsPopupOpen(function (prev) {
|
|
43
|
+
return !prev;
|
|
44
|
+
});
|
|
45
|
+
onClick === null || onClick === void 0 || onClick(e);
|
|
46
|
+
};
|
|
47
|
+
return /*#__PURE__*/React.createElement(Popup, {
|
|
48
|
+
isOpen: isPopupOpen,
|
|
49
|
+
onClose: function onClose() {
|
|
50
|
+
return setIsPopupOpen(false);
|
|
51
|
+
},
|
|
52
|
+
placement: "right-start",
|
|
53
|
+
content: function content() {
|
|
54
|
+
return /*#__PURE__*/React.createElement(AIPrism, {
|
|
55
|
+
isVisible: true,
|
|
56
|
+
isMoving: true,
|
|
57
|
+
isGlowing: true
|
|
58
|
+
}, /*#__PURE__*/React.createElement(RovoPostAuthActionsModal, {
|
|
59
|
+
title: title,
|
|
60
|
+
url: url,
|
|
61
|
+
testId: testId && "".concat(testId, "-popup")
|
|
62
|
+
}));
|
|
63
|
+
},
|
|
64
|
+
trigger: function trigger(triggerProps) {
|
|
65
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
66
|
+
xcss: styles.wrapper,
|
|
67
|
+
onMouseEnter: function onMouseEnter() {
|
|
68
|
+
return setIsHovered(true);
|
|
69
|
+
},
|
|
70
|
+
onMouseLeave: function onMouseLeave() {
|
|
71
|
+
return setIsHovered(false);
|
|
72
|
+
},
|
|
73
|
+
onFocus: function onFocus() {
|
|
74
|
+
return setIsHovered(true);
|
|
75
|
+
},
|
|
76
|
+
onBlur: function onBlur() {
|
|
77
|
+
return setIsHovered(false);
|
|
78
|
+
}
|
|
79
|
+
}, /*#__PURE__*/React.createElement(ActionButton, _extends({
|
|
80
|
+
onClick: handleClick,
|
|
81
|
+
viewType: "action",
|
|
82
|
+
testId: testId
|
|
83
|
+
}, triggerProps), /*#__PURE__*/React.createElement(RovoChatIcon, {
|
|
84
|
+
label: "Rovo",
|
|
85
|
+
color: "var(--ds-icon-inverse, #FFFFFF)",
|
|
86
|
+
size: "small"
|
|
87
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
88
|
+
xcss: styles.expanded
|
|
89
|
+
}, /*#__PURE__*/React.createElement(ActionButton, _extends({
|
|
90
|
+
onClick: handleClick,
|
|
91
|
+
viewType: "action"
|
|
92
|
+
}, triggerProps), /*#__PURE__*/React.createElement(Box, {
|
|
93
|
+
xcss: cx(styles.expandedText, isHovered && styles.expandedTextVisible)
|
|
94
|
+
}, formatMessage(messages.rovo_actions_explore)), /*#__PURE__*/React.createElement(RovoChatIcon, {
|
|
95
|
+
label: "Rovo",
|
|
96
|
+
color: "var(--ds-icon-inverse, #FFFFFF)",
|
|
97
|
+
size: "small"
|
|
98
|
+
}))));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._19it1cdj{border:var(--ds-border-width,1px) solid var(--ds-border-accent-lime,#6a9a23)}
|
|
3
|
+
._19it1kc4{border:var(--ds-border-width,1px) solid var(--ds-border-accent-orange,#e06c00)}
|
|
4
|
+
._19itia51{border:var(--ds-border-width,1px) solid var(--ds-border,#0b120e24)}
|
|
5
|
+
._19itnf5y{border:var(--ds-border-width,1px) solid var(--ds-border-accent-purple,#af59e1)}
|
|
6
|
+
._2rko1mok{border-radius:var(--ds-radius-large,8px)}
|
|
7
|
+
._2rkopb1k{border-radius:var(--ds-radius-xlarge,9pt)}
|
|
8
|
+
._zulpu2gc{gap:var(--ds-space-100,8px)}
|
|
9
|
+
._195gpxbi{margin-inline:var(--ds-space-200,1pc)}
|
|
10
|
+
._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
|
|
11
|
+
._18m915vq{overflow-y:hidden}
|
|
12
|
+
._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
|
|
13
|
+
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
14
|
+
._1bsb1kdj{width:25pc}
|
|
15
|
+
._1bsb1ns9{width:-moz-fit-content;width:fit-content}
|
|
16
|
+
._1e0c1bgi{display:contents}
|
|
17
|
+
._1e0c1txw{display:flex}
|
|
18
|
+
._1reo15vq{overflow-x:hidden}
|
|
19
|
+
._2lx21bp4{flex-direction:column}
|
|
20
|
+
._4cvr1h6o{align-items:center}
|
|
21
|
+
._4t3it94y{height:1px}
|
|
22
|
+
._80omtlke{cursor:pointer}
|
|
23
|
+
._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
|
|
24
|
+
._bfhkf5uh{background-color:var(--ds-background-accent-orange-subtlest,#fff5db)}
|
|
25
|
+
._bfhkhfxm{background-color:var(--ds-surface-sunken,#f8f8f8)}
|
|
26
|
+
._bfhkm890{background-color:var(--ds-background-accent-lime-subtlest,#efffd6)}
|
|
27
|
+
._bfhkp2ly{background-color:var(--ds-background-accent-purple-subtlest,#f8eefe)}
|
|
28
|
+
._bfhkplhp{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|
|
29
|
+
._ca0q1b66{padding-top:var(--ds-space-050,4px)}
|
|
30
|
+
._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
|
|
31
|
+
._ca0qutpp{padding-top:var(--ds-space-150,9pt)}
|
|
32
|
+
._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
|
|
33
|
+
._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
|
|
34
|
+
._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
|
|
35
|
+
._n3tdutpp{padding-bottom:var(--ds-space-150,9pt)}
|
|
36
|
+
._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
|
|
37
|
+
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
38
|
+
._irr319yr:hover{background-color:var(--ds-background-accent-orange-subtlest-hovered,#fce4a6)}
|
|
39
|
+
._irr3d4y8:hover{background-color:var(--ds-background-accent-lime-subtlest-hovered,#d3f1a7)}
|
|
40
|
+
._irr3kca2:hover{background-color:var(--ds-background-accent-purple-subtlest-hovered,#eed7fc)}
|
|
41
|
+
._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
|