@atlaskit/smart-card 43.31.7 → 43.31.9

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 (77) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/__tests__/vr-tests/__snapshots__/block-card/block-card-unauthorised-view-better-hovercard-killswitch-enabled--default.png +3 -0
  3. package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
  4. package/dist/cjs/messages.js +14 -39
  5. package/dist/cjs/utils/analytics/analytics.js +1 -1
  6. package/dist/cjs/view/FlexibleCard/components/elements/common/base-icon-element/index.js +43 -5
  7. package/dist/cjs/view/HoverCard/components/ContentContainer.compiled.css +1 -1
  8. package/dist/cjs/view/HoverCard/components/ContentContainer.js +1 -1
  9. package/dist/cjs/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.compiled.css +28 -5
  10. package/dist/cjs/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +75 -53
  11. package/dist/cjs/view/HoverCard/components/views/unauthorised/graphics.js +47 -0
  12. package/dist/cjs/view/LinkUrl/index.js +1 -1
  13. package/dist/es2019/__tests__/vr-tests/__snapshots__/block-card/block-card-unauthorised-view-better-hovercard-killswitch-enabled--default.png +3 -0
  14. package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
  15. package/dist/es2019/messages.js +14 -39
  16. package/dist/es2019/utils/analytics/analytics.js +1 -1
  17. package/dist/es2019/view/FlexibleCard/components/elements/common/base-icon-element/index.js +38 -5
  18. package/dist/es2019/view/HoverCard/components/ContentContainer.compiled.css +1 -1
  19. package/dist/es2019/view/HoverCard/components/ContentContainer.js +1 -1
  20. package/dist/es2019/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.compiled.css +28 -5
  21. package/dist/es2019/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +82 -58
  22. package/dist/es2019/view/HoverCard/components/views/unauthorised/graphics.js +39 -0
  23. package/dist/es2019/view/LinkUrl/index.js +1 -1
  24. package/dist/esm/__tests__/vr-tests/__snapshots__/block-card/block-card-unauthorised-view-better-hovercard-killswitch-enabled--default.png +3 -0
  25. package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
  26. package/dist/esm/messages.js +14 -39
  27. package/dist/esm/utils/analytics/analytics.js +1 -1
  28. package/dist/esm/view/FlexibleCard/components/elements/common/base-icon-element/index.js +43 -5
  29. package/dist/esm/view/HoverCard/components/ContentContainer.compiled.css +1 -1
  30. package/dist/esm/view/HoverCard/components/ContentContainer.js +1 -1
  31. package/dist/esm/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.compiled.css +28 -5
  32. package/dist/esm/view/HoverCard/components/views/unauthorised/RovoUnauthorisedView.js +76 -54
  33. package/dist/esm/view/HoverCard/components/views/unauthorised/graphics.js +39 -0
  34. package/dist/esm/view/LinkUrl/index.js +1 -1
  35. package/dist/types/common/analytics/generated/analytics.types.d.ts +4 -0
  36. package/dist/types/messages.d.ts +1 -1
  37. package/dist/types/state/analytics/useLinkClicked.d.ts +2 -2
  38. package/dist/types/state/hooks/use-invoke/index.d.ts +1 -1
  39. package/dist/types/state/hooks/use-resolve/index.d.ts +1 -1
  40. package/dist/types/state/hooks/use-resolve-hyperlink/index.d.ts +1 -1
  41. package/dist/types/state/hooks/use-resolve-hyperlink/useScheduledRegister.d.ts +1 -1
  42. package/dist/types/utils/analytics/click.d.ts +1 -1
  43. package/dist/types/utils/mocks.d.ts +3 -3
  44. package/dist/types/view/Card/index.d.ts +2 -2
  45. package/dist/types/view/EmbedCard/views/ResolvedView.d.ts +1 -1
  46. package/dist/types/view/EmbedModal/components/embed-content/index.d.ts +1 -1
  47. package/dist/types/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +1 -1
  48. package/dist/types/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +1 -1
  49. package/dist/types/view/HoverCard/components/views/unauthorised/graphics.d.ts +3 -0
  50. package/dist/types/view/InlineCard/Frame/styled.d.ts +2 -2
  51. package/dist/types/view/InlineCard/common/action-button/index.d.ts +1 -1
  52. package/dist/types/view/InlineCard/common/rovo-actions-button/index.d.ts +1 -1
  53. package/dist/types/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
  54. package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +1 -1
  55. package/dist/types/view/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
  56. package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +4 -0
  57. package/dist/types-ts4.5/messages.d.ts +1 -1
  58. package/dist/types-ts4.5/state/analytics/useLinkClicked.d.ts +2 -2
  59. package/dist/types-ts4.5/state/hooks/use-invoke/index.d.ts +1 -1
  60. package/dist/types-ts4.5/state/hooks/use-resolve/index.d.ts +1 -1
  61. package/dist/types-ts4.5/state/hooks/use-resolve-hyperlink/index.d.ts +1 -1
  62. package/dist/types-ts4.5/state/hooks/use-resolve-hyperlink/useScheduledRegister.d.ts +1 -1
  63. package/dist/types-ts4.5/utils/analytics/click.d.ts +1 -1
  64. package/dist/types-ts4.5/utils/mocks.d.ts +3 -3
  65. package/dist/types-ts4.5/view/Card/index.d.ts +2 -2
  66. package/dist/types-ts4.5/view/EmbedCard/views/ResolvedView.d.ts +1 -1
  67. package/dist/types-ts4.5/view/EmbedModal/components/embed-content/index.d.ts +1 -1
  68. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-badge-element/index.d.ts +1 -1
  69. package/dist/types-ts4.5/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-items-group/index.d.ts +1 -1
  70. package/dist/types-ts4.5/view/HoverCard/components/views/unauthorised/graphics.d.ts +3 -0
  71. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +2 -2
  72. package/dist/types-ts4.5/view/InlineCard/common/action-button/index.d.ts +1 -1
  73. package/dist/types-ts4.5/view/InlineCard/common/rovo-actions-button/index.d.ts +1 -1
  74. package/dist/types-ts4.5/view/RelatedLinksModal/components/EmptyState.d.ts +1 -1
  75. package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +1 -1
  76. package/dist/types-ts4.5/view/RelatedLinksModal/components/related-link-item/index.d.ts +1 -1
  77. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 43.31.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 43.31.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`0d9bd70fe6d8a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0d9bd70fe6d8a) -
14
+ [ux] Change design of experimental un-authorised hover card
15
+ - Updated dependencies
16
+
3
17
  ## 43.31.7
4
18
 
5
19
  ### Patch Changes
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a592c59fd0232f306441a500e72d5eed5f52035e15b492a052181deb8c9725
3
+ size 96623
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5bd2bf44f51ef4f4f937b41a6c83ac5896a79db1a5e180e7de8eed93453f22c
3
- size 42310
2
+ oid sha256:93d879a1d831d0040369d1bbccaa42bb7e8878b0a9a9814d8e676c647a57de8d
3
+ size 36408
@@ -867,45 +867,20 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
867
867
  defaultMessage: 'Get smarter workflows by connecting your account',
868
868
  description: 'Banner headline in Rovo unauthorised hover card header when the provider name is unknown.'
869
869
  },
870
- rovo_unauthorised_feature_document_summaries_title: {
871
- id: 'fabric.linking.rovo_unauthorised.feature.document_summaries.title',
872
- defaultMessage: 'Quick summaries',
873
- description: 'Feature title in Rovo unauthorised view.'
874
- },
875
- rovo_unauthorised_feature_document_summaries_desc: {
876
- id: 'fabric.linking.rovo_unauthorised.feature.document_summaries.desc',
877
- defaultMessage: 'Understand long docs in seconds',
878
- description: 'Feature description in Rovo unauthorised view.'
879
- },
880
- rovo_unauthorised_feature_smart_suggestions_title: {
881
- id: 'fabric.linking.rovo_unauthorised.feature.smart_suggestions.title',
882
- defaultMessage: 'Smart suggestions',
883
- description: 'Feature title in Rovo unauthorised view.'
884
- },
885
- rovo_unauthorised_feature_smart_suggestions_desc: {
886
- id: 'fabric.linking.rovo_unauthorised.feature.smart_suggestions.desc',
887
- defaultMessage: 'Strengthen your drafts with actionable feedback',
888
- description: 'Feature description in Rovo unauthorised view.'
889
- },
890
- rovo_unauthorised_feature_cross_reference_title: {
891
- id: 'fabric.linking.rovo_unauthorised.feature.cross_reference.title',
892
- defaultMessage: 'Tracked link mentions',
893
- description: 'Feature title in Rovo unauthorised view.'
894
- },
895
- rovo_unauthorised_feature_cross_reference_desc: {
896
- id: 'fabric.linking.rovo_unauthorised.feature.cross_reference.desc',
897
- defaultMessage: 'Never miss where your work is referenced',
898
- description: 'Feature description in Rovo unauthorised view.'
899
- },
900
- rovo_unauthorised_feature_related_content_title: {
901
- id: 'fabric.linking.rovo_unauthorised.feature.related_content.title',
902
- defaultMessage: 'Related content',
903
- description: 'Feature title in Rovo unauthorised view.'
904
- },
905
- rovo_unauthorised_feature_related_content_desc: {
906
- id: 'fabric.linking.rovo_unauthorised.feature.related_content.desc',
907
- defaultMessage: 'Find relevant work and why it matters',
908
- description: 'Feature description in Rovo unauthorised view.'
870
+ rovo_unauthorised_feature_clear_link_names: {
871
+ id: 'fabric.linking.rovo_unauthorised.feature.clear_link_names',
872
+ defaultMessage: 'Turn long URL into clear link names',
873
+ description: 'First feature bullet in Rovo unauthorised hover card.'
874
+ },
875
+ rovo_unauthorised_feature_understand_linked_docs: {
876
+ id: 'fabric.linking.rovo_unauthorised.feature.understand_linked_docs',
877
+ defaultMessage: 'Understand linked docs in seconds',
878
+ description: 'Second feature bullet in Rovo unauthorised hover card.'
879
+ },
880
+ rovo_unauthorised_feature_go_deeper_smart_suggestions: {
881
+ id: 'fabric.linking.rovo_unauthorised.feature.go_deeper_smart_suggestions',
882
+ defaultMessage: 'Go deeper with smart suggestions',
883
+ description: 'Third feature bullet in Rovo unauthorised hover card.'
909
884
  },
910
885
  rovo_unauthorised_connect_account: {
911
886
  id: 'fabric.linking.rovo_unauthorised.connect_account',
@@ -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: "43.31.6"
14
+ packageVersion: "43.31.8"
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -65,6 +65,20 @@ var renderDefaultIcon = function renderDefaultIcon(label, testId) {
65
65
  color: "currentColor"
66
66
  });
67
67
  };
68
+ var widthFromSize = function widthFromSize(size, isTiledIcon) {
69
+ switch (size) {
70
+ case _constants.SmartLinkSize.XLarge:
71
+ return "var(--ds-space-300, 24px)";
72
+ case _constants.SmartLinkSize.Large:
73
+ return "var(--ds-space-300, 24px)";
74
+ case _constants.SmartLinkSize.Medium:
75
+ return isTiledIcon ? "var(--ds-space-250, 20px)" : "var(--ds-space-200, 16px)";
76
+ case _constants.SmartLinkSize.Small:
77
+ return "var(--ds-space-200, 16px)";
78
+ default:
79
+ return "var(--ds-space-200, 16px)";
80
+ }
81
+ };
68
82
  var renderImageIcon = function renderImageIcon(defaultIcon, url, testId) {
69
83
  var size = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _constants.SmartLinkSize.Medium;
70
84
  var appearance = arguments.length > 4 ? arguments[4] : undefined;
@@ -85,7 +99,27 @@ var renderImageIcon = function renderImageIcon(defaultIcon, url, testId) {
85
99
  }));
86
100
  }
87
101
  };
88
-
102
+ var renderImageIconNew = function renderImageIconNew(defaultIcon, url, testId) {
103
+ var size = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _constants.SmartLinkSize.Medium;
104
+ var appearance = arguments.length > 4 ? arguments[4] : undefined;
105
+ var hideLoadingSkeleton = arguments.length > 5 ? arguments[5] : undefined;
106
+ var label = arguments.length > 6 ? arguments[6] : undefined;
107
+ var isTiledIcon = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : false;
108
+ var width = widthFromSize(size, isTiledIcon);
109
+ if (url) {
110
+ return /*#__PURE__*/React.createElement(_imageIcon.default, (0, _extends2.default)({}, (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? {
111
+ label: label
112
+ } : {}, {
113
+ defaultIcon: defaultIcon,
114
+ testId: testId,
115
+ url: url,
116
+ width: width,
117
+ height: width,
118
+ appearance: appearance,
119
+ hideLoadingSkeleton: hideLoadingSkeleton
120
+ }));
121
+ }
122
+ };
89
123
  /**
90
124
  * A base element that displays an Icon or favicon.
91
125
  * @internal
@@ -113,8 +147,8 @@ var IconElement = function IconElement(_ref) {
113
147
  var label = (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? labelProp !== null && labelProp !== void 0 ? labelProp : '' : labelProp !== null && labelProp !== void 0 ? labelProp : 'Link';
114
148
  var element = (0, _react.useMemo)(function () {
115
149
  var defaultIcon = renderDefaultIcon(label, testId);
116
- return overrideIcon || (render === null || render === void 0 ? void 0 : render()) || renderImageIcon(defaultIcon, url, testId, size, appearance, hideLoadingSkeleton, (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? label : undefined) || renderAtlaskitIcon(icon, testId, size, (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? label : undefined) || defaultIcon;
117
- }, [label, testId, overrideIcon, render, url, size, appearance, hideLoadingSkeleton, icon]);
150
+ return overrideIcon || (render === null || render === void 0 ? void 0 : render()) || ((0, _platformFeatureFlags.fg)('platform_sl_3p_preauth_better_hovercard_killswitch') ? renderImageIconNew(defaultIcon, url, testId, size, appearance, hideLoadingSkeleton, (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? label : undefined, isTiledIcon) : renderImageIcon(defaultIcon, url, testId, size, appearance, hideLoadingSkeleton, (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? label : undefined)) || renderAtlaskitIcon(icon, testId, size, (0, _platformFeatureFlags.fg)('platform_navx_smart_link_icon_label_a11y') ? label : undefined) || defaultIcon;
151
+ }, [label, testId, overrideIcon, render, url, size, appearance, hideLoadingSkeleton, icon, isTiledIcon]);
118
152
  var width = (0, _utils2.getIconWidth)(size);
119
153
  return /*#__PURE__*/React.createElement("div", {
120
154
  "data-smart-element": name,
@@ -123,11 +157,15 @@ var IconElement = function IconElement(_ref) {
123
157
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
124
158
  ,
125
159
  className: (0, _runtime.ax)([styles.container, positionStyleMap[position], render && customRenderStyleMap[size], className])
126
- }, isTiledIcon && (0, _experiments.isNewBlockcardUnauthorizedRefreshExperimentEnabled)() ? /*#__PURE__*/React.createElement(_tile.default, {
160
+ }, isTiledIcon && ((0, _platformFeatureFlags.fg)('platform_sl_3p_preauth_better_hovercard_killswitch') || (0, _experiments.isNewBlockcardUnauthorizedRefreshExperimentEnabled)()) ? /*#__PURE__*/React.createElement(_tile.default, {
127
161
  size: size,
128
- label: label
162
+ hasBorder: true,
163
+ backgroundColor: "white",
164
+ label: label,
165
+ testId: "".concat(testId, "-tile")
129
166
  }, element) : /*#__PURE__*/React.createElement(_compiled.Box, {
130
167
  xcss: styles.iconWrapperStyle,
168
+ testId: "".concat(testId, "-box"),
131
169
  style: {
132
170
  width: width,
133
171
  height: width
@@ -3,7 +3,7 @@
3
3
  ._189eidpf{border-width:0}
4
4
  ._16qs130s{box-shadow:var(--ds-shadow-overlay,0 8px 9pt #1e1f2126,0 0 1px #1e1f214f)}
5
5
  ._1bsb1f23{width:25rem}
6
- ._1bsbiolt{width:22rem}
6
+ ._1bsbtye8{width:20rem}
7
7
  ._9spsglyw .smart-link-loading-placeholder{display:none}
8
8
  ._bfhk1bhr{background-color:var(--ds-surface-overlay,#fff)}
9
9
  ._vchhusvi{box-sizing:border-box}
@@ -46,7 +46,7 @@ var ConnectedAIPrismContainer = function ConnectedAIPrismContainer(_ref) {
46
46
  var resolvedWidthAppearance = widthAppearance !== null && widthAppearance !== void 0 ? widthAppearance : 'default';
47
47
  var container = /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
48
48
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
49
- className: (0, _runtime.ax)(["_11q7glyw _189eidpf _vchhusvi", resolvedWidthAppearance === 'slim' ? "_1bsbiolt" : "_1bsb1f23", "_9spsglyw", !isAIEnabled && "_2rko1mok _bfhk1bhr _16qs130s", _HoverCardContent.hoverCardClassName]),
49
+ className: (0, _runtime.ax)(["_11q7glyw _189eidpf _vchhusvi", resolvedWidthAppearance === 'slim' ? "_1bsbtye8" : "_1bsb1f23", "_9spsglyw", !isAIEnabled && "_2rko1mok _bfhk1bhr _16qs130s", _HoverCardContent.hoverCardClassName]),
50
50
  "data-testid": testId
51
51
  }, props), children);
52
52
  return isAIEnabled ? /*#__PURE__*/React.createElement(_aiPrism.default, {
@@ -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}
@@ -14,48 +14,46 @@ var _runtime = require("@compiled/react/runtime");
14
14
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
15
  var _reactIntlNext = require("react-intl-next");
16
16
  var _new = _interopRequireDefault(require("@atlaskit/button/new"));
17
- var _icon = require("@atlaskit/icon");
18
- var _aiSparkle = _interopRequireDefault(require("@atlaskit/icon/core/ai-sparkle"));
19
- var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
20
- var _globe = _interopRequireDefault(require("@atlaskit/icon/core/globe"));
21
- var _search = _interopRequireDefault(require("@atlaskit/icon/core/search"));
17
+ var _aiGenerativeTextSummary = _interopRequireDefault(require("@atlaskit/icon/core/ai-generative-text-summary"));
18
+ var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
19
+ var _rovoChat = _interopRequireDefault(require("@atlaskit/icon/core/rovo-chat"));
22
20
  var _linkExtractors = require("@atlaskit/link-extractors");
21
+ var _logo = require("@atlaskit/logo");
23
22
  var _compiled = require("@atlaskit/primitives/compiled");
24
23
  var _useAnalyticsEvents2 = require("../../../../../common/analytics/generated/use-analytics-events");
25
24
  var _constants = require("../../../../../constants");
26
25
  var _messages = require("../../../../../messages");
27
26
  var _actions = require("../../../../../state/actions");
27
+ var _FlexibleCard = _interopRequireDefault(require("../../../../FlexibleCard"));
28
+ var _elements = require("../../../../FlexibleCard/components/elements");
29
+ var _graphics = require("./graphics");
28
30
  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); }
29
31
  var ROVO_FEATURES = [{
30
- icon: _globe.default,
31
- appearance: 'blue',
32
- titleMessage: _messages.messages.rovo_unauthorised_feature_document_summaries_title,
33
- descMessage: _messages.messages.rovo_unauthorised_feature_document_summaries_desc,
34
- testIdSuffix: 'document-summaries'
32
+ icon: _link.default,
33
+ message: _messages.messages.rovo_unauthorised_feature_clear_link_names,
34
+ testIdSuffix: 'clear-link-names'
35
35
  }, {
36
- icon: _search.default,
37
- appearance: 'purple',
38
- titleMessage: _messages.messages.rovo_unauthorised_feature_related_content_title,
39
- descMessage: _messages.messages.rovo_unauthorised_feature_related_content_desc,
40
- testIdSuffix: 'related-content'
36
+ icon: _aiGenerativeTextSummary.default,
37
+ message: _messages.messages.rovo_unauthorised_feature_understand_linked_docs,
38
+ testIdSuffix: 'understand-linked-docs'
41
39
  }, {
42
- icon: _aiSparkle.default,
43
- appearance: 'orange',
44
- titleMessage: _messages.messages.rovo_unauthorised_feature_smart_suggestions_title,
45
- descMessage: _messages.messages.rovo_unauthorised_feature_smart_suggestions_desc,
46
- testIdSuffix: 'smart-suggestions'
47
- }, {
48
- icon: _appSwitcher.default,
49
- appearance: 'teal',
50
- titleMessage: _messages.messages.rovo_unauthorised_feature_cross_reference_title,
51
- descMessage: _messages.messages.rovo_unauthorised_feature_cross_reference_desc,
52
- testIdSuffix: 'cross-reference'
40
+ icon: _rovoChat.default,
41
+ message: _messages.messages.rovo_unauthorised_feature_go_deeper_smart_suggestions,
42
+ testIdSuffix: 'go-deeper-smart-suggestions'
53
43
  }];
44
+ var sparkleWrapBase = null;
45
+ var sparkleLeftWrap = null;
46
+ var sparkleGreyRightWrap = null;
47
+ var sparkleVioletRightWrap = null;
54
48
  var layoutStyles = {
55
- header: "_bfhkomb0 _syaz15cr _ca0qutpp _u5f3pxbi _n3tdutpp _19bvpxbi _13li1mok _qrwq1mok",
49
+ connectorStroke: "_syaz1fxt _1e0c1txw _1o9zidpf",
50
+ atlassianIconTile: "_2rko1mok _1e0c1txw _4cvr1h6o _1bah1h6o _1bsbzwfg _4t3izwfg _bfhk16e3",
51
+ header: "_bfhk11bn _ca0q1ejb _u5f3pxbi _n3tdutpp _19bvpxbi _13li1mok _qrwq1mok _kqswh2mm",
52
+ headerGraphicRow: "_zulpu2gc _1e0c1txw _4cvr1h6o _1bah1h6o _otyrutpp",
53
+ headerTitle: "_y3gn1h6o",
56
54
  body: "_ca0qpxbi _u5f3pxbi _n3tdpxbi _19bvpxbi",
57
- footer: "_19pkpxbi _ca0qutpp",
58
- footerActions: "_zulputpp _1e0c1txw _4cvr1h6o _1bahesu3 _1n261g80"
55
+ featureIconCell: "_1e0c1txw _4cvr1h6o _1bah1h6o _1o9zidpf _1bsb7vkz",
56
+ footer: "_zulputpp _19pkutpp _ca0q1b66 _1e0c1txw _4cvr1h6o _1bahesu3 _1n261g80"
59
57
  };
60
58
  var RovoUnauthorisedView = function RovoUnauthorisedView(_ref) {
61
59
  var _ref$id = _ref.id,
@@ -79,52 +77,76 @@ var RovoUnauthorisedView = function RovoUnauthorisedView(_ref) {
79
77
  authorize(_constants.CardDisplay.HoverCardPreview);
80
78
  }
81
79
  }, [authorize, fireEvent]);
82
- return /*#__PURE__*/React.createElement(_compiled.Box, {
83
- testId: testId
84
- }, /*#__PURE__*/React.createElement(_compiled.Box, {
80
+ var handleDismiss = (0, _react.useCallback)(function () {
81
+ if (onDismiss) {
82
+ fireEvent('ui.button.clicked.dismiss', {});
83
+ onDismiss();
84
+ }
85
+ }, [fireEvent, onDismiss]);
86
+ return /*#__PURE__*/React.createElement(_FlexibleCard.default, (0, _extends2.default)({}, flexibleCardProps, {
87
+ testId: testId,
88
+ ui: {
89
+ hideElevation: true,
90
+ hideBackground: true,
91
+ removeBlockRestriction: true,
92
+ hidePadding: true
93
+ }
94
+ }), /*#__PURE__*/React.createElement(_compiled.Box, {
85
95
  xcss: layoutStyles.header
96
+ }, /*#__PURE__*/React.createElement("div", {
97
+ className: (0, _runtime.ax)(["_1o9zidpf _1e0c1txw _kqswstnw", "_syaz1yjp _154i1ul9 _1ltv1v6z"])
98
+ }, /*#__PURE__*/React.createElement(_graphics.DenseSparkle, null)), /*#__PURE__*/React.createElement("div", {
99
+ className: (0, _runtime.ax)(["_1o9zidpf _1e0c1txw _kqswstnw", "_syazwejn _154i1crf _1xi2qslr"])
100
+ }, /*#__PURE__*/React.createElement(_graphics.SparseSparkle, null)), /*#__PURE__*/React.createElement("div", {
101
+ className: (0, _runtime.ax)(["_1o9zidpf _1e0c1txw _kqswstnw", "_syazuq3u _1bsbqslr _154i1ylp _1xi21v6z"])
102
+ }, /*#__PURE__*/React.createElement(_graphics.DenseSparkle, null)), /*#__PURE__*/React.createElement(_compiled.Box, {
103
+ xcss: layoutStyles.headerGraphicRow
104
+ }, /*#__PURE__*/React.createElement(_elements.LinkIcon, {
105
+ size: _constants.SmartLinkSize.Medium,
106
+ isTiledIcon: true
107
+ }), /*#__PURE__*/React.createElement(_compiled.Box, {
108
+ xcss: layoutStyles.connectorStroke
109
+ }, /*#__PURE__*/React.createElement(_graphics.SquiglyArrow, null)), /*#__PURE__*/React.createElement(_compiled.Box, {
110
+ xcss: layoutStyles.atlassianIconTile
111
+ }, /*#__PURE__*/React.createElement(_logo.AtlassianIcon, {
112
+ appearance: "inverse",
113
+ size: "small"
114
+ }))), /*#__PURE__*/React.createElement(_compiled.Box, {
115
+ xcss: layoutStyles.headerTitle
86
116
  }, /*#__PURE__*/React.createElement(_compiled.Text, {
87
117
  weight: "bold",
88
118
  size: "medium",
89
- color: "color.text.inverse"
119
+ color: "color.text"
90
120
  }, providerName ? /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.rovo_unauthorised_title, {
91
121
  values: {
92
122
  context: providerName
93
123
  }
94
- })) : /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _messages.messages.rovo_unauthorised_title_no_provider))), /*#__PURE__*/React.createElement(_compiled.Box, {
124
+ })) : /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _messages.messages.rovo_unauthorised_title_no_provider)))), /*#__PURE__*/React.createElement(_compiled.Box, {
95
125
  xcss: layoutStyles.body
96
126
  }, /*#__PURE__*/React.createElement(_compiled.Stack, {
97
127
  space: "space.050"
98
128
  }, /*#__PURE__*/React.createElement(_compiled.Stack, {
99
129
  space: "space.200"
100
130
  }, ROVO_FEATURES.map(function (feature) {
131
+ var FeatureIcon = feature.icon;
101
132
  return /*#__PURE__*/React.createElement(_compiled.Inline, {
102
133
  key: feature.testIdSuffix,
103
- space: "space.100",
134
+ space: "space.150",
104
135
  alignBlock: "center",
105
- testId: "".concat(testId, "-feature-row-").concat(feature.testIdSuffix)
106
- }, /*#__PURE__*/React.createElement(_icon.IconTile, {
107
- icon: feature.icon,
108
- label: '',
109
- appearance: feature.appearance,
110
- size: "medium",
111
136
  testId: "".concat(testId, "-feature-").concat(feature.testIdSuffix)
112
- }), /*#__PURE__*/React.createElement(_compiled.Stack, {
113
- space: "space.025"
114
- }, /*#__PURE__*/React.createElement(_compiled.Text, {
115
- size: "small",
116
- weight: "bold"
117
- }, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, feature.titleMessage)), /*#__PURE__*/React.createElement(_compiled.Text, {
118
- size: "small",
119
- color: "color.text.subtlest"
120
- }, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, feature.descMessage))));
137
+ }, /*#__PURE__*/React.createElement(_compiled.Box, {
138
+ xcss: layoutStyles.featureIconCell
139
+ }, /*#__PURE__*/React.createElement(FeatureIcon, {
140
+ label: ""
141
+ })), /*#__PURE__*/React.createElement(_compiled.Text, null, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, feature.message)));
121
142
  })), /*#__PURE__*/React.createElement(_compiled.Box, {
122
143
  xcss: layoutStyles.footer
123
- }, /*#__PURE__*/React.createElement(_compiled.Box, {
124
- xcss: layoutStyles.footerActions
144
+ }, /*#__PURE__*/React.createElement(_compiled.Inline, {
145
+ space: "space.050"
125
146
  }, /*#__PURE__*/React.createElement(_new.default, {
126
147
  appearance: "subtle",
127
- onClick: onDismiss,
148
+ spacing: "compact",
149
+ onClick: handleDismiss,
128
150
  testId: "".concat(testId, "-not-now")
129
151
  }, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _messages.messages.rovo_unauthorised_not_now)), /*#__PURE__*/React.createElement(_new.default, {
130
152
  appearance: "primary",
@@ -0,0 +1,47 @@
1
+ /* graphics.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ "use strict";
3
+
4
+ var _typeof = require("@babel/runtime/helpers/typeof");
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports.SquiglyArrow = exports.SparseSparkle = exports.DenseSparkle = void 0;
9
+ var React = _interopRequireWildcard(require("react"));
10
+ var _runtime = require("@compiled/react/runtime");
11
+ 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); }
12
+ var DenseSparkle = exports.DenseSparkle = function DenseSparkle() {
13
+ return /*#__PURE__*/React.createElement("svg", {
14
+ width: "33",
15
+ height: "33",
16
+ viewBox: "0 0 33 33",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg"
19
+ }, /*#__PURE__*/React.createElement("path", {
20
+ fill: "currentColor",
21
+ 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"
22
+ }));
23
+ };
24
+ var SparseSparkle = exports.SparseSparkle = function SparseSparkle() {
25
+ return /*#__PURE__*/React.createElement("svg", {
26
+ width: "35",
27
+ height: "34",
28
+ viewBox: "0 0 35 34",
29
+ fill: "none",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, /*#__PURE__*/React.createElement("path", {
32
+ fill: "currentColor",
33
+ 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"
34
+ }));
35
+ };
36
+ var SquiglyArrow = exports.SquiglyArrow = function SquiglyArrow() {
37
+ return /*#__PURE__*/React.createElement("svg", {
38
+ width: "31",
39
+ height: "21",
40
+ viewBox: "0 0 31 21",
41
+ fill: "none",
42
+ xmlns: "http://www.w3.org/2000/svg"
43
+ }, /*#__PURE__*/React.createElement("path", {
44
+ fill: "currentColor",
45
+ 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"
46
+ }));
47
+ };
@@ -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: "43.31.6",
25
+ packageVersion: "43.31.8",
26
26
  componentName: 'linkUrl'
27
27
  };
28
28
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -0,0 +1,3 @@
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a592c59fd0232f306441a500e72d5eed5f52035e15b492a052181deb8c9725
3
+ size 96623
@@ -1,3 +1,3 @@
1
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5bd2bf44f51ef4f4f937b41a6c83ac5896a79db1a5e180e7de8eed93453f22c
3
- size 42310
2
+ oid sha256:93d879a1d831d0040369d1bbccaa42bb7e8878b0a9a9814d8e676c647a57de8d
3
+ size 36408
@@ -861,45 +861,20 @@ export const messages = defineMessages({
861
861
  defaultMessage: 'Get smarter workflows by connecting your account',
862
862
  description: 'Banner headline in Rovo unauthorised hover card header when the provider name is unknown.'
863
863
  },
864
- rovo_unauthorised_feature_document_summaries_title: {
865
- id: 'fabric.linking.rovo_unauthorised.feature.document_summaries.title',
866
- defaultMessage: 'Quick summaries',
867
- description: 'Feature title in Rovo unauthorised view.'
868
- },
869
- rovo_unauthorised_feature_document_summaries_desc: {
870
- id: 'fabric.linking.rovo_unauthorised.feature.document_summaries.desc',
871
- defaultMessage: 'Understand long docs in seconds',
872
- description: 'Feature description in Rovo unauthorised view.'
873
- },
874
- rovo_unauthorised_feature_smart_suggestions_title: {
875
- id: 'fabric.linking.rovo_unauthorised.feature.smart_suggestions.title',
876
- defaultMessage: 'Smart suggestions',
877
- description: 'Feature title in Rovo unauthorised view.'
878
- },
879
- rovo_unauthorised_feature_smart_suggestions_desc: {
880
- id: 'fabric.linking.rovo_unauthorised.feature.smart_suggestions.desc',
881
- defaultMessage: 'Strengthen your drafts with actionable feedback',
882
- description: 'Feature description in Rovo unauthorised view.'
883
- },
884
- rovo_unauthorised_feature_cross_reference_title: {
885
- id: 'fabric.linking.rovo_unauthorised.feature.cross_reference.title',
886
- defaultMessage: 'Tracked link mentions',
887
- description: 'Feature title in Rovo unauthorised view.'
888
- },
889
- rovo_unauthorised_feature_cross_reference_desc: {
890
- id: 'fabric.linking.rovo_unauthorised.feature.cross_reference.desc',
891
- defaultMessage: 'Never miss where your work is referenced',
892
- description: 'Feature description in Rovo unauthorised view.'
893
- },
894
- rovo_unauthorised_feature_related_content_title: {
895
- id: 'fabric.linking.rovo_unauthorised.feature.related_content.title',
896
- defaultMessage: 'Related content',
897
- description: 'Feature title in Rovo unauthorised view.'
898
- },
899
- rovo_unauthorised_feature_related_content_desc: {
900
- id: 'fabric.linking.rovo_unauthorised.feature.related_content.desc',
901
- defaultMessage: 'Find relevant work and why it matters',
902
- description: 'Feature description in Rovo unauthorised view.'
864
+ rovo_unauthorised_feature_clear_link_names: {
865
+ id: 'fabric.linking.rovo_unauthorised.feature.clear_link_names',
866
+ defaultMessage: 'Turn long URL into clear link names',
867
+ description: 'First feature bullet in Rovo unauthorised hover card.'
868
+ },
869
+ rovo_unauthorised_feature_understand_linked_docs: {
870
+ id: 'fabric.linking.rovo_unauthorised.feature.understand_linked_docs',
871
+ defaultMessage: 'Understand linked docs in seconds',
872
+ description: 'Second feature bullet in Rovo unauthorised hover card.'
873
+ },
874
+ rovo_unauthorised_feature_go_deeper_smart_suggestions: {
875
+ id: 'fabric.linking.rovo_unauthorised.feature.go_deeper_smart_suggestions',
876
+ defaultMessage: 'Go deeper with smart suggestions',
877
+ description: 'Third feature bullet in Rovo unauthorised hover card.'
903
878
  },
904
879
  rovo_unauthorised_connect_account: {
905
880
  id: 'fabric.linking.rovo_unauthorised.connect_account',
@@ -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: "43.31.6"
5
+ packageVersion: "43.31.8"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";