@atlaskit/smart-card 43.31.6 → 43.31.8

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 (117) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-unauthorised-view-better-hovercard-killswitch-enabled--default.png +0 -0
  3. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-rovo-chat-action--default.png +0 -0
  4. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +0 -0
  5. package/dist/cjs/messages.js +14 -39
  6. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +5 -0
  7. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +9 -2
  8. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +5 -2
  9. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +5 -1
  10. package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +50 -3
  11. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +6 -38
  12. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/index.js +14 -33
  13. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.js +43 -37
  14. package/dist/cjs/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +1 -1
  15. package/dist/cjs/view/FlexibleCard/components/elements/common/base-icon-element/index.js +43 -5
  16. package/dist/cjs/view/HoverCard/components/ContentContainer.compiled.css +1 -1
  17. package/dist/cjs/view/HoverCard/components/ContentContainer.js +1 -1
  18. package/dist/cjs/view/HoverCard/components/HoverCardContent.js +2 -4
  19. package/dist/cjs/view/HoverCard/components/views/resolved/index.js +4 -8
  20. package/dist/cjs/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.compiled.css +28 -5
  21. package/dist/cjs/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +75 -53
  22. package/dist/cjs/view/HoverCard/components/views/unauthorised/graphics.js +47 -0
  23. package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-unauthorised-view-better-hovercard-killswitch-enabled--default.png +0 -0
  24. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-rovo-chat-action--default.png +0 -0
  25. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +0 -0
  26. package/dist/es2019/messages.js +14 -39
  27. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +5 -0
  28. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +9 -2
  29. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +5 -2
  30. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +6 -2
  31. package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +31 -0
  32. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +6 -34
  33. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/index.js +11 -29
  34. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.js +44 -38
  35. package/dist/es2019/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +1 -1
  36. package/dist/es2019/view/FlexibleCard/components/elements/common/base-icon-element/index.js +38 -5
  37. package/dist/es2019/view/HoverCard/components/ContentContainer.compiled.css +1 -1
  38. package/dist/es2019/view/HoverCard/components/ContentContainer.js +1 -1
  39. package/dist/es2019/view/HoverCard/components/HoverCardContent.js +2 -4
  40. package/dist/es2019/view/HoverCard/components/views/resolved/index.js +4 -8
  41. package/dist/es2019/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.compiled.css +28 -5
  42. package/dist/es2019/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +82 -58
  43. package/dist/es2019/view/HoverCard/components/views/unauthorised/graphics.js +39 -0
  44. package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-unauthorised-view-better-hovercard-killswitch-enabled--default.png +0 -0
  45. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-rovo-chat-action--default.png +0 -0
  46. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +0 -0
  47. package/dist/esm/messages.js +14 -39
  48. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +5 -0
  49. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +9 -2
  50. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summarise-action.js +5 -2
  51. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/ai-summary-action-component.js +6 -2
  52. package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +47 -1
  53. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +6 -38
  54. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/index.js +13 -32
  55. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/resolved/index.js +44 -38
  56. package/dist/esm/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +1 -1
  57. package/dist/esm/view/FlexibleCard/components/elements/common/base-icon-element/index.js +43 -5
  58. package/dist/esm/view/HoverCard/components/ContentContainer.compiled.css +1 -1
  59. package/dist/esm/view/HoverCard/components/ContentContainer.js +1 -1
  60. package/dist/esm/view/HoverCard/components/HoverCardContent.js +2 -4
  61. package/dist/esm/view/HoverCard/components/views/resolved/index.js +4 -8
  62. package/dist/esm/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.compiled.css +28 -5
  63. package/dist/esm/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +76 -54
  64. package/dist/esm/view/HoverCard/components/views/unauthorised/graphics.js +39 -0
  65. package/dist/types/common/analytics/generated/analytics.types.d.ts +4 -0
  66. package/dist/types/messages.d.ts +1 -1
  67. package/dist/types/state/analytics/useLinkClicked.d.ts +2 -2
  68. package/dist/types/state/hooks/use-invoke/index.d.ts +1 -1
  69. package/dist/types/state/hooks/use-resolve/index.d.ts +1 -1
  70. package/dist/types/state/hooks/use-resolve-hyperlink/index.d.ts +1 -1
  71. package/dist/types/state/hooks/use-resolve-hyperlink/useScheduledRegister.d.ts +1 -1
  72. package/dist/types/utils/analytics/click.d.ts +1 -1
  73. package/dist/types/utils/mocks.d.ts +3 -3
  74. package/dist/types/view/Card/index.d.ts +2 -2
  75. package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +1 -1
  76. package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +1 -1
  77. package/dist/types/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +3 -0
  78. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +2 -10
  79. package/dist/types/view/FlexibleCard/components/blocks/ai-summary-block/types.d.ts +4 -7
  80. package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +1 -1
  81. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +1 -1
  82. package/dist/types/view/HoverCard/components/views/resolved/index.d.ts +1 -1
  83. package/dist/types/view/HoverCard/components/views/resolved/types.d.ts +0 -1
  84. package/dist/types/view/HoverCard/components/views/unauthorised/graphics.d.ts +3 -0
  85. package/dist/types/view/InlineCard/Frame/styled.d.ts +2 -2
  86. package/dist/types/view/InlineCard/common/action-button/index.d.ts +1 -1
  87. package/dist/types/view/InlineCard/common/rovo-actions-button/index.d.ts +1 -1
  88. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
  89. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +1 -1
  90. package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
  91. package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +4 -0
  92. package/dist/types-ts4.5/messages.d.ts +1 -1
  93. package/dist/types-ts4.5/state/analytics/useLinkClicked.d.ts +2 -2
  94. package/dist/types-ts4.5/state/hooks/use-invoke/index.d.ts +1 -1
  95. package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +1 -1
  96. package/dist/types-ts4.5/state/hooks/use-resolve-hyperlink/index.d.ts +1 -1
  97. package/dist/types-ts4.5/state/hooks/use-resolve-hyperlink/useScheduledRegister.d.ts +1 -1
  98. package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
  99. package/dist/types-ts4.5/utils/mocks.d.ts +3 -3
  100. package/dist/types-ts4.5/view/Card/index.d.ts +2 -2
  101. package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +1 -1
  102. package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +1 -1
  103. package/dist/types-ts4.5/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.d.ts +3 -0
  104. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/index.d.ts +2 -10
  105. package/dist/types-ts4.5/view/FlexibleCard/components/blocks/ai-summary-block/types.d.ts +4 -7
  106. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +1 -1
  107. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +1 -1
  108. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/index.d.ts +1 -1
  109. package/dist/types-ts4.5/view/HoverCard/components/views/resolved/types.d.ts +0 -1
  110. package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/graphics.d.ts +3 -0
  111. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +2 -2
  112. package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +1 -1
  113. package/dist/types-ts4.5/view/InlineCard/common/rovo-actions-button/index.d.ts +1 -1
  114. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
  115. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +1 -1
  116. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
  117. package/package.json +4 -5
