@atlaskit/smart-card 44.3.21 → 44.3.23

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.
Files changed (56) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
  3. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +2 -2
  4. package/dist/cjs/messages.js +20 -0
  5. package/dist/cjs/state/hooks/use-rovo-chat/index.js +1 -1
  6. package/dist/cjs/utils/analytics/analytics.js +1 -1
  7. package/dist/cjs/view/FlexibleCard/assets/rovo-hex-logo.js +64 -0
  8. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +11 -0
  9. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +24 -5
  10. package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +69 -2
  11. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +15 -0
  12. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +44 -0
  13. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.compiled.css +4 -1
  14. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +30 -5
  15. package/dist/cjs/view/LinkUrl/index.js +1 -1
  16. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
  17. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +2 -2
  18. package/dist/es2019/messages.js +20 -0
  19. package/dist/es2019/state/hooks/use-rovo-chat/index.js +1 -1
  20. package/dist/es2019/utils/analytics/analytics.js +1 -1
  21. package/dist/es2019/view/FlexibleCard/assets/rovo-hex-logo.js +52 -0
  22. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +11 -0
  23. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +24 -5
  24. package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/index.js +69 -2
  25. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +15 -0
  26. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +36 -0
  27. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.compiled.css +4 -1
  28. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +30 -5
  29. package/dist/es2019/view/LinkUrl/index.js +1 -1
  30. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
  31. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +2 -2
  32. package/dist/esm/messages.js +20 -0
  33. package/dist/esm/state/hooks/use-rovo-chat/index.js +1 -1
  34. package/dist/esm/utils/analytics/analytics.js +1 -1
  35. package/dist/esm/view/FlexibleCard/assets/rovo-hex-logo.js +57 -0
  36. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +11 -0
  37. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +24 -5
  38. package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +69 -2
  39. package/dist/esm/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +15 -0
  40. package/dist/esm/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +35 -0
  41. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.compiled.css +4 -1
  42. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +30 -5
  43. package/dist/esm/view/LinkUrl/index.js +1 -1
  44. package/dist/types/common/ui/icons/blog-icon.d.ts +5 -2
  45. package/dist/types/common/ui/icons/live-document-icon.d.ts +5 -2
  46. package/dist/types/messages.d.ts +1 -1
  47. package/dist/types/view/FlexibleCard/assets/rovo-hex-logo.d.ts +6 -0
  48. package/dist/types/view/FlexibleCard/components/actions/rovo-chat-action/index.d.ts +4 -1
  49. package/dist/types/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.d.ts +12 -0
  50. package/dist/types-ts4.5/common/ui/icons/blog-icon.d.ts +5 -2
  51. package/dist/types-ts4.5/common/ui/icons/live-document-icon.d.ts +5 -2
  52. package/dist/types-ts4.5/messages.d.ts +1 -1
  53. package/dist/types-ts4.5/view/FlexibleCard/assets/rovo-hex-logo.d.ts +6 -0
  54. package/dist/types-ts4.5/view/FlexibleCard/components/actions/rovo-chat-action/index.d.ts +4 -1
  55. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.d.ts +12 -0
  56. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 44.3.23
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 44.3.22
10
+
11
+ ### Patch Changes
12
+
13
+ - [`1f06e9ed4dc63`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f06e9ed4dc63) -
14
+ [ux] add rovogrowth-640-inline-action-nudge-fg feature gate to the jira open mini modal logic for
15
+ useRovoChat hook
16
+ - [`6ba679afd57d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6ba679afd57d7) -
17
+ [ux] Update design for post auth inline hovercard exp - use pill buttons, ask rovo header, button
18
+ prompts"
19
+
3
20
  ## 44.3.21
4
21
 
5
22
  ### Patch Changes
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4df239590aaac389efc3ed9d6e8087725b77a70c5bd5f9047993671379a33b25
3
- size 33107
2
+ oid sha256:64a45081f856f48de6a315f9b12747d543b2b83106d1faa7b36089de8c7f04c1
3
+ size 36891
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43fbdc9bbdc8153019286429b71a36b4709b3f6c40e63478482d08f8d204a234
3
- size 25329
2
+ oid sha256:f16d2f260c508d20c49ca84a31b73ef9232cf7ae4b4ac0a8b5e3abaf946888eb
3
+ size 29353
@@ -1006,5 +1006,25 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
1006
1006
  id: 'fabric.linking.rovo_prompt_message_find_open_questions.non-final',
1007
1007
  defaultMessage: '<p>Look at this <a>{url}</a> and list any open questions, unresolved decisions, or asks that still need follow‑up. Group them by owner if possible and keep it concise.</p>',
1008
1008
  description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
1009
+ },
1010
+ rovo_chat_action_section_header: {
1011
+ id: 'fabric.linking.rovo_chat_action_section_header.non-final',
1012
+ defaultMessage: 'Ask Rovo',
1013
+ description: 'Heading shown above the Rovo prompt action buttons in the smart link hover card, alongside the Rovo logo, to introduce the AI prompt suggestions.'
1014
+ },
1015
+ rovo_prompt_button_summarize_this: {
1016
+ id: 'fabric.linking.rovo_prompt_button_summarize_this.non-final',
1017
+ defaultMessage: 'Summarize this for me',
1018
+ description: 'The name of the action to send prompt message to Rovo Chat in relation to current Smart Link'
1019
+ },
1020
+ rovo_prompt_button_ask_a_specific_question: {
1021
+ id: 'fabric.linking.rovo_prompt_button_ask_a_specific_question.non-final',
1022
+ defaultMessage: 'Ask a specific question',
1023
+ description: 'The name of the action to send prompt message to Rovo Chat in relation to current Smart Link'
1024
+ },
1025
+ rovo_prompt_button_show_me_whats_relevant: {
1026
+ id: 'fabric.linking.rovo_prompt_button_show_me_whats_relevant.non-final',
1027
+ defaultMessage: "Show me what's relevant",
1028
+ description: 'The name of the action to send prompt message to Rovo Chat in relation to current Smart Link'
1009
1029
  }
1010
1030
  });
@@ -35,7 +35,7 @@ var useRovoChat = function useRovoChat() {
35
35
  agentId: undefined
36
36
  }),
37
37
  openChat: true,
38
- openChatMode: product && jiraProducts.includes(product) && (0, _platformFeatureFlags.fg)('platform_sl_3p_auth_rovo_block_jira_kill_switch') ? 'mini-modal' : 'sidebar'
38
+ openChatMode: product && jiraProducts.includes(product) && (0, _platformFeatureFlags.fg)('platform_sl_3p_auth_rovo_block_jira_kill_switch') || (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg') ? 'mini-modal' : 'sidebar'
39
39
  },
40
40
  onAcknowledgeTimeout: function onAcknowledgeTimeout() {
41
41
  // NAVX-3599: Add analytics event
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card" || '',
14
- packageVersion: "44.3.20" || ''
14
+ packageVersion: "44.3.22" || ''
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.default = void 0;
8
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
+ var _react = _interopRequireDefault(require("react"));
11
+ var _excluded = ["width", "height"];
12
+ var RovoHexLogo = function RovoHexLogo(_ref) {
13
+ var _ref$width = _ref.width,
14
+ width = _ref$width === void 0 ? 16 : _ref$width,
15
+ _ref$height = _ref.height,
16
+ height = _ref$height === void 0 ? 16 : _ref$height,
17
+ props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
18
+ return /*#__PURE__*/_react.default.createElement("svg", (0, _extends2.default)({
19
+ width: width,
20
+ height: height,
21
+ viewBox: "0 0 16 16",
22
+ fill: "none",
23
+ xmlns: "http://www.w3.org/2000/svg",
24
+ "aria-hidden": "true",
25
+ focusable: "false"
26
+ }, props), /*#__PURE__*/_react.default.createElement("path", {
27
+ d: "M7.32082 0.180234C7.74137 -0.0600783 8.25764 -0.0600779 8.67819 0.180234L14.4919 3.50235C14.9181 3.7459 15.1811 4.19916 15.1811 4.69005V11.31C15.1811 11.8008 14.9181 12.2541 14.4919 12.4976L8.67819 15.8198C8.25764 16.0601 7.74137 16.0601 7.32082 15.8198L1.50712 12.4976C1.08091 12.2541 0.817871 11.8008 0.817871 11.31V4.69005C0.817871 4.19916 1.08091 3.7459 1.50712 3.50235L7.32082 0.180234Z",
28
+ fill: "#BF63F3"
29
+ }), /*#__PURE__*/_react.default.createElement("mask", {
30
+ id: "rovo-hex-logo-mask"
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
32
+ ,
33
+ style: {
34
+ maskType: 'alpha'
35
+ },
36
+ maskUnits: "userSpaceOnUse",
37
+ x: "0",
38
+ y: "0",
39
+ width: "16",
40
+ height: "16"
41
+ }, /*#__PURE__*/_react.default.createElement("path", {
42
+ d: "M7.32131 0.180234C7.74186 -0.0600783 8.25813 -0.0600779 8.67868 0.180234L14.4924 3.50235C14.9186 3.7459 15.1816 4.19916 15.1816 4.69005V11.31C15.1816 11.8008 14.9186 12.2541 14.4924 12.4976L8.67868 15.8198C8.25813 16.0601 7.74186 16.0601 7.32131 15.8198L1.50761 12.4976C1.08139 12.2541 0.818359 11.8008 0.818359 11.31V4.69005C0.818359 4.19916 1.08139 3.7459 1.50761 3.50235L7.32131 0.180234Z",
43
+ fill: "#BF63F3"
44
+ })), /*#__PURE__*/_react.default.createElement("g", {
45
+ mask: "url(#rovo-hex-logo-mask)"
46
+ }, /*#__PURE__*/_react.default.createElement("path", {
47
+ d: "M1.55034 23.7263C2.51722 21.8759 3.92904 20.4254 5.78825 19.4378C7.64746 18.4502 9.80649 18.0272 11.9924 18.2787L0.232859 -3.40716C-1.71715 -3.05431 -3.61315 -2.40324 -5.43793 -1.43392C-7.26271 -0.464597 -8.83182 0.695804 -10.1944 2.06176L1.55525 23.7295L1.55034 23.7263Z",
48
+ fill: "#82B536"
49
+ }), /*#__PURE__*/_react.default.createElement("path", {
50
+ d: "M8.32996 10.6048C5.08544 11.9472 2.60753 14.1646 2.50661 17.2335C2.50661 17.2335 2.50834 17.2492 2.5067 17.2569C2.50006 17.4849 2.50431 17.7155 2.52528 17.9508C2.52613 17.9528 2.52697 17.9548 2.52782 17.9568C2.54755 18.195 2.58193 18.4389 2.63013 18.6865C2.64247 18.7448 2.66068 18.8053 2.67303 18.8635C2.71727 19.0611 2.76151 19.2587 2.82541 19.4622C2.91006 19.7323 3.0085 20.006 3.12662 20.2856C3.34515 20.803 3.60149 21.2648 3.87811 21.6759C4.24638 22.2229 4.65025 22.6799 5.05256 23.0579C5.15366 23.1522 5.25307 23.2424 5.35496 23.327C5.82852 23.6473 6.52024 24.0721 7.67929 24.611C8.43636 24.9641 9.39801 25.3664 10.6295 25.8214C11.6142 24.3227 13.4162 23.1571 15.1026 21.8515C16.434 20.8196 17.6899 19.7016 18.4057 18.2626C19.0622 16.9444 19.0793 15.3018 18.3596 13.5979C16.5583 9.33325 12.571 8.84764 8.33329 10.6011L8.32996 10.6048Z",
51
+ fill: "#FCA700"
52
+ }), /*#__PURE__*/_react.default.createElement("path", {
53
+ d: "M15.5504 -10.1487L-3.75363 -6.70421C-3.75363 -6.70421 -1.76588 2.02941 -6.08056 9.9801C-5.48977 10.025 -4.8921 10.052 -4.28777 10.0436C6.82615 9.88862 15.707 0.847682 15.5504 -10.1523L15.5504 -10.1487Z",
54
+ fill: "#1868DB"
55
+ })), /*#__PURE__*/_react.default.createElement("path", {
56
+ d: "M7.56286 3.61843C7.87582 3.44569 8.2578 3.44886 8.56822 3.62795L11.5883 5.37155C11.9043 5.5539 12.1 5.89221 12.1 6.25667V9.74392C12.1 10.1098 11.9055 10.4466 11.5885 10.6289L9.31833 11.9396C9.3233 11.9256 9.32804 11.9115 9.33255 11.8974C9.37469 11.7667 9.39702 11.6287 9.39702 11.4875V8.00029C9.39702 7.52122 9.14221 7.07944 8.7266 6.84045L7.03432 5.86386V4.51304C7.03432 4.4066 7.05078 4.30262 7.08192 4.20419C7.15847 3.96597 7.3213 3.75973 7.54405 3.63099L7.54473 3.6306C7.55112 3.62692 7.55719 3.62283 7.56286 3.61843Z",
57
+ fill: "white"
58
+ }), /*#__PURE__*/_react.default.createElement("path", {
59
+ d: "M6.79433 4.06439L4.52416 5.37506C4.20715 5.55732 4.0127 5.89413 4.0127 6.26003V9.74729C4.0127 10.1117 4.20829 10.45 4.52436 10.6324L7.54444 12.376C7.85486 12.5551 8.23686 12.5583 8.5498 12.3855C8.55547 12.3811 8.5615 12.3771 8.56789 12.3734C8.79089 12.2447 8.95396 12.0384 9.03064 11.8001C9.06185 11.7016 9.07834 11.5975 9.07834 11.4909V10.1401L7.38617 9.16356C6.97063 8.92455 6.71564 8.48268 6.71564 8.00366V4.5164C6.71564 4.37548 6.73791 4.2376 6.77994 4.1071C6.7845 4.09277 6.7893 4.07853 6.79433 4.06439Z",
60
+ fill: "white"
61
+ }));
62
+ };
63
+ RovoHexLogo.displayName = 'RovoHexLogo';
64
+ var _default = exports.default = RovoHexLogo;
@@ -1,16 +1,27 @@
1
1
  ._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
+ ._2rko1qi0{border-radius:var(--ds-radius-medium,6px)}
3
+ ._189ee4h9{border-width:var(--ds-border-width,1px)}
4
+ ._1dqonqa1{border-style:solid}
5
+ ._1h6d1l7x{border-color:var(--ds-border,#0b120e24)}
2
6
  ._19bv1b66{padding-left:var(--ds-space-050,4px)}
7
+ ._19bvv77o{padding-left:var(--ds-space-025,2px)}
3
8
  ._1bah1h6o{justify-content:center}
9
+ ._1bsb1ns9{width:-moz-fit-content;width:fit-content}
4
10
  ._1bsb1osq{width:100%}
5
11
  ._1bsb1tcg{width:24px}
6
12
  ._1e0c116y{display:inline-flex}
13
+ ._1o9zidpf{flex-shrink:0}
7
14
  ._4cvr1h6o{align-items:center}
8
15
  ._4t3i1tcg{height:24px}
9
16
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
10
17
  ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
18
+ ._kqswh2mm{position:relative}
11
19
  ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
20
+ ._o5721q9c{white-space:nowrap}
12
21
  ._syazi7uo{color:var(--ds-text,#292a2e)}
13
22
  ._u5f31b66{padding-right:var(--ds-space-050,4px)}
23
+ ._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
14
24
  ._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
25
+ ._4cvx1v1w:hover{border-color:var(--ds-border-focused,#4688ec)}
15
26
  ._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
16
27
  ._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
@@ -17,15 +17,21 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
17
  var _compiled = require("@atlaskit/primitives/compiled");
18
18
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
19
19
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
20
+ var _constants = require("../../../../../../constants");
21
+ var _flexibleUiContext = require("../../../../../../state/flexible-ui-context");
20
22
  var _utils = require("../../../utils");
21
23
  var _actionIcon = _interopRequireDefault(require("../action-icon"));
22
24
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
23
25
  var styles = {
24
26
  button: "_bfhksm61 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _1ah31i6y _irr31dpa _1di6fcek",
27
+ pillButton: "_2rko1qi0 _189ee4h9 _1dqonqa1 _1h6d1l7x _kqswh2mm _bfhksm61 _u5f3u2gc _19bvv77o _1bsb1ns9 _1ah31i6y _4cvx1v1w _irr31dpa _1di6fcek",
25
28
  content: "_11c8wadc _syazi7uo",
29
+ pillContent: "_11c8wadc _syazi7uo _o5721q9c",
26
30
  spinner: "_1bsb1tcg _4t3i1tcg _1e0c116y _4cvr1h6o _1bah1h6o"
27
31
  };
32
+ var pillIconWrapperStyles = null;
28
33
  var ActionButton = function ActionButton(_ref) {
34
+ var _flexibleUiContext$ac;
29
35
  var content = _ref.content,
30
36
  iconOption = _ref.icon,
31
37
  isDisabled = _ref.isDisabled,
@@ -48,6 +54,17 @@ var ActionButton = function ActionButton(_ref) {
48
54
  (0, _platformFeatureFlags.fg)('platform_sl_3p_auth_rovo_action_kill_switch') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_sl_3p_auth_rovo_action', 'isEnabled', true) ||
49
55
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
50
56
  (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
57
+
58
+ /**
59
+ * NOTE: We only apply the pill variant when there's text label
60
+ * (textual `content`). Icon-only stack-item buttons (e.g. the link/expand
61
+ * icons in the hover card footer) are also rendered with `as="stack-item"`
62
+ * but pass `content=""` and should keep their original borderless styling.
63
+ */
64
+ var hasTextualContent = typeof content === 'string' ? content.trim().length > 0 : Boolean(content);
65
+ var flexibleUiContext = (0, _flexibleUiContext.useFlexibleUiContext)();
66
+ var isInRovoActionStack = !!(flexibleUiContext !== null && flexibleUiContext !== void 0 && (_flexibleUiContext$ac = flexibleUiContext.actions) !== null && _flexibleUiContext$ac !== void 0 && _flexibleUiContext$ac[_constants.ActionName.RovoChatAction]);
67
+ var isInlineActionNudgeExperiment = hasTextualContent && isInRovoActionStack && (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
51
68
  var icon = iconOption && isLoading ? /*#__PURE__*/React.createElement(_actionIcon.default, {
52
69
  icon: is3pExperimentEnabled ? /*#__PURE__*/React.createElement(_compiled.Box, {
53
70
  xcss: styles.spinner
@@ -59,7 +76,7 @@ var ActionButton = function ActionButton(_ref) {
59
76
  })
60
77
  }) : iconOption;
61
78
  return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({
62
- xcss: (0, _css.cx)(styles.button)
79
+ xcss: (0, _css.cx)(isInlineActionNudgeExperiment ? styles.pillButton : styles.button)
63
80
  }, tooltipProps, {
64
81
  onClick: onClick,
65
82
  testId: testId
@@ -70,10 +87,12 @@ var ActionButton = function ActionButton(_ref) {
70
87
  'aria-label': ariaLabel
71
88
  } : {}), /*#__PURE__*/React.createElement(_compiled.Inline, {
72
89
  alignBlock: "center",
73
- grow: "fill",
74
- space: space
75
- }, icon, /*#__PURE__*/React.createElement(_compiled.Box, {
76
- xcss: (0, _css.cx)(styles.content)
90
+ grow: isInlineActionNudgeExperiment ? 'hug' : 'fill',
91
+ space: isInlineActionNudgeExperiment ? 'space.050' : space
92
+ }, isInlineActionNudgeExperiment ? /*#__PURE__*/React.createElement("span", {
93
+ className: (0, _runtime.ax)(["_1e0c116y _4cvr1h6o _1bah1h6o _1bsb1tcg _4t3i1tcg _1o9zidpf"])
94
+ }, icon) : icon, /*#__PURE__*/React.createElement(_compiled.Box, {
95
+ xcss: (0, _css.cx)(isInlineActionNudgeExperiment ? styles.pillContent : styles.content)
77
96
  }, content)));
78
97
  };
79
98
  var _default = exports.default = ActionButton;
@@ -14,6 +14,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _reactIntl = require("react-intl");
16
16
  var _aiGenerativeText = _interopRequireDefault(require("@atlaskit/icon-lab/core/ai-generative-text"));
17
+ var _aiSearch = _interopRequireDefault(require("@atlaskit/icon-lab/core/ai-search"));
18
+ var _aiGenerativeTextSummary = _interopRequireDefault(require("@atlaskit/icon/core/ai-generative-text-summary"));
19
+ var _rovoChat = _interopRequireDefault(require("@atlaskit/icon/core/rovo-chat"));
17
20
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
18
21
  var _constants = require("../../../../../constants");
19
22
  var _messages = require("../../../../../messages");
@@ -40,12 +43,15 @@ var RovoChatPromptKey = exports.RovoChatPromptKey = /*#__PURE__*/function (RovoC
40
43
  RovoChatPromptKey["IDENTIFY_KEY_TRENDS"] = "identify-key-trends";
41
44
  RovoChatPromptKey["FIND_OPEN_QUESTIONS"] = "find-open-questions";
42
45
  RovoChatPromptKey["HIGHLIGHT_RELEVANT_CONTENT"] = "highlight-relevant-content";
46
+ RovoChatPromptKey["SUMMARIZE_THIS_FOR_ME"] = "summarize-this-for-me";
47
+ RovoChatPromptKey["ASK_A_SPECIFIC_QUESTION"] = "ask-a-specific-question";
48
+ RovoChatPromptKey["SHOW_ME_WHATS_RELEVANT"] = "show-me-whats-relevant";
43
49
  return RovoChatPromptKey;
44
50
  }({});
45
51
  var GOOGLE_PROMPTS = [RovoChatPromptKey.RECOMMEND_OTHER_SOURCES, RovoChatPromptKey.SHOW_OTHER_MENTIONS, RovoChatPromptKey.SUGGEST_IMPROVEMENT];
46
52
  var GENERIC_3P_PROMPTS = [
47
- // For rovogrowth-640-inline-action-nudge-exp only. Applies to all RovoActions eligible providers, except Google
48
- RovoChatPromptKey.SUMMARIZE_LINK, RovoChatPromptKey.KEY_HIGHLIGHTS, RovoChatPromptKey.ASK_ROVO_ANYTHING];
53
+ // For rovogrowth-640-inline-action-nudge-exp only
54
+ RovoChatPromptKey.SHOW_ME_WHATS_RELEVANT, RovoChatPromptKey.SUMMARIZE_THIS_FOR_ME, RovoChatPromptKey.ASK_A_SPECIFIC_QUESTION];
49
55
  var DEFAULT_PROMPTS = GOOGLE_PROMPTS;
50
56
  var getContext = function getContext(intl, product) {
51
57
  switch (product) {
@@ -151,6 +157,28 @@ var getPromptAction = function getPromptAction(promptKey, intl) {
151
157
  }
152
158
  }
153
159
  };
160
+ case RovoChatPromptKey.SUMMARIZE_THIS_FOR_ME:
161
+ var label_summarize_this_for_me = intl.formatMessage(_messages.messages.rovo_prompt_button_summarize_this);
162
+ var html_summarize_this_for_me = intl.formatMessage(_messages.messages.rovo_prompt_message_summarize, {
163
+ url: url
164
+ }, {
165
+ ignoreTag: true
166
+ });
167
+ return {
168
+ icon: /*#__PURE__*/_react.default.createElement(_aiGenerativeTextSummary.default, {
169
+ label: label_summarize_this_for_me
170
+ }),
171
+ content: label_summarize_this_for_me,
172
+ tooltipMessage: label_summarize_this_for_me,
173
+ data: {
174
+ name: label_summarize_this_for_me,
175
+ dialogues: [],
176
+ prompt: (0, _htmlToAdf.default)(html_summarize_this_for_me),
177
+ mode: {
178
+ fastModeEnabled: true
179
+ }
180
+ }
181
+ };
154
182
  case RovoChatPromptKey.KEY_HIGHLIGHTS:
155
183
  var label_key_highlights = intl.formatMessage(_messages.messages.rovo_prompt_button_highlight_relevant_content);
156
184
  var html_key_highlights = intl.formatMessage(_messages.messages.rovo_prompt_message_highlight_relevant_content, {
@@ -189,6 +217,25 @@ var getPromptAction = function getPromptAction(promptKey, intl) {
189
217
  placeholderType: 'generic'
190
218
  }
191
219
  };
220
+ case RovoChatPromptKey.ASK_A_SPECIFIC_QUESTION:
221
+ var label_ask_a_specific_question = intl.formatMessage(_messages.messages.rovo_prompt_button_ask_a_specific_question);
222
+ var prompt_ask_a_specific_question = intl.formatMessage(_messages.messages.rovo_prompt_message_ask_rovo_anything, {
223
+ url: url
224
+ });
225
+ return {
226
+ icon: /*#__PURE__*/_react.default.createElement(_rovoChat.default, {
227
+ label: label_ask_a_specific_question
228
+ }),
229
+ content: label_ask_a_specific_question,
230
+ tooltipMessage: label_ask_a_specific_question,
231
+ data: {
232
+ name: label_ask_a_specific_question,
233
+ dialogues: [],
234
+ prompt: prompt_ask_a_specific_question,
235
+ isPromptPlaceholder: true,
236
+ placeholderType: 'generic'
237
+ }
238
+ };
192
239
  case RovoChatPromptKey.HIGHLIGHT_RELEVANT_CONTENT:
193
240
  var label_highlight_relevant_content = intl.formatMessage(_messages.messages.rovo_prompt_button_highlight_relevant_content);
194
241
  var html_highlight_relevant_content = intl.formatMessage(_messages.messages.rovo_prompt_message_highlight_relevant_content, {
@@ -209,6 +256,26 @@ var getPromptAction = function getPromptAction(promptKey, intl) {
209
256
  prompt: (0, _htmlToAdf.default)(html_highlight_relevant_content)
210
257
  }
211
258
  };
259
+ case RovoChatPromptKey.SHOW_ME_WHATS_RELEVANT:
260
+ var label_show_me_whats_relevant = intl.formatMessage(_messages.messages.rovo_prompt_button_show_me_whats_relevant);
261
+ var html_show_me_whats_relevant = intl.formatMessage(_messages.messages.rovo_prompt_message_highlight_relevant_content, {
262
+ context: contextLong,
263
+ url: url
264
+ }, {
265
+ ignoreTag: true
266
+ });
267
+ return {
268
+ icon: /*#__PURE__*/_react.default.createElement(_aiSearch.default, {
269
+ label: label_show_me_whats_relevant
270
+ }),
271
+ content: label_show_me_whats_relevant,
272
+ tooltipMessage: label_show_me_whats_relevant,
273
+ data: {
274
+ name: label_show_me_whats_relevant,
275
+ dialogues: [],
276
+ prompt: (0, _htmlToAdf.default)(html_show_me_whats_relevant)
277
+ }
278
+ };
212
279
  case RovoChatPromptKey.IDENTIFY_KEY_TRENDS:
213
280
  var label_identify_key_trends = intl.formatMessage(_messages.messages.rovo_prompt_button_identify_key_trends);
214
281
  var html_identify_key_trends = intl.formatMessage(_messages.messages.rovo_prompt_message_identify_key_trends, {
@@ -0,0 +1,15 @@
1
+ ._11c8wadc{font:var(--ds-font-body-small,normal 400 9pt/1pc "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}
3
+ ._zulputpp{gap:var(--ds-space-150,9pt)}
4
+ ._18u0v77o{margin-left:var(--ds-space-025,2px)}
5
+ ._19bv1b66{padding-left:var(--ds-space-050,4px)}
6
+ ._1bsb1osq{width:100%}
7
+ ._1e0c1txw{display:flex}
8
+ ._1wpz1fhb{align-self:stretch}
9
+ ._2lx21bp4{flex-direction:column}
10
+ ._4cvr1h6o{align-items:center}
11
+ ._4t3it94y{height:1px}
12
+ ._bfhk1l7x{background-color:var(--ds-border,#0b120e24)}
13
+ ._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
14
+ ._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
15
+ ._syazazsu{color:var(--ds-text-subtle,#505258)}
@@ -0,0 +1,44 @@
1
+ /* ask-rovo-section-header.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ "use strict";
3
+
4
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
6
+ Object.defineProperty(exports, "__esModule", {
7
+ value: true
8
+ });
9
+ exports.default = void 0;
10
+ require("./ask-rovo-section-header.compiled.css");
11
+ var React = _interopRequireWildcard(require("react"));
12
+ var _runtime = require("@compiled/react/runtime");
13
+ var _reactIntl = require("react-intl");
14
+ var _messages = require("../../../../../messages");
15
+ var _rovoHexLogo = _interopRequireDefault(require("../../../assets/rovo-hex-logo"));
16
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
+ var sectionHeaderStyles = null;
18
+ var sectionHeaderDividerStyles = null;
19
+ var sectionHeaderRowStyles = null;
20
+ var sectionHeaderLabelStyles = null;
21
+ /**
22
+ * "Ask Rovo" section header rendered above the prompt action pill buttons in
23
+ * the rovogrowth-640-inline-action-nudge-exp pill variant.
24
+ *
25
+ * Renders a full-width 1px divider followed by a row containing the colourful
26
+ * Rovo hex logo and the "Ask Rovo" label.
27
+ */
28
+ var AskRovoSectionHeader = function AskRovoSectionHeader(_ref) {
29
+ var testId = _ref.testId;
30
+ var intl = (0, _reactIntl.useIntl)();
31
+ return /*#__PURE__*/React.createElement("div", {
32
+ "data-testid": testId,
33
+ className: (0, _runtime.ax)(["_zulputpp _1e0c1txw _2lx21bp4 _otyru2gc _18u0v77o _1bsb1osq _1wpz1fhb"])
34
+ }, /*#__PURE__*/React.createElement("div", {
35
+ role: "separator",
36
+ "aria-orientation": "horizontal",
37
+ className: (0, _runtime.ax)(["_4t3it94y _1bsb1osq _bfhk1l7x"])
38
+ }), /*#__PURE__*/React.createElement("div", {
39
+ className: (0, _runtime.ax)(["_zulp1b66 _1e0c1txw _4cvr1h6o _19bv1b66"])
40
+ }, /*#__PURE__*/React.createElement(_rovoHexLogo.default, null), /*#__PURE__*/React.createElement("span", {
41
+ className: (0, _runtime.ax)(["_11c8wadc _syazazsu _k48p1wq8"])
42
+ }, intl.formatMessage(_messages.messages.rovo_chat_action_section_header))));
43
+ };
44
+ var _default = exports.default = AskRovoSectionHeader;
@@ -1,7 +1,10 @@
1
- ._16jlkb7n{flex-grow:1}
1
+
2
+ ._zulp12x7{gap:var(--ds-space-075,6px)}._16jlkb7n{flex-grow:1}
2
3
  ._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
3
4
  ._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
5
+ ._1bsb1osq{width:100%}
4
6
  ._1e0c1txw{display:flex}
5
7
  ._2hwxc10g{margin-right:calc(var(--container-gap-right)*-1)}
6
8
  ._2lx21bp4{flex-direction:column}
9
+ ._4cvr1y6m{align-items:flex-start}
7
10
  ._vchhusvi{box-sizing:border-box}
@@ -14,12 +14,16 @@ var _runtime = require("@compiled/react/runtime");
14
14
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
15
15
  var _reactMagneticDi = require("react-magnetic-di");
16
16
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
17
18
  var _constants = require("../../../../../constants");
18
19
  var _flexibleUiContext = require("../../../../../state/flexible-ui-context");
19
20
  var Actions = _interopRequireWildcard(require("../../actions"));
20
21
  var _actionFooter = require("./action-footer");
22
+ var _askRovoSectionHeader = _interopRequireDefault(require("./ask-rovo-section-header"));
21
23
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
22
24
  var ignoreContainerPaddingStyles = null;
25
+ var inlineActionNudgePillWrapperStyles = null;
26
+ var inlineActionNudgeColumnStyles = null;
23
27
  var DEFAULT_SORT_ORDER = ['PreviewAction', 'CopyLinkAction', 'AISummaryAction'];
24
28
  var sort = function sort(a, b) {
25
29
  var idxA = DEFAULT_SORT_ORDER.indexOf(a);
@@ -63,6 +67,9 @@ var ActionBlock = function ActionBlock(_ref) {
63
67
  var context = (0, _flexibleUiContext.useFlexibleUiContext)();
64
68
  var ui = (0, _flexibleUiContext.useFlexibleUiOptionContext)();
65
69
  var isRovoChatActionAvailable = ((0, _platformFeatureFlags.fg)('platform_sl_3p_auth_rovo_action_kill_switch') || (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg')) && isAny3pRovoActionsExperimentOn ? (context === null || context === void 0 || (_context$actions = context.actions) === null || _context$actions === void 0 ? void 0 : _context$actions[_constants.ActionName.RovoChatAction]) !== undefined : undefined;
70
+
71
+ // eslint-disable-next-line @atlaskit/platform/no-preconditioning
72
+ var isInlineActionNudgeExperiment = (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
66
73
  var _useState = (0, _react.useState)(),
67
74
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
68
75
  message = _useState2[0],
@@ -107,17 +114,35 @@ var ActionBlock = function ActionBlock(_ref) {
107
114
  size: size || (ui === null || ui === void 0 ? void 0 : ui.size)
108
115
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
109
116
  ,
110
- style: padding && {
117
+ style: !(isInlineActionNudgeExperiment && isRovoChatActionAvailable) && padding ? {
111
118
  paddingInline: padding
112
- },
119
+ } : undefined,
113
120
  hideTooltip: isLoading
114
121
  });
115
122
  };
116
123
  return arr.map(function (name) {
117
124
  return renderAction(name);
118
125
  });
119
- }, [context === null || context === void 0 ? void 0 : context.actions, isRovoChatActionAvailable, spaceInline, onError, onLoadingChange, size, ui === null || ui === void 0 ? void 0 : ui.size, padding, isLoading, _onClick]);
120
- return actions ? /*#__PURE__*/React.createElement("div", {
126
+ }, [context === null || context === void 0 ? void 0 : context.actions, isRovoChatActionAvailable, spaceInline, onError, onLoadingChange, size, ui === null || ui === void 0 ? void 0 : ui.size, padding, isLoading, _onClick, isInlineActionNudgeExperiment]);
127
+ var showRovoSectionHeader = isInlineActionNudgeExperiment && isRovoChatActionAvailable;
128
+ if (!actions) {
129
+ return null;
130
+ }
131
+ if (isInlineActionNudgeExperiment && isRovoChatActionAvailable) {
132
+ return /*#__PURE__*/React.createElement("div", {
133
+ ref: blockRef,
134
+ "data-testid": testId,
135
+ className: (0, _runtime.ax)(["_1e0c1txw _2lx21bp4 _vchhusvi _1bsb1osq"])
136
+ }, showRovoSectionHeader && /*#__PURE__*/React.createElement(_askRovoSectionHeader.default, {
137
+ testId: testId ? "".concat(testId, "-rovo-section-header") : undefined
138
+ }), /*#__PURE__*/React.createElement("div", {
139
+ className: (0, _runtime.ax)(["_zulp12x7 _1e0c1txw _2lx21bp4 _4cvr1y6m"])
140
+ }, actions), /*#__PURE__*/React.createElement(_actionFooter.ActionFooter, {
141
+ message: message,
142
+ testId: testId
143
+ }));
144
+ }
145
+ return /*#__PURE__*/React.createElement("div", {
121
146
  ref: blockRef,
122
147
  "data-testid": testId
123
148
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
@@ -126,6 +151,6 @@ var ActionBlock = function ActionBlock(_ref) {
126
151
  }, actions, /*#__PURE__*/React.createElement(_actionFooter.ActionFooter, {
127
152
  message: message,
128
153
  testId: testId
129
- })) : null;
154
+ }));
130
155
  };
131
156
  var _default = exports.default = ActionBlock;
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
22
22
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
23
23
  var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "44.3.20",
25
+ packageVersion: "44.3.22",
26
26
  componentName: 'linkUrl'
27
27
  };
28
28
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4df239590aaac389efc3ed9d6e8087725b77a70c5bd5f9047993671379a33b25
3
- size 33107
2
+ oid sha256:64a45081f856f48de6a315f9b12747d543b2b83106d1faa7b36089de8c7f04c1
3
+ size 36891
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:43fbdc9bbdc8153019286429b71a36b4709b3f6c40e63478482d08f8d204a234
3
- size 25329
2
+ oid sha256:f16d2f260c508d20c49ca84a31b73ef9232cf7ae4b4ac0a8b5e3abaf946888eb
3
+ size 29353
@@ -1000,5 +1000,25 @@ export const messages = defineMessages({
1000
1000
  id: 'fabric.linking.rovo_prompt_message_find_open_questions.non-final',
1001
1001
  defaultMessage: '<p>Look at this <a>{url}</a> and list any open questions, unresolved decisions, or asks that still need follow‑up. Group them by owner if possible and keep it concise.</p>',
1002
1002
  description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
1003
+ },
1004
+ rovo_chat_action_section_header: {
1005
+ id: 'fabric.linking.rovo_chat_action_section_header.non-final',
1006
+ defaultMessage: 'Ask Rovo',
1007
+ description: 'Heading shown above the Rovo prompt action buttons in the smart link hover card, alongside the Rovo logo, to introduce the AI prompt suggestions.'
1008
+ },
1009
+ rovo_prompt_button_summarize_this: {
1010
+ id: 'fabric.linking.rovo_prompt_button_summarize_this.non-final',
1011
+ defaultMessage: 'Summarize this for me',
1012
+ description: 'The name of the action to send prompt message to Rovo Chat in relation to current Smart Link'
1013
+ },
1014
+ rovo_prompt_button_ask_a_specific_question: {
1015
+ id: 'fabric.linking.rovo_prompt_button_ask_a_specific_question.non-final',
1016
+ defaultMessage: 'Ask a specific question',
1017
+ description: 'The name of the action to send prompt message to Rovo Chat in relation to current Smart Link'
1018
+ },
1019
+ rovo_prompt_button_show_me_whats_relevant: {
1020
+ id: 'fabric.linking.rovo_prompt_button_show_me_whats_relevant.non-final',
1021
+ defaultMessage: `Show me what's relevant`,
1022
+ description: 'The name of the action to send prompt message to Rovo Chat in relation to current Smart Link'
1003
1023
  }
1004
1024
  });
@@ -27,7 +27,7 @@ const useRovoChat = () => {
27
27
  agentId: undefined
28
28
  },
29
29
  openChat: true,
30
- openChatMode: product && jiraProducts.includes(product) && fg('platform_sl_3p_auth_rovo_block_jira_kill_switch') ? 'mini-modal' : 'sidebar'
30
+ openChatMode: product && jiraProducts.includes(product) && fg('platform_sl_3p_auth_rovo_block_jira_kill_switch') || fg('rovogrowth-640-inline-action-nudge-fg') ? 'mini-modal' : 'sidebar'
31
31
  },
32
32
  onAcknowledgeTimeout: () => {
33
33
  // NAVX-3599: Add analytics event
@@ -2,7 +2,7 @@ export const ANALYTICS_CHANNEL = 'media';
2
2
  export const context = {
3
3
  componentName: 'smart-cards',
4
4
  packageName: "@atlaskit/smart-card" || '',
5
- packageVersion: "44.3.20" || ''
5
+ packageVersion: "44.3.22" || ''
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";