@@ -1,16 +1,39 @@
1
1
 
2
+ ._2rko1mok{border-radius:var(--ds-radius-large,8px)}
3
+ ._zulpu2gc{gap:var(--ds-space-100,8px)}
2
4
  ._zulputpp{gap:var(--ds-space-150,9pt)}._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
5
+ ._154i1crf{top:9pt}
6
+ ._154i1ul9{top:30px}
7
+ ._154i1ylp{top:40px}
3
8
  ._19bvpxbi{padding-left:var(--ds-space-200,1pc)}
4
- ._19pkpxbi{margin-top:var(--ds-space-200,1pc)}
9
+ ._19pkutpp{margin-top:var(--ds-space-150,9pt)}
10
+ ._1bah1h6o{justify-content:center}
5
11
  ._1bahesu3{justify-content:flex-end}
12
+ ._1bsb7vkz{width:1pc}
13
+ ._1bsbqslr{width:22px}
14
+ ._1bsbzwfg{width:2pc}
6
15
  ._1e0c1txw{display:flex}
16
+ ._1ltv1v6z{left:7px}
7
17
  ._1n261g80{flex-wrap:wrap}
18
+ ._1o9zidpf{flex-shrink:0}
19
+ ._1xi21v6z{right:7px}
20
+ ._1xi2qslr{right:22px}
8
21
  ._4cvr1h6o{align-items:center}
9
- ._bfhkomb0{background-color:var(--ds-background-brand-bold,#0052cc)}
22
+ ._4t3izwfg{height:2pc}
23
+ ._bfhk11bn{background-color:var(--ds-background-accent-gray-subtlest,#f1f2f4)}
24
+ ._bfhk16e3{background-color:var(--ds-background-accent-blue-bolder,#1868db)}
25
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
26
+ ._ca0q1ejb{padding-top:var(--ds-space-300,24px)}
10
27
  ._ca0qpxbi{padding-top:var(--ds-space-200,1pc)}
11
- ._ca0qutpp{padding-top:var(--ds-space-150,9pt)}
28
+ ._kqswh2mm{position:relative}
29
+ ._kqswstnw{position:absolute}
12
30
  ._n3tdpxbi{padding-bottom:var(--ds-space-200,1pc)}
13
31
  ._n3tdutpp{padding-bottom:var(--ds-space-150,9pt)}
32
+ ._otyrutpp{margin-bottom:var(--ds-space-150,9pt)}
14
33
  ._qrwq1mok{border-top-right-radius:var(--ds-radius-large,8px)}
15
- ._syaz15cr{color:var(--ds-text-inverse,#fff)}
16
- ._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
34
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
35
+ ._syaz1yjp{color:var(--ds-icon-success,#22a06b)}
36
+ ._syazuq3u{color:var(--ds-icon-accent-purple,#af59e1)}
37
+ ._syazwejn{color:var(--ds-background-accent-gray-subtlest-hovered,#dddee1)}
38
+ ._u5f3pxbi{padding-right:var(--ds-space-200,1pc)}
39
+ ._y3gn1h6o{text-align:center}
@@ -6,47 +6,45 @@ import { ax, ix } from "@compiled/react/runtime";
6
6
  import { useCallback, useMemo } from 'react';
7
7
  import { FormattedMessage } from 'react-intl-next';
8
8
  import Button from '@atlaskit/button/new';
9
- import { IconTile } from '@atlaskit/icon';
10
- import AiSparkleIcon from '@atlaskit/icon/core/ai-sparkle';
11
- import AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
12
- import GlobeIcon from '@atlaskit/icon/core/globe';
13
- import SearchIcon from '@atlaskit/icon/core/search';
9
+ import AiGenerativeTextSummaryIcon from '@atlaskit/icon/core/ai-generative-text-summary';
10
+ import CoreLinkIcon from '@atlaskit/icon/core/link';
11
+ import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
14
12
  import { extractSmartLinkProvider } from '@atlaskit/link-extractors';
13
+ import { AtlassianIcon } from '@atlaskit/logo';
15
14
  import { Box, Inline, Stack, Text } from '@atlaskit/primitives/compiled';
16
15
  import { useAnalyticsEvents } from '../../../../../common/analytics/generated/use-analytics-events';
17
- import { CardDisplay } from '../../../../../constants';
16
+ import { CardDisplay, SmartLinkSize } from '../../../../../constants';
18
17
  import { messages } from '../../../../../messages';
19
18
  import { useSmartCardActions } from '../../../../../state/actions';
19
+ import FlexibleCard from '../../../../FlexibleCard';
20
+ import { LinkIcon } from '../../../../FlexibleCard/components/elements';
21
+ import { DenseSparkle, SparseSparkle, SquiglyArrow } from './graphics';
20
22
  var ROVO_FEATURES = [{
21
- icon: GlobeIcon,
22
- appearance: 'blue',
23
- titleMessage: messages.rovo_unauthorised_feature_document_summaries_title,
24
- descMessage: messages.rovo_unauthorised_feature_document_summaries_desc,
25
- testIdSuffix: 'document-summaries'
23
+ icon: CoreLinkIcon,
24
+ message: messages.rovo_unauthorised_feature_clear_link_names,
25
+ testIdSuffix: 'clear-link-names'
26
26
  }, {
27
- icon: SearchIcon,
28
- appearance: 'purple',
29
- titleMessage: messages.rovo_unauthorised_feature_related_content_title,
30
- descMessage: messages.rovo_unauthorised_feature_related_content_desc,
31
- testIdSuffix: 'related-content'
27
+ icon: AiGenerativeTextSummaryIcon,
28
+ message: messages.rovo_unauthorised_feature_understand_linked_docs,
29
+ testIdSuffix: 'understand-linked-docs'
32
30
  }, {
33
- icon: AiSparkleIcon,
34
- appearance: 'orange',
35
- titleMessage: messages.rovo_unauthorised_feature_smart_suggestions_title,
36
- descMessage: messages.rovo_unauthorised_feature_smart_suggestions_desc,
37
- testIdSuffix: 'smart-suggestions'
38
- }, {
39
- icon: AppSwitcherIcon,
40
- appearance: 'teal',
41
- titleMessage: messages.rovo_unauthorised_feature_cross_reference_title,
42
- descMessage: messages.rovo_unauthorised_feature_cross_reference_desc,
43
- testIdSuffix: 'cross-reference'
31
+ icon: RovoChatIcon,
32
+ message: messages.rovo_unauthorised_feature_go_deeper_smart_suggestions,
33
+ testIdSuffix: 'go-deeper-smart-suggestions'
44
34
  }];
35
+ var sparkleWrapBase = null;
36
+ var sparkleLeftWrap = null;
37
+ var sparkleGreyRightWrap = null;
38
+ var sparkleVioletRightWrap = null;
45
39
  var layoutStyles = {
46
- header: "_bfhkomb0 _syaz15cr _ca0qutpp _u5f3pxbi _n3tdutpp _19bvpxbi _13li1mok _qrwq1mok",
40
+ connectorStroke: "_syaz1fxt _1e0c1txw _1o9zidpf",
41
+ atlassianIconTile: "_2rko1mok _1e0c1txw _4cvr1h6o _1bah1h6o _1bsbzwfg _4t3izwfg _bfhk16e3",
42
+ header: "_bfhk11bn _ca0q1ejb _u5f3pxbi _n3tdutpp _19bvpxbi _13li1mok _qrwq1mok _kqswh2mm",
43
+ headerGraphicRow: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1h6o _otyrutpp",
44
+ headerTitle: "_y3gn1h6o",
47
45
  body: "_ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi",
48
- footer: "_19pkpxbi _ca0qutpp",
49
- footerActions: "_zulputpp _1e0c1txw _4cvr1h6o _1bahesu3 _1n261g80"
46
+ featureIconCell: "_1e0c1txw _4cvr1h6o _1bah1h6o _1o9zidpf _1bsb7vkz",
47
+ footer: "_zulputpp _19pkutpp _ca0q1b66 _1e0c1txw _4cvr1h6o _1bahesu3 _1n261g80"
50
48
  };
51
49
  var RovoUnauthorisedView = function RovoUnauthorisedView(_ref) {
52
50
  var _ref$id = _ref.id,
@@ -70,52 +68,76 @@ var RovoUnauthorisedView = function RovoUnauthorisedView(_ref) {
70
68
  authorize(CardDisplay.HoverCardPreview);
71
69
  }
72
70
  }, [authorize, fireEvent]);
73
- return /*#__PURE__*/React.createElement(Box, {
74
- testId: testId
75
- }, /*#__PURE__*/React.createElement(Box, {
71
+ var handleDismiss = useCallback(function () {
72
+ if (onDismiss) {
73
+ fireEvent('ui.button.clicked.dismiss', {});
74
+ onDismiss();
75
+ }
76
+ }, [fireEvent, onDismiss]);
77
+ return /*#__PURE__*/React.createElement(FlexibleCard, _extends({}, flexibleCardProps, {
78
+ testId: testId,
79
+ ui: {
80
+ hideElevation: true,
81
+ hideBackground: true,
82
+ removeBlockRestriction: true,
83
+ hidePadding: true
84
+ }
85
+ }), /*#__PURE__*/React.createElement(Box, {
76
86
  xcss: layoutStyles.header
87
+ }, /*#__PURE__*/React.createElement("div", {
88
+ className: ax(["_1o9zidpf _1e0c1txw _kqswstnw", "_syaz1yjp _154i1ul9 _1ltv1v6z"])
89
+ }, /*#__PURE__*/React.createElement(DenseSparkle, null)), /*#__PURE__*/React.createElement("div", {
90
+ className: ax(["_1o9zidpf _1e0c1txw _kqswstnw", "_syazwejn _154i1crf _1xi2qslr"])
91
+ }, /*#__PURE__*/React.createElement(SparseSparkle, null)), /*#__PURE__*/React.createElement("div", {
92
+ className: ax(["_1o9zidpf _1e0c1txw _kqswstnw", "_syazuq3u _1bsbqslr _154i1ylp _1xi21v6z"])
93
+ }, /*#__PURE__*/React.createElement(DenseSparkle, null)), /*#__PURE__*/React.createElement(Box, {
94
+ xcss: layoutStyles.headerGraphicRow
95
+ }, /*#__PURE__*/React.createElement(LinkIcon, {
96
+ size: SmartLinkSize.Medium,
97
+ isTiledIcon: true
98
+ }), /*#__PURE__*/React.createElement(Box, {
99
+ xcss: layoutStyles.connectorStroke
100
+ }, /*#__PURE__*/React.createElement(SquiglyArrow, null)), /*#__PURE__*/React.createElement(Box, {
101
+ xcss: layoutStyles.atlassianIconTile
102
+ }, /*#__PURE__*/React.createElement(AtlassianIcon, {
103
+ appearance: "inverse",
104
+ size: "small"
105
+ }))), /*#__PURE__*/React.createElement(Box, {
106
+ xcss: layoutStyles.headerTitle
77
107
  }, /*#__PURE__*/React.createElement(Text, {
78
108
  weight: "bold",
79
109
  size: "medium",
80
- color: "color.text.inverse"
110
+ color: "color.text"
81
111
  }, providerName ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.rovo_unauthorised_title, {
82
112
  values: {
83
113
  context: providerName
84
114
  }
85
- })) : /*#__PURE__*/React.createElement(FormattedMessage, messages.rovo_unauthorised_title_no_provider))), /*#__PURE__*/React.createElement(Box, {
115
+ })) : /*#__PURE__*/React.createElement(FormattedMessage, messages.rovo_unauthorised_title_no_provider)))), /*#__PURE__*/React.createElement(Box, {
86
116
  xcss: layoutStyles.body
87
117
  }, /*#__PURE__*/React.createElement(Stack, {
88
118
  space: "space.050"
89
119
  }, /*#__PURE__*/React.createElement(Stack, {
90
120
  space: "space.200"
91
121
  }, ROVO_FEATURES.map(function (feature) {
122
+ var FeatureIcon = feature.icon;
92
123
  return /*#__PURE__*/React.createElement(Inline, {
93
124
  key: feature.testIdSuffix,
94
- space: "space.100",
125
+ space: "space.150",
95
126
  alignBlock: "center",
96
- testId: "".concat(testId, "-feature-row-").concat(feature.testIdSuffix)
97
- }, /*#__PURE__*/React.createElement(IconTile, {
98
- icon: feature.icon,
99
- label: '',
100
- appearance: feature.appearance,
101
- size: "medium",
102
127
  testId: "".concat(testId, "-feature-").concat(feature.testIdSuffix)
103
- }), /*#__PURE__*/React.createElement(Stack, {
104
- space: "space.025"
105
- }, /*#__PURE__*/React.createElement(Text, {
106
- size: "small",
107
- weight: "bold"
108
- }, /*#__PURE__*/React.createElement(FormattedMessage, feature.titleMessage)), /*#__PURE__*/React.createElement(Text, {
109
- size: "small",
110
- color: "color.text.subtlest"
111
- }, /*#__PURE__*/React.createElement(FormattedMessage, feature.descMessage))));
128
+ }, /*#__PURE__*/React.createElement(Box, {
129
+ xcss: layoutStyles.featureIconCell
130
+ }, /*#__PURE__*/React.createElement(FeatureIcon, {
131
+ label: ""
132
+ })), /*#__PURE__*/React.createElement(Text, null, /*#__PURE__*/React.createElement(FormattedMessage, feature.message)));
112
133
  })), /*#__PURE__*/React.createElement(Box, {
113
134
  xcss: layoutStyles.footer
114
- }, /*#__PURE__*/React.createElement(Box, {
115
- xcss: layoutStyles.footerActions
135
+ }, /*#__PURE__*/React.createElement(Inline, {
136
+ space: "space.050"
116
137
  }, /*#__PURE__*/React.createElement(Button, {
117
138
  appearance: "subtle",
118
- onClick: onDismiss,
139
+ spacing: "compact",
140
+ onClick: handleDismiss,
119
141
  testId: "".concat(testId, "-not-now")
120
142
  }, /*#__PURE__*/React.createElement(FormattedMessage, messages.rovo_unauthorised_not_now)), /*#__PURE__*/React.createElement(Button, {
121
143
  appearance: "primary",
@@ -0,0 +1,39 @@
1
+ /* graphics.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import * as React from 'react';
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ export var DenseSparkle = function DenseSparkle() {
5
+ return /*#__PURE__*/React.createElement("svg", {
6
+ width: "33",
7
+ height: "33",
8
+ viewBox: "0 0 33 33",
9
+ fill: "none",
10
+ xmlns: "http://www.w3.org/2000/svg"
11
+ }, /*#__PURE__*/React.createElement("path", {
12
+ fill: "currentColor",
13
+ d: "M 18.1377,8.5584 C 19.820521,9.7606431 19.569624,7.0234324 19.891314,6.0724492 20.627318,4.4834923 20.654624,2.6485663 20.986387,0.9358225 20.985763,-0.63106096 19.153938,0.29529924 19.30907,1.4628594 18.581402,3.0380165 18.941526,4.9281736 18.3064,6.59809 18.189624,7.241971 17.98497,7.9130416 18.1377,8.5584 Z M 14.048,8.62872 C 16.108587,8.8291383 14.519035,6.5848441 14.323941,5.6001158 14.16595,3.856369 13.270155,2.254813 12.701225,0.60606587 11.918719,-0.74933808 10.791962,0.96396467 11.513059,1.8973545 11.672048,3.6244988 12.925689,5.0825474 13.2127,6.8456 13.436435,7.4621245 13.581302,8.1376081 14.048,8.62872 Z M 10.5438,10.7324 C 12.427639,9.875884 9.9317744,8.7259408 9.2689606,7.9718267 8.2625,6.5396335 6.6886891,5.5966404 5.36875,4.4566662 4.0131223,3.6745583 3.8966957,5.7235932 4.9866023,6.1718516 5.9867147,7.5895644 7.8032328,8.2251817 8.93219,9.61022 9.4294433,10.031063 9.9148481,10.555839 10.5438,10.7324 Z M 8.55828,14.3099 C 9.7604964,12.627122 7.023384,12.877794 6.0723265,12.556262 4.4833477,11.820331 2.6484558,11.792914 0.93570025,11.461212 c -1.5668845,6.26e-4 -0.64052126,1.832452 0.52703915,1.677318 1.5751539,0.727694 3.4653396,0.36738 5.1352306,1.00267 0.6438861,0.116827 1.314933,0.321333 1.96031,0.1687 z m 0.07008,4.0894 C 8.828733,16.338698 6.5844599,17.928323 5.5997508,18.123433 3.8560002,18.281408 2.2543901,19.1771 0.60569938,19.746162 -0.74955704,20.529217 0.96332374,21.653982 1.8969889,20.93548 3.6240071,20.774217 5.0821994,19.522267 6.84523,19.2346 7.4618123,19.010984 8.1372369,18.866007 8.62836,18.3993 Z m 2.10414,3.5072 C 9.8760472,20.022637 8.7260556,22.518484 7.9719398,23.181273 6.5393153,24.18655 5.6000777,25.76278 4.4595963,27.081513 3.6775168,28.437135 5.7265095,28.553572 6.1747816,27.463666 7.5925047,26.463552 8.2280912,24.647029 9.61315,23.5181 c 0.418283,-0.497326 0.951352,-0.985318 1.11935,-1.6116 z m 3.5775,1.9828 c -1.682815,-1.202255 -1.431924,1.534991 -1.753614,2.485976 -0.736023,1.588942 -0.763314,3.423872 -1.095073,5.136612 6.39e-4,1.566887 1.832425,0.640518 1.677317,-0.527032 0.727655,-1.57517 0.367555,-3.465328 1.00267,-5.135256 0.116772,-0.64388 0.321426,-1.314917 0.1687,-1.9603 z m 4.0891,-0.0702 c -2.060649,-0.200406 -0.470945,2.043891 -0.275873,3.028605 0.157937,1.743716 1.053669,3.345319 1.622686,4.994007 0.782496,1.355437 1.909207,-0.357878 1.188142,-1.291274 C 20.77504,28.823312 19.521385,27.365256 19.2344,25.6022 19.010647,24.985692 18.865809,24.310193 18.3991,23.8191 Z m 3.5074,-2.1038 c -1.88386,0.856461 0.611976,2.006423 1.274773,2.760542 1.006466,1.432207 2.580314,2.375182 3.90024,3.515183 1.355682,0.782012 1.472001,-1.26689 0.382153,-1.715209 C 26.463526,24.858147 24.647022,24.222555 23.5181,22.8375 23.02082,22.416678 22.53553,21.891757 21.9065,21.7153 Z m 1.9826,-3.5775 c -1.202233,1.682763 1.53485,1.432123 2.485905,1.753638 1.588978,0.735928 3.423859,0.763338 5.136608,1.095049 1.566893,-5.94e-4 0.640594,-1.832443 -0.527,-1.677317 C 29.409454,18.581486 27.519286,18.941792 25.8494,18.3065 25.205557,18.189667 24.534178,17.985164 23.8891,18.1378 Z m -0.0704,-4.0894 c -0.200405,2.06064 2.043899,0.470968 3.028605,0.275867 1.743759,-0.15797 3.345359,-1.053678 4.994083,-1.622679 1.355308,-0.782551 -0.357965,-1.909199 -1.29135,-1.188185 -1.727151,0.159054 -3.185218,1.412574 -4.948238,1.699697 -0.616574,0.223619 -1.291971,0.368616 -1.7831,0.8353 z M 21.7152,10.544 c 0.85645,1.88385 2.006449,-0.6119565 2.760542,-1.2747918 1.432624,-1.0052563 2.371905,-2.581444 3.512333,-3.9002107 C 28.770204,4.0133778 26.721159,3.8969258 26.272916,4.986848 24.855171,5.9869493 24.21954,7.8034667 22.8345,8.93243 22.416234,9.4297408 21.883198,9.917751 21.7152,10.544 Z"
14
+ }));
15
+ };
16
+ export var SparseSparkle = function SparseSparkle() {
17
+ return /*#__PURE__*/React.createElement("svg", {
18
+ width: "35",
19
+ height: "34",
20
+ viewBox: "0 0 35 34",
21
+ fill: "none",
22
+ xmlns: "http://www.w3.org/2000/svg"
23
+ }, /*#__PURE__*/React.createElement("path", {
24
+ fill: "currentColor",
25
+ d: "m 21.4614,9.02651 c 1.774882,1.267966 1.510442,-1.6188099 1.849578,-2.6219063 0.776223,-1.6758612 0.805105,-3.61111 1.154947,-5.41753458 C 24.447185,-0.68027653 22.513317,0.28790594 22.69688,1.5429258 21.929419,3.2042498 22.309243,5.1977402 21.6394,6.95899 21.51609,7.6380728 21.300546,8.3458903 21.4614,9.02651 Z m -9.1629,0.611 C 14.479174,9.6115402 12.55696,7.4386694 12.239238,6.4296801 11.873994,4.6211661 10.751762,3.0453042 9.9684287,1.3818975 9.0519692,0.02745097 7.9717763,1.9817201 8.8672911,2.872095 9.2298246,4.664959 10.714117,6.0484595 11.2158,7.86365 c 0.30309,0.6222222 0.536236,1.3131609 1.0827,1.77386 z M 9.02651,14.4282 c 1.267976,-1.774848 -1.6188386,-1.510386 -2.6219063,-1.849578 -1.6758612,-0.776223 -3.61111,-0.805105 -5.41753458,-1.154947 -1.66734565,0.01874 -0.69916318,1.952608 0.55585668,1.769045 1.661324,0.767461 3.6548144,0.387637 5.4160642,1.05748 0.6790828,0.12331 1.3869003,0.338854 2.06752,0.178 z m 0.79812,7.0123 C 9.6506342,19.264889 7.6156756,21.33182 6.6290172,21.715218 4.8462675,22.200193 3.3480398,23.427583 1.7425513,24.327425 0.48184315,25.389439 2.4687817,26.243895 3.3047292,25.323131 5.0679233,24.838194 6.3485808,23.265036 8.1279,22.6448 8.727623,22.296964 9.4030508,22.019757 9.82463,21.4405 Z m 4.60367,2.4235 c -1.774857,-1.267999 -1.510322,1.618845 -1.849554,2.621865 -0.776222,1.675869 -0.805026,3.611122 -1.154946,5.417535 0.01882,1.667361 1.952587,0.699167 1.769034,-0.555848 0.767463,-1.661311 0.387597,-3.654815 1.057466,-5.416052 0.123252,-0.679055 0.338956,-1.387036 0.178,-2.0675 z m 5.9772,0.261 c -2.173333,-0.211383 -0.496768,2.155705 -0.291021,3.19429 0.166568,1.839106 1.111399,3.528228 1.711458,5.267122 0.84816,1.433261 2.042749,-0.366933 1.253122,-1.36187 C 22.911487,29.402909 21.589251,27.865123 21.2864,26.0057 21.05053,25.355401 20.897759,24.642984 20.4055,24.125 Z m 4.3514,-4.2566 c -1.918413,1.03763 0.793683,2.065164 1.542216,2.81224 1.163691,1.434148 2.891651,2.307238 4.359284,3.41661 1.503797,0.716781 1.491809,-1.445265 0.281572,-1.83218 C 29.783911,22.847779 27.827538,22.311391 26.5397,20.9362 25.981077,20.526301 25.453402,20.026312 24.7569,19.8684 Z m 0.2667,-6.5645 c -0.61356,2.094147 2.024993,0.892339 3.082584,0.881972 1.837741,0.184903 3.674321,-0.429733 5.494903,-0.694759 1.566146,-0.568664 0.02093,-2.078292 -1.105917,-1.48934 -1.8201,-0.172658 -3.577509,0.836398 -5.46037,0.783027 -0.682737,0.109486 -1.416687,0.125746 -2.0112,0.5191 z"
26
+ }));
27
+ };
28
+ export var SquiglyArrow = function SquiglyArrow() {
29
+ return /*#__PURE__*/React.createElement("svg", {
30
+ width: "31",
31
+ height: "21",
32
+ viewBox: "0 0 31 21",
33
+ fill: "none",
34
+ xmlns: "http://www.w3.org/2000/svg"
35
+ }, /*#__PURE__*/React.createElement("path", {
36
+ fill: "currentColor",
37
+ d: "M 21.853446,0.12040609 C 20.167706,1.2017532 24.715673,2.4997309 25.755055,3.0673371 25.02723,3.2209011 21.984019,3.856737 20.991485,3.9633568 16.045179,5.5890307 11.446918,7.8287185 9.1072914,12.742806 7.8983204,12.284216 5.7117383,11.960731 4.1643839,12.645906 2.2323901,13.501397 0.58356937,15.13985 0.06015349,17.184987 0.06666279,19.997869 1.7741124,16.035826 2.7542112,15.14763 c 1.6305676,-1.477671 4.7339707,-2.002323 5.8717147,-1.083896 -0.6742412,2.17406 -0.7914961,6.013849 1.8803011,6.750565 2.072285,0.571408 3.768061,-1.977378 2.786707,-4.245231 C 12.524186,14.792533 11.187386,13.937797 10.469825,13.425746 12.484573,8.4842061 19.328854,5.5947574 24.21859,4.6647774 25.288915,4.5397793 29.069777,3.0700705 27.388804,4.826459 26.472831,6.3589647 23.793814,8.1658647 23.628028,9.0737265 23.1618,11.626835 26.092344,8.4605266 26.699318,7.7349157 27.826169,6.2825775 29.856947,4.4211835 30.479445,3.5562506 28.766042,2.8991905 26.575439,1.3555612 24.569756,0.89998649 23.662177,0.65006782 22.790889,0.24992986 21.853446,0.12040609 Z M 9.9983561,14.652336 C 11.498101,15.3957 13.411213,18.565161 11.127761,19.347839 9.1996093,18.911365 9.5916528,16.22149 9.9983561,14.652336 Z"
38
+ }));
39
+ };
@@ -122,6 +122,7 @@ export type ApplicationAccountConnectedAttributesType = {
122
122
  definitionId: string | null;
123
123
  };
124
124
  export type ApplicationAccountAuthStartedAttributesType = {};
125
+ export type ButtonClickedDismissAttributesType = {};
125
126
  export type SmartLinkQuickActionStartedAttributesType = {
126
127
  smartLinkActionType: 'FollowEntityAction' | 'GetStatusTransitionsAction' | 'StatusUpdateAction' | 'UnfollowEntityAction' | 'StatusUpdate';
127
128
  };
@@ -264,6 +265,9 @@ export type SmartLinkClickedSmartlinkClickAnalyticsWorkflowsAttributesType = {
264
265
  clickedAt: string;
265
266
  };
266
267
  export type AnalyticsEventAttributes = {
268
+ /**
269
+ * Fired when a button is clicked to dismiss a hover card */
270
+ 'ui.button.clicked.dismiss': ButtonClickedDismissAttributesType;
267
271
  /**
268
272
  * Fired when an copy link is clicked */
269
273
  'ui.button.clicked.copyLink': ButtonClickedCopyLinkAttributesType;
@@ -1,7 +1,7 @@
1
1
  import { type MessageDescriptor } from 'react-intl-next';
2
2
  export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
3
3
  export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement';
4
- export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_document_summaries_title' | 'rovo_unauthorised_feature_document_summaries_desc' | 'rovo_unauthorised_feature_smart_suggestions_title' | 'rovo_unauthorised_feature_smart_suggestions_desc' | 'rovo_unauthorised_feature_cross_reference_title' | 'rovo_unauthorised_feature_cross_reference_desc' | 'rovo_unauthorised_feature_related_content_title' | 'rovo_unauthorised_feature_related_content_desc' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | RovoChatActionMessageKey;
4
+ export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | RovoChatActionMessageKey;
5
5
  type Messages = {
6
6
  [K in MessageKey]: MessageDescriptor;
7
7
  };
@@ -12,5 +12,5 @@ handler?: T,
12
12
  /**
13
13
  * Filter which mouse events should trigger the link clicked event
14
14
  */
15
- predicate?: (event: React.MouseEvent) => boolean) => (...args: Parameters<T>) => void;
16
- export declare const useMouseDownEvent: <T extends React.MouseEventHandler>(onMouseDown?: T) => (...args: Parameters<T>) => void;
15
+ predicate?: (event: React.MouseEvent) => boolean) => ((...args: Parameters<T>) => void);
16
+ export declare const useMouseDownEvent: <T extends React.MouseEventHandler>(onMouseDown?: T) => ((...args: Parameters<T>) => void);
@@ -1,3 +1,3 @@
1
1
  import type { InvokeRequest } from '@atlaskit/linking-types/smart-link-actions';
2
- declare const useInvoke: () => (req: InvokeRequest, cb?: Function) => Promise<any>;
2
+ declare const useInvoke: () => ((req: InvokeRequest, cb?: Function) => Promise<any>);
3
3
  export default useInvoke;
@@ -1,3 +1,3 @@
1
- declare const useResolve: () => (url: string, isReloading?: boolean, isMetadataRequest?: boolean, id?: string) => Promise<void>;
1
+ declare const useResolve: () => ((url: string, isReloading?: boolean, isMetadataRequest?: boolean, id?: string) => Promise<void>);
2
2
  export default useResolve;
3
3
  export type ResolveFunction = ReturnType<typeof useResolve>;
@@ -2,7 +2,7 @@ import type { JsonLd } from '@atlaskit/json-ld-types';
2
2
  import type { CardState } from '@atlaskit/linking-common';
3
3
  import type { InvokeClientOpts, InvokeServerOpts } from '../../../model/invoke-opts';
4
4
  import type { CardInnerAppearance } from '../../../view/Card/types';
5
- declare const useResolveHyperlink: ({ href }: {
5
+ declare const useResolveHyperlink: ({ href, }: {
6
6
  href: string;
7
7
  }) => {
8
8
  state: CardState;
@@ -2,4 +2,4 @@
2
2
  * This is a scheduled batched register mechanism for resolving blue hyperlinks while the page is idle.
3
3
  * i.e. SharePoint tenants with the same hostname will be grouped together before the register is made.
4
4
  */
5
- export declare const useScheduledRegister: (href: string, register: (() => Promise<any>) | null) => () => Promise<void>;
5
+ export declare const useScheduledRegister: (href: string, register: (() => Promise<any>) | null) => (() => Promise<void>);
@@ -4,7 +4,7 @@ import { type AnalyticsEventPayload, type UIAnalyticsEvent } from '@atlaskit/ana
4
4
  import { type LinkProps } from '@atlaskit/link';
5
5
  import { type AnalyticsPayload } from '../types';
6
6
  import { type ClickOutcome, type ClickType, type UiLinkClickedEventProps } from './types';
7
- export declare const buttonMap: Map<number | undefined, "middle" | "none" | "left" | "right">;
7
+ export declare const buttonMap: Map<number | undefined, 'middle' | 'none' | 'left' | 'right'>;
8
8
  export declare const getKeys: (e: React.MouseEvent) => ("meta" | "alt" | "shift" | "ctrl")[];
9
9
  export declare function getLinkClickOutcome(e: React.MouseEvent, clickType: ClickType): ClickOutcome;
10
10
  export declare const createLinkClickedPayloadOld: (event: React.MouseEvent) => AnalyticsPayload | undefined;
@@ -31,11 +31,11 @@ export declare const mocks: {
31
31
  };
32
32
  };
33
33
  analytics: {
34
- status: "resolved";
34
+ status: 'resolved';
35
35
  details: {
36
36
  meta: {
37
- visibility: "public";
38
- access: "granted";
37
+ visibility: 'public';
38
+ access: 'granted';
39
39
  auth: never[];
40
40
  definitionId: string;
41
41
  key: string;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { type WrappedComponentProps } from 'react-intl-next';
3
3
  import { type WithAnalyticsEventsProps, type WithContextProps } from '@atlaskit/analytics-next';
4
4
  import { type CardAppearance, type CardPlatform, type CardProps } from './types';
5
- export declare const Card: React.ForwardRefExoticComponent<Omit<Omit<Omit<CardProps & WrappedComponentProps, "intl"> & {
5
+ export declare const Card: React.ForwardRefExoticComponent<Omit<Omit<Omit<CardProps & WrappedComponentProps, 'intl'> & {
6
6
  forwardedRef?: React.Ref<any>;
7
- }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & WithContextProps, "ref"> & React.RefAttributes<any>>;
7
+ }, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & WithContextProps, 'ref'> & React.RefAttributes<any>>;
8
8
  export type { CardAppearance, CardProps, CardPlatform };
@@ -44,5 +44,5 @@ export interface EmbedCardResolvedViewProps {
44
44
  /** Type of the object */
45
45
  type?: string[];
46
46
  }
47
- declare const EmbedCardResolvedViewWithFG: React.FC<Omit<EmbedCardResolvedViewProps & React.RefAttributes<HTMLIFrameElement>, "ref"> & React.RefAttributes<HTMLIFrameElement>>;
47
+ declare const EmbedCardResolvedViewWithFG: React.FC<Omit<EmbedCardResolvedViewProps & React.RefAttributes<HTMLIFrameElement>, 'ref'> & React.RefAttributes<HTMLIFrameElement>>;
48
48
  export { EmbedCardResolvedViewWithFG as EmbedCardResolvedView };
@@ -1,3 +1,3 @@
1
1
  import { type EmbedProps } from './types';
2
- declare const EmbedContent: ({ isTrusted, name, src, testId, ariaLabel, extensionKey }: EmbedProps) => JSX.Element;
2
+ declare const EmbedContent: ({ isTrusted, name, src, testId, ariaLabel, extensionKey, }: EmbedProps) => JSX.Element;
3
3
  export default EmbedContent;
@@ -4,3 +4,6 @@ import type { AISummaryActionProps } from './types';
4
4
  export declare function CopySummaryAction({ url, onClick: onClickCallback, testId, content, ...props }: AISummaryActionProps & AISummaryActionData & {
5
5
  content: string;
6
6
  }): React.JSX.Element;
7
+ export declare function CopySummaryActionNew({ url, onClick: onClickCallback, summary, testId, ...props }: AISummaryActionProps & AISummaryActionData & {
8
+ summary?: string;
9
+ }): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { type AISummaryBlockProps, type RovoSummaryBlockProps } from './types';
2
+ import { type AISummaryBlockProps } from './types';
3
3
  /**
4
4
  * Represents an AISummaryBlock, designed to summarising link resource
5
5
  * content using AI.
@@ -7,13 +7,5 @@ import { type AISummaryBlockProps, type RovoSummaryBlockProps } from './types';
7
7
  * @param {AISummaryBlockProps} AISummaryBlock
8
8
  * @see Block
9
9
  */
10
- declare const AISummaryBlock: ({ testId, ...props }: AISummaryBlockProps) => React.JSX.Element | null;
11
- /**
12
- * Represents an AISummaryBlock, designed to summarising link resource
13
- * content using AI.
14
- * @public
15
- * @param {RovoSummaryBlockProps} RovoSummaryBlock
16
- * @see Block
17
- */
18
- export declare const RovoSummaryBlock: ({ testId, url, ...props }: RovoSummaryBlockProps) => React.JSX.Element | null;
10
+ declare const AISummaryBlock: ({ is3PAuthRovoActionsExperimentOn, testId, ...props }: AISummaryBlockProps) => React.JSX.Element | null;
19
11
  export default AISummaryBlock;
@@ -6,14 +6,11 @@ export type AISummaryBlockProps = {
6
6
  */
7
7
  aiSummaryMinHeight?: number;
8
8
  /**
9
- * Placeholder to show when summary is not available
9
+ * Whether platform_sl_3p_auth_rovo_action experiment value is ON for current runtime
10
10
  */
11
- placeholder?: ReactNode;
12
- } & BlockProps;
13
- export type RovoSummaryBlockProps = {
11
+ is3PAuthRovoActionsExperimentOn?: boolean;
14
12
  /**
15
- * Minimum height requirement for the AISummary component to prevent fluctuations in a card size on the summary action.
13
+ * Placeholder to show when summary is not available
16
14
  */
17
- aiSummaryMinHeight?: number;
18
- url?: string;
15
+ placeholder?: ReactNode;
19
16
  } & BlockProps;
@@ -42,7 +42,7 @@ declare const _default_1: (props: ElementProps & {
42
42
  /**
43
43
  * Badge appearances
44
44
  */
45
- appearance?: "default" | "subtle";
45
+ appearance?: 'default' | 'subtle';
46
46
  /**
47
47
  * Color of the text and badge
48
48
  */
@@ -1,3 +1,3 @@
1
1
  import type { LozengeActionItemsGroupProps } from './types';
2
- declare const LozengeActionItemsGroup: ({ items, testId, onClick }: LozengeActionItemsGroupProps) => JSX.Element;
2
+ declare const LozengeActionItemsGroup: ({ items, testId, onClick, }: LozengeActionItemsGroupProps) => JSX.Element;
3
3
  export default LozengeActionItemsGroup;
@@ -1,3 +1,3 @@
1
1
  import { type HoverCardResolvedProps } from './types';
2
- declare const HoverCardResolvedView: ({ cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick, showRovoResolvedView, titleBlockProps, id, url, }: HoverCardResolvedProps) => JSX.Element;
2
+ declare const HoverCardResolvedView: ({ cardState, extensionKey, flexibleCardProps, isAISummaryEnabled, onActionClick, showRovoResolvedView, titleBlockProps, id, }: HoverCardResolvedProps) => JSX.Element;
3
3
  export default HoverCardResolvedView;
@@ -12,5 +12,4 @@ export type HoverCardResolvedProps = {
12
12
  isAISummaryEnabled?: boolean;
13
13
  onActionClick: (actionId: string | ActionName) => void;
14
14
  showRovoResolvedView?: boolean;
15
- url: string;
16
15
  } & HoverCardLoadingViewProps;
@@ -0,0 +1,3 @@
1
+ export declare const DenseSparkle: () => JSX.Element;
2
+ export declare const SparseSparkle: () => JSX.Element;
3
+ export declare const SquiglyArrow: () => JSX.Element;
@@ -13,5 +13,5 @@ export interface WrapperProps extends React.ComponentProps<any> {
13
13
  viewType?: ViewType;
14
14
  withoutBackground?: boolean;
15
15
  }
16
- export declare const WrapperSpan: React.ForwardRefExoticComponent<Omit<WrapperProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
17
- export declare const WrapperAnchor: React.ForwardRefExoticComponent<Omit<WrapperProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
16
+ export declare const WrapperSpan: React.ForwardRefExoticComponent<Omit<WrapperProps, 'ref'> & React.RefAttributes<HTMLSpanElement>>;
17
+ export declare const WrapperAnchor: React.ForwardRefExoticComponent<Omit<WrapperProps, 'ref'> & React.RefAttributes<HTMLAnchorElement>>;
@@ -10,5 +10,5 @@ type ActionButtonProps = ComponentPropsWithRef<typeof Pressable> & {
10
10
  /**
11
11
  * Action button has to be a span for the overflow to work correctly
12
12
  */
13
- export declare const ActionButton: ForwardRefExoticComponent<Omit<ActionButtonProps, "ref"> & RefAttributes<HTMLButtonElement>>;
13
+ export declare const ActionButton: ForwardRefExoticComponent<Omit<ActionButtonProps, 'ref'> & RefAttributes<HTMLButtonElement>>;
14
14
  export {};
@@ -9,4 +9,4 @@ export interface RovoActionsButtonProps {
9
9
  title?: string;
10
10
  url?: string;
11
11
  }
12
- export declare const RovoActionsButton: ({ onClick, testId, title, url }: RovoActionsButtonProps) => JSX.Element;
12
+ export declare const RovoActionsButton: ({ onClick, testId, title, url, }: RovoActionsButtonProps) => JSX.Element;
@@ -4,5 +4,5 @@ type EmptyStateProps = {
4
4
  renderImage?: () => React.ReactNode;
5
5
  testId?: string;
6
6
  };
7
- export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => JSX.Element;
7
+ export declare const EmptyState: ({ testId, header, description, renderImage, }: EmptyStateProps) => JSX.Element;
8
8
  export {};
@@ -1,3 +1,3 @@
1
1
  import { type RelatedLinksBaseModalProps } from './types';
2
- declare const RelatedLinksBaseModal: ({ onClose, showModal, children }: RelatedLinksBaseModalProps) => JSX.Element;
2
+ declare const RelatedLinksBaseModal: ({ onClose, showModal, children, }: RelatedLinksBaseModalProps) => JSX.Element;
3
3
  export default RelatedLinksBaseModal;
@@ -1,3 +1,3 @@
1
1
  import { type RelatedLinkItemProp } from '../types';
2
- declare const RelatedLinkItem: ({ url, testId, isSelected, onFocus }: RelatedLinkItemProp) => JSX.Element;
2
+ declare const RelatedLinkItem: ({ url, testId, isSelected, onFocus, }: RelatedLinkItemProp) => JSX.Element;
3
3
  export default RelatedLinkItem;
@@ -122,6 +122,7 @@ export type ApplicationAccountConnectedAttributesType = {
122
122
  definitionId: string | null;
123
123
  };
124
124
  export type ApplicationAccountAuthStartedAttributesType = {};
125
+ export type ButtonClickedDismissAttributesType = {};
125
126
  export type SmartLinkQuickActionStartedAttributesType = {
126
127
  smartLinkActionType: 'FollowEntityAction' | 'GetStatusTransitionsAction' | 'StatusUpdateAction' | 'UnfollowEntityAction' | 'StatusUpdate';
127
128
  };
@@ -264,6 +265,9 @@ export type SmartLinkClickedSmartlinkClickAnalyticsWorkflowsAttributesType = {
264
265
  clickedAt: string;
265
266
  };
266
267
  export type AnalyticsEventAttributes = {
268
+ /**
269
+ * Fired when a button is clicked to dismiss a hover card */
270
+ 'ui.button.clicked.dismiss': ButtonClickedDismissAttributesType;
267
271
  /**
268
272
  * Fired when an copy link is clicked */
269
273
  'ui.button.clicked.copyLink': ButtonClickedCopyLinkAttributesType;