@atlaskit/smart-card 27.8.3 → 27.9.0

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 (114) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/BlockCard/views/flexible/styled.js +4 -4
  4. package/dist/cjs/view/CardWithUrl/component.js +3 -0
  5. package/dist/cjs/view/CardWithUrl/loader.js +2 -0
  6. package/dist/cjs/view/EmbedModal/components/link-info/styled.js +4 -4
  7. package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +16 -12
  8. package/dist/cjs/view/FlexibleCard/components/actions/action/index.js +3 -1
  9. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
  10. package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +7 -3
  11. package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +1 -1
  12. package/dist/cjs/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +1 -1
  13. package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -1
  14. package/dist/cjs/view/FlexibleCard/components/container/hover-card-control/index.js +4 -2
  15. package/dist/cjs/view/FlexibleCard/components/container/index.js +3 -1
  16. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +3 -3
  17. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -3
  18. package/dist/cjs/view/FlexibleCard/index.js +2 -0
  19. package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +6 -3
  20. package/dist/cjs/view/HoverCard/components/views/forbidden/styled.js +3 -3
  21. package/dist/cjs/view/HoverCard/components/views/resolved/styled.js +3 -3
  22. package/dist/cjs/view/HoverCard/components/views/resolving/styled.js +3 -3
  23. package/dist/cjs/view/HoverCard/components/views/unauthorised/styled.js +3 -3
  24. package/dist/cjs/view/HoverCard/styled.js +4 -4
  25. package/dist/cjs/view/InlineCard/ResolvedView/index.js +3 -1
  26. package/dist/cjs/view/InlineCard/index.js +2 -0
  27. package/dist/cjs/view/LinkUrl/LinkWarningModal/styled.js +1 -1
  28. package/dist/cjs/view/LinkUrl/index.js +1 -1
  29. package/dist/cjs/view/RelatedLinksModal/components/related-links-list/index.js +2 -2
  30. package/dist/cjs/view/common/ai-icon/index.js +24 -26
  31. package/dist/cjs/view/common/ai-prism/ai-glowing-border/index.js +1 -1
  32. package/dist/es2019/utils/analytics/analytics.js +1 -1
  33. package/dist/es2019/view/BlockCard/views/flexible/styled.js +4 -4
  34. package/dist/es2019/view/CardWithUrl/component.js +3 -0
  35. package/dist/es2019/view/CardWithUrl/loader.js +2 -0
  36. package/dist/es2019/view/EmbedModal/components/link-info/styled.js +4 -4
  37. package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +16 -12
  38. package/dist/es2019/view/FlexibleCard/components/actions/action/index.js +3 -1
  39. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
  40. package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +4 -1
  41. package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +1 -1
  42. package/dist/es2019/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +1 -1
  43. package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +1 -1
  44. package/dist/es2019/view/FlexibleCard/components/container/hover-card-control/index.js +4 -2
  45. package/dist/es2019/view/FlexibleCard/components/container/index.js +3 -1
  46. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +3 -3
  47. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -3
  48. package/dist/es2019/view/FlexibleCard/index.js +2 -0
  49. package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +6 -3
  50. package/dist/es2019/view/HoverCard/components/views/forbidden/styled.js +3 -3
  51. package/dist/es2019/view/HoverCard/components/views/resolved/styled.js +3 -3
  52. package/dist/es2019/view/HoverCard/components/views/resolving/styled.js +3 -3
  53. package/dist/es2019/view/HoverCard/components/views/unauthorised/styled.js +3 -3
  54. package/dist/es2019/view/HoverCard/styled.js +4 -4
  55. package/dist/es2019/view/InlineCard/ResolvedView/index.js +3 -1
  56. package/dist/es2019/view/InlineCard/index.js +2 -0
  57. package/dist/es2019/view/LinkUrl/LinkWarningModal/styled.js +1 -1
  58. package/dist/es2019/view/LinkUrl/index.js +1 -1
  59. package/dist/es2019/view/RelatedLinksModal/components/related-links-list/index.js +2 -2
  60. package/dist/es2019/view/common/ai-icon/index.js +100 -104
  61. package/dist/es2019/view/common/ai-prism/ai-glowing-border/index.js +1 -1
  62. package/dist/esm/utils/analytics/analytics.js +1 -1
  63. package/dist/esm/view/BlockCard/views/flexible/styled.js +4 -4
  64. package/dist/esm/view/CardWithUrl/component.js +3 -0
  65. package/dist/esm/view/CardWithUrl/loader.js +2 -0
  66. package/dist/esm/view/EmbedModal/components/link-info/styled.js +4 -4
  67. package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +16 -12
  68. package/dist/esm/view/FlexibleCard/components/actions/action/index.js +3 -1
  69. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
  70. package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +7 -3
  71. package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/index.js +1 -1
  72. package/dist/esm/view/FlexibleCard/components/blocks/related-urls-block/resolved/related-url-list/resolved-result-stack/index.js +1 -1
  73. package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -1
  74. package/dist/esm/view/FlexibleCard/components/container/hover-card-control/index.js +4 -2
  75. package/dist/esm/view/FlexibleCard/components/container/index.js +3 -1
  76. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +3 -3
  77. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -3
  78. package/dist/esm/view/FlexibleCard/index.js +2 -0
  79. package/dist/esm/view/HoverCard/components/HoverCardComponent.js +6 -3
  80. package/dist/esm/view/HoverCard/components/views/forbidden/styled.js +3 -3
  81. package/dist/esm/view/HoverCard/components/views/resolved/styled.js +3 -3
  82. package/dist/esm/view/HoverCard/components/views/resolving/styled.js +3 -3
  83. package/dist/esm/view/HoverCard/components/views/unauthorised/styled.js +3 -3
  84. package/dist/esm/view/HoverCard/styled.js +4 -4
  85. package/dist/esm/view/InlineCard/ResolvedView/index.js +3 -1
  86. package/dist/esm/view/InlineCard/index.js +2 -0
  87. package/dist/esm/view/LinkUrl/LinkWarningModal/styled.js +1 -1
  88. package/dist/esm/view/LinkUrl/index.js +1 -1
  89. package/dist/esm/view/RelatedLinksModal/components/related-links-list/index.js +2 -2
  90. package/dist/esm/view/common/ai-icon/index.js +25 -27
  91. package/dist/esm/view/common/ai-prism/ai-glowing-border/index.js +1 -1
  92. package/dist/types/view/Card/index.d.ts +1 -1
  93. package/dist/types/view/Card/types.d.ts +2 -0
  94. package/dist/types/view/CardWithUrl/types.d.ts +2 -0
  95. package/dist/types/view/FlexibleCard/components/container/hover-card-control/index.d.ts +1 -1
  96. package/dist/types/view/FlexibleCard/components/container/hover-card-control/types.d.ts +1 -1
  97. package/dist/types/view/FlexibleCard/components/container/index.d.ts +1 -1
  98. package/dist/types/view/FlexibleCard/components/container/types.d.ts +1 -1
  99. package/dist/types/view/FlexibleCard/types.d.ts +5 -0
  100. package/dist/types/view/HoverCard/types.d.ts +7 -0
  101. package/dist/types/view/InlineCard/ResolvedView/index.d.ts +2 -0
  102. package/dist/types/view/InlineCard/types.d.ts +2 -0
  103. package/dist/types-ts4.5/view/Card/index.d.ts +1 -1
  104. package/dist/types-ts4.5/view/Card/types.d.ts +2 -0
  105. package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +2 -0
  106. package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/index.d.ts +1 -1
  107. package/dist/types-ts4.5/view/FlexibleCard/components/container/hover-card-control/types.d.ts +1 -1
  108. package/dist/types-ts4.5/view/FlexibleCard/components/container/index.d.ts +1 -1
  109. package/dist/types-ts4.5/view/FlexibleCard/components/container/types.d.ts +1 -1
  110. package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +5 -0
  111. package/dist/types-ts4.5/view/HoverCard/types.d.ts +7 -0
  112. package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +2 -0
  113. package/dist/types-ts4.5/view/InlineCard/types.d.ts +2 -0
  114. package/package.json +12 -11
@@ -21,7 +21,7 @@ export const CARD_GAP_PX = 10;
21
21
  const blockGap = '0.5rem';
22
22
  const elementGap = '0.5rem';
23
23
 
24
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
24
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
25
25
  export const separatorCss = css({
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
27
27
  '[data-separator] + [data-separator]:before': {
@@ -29,7 +29,7 @@ export const separatorCss = css({
29
29
  }
30
30
  });
31
31
 
32
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
32
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
33
33
  export const HoverCardContainer = css`
34
34
  background: none;
35
35
  border-width: 0;
@@ -41,7 +41,7 @@ export const HoverCardContainer = css`
41
41
  }
42
42
  `;
43
43
 
44
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
44
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
45
45
  export const titleBlockCss = css`
46
46
  gap: ${blockGap};
47
47
 
@@ -70,7 +70,7 @@ export const getTransitionStyles = snippetHeight => css({
70
70
  height: `${snippetHeight}px`
71
71
  });
72
72
 
73
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
73
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
74
74
  export const popupContainerStyles = css({
75
75
  borderRadius: "var(--ds-border-radius-200, 8px)",
76
76
  backgroundColor: "var(--ds-surface-overlay, white)",
@@ -35,6 +35,7 @@ export class InlineCardResolvedView extends React.Component {
35
35
  titleTextColor,
36
36
  titlePrefix,
37
37
  showHoverPreview = false,
38
+ hoverPreviewOptions,
38
39
  actionOptions
39
40
  } = this.props;
40
41
  const inlineCardResolvedView = /*#__PURE__*/React.createElement(Frame, {
@@ -53,7 +54,8 @@ export class InlineCardResolvedView extends React.Component {
53
54
  return /*#__PURE__*/React.createElement(HoverCard, {
54
55
  id: id,
55
56
  url: link,
56
- actionOptions: actionOptions
57
+ actionOptions: actionOptions,
58
+ hoverPreviewOptions: hoverPreviewOptions
57
59
  }, inlineCardResolvedView);
58
60
  }
59
61
  return inlineCardResolvedView;
@@ -30,6 +30,7 @@ export const InlineCard = ({
30
30
  testId,
31
31
  inlinePreloaderStyle,
32
32
  showHoverPreview,
33
+ hoverPreviewOptions,
33
34
  showAuthTooltip,
34
35
  actionOptions
35
36
  }) => {
@@ -85,6 +86,7 @@ export const InlineCard = ({
85
86
  return /*#__PURE__*/React.createElement(InlineCardResolvedView, _extends({}, resolvedProps, {
86
87
  id: id,
87
88
  showHoverPreview: showHoverPreview,
89
+ hoverPreviewOptions: hoverPreviewOptions,
88
90
  actionOptions: actionOptions,
89
91
  link: url,
90
92
  isSelected: isSelected,
@@ -1,7 +1,7 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
3
 
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
4
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
5
5
  export const breakWordsCss = css({
6
6
  whiteSpace: 'pre-line',
7
7
  wordBreak: 'break-all'
@@ -7,7 +7,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
7
7
  import LinkWarningModal from './LinkWarningModal';
8
8
  const PACKAGE_DATA = {
9
9
  packageName: "@atlaskit/smart-card",
10
- packageVersion: "27.8.3",
10
+ packageVersion: "27.9.0",
11
11
  componentName: 'linkUrl'
12
12
  };
13
13
  const Link = withLinkClickedEvent('a');
@@ -15,7 +15,7 @@ const RelatedLinksList = ({
15
15
  testId: testId
16
16
  }, jsx(Box, {
17
17
  paddingBlockStart: "space.050"
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
19
19
  ,
20
20
  xcss: xcss({
21
21
  font: "var(--ds-font-heading-xxsmall, normal 600 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
@@ -27,7 +27,7 @@ const RelatedLinksList = ({
27
27
  url: url,
28
28
  testId: `${testId}-item-${idx}`
29
29
  })))), urls.length === 0 &&
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
31
31
  jsx(Box, {
32
32
  paddingBlock: "space.100",
33
33
  xcss: xcss({
@@ -1,113 +1,109 @@
1
1
  import React from 'react';
2
2
  import SVG from '@atlaskit/icon/svg';
3
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
3
+ import { fg } from '@atlaskit/platform-feature-flags';
4
4
  import { B200, B400 } from '@atlaskit/theme/colors';
5
5
  /**
6
6
  * The bulk of this file is originally from
7
7
  * https://bitbucket.org/atlassian/barrel/src/master/ui/platform/ui-kit/ai
8
8
  * with modifications
9
9
  */
10
- const AiIcon = props => {
11
- const iconColor = getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : `var(--ds-icon-accent-blue, ${B200})`;
12
- const textColor = getBooleanFF('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : `var(--ds-text-accent-blue, ${B400})`;
13
- return /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
14
- id: "ai_icon_lg0",
15
- x1: "21",
16
- y1: "12",
17
- x2: "17.5",
18
- y2: "12",
19
- gradientUnits: "userSpaceOnUse"
20
- }, /*#__PURE__*/React.createElement("stop", {
21
- offset: "0.270833",
22
- stopColor: iconColor,
23
- color: iconColor
24
- }), /*#__PURE__*/React.createElement("stop", {
25
- offset: "1",
26
- stopColor: textColor,
27
- color: textColor
28
- })), /*#__PURE__*/React.createElement("linearGradient", {
29
- id: "ai_icon_lg1",
30
- x1: "12.5",
31
- y1: "3",
32
- x2: "12.5",
33
- y2: "6.5",
34
- gradientUnits: "userSpaceOnUse"
35
- }, /*#__PURE__*/React.createElement("stop", {
36
- offset: "0.1875",
37
- stopColor: iconColor,
38
- color: iconColor
39
- }), /*#__PURE__*/React.createElement("stop", {
40
- offset: "1",
41
- stopColor: textColor,
42
- color: textColor
43
- })), /*#__PURE__*/React.createElement("linearGradient", {
44
- id: "ai_icon_lg2",
45
- x1: "6.82996",
46
- y1: "12",
47
- x2: "3.32996",
48
- y2: "12",
49
- gradientUnits: "userSpaceOnUse"
50
- }, /*#__PURE__*/React.createElement("stop", {
51
- stopColor: textColor,
52
- color: textColor
53
- }), /*#__PURE__*/React.createElement("stop", {
54
- offset: "0.791667",
55
- stopColor: iconColor,
56
- color: iconColor
57
- })), /*#__PURE__*/React.createElement("linearGradient", {
58
- id: "ai_icon_lg3",
59
- x1: "12.5",
60
- y1: "17",
61
- x2: "12.5",
62
- y2: "21",
63
- gradientUnits: "userSpaceOnUse"
64
- }, /*#__PURE__*/React.createElement("stop", {
65
- stopColor: textColor,
66
- color: textColor
67
- }), /*#__PURE__*/React.createElement("stop", {
68
- offset: "0.802083",
69
- stopColor: iconColor,
70
- color: iconColor
71
- }))), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
72
- fillRule: "evenodd",
73
- clipRule: "evenodd",
74
- d: "M17.17 12C17.17 11.4477 17.6177 11 18.17 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H18.17C17.6177 13 17.17 12.5523 17.17 12Z",
75
- fill: "url(#ai_icon_lg0)"
76
- }), /*#__PURE__*/React.createElement("path", {
77
- fillRule: "evenodd",
78
- clipRule: "evenodd",
79
- d: "M12 3C12.5523 3 13 3.44772 13 4V5.83C13 6.38228 12.5523 6.83 12 6.83C11.4477 6.83 11 6.38228 11 5.83V4C11 3.44772 11.4477 3 12 3Z",
80
- fill: "url(#ai_icon_lg1)"
81
- }), /*#__PURE__*/React.createElement("path", {
82
- fillRule: "evenodd",
83
- clipRule: "evenodd",
84
- d: "M3 12C3 11.4477 3.44772 11 4 11H5.83C6.38228 11 6.83 11.4477 6.83 12C6.83 12.5523 6.38228 13 5.83 13H4C3.44772 13 3 12.5523 3 12Z",
85
- fill: "url(#ai_icon_lg2)"
86
- }), /*#__PURE__*/React.createElement("path", {
87
- fillRule: "evenodd",
88
- clipRule: "evenodd",
89
- d: "M12 17.17C12.5523 17.17 13 17.6177 13 18.17V20C13 20.5523 12.5523 21 12 21C11.4477 21 11 20.5523 11 20V18.17C11 17.6177 11.4477 17.17 12 17.17Z",
90
- fill: "url(#ai_icon_lg3)"
91
- }), /*#__PURE__*/React.createElement("path", {
92
- fillRule: "evenodd",
93
- clipRule: "evenodd",
94
- d: "M14.2929 14.2929C14.6835 13.9024 15.3166 13.9024 15.7071 14.2929L19.7071 18.2929C20.0977 18.6834 20.0977 19.3166 19.7071 19.7071C19.3166 20.0976 18.6835 20.0976 18.2929 19.7071L14.2929 15.7071C13.9024 15.3166 13.9024 14.6834 14.2929 14.2929Z",
95
- fill: iconColor
96
- }), /*#__PURE__*/React.createElement("path", {
97
- fillRule: "evenodd",
98
- clipRule: "evenodd",
99
- d: "M19.7071 4.29289C20.0977 4.68342 20.0977 5.31658 19.7071 5.70711L15.7071 9.70711C15.3166 10.0976 14.6835 10.0976 14.2929 9.70711C13.9024 9.31658 13.9024 8.68342 14.2929 8.29289L18.2929 4.29289C18.6835 3.90237 19.3166 3.90237 19.7071 4.29289Z",
100
- fill: iconColor
101
- }), /*#__PURE__*/React.createElement("path", {
102
- fillRule: "evenodd",
103
- clipRule: "evenodd",
104
- d: "M4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L9.70711 8.29289C10.0976 8.68342 10.0976 9.31658 9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289Z",
105
- fill: iconColor
106
- }), /*#__PURE__*/React.createElement("path", {
107
- fillRule: "evenodd",
108
- clipRule: "evenodd",
109
- d: "M9.70711 14.2929C10.0976 14.6834 10.0976 15.3166 9.70711 15.7071L5.70711 19.7071C5.31658 20.0976 4.68342 20.0976 4.29289 19.7071C3.90237 19.3166 3.90237 18.6834 4.29289 18.2929L8.29289 14.2929C8.68342 13.9024 9.31658 13.9024 9.70711 14.2929Z",
110
- fill: iconColor
111
- })));
112
- };
10
+ const AiIcon = props => /*#__PURE__*/React.createElement(SVG, props, /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
11
+ id: "ai_icon_lg0",
12
+ x1: "21",
13
+ y1: "12",
14
+ x2: "17.5",
15
+ y2: "12",
16
+ gradientUnits: "userSpaceOnUse"
17
+ }, /*#__PURE__*/React.createElement("stop", {
18
+ offset: "0.270833",
19
+ stopColor: `var(--ds-icon-accent-blue, ${B200})`,
20
+ color: `var(--ds-icon-accent-blue, ${B200})`
21
+ }), /*#__PURE__*/React.createElement("stop", {
22
+ offset: "1",
23
+ stopColor: `var(--ds-text-accent-blue, ${B400})`,
24
+ color: `var(--ds-text-accent-blue, ${B400})`
25
+ })), /*#__PURE__*/React.createElement("linearGradient", {
26
+ id: "ai_icon_lg1",
27
+ x1: "12.5",
28
+ y1: "3",
29
+ x2: "12.5",
30
+ y2: "6.5",
31
+ gradientUnits: "userSpaceOnUse"
32
+ }, /*#__PURE__*/React.createElement("stop", {
33
+ offset: "0.1875",
34
+ stopColor: `var(--ds-icon-accent-blue, ${B200})`,
35
+ color: `var(--ds-icon-accent-blue, ${B200})`
36
+ }), /*#__PURE__*/React.createElement("stop", {
37
+ offset: "1",
38
+ stopColor: `var(--ds-text-accent-blue, ${B400})`,
39
+ color: `var(--ds-text-accent-blue, ${B400})`
40
+ })), /*#__PURE__*/React.createElement("linearGradient", {
41
+ id: "ai_icon_lg2",
42
+ x1: "6.82996",
43
+ y1: "12",
44
+ x2: "3.32996",
45
+ y2: "12",
46
+ gradientUnits: "userSpaceOnUse"
47
+ }, /*#__PURE__*/React.createElement("stop", {
48
+ stopColor: `var(--ds-text-accent-blue, ${B400})`,
49
+ color: `var(--ds-text-accent-blue, ${B400})`
50
+ }), /*#__PURE__*/React.createElement("stop", {
51
+ offset: "0.791667",
52
+ stopColor: `var(--ds-icon-accent-blue, ${B200})`,
53
+ color: `var(--ds-icon-accent-blue, ${B200})`
54
+ })), /*#__PURE__*/React.createElement("linearGradient", {
55
+ id: "ai_icon_lg3",
56
+ x1: "12.5",
57
+ y1: "17",
58
+ x2: "12.5",
59
+ y2: "21",
60
+ gradientUnits: "userSpaceOnUse"
61
+ }, /*#__PURE__*/React.createElement("stop", {
62
+ stopColor: `var(--ds-text-accent-blue, ${B400})`,
63
+ color: `var(--ds-text-accent-blue, ${B400})`
64
+ }), /*#__PURE__*/React.createElement("stop", {
65
+ offset: "0.802083",
66
+ stopColor: `var(--ds-icon-accent-blue, ${B200})`,
67
+ color: `var(--ds-icon-accent-blue, ${B200})`
68
+ }))), /*#__PURE__*/React.createElement("g", null, /*#__PURE__*/React.createElement("path", {
69
+ fillRule: "evenodd",
70
+ clipRule: "evenodd",
71
+ d: "M17.17 12C17.17 11.4477 17.6177 11 18.17 11H20C20.5523 11 21 11.4477 21 12C21 12.5523 20.5523 13 20 13H18.17C17.6177 13 17.17 12.5523 17.17 12Z",
72
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg0)'
73
+ }), /*#__PURE__*/React.createElement("path", {
74
+ fillRule: "evenodd",
75
+ clipRule: "evenodd",
76
+ d: "M12 3C12.5523 3 13 3.44772 13 4V5.83C13 6.38228 12.5523 6.83 12 6.83C11.4477 6.83 11 6.38228 11 5.83V4C11 3.44772 11.4477 3 12 3Z",
77
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg1)'
78
+ }), /*#__PURE__*/React.createElement("path", {
79
+ fillRule: "evenodd",
80
+ clipRule: "evenodd",
81
+ d: "M3 12C3 11.4477 3.44772 11 4 11H5.83C6.38228 11 6.83 11.4477 6.83 12C6.83 12.5523 6.38228 13 5.83 13H4C3.44772 13 3 12.5523 3 12Z",
82
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg2)'
83
+ }), /*#__PURE__*/React.createElement("path", {
84
+ fillRule: "evenodd",
85
+ clipRule: "evenodd",
86
+ d: "M12 17.17C12.5523 17.17 13 17.6177 13 18.17V20C13 20.5523 12.5523 21 12 21C11.4477 21 11 20.5523 11 20V18.17C11 17.6177 11.4477 17.17 12 17.17Z",
87
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : 'url(#ai_icon_lg3)'
88
+ }), /*#__PURE__*/React.createElement("path", {
89
+ fillRule: "evenodd",
90
+ clipRule: "evenodd",
91
+ d: "M14.2929 14.2929C14.6835 13.9024 15.3166 13.9024 15.7071 14.2929L19.7071 18.2929C20.0977 18.6834 20.0977 19.3166 19.7071 19.7071C19.3166 20.0976 18.6835 20.0976 18.2929 19.7071L14.2929 15.7071C13.9024 15.3166 13.9024 14.6834 14.2929 14.2929Z",
92
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : `var(--ds-icon-accent-blue, ${B200})`
93
+ }), /*#__PURE__*/React.createElement("path", {
94
+ fillRule: "evenodd",
95
+ clipRule: "evenodd",
96
+ d: "M19.7071 4.29289C20.0977 4.68342 20.0977 5.31658 19.7071 5.70711L15.7071 9.70711C15.3166 10.0976 14.6835 10.0976 14.2929 9.70711C13.9024 9.31658 13.9024 8.68342 14.2929 8.29289L18.2929 4.29289C18.6835 3.90237 19.3166 3.90237 19.7071 4.29289Z",
97
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : `var(--ds-icon-accent-blue, ${B200})`
98
+ }), /*#__PURE__*/React.createElement("path", {
99
+ fillRule: "evenodd",
100
+ clipRule: "evenodd",
101
+ d: "M4.29289 4.29289C4.68342 3.90237 5.31658 3.90237 5.70711 4.29289L9.70711 8.29289C10.0976 8.68342 10.0976 9.31658 9.70711 9.70711C9.31658 10.0976 8.68342 10.0976 8.29289 9.70711L4.29289 5.70711C3.90237 5.31658 3.90237 4.68342 4.29289 4.29289Z",
102
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : `var(--ds-icon-accent-blue, ${B200})`
103
+ }), /*#__PURE__*/React.createElement("path", {
104
+ fillRule: "evenodd",
105
+ clipRule: "evenodd",
106
+ d: "M9.70711 14.2929C10.0976 14.6834 10.0976 15.3166 9.70711 15.7071L5.70711 19.7071C5.31658 20.0976 4.68342 20.0976 4.29289 19.7071C3.90237 19.3166 3.90237 18.6834 4.29289 18.2929L8.29289 14.2929C8.68342 13.9024 9.31658 13.9024 9.70711 14.2929Z",
107
+ fill: fg('platform.linking-platform.smart-card.hover-card-action-redesign') ? "var(--ds-icon, #44546F)" : `var(--ds-icon-accent-blue, ${B200})`
108
+ })));
113
109
  export default AiIcon;
@@ -11,7 +11,7 @@ const borderContainerStyles = css({
11
11
  width: 'fit-content'
12
12
  });
13
13
 
14
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
15
15
  export const borderContentStyles = css({
16
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
17
17
  borderRadius: INNER_BORDER_RADIUS,
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
15
15
  export var context = {
16
16
  componentName: 'smart-cards',
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "27.8.3"
18
+ packageVersion: "27.9.0"
19
19
  };
20
20
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
21
21
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -4,7 +4,7 @@ import { N40 } from '@atlaskit/theme/colors';
4
4
 
5
5
  // in editor prosemirror adds padding-left so we need to overwrite it
6
6
  // renderer overwrites the margin-right so we need to add it here
7
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
8
8
  export var metadataBlockCss = css({
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
10
10
  'span[data-smart-element-avatar-group]': {
@@ -19,7 +19,7 @@ export var metadataBlockCss = css({
19
19
  lineHeight: '1rem'
20
20
  }
21
21
  });
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
23
23
  export var titleBlockCss = css({
24
24
  gap: "var(--ds-space-100, 0.5em)",
25
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -28,7 +28,7 @@ export var titleBlockCss = css({
28
28
  }
29
29
  });
30
30
 
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
32
32
  export var footerBlockCss = css({
33
33
  height: '1.5rem',
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -40,7 +40,7 @@ export var footerBlockCss = css({
40
40
  }
41
41
  });
42
42
 
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
44
  export var flexibleBlockCardStyle = css({
45
45
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
46
46
  '& > div': {
@@ -39,6 +39,7 @@ function Component(_ref) {
39
39
  ui = _ref.ui,
40
40
  children = _ref.children,
41
41
  showHoverPreview = _ref.showHoverPreview,
42
+ hoverPreviewOptions = _ref.hoverPreviewOptions,
42
43
  showAuthTooltip = _ref.showAuthTooltip,
43
44
  analyticsEvents = _ref.analyticsEvents,
44
45
  useLegacyBlockCard = _ref.useLegacyBlockCard;
@@ -188,6 +189,7 @@ function Component(_ref) {
188
189
  renderers: renderers,
189
190
  ui: ui,
190
191
  showHoverPreview: showHoverPreview,
192
+ hoverPreviewOptions: hoverPreviewOptions,
191
193
  showAuthTooltip: showAuthTooltip,
192
194
  actionOptions: actionOptions,
193
195
  url: url,
@@ -219,6 +221,7 @@ function Component(_ref) {
219
221
  testId: testId,
220
222
  inlinePreloaderStyle: inlinePreloaderStyle,
221
223
  showHoverPreview: showHoverPreview,
224
+ hoverPreviewOptions: hoverPreviewOptions,
222
225
  showAuthTooltip: showAuthTooltip,
223
226
  actionOptions: actionOptions
224
227
  });
@@ -47,6 +47,7 @@ export function CardWithURLRenderer(props) {
47
47
  children = props.children,
48
48
  ui = props.ui,
49
49
  showHoverPreview = props.showHoverPreview,
50
+ hoverPreviewOptions = props.hoverPreviewOptions,
50
51
  showAuthTooltip = props.showAuthTooltip,
51
52
  analyticsEvents = props.analyticsEvents,
52
53
  placeholder = props.placeholder,
@@ -117,6 +118,7 @@ export function CardWithURLRenderer(props) {
117
118
  inlinePreloaderStyle: inlinePreloaderStyle,
118
119
  ui: ui,
119
120
  showHoverPreview: showHoverPreview,
121
+ hoverPreviewOptions: hoverPreviewOptions,
120
122
  showAuthTooltip: showAuthTooltip,
121
123
  analyticsEvents: analyticsEvents,
122
124
  placeholder: placeholder,
@@ -1,6 +1,6 @@
1
1
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
2
  import { css } from '@emotion/react';
3
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
4
4
  export var containerStyles = css({
5
5
  alignItems: 'center',
6
6
  display: 'flex',
@@ -15,7 +15,7 @@ var iconSize = '24px';
15
15
  // EDM-7328: CSS Specificity
16
16
  // An embed modal icon css for img, span, svg has specificity weight of 0-1-1.
17
17
  // Specify flex ui icon selector to increase specificity weight to 0-2-1.
18
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
19
19
  export var iconCss = css({
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
21
21
  '&, [data-smart-element-icon] img, [data-smart-element-icon] span, [data-smart-element-icon] svg, img, span, svg': {
@@ -28,7 +28,7 @@ export var iconCss = css({
28
28
  }
29
29
  });
30
30
  var height = '20px';
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
31
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
32
32
  export var titleCss = css({
33
33
  flex: '1 1 auto',
34
34
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
@@ -50,7 +50,7 @@ export var titleCss = css({
50
50
  }
51
51
  });
52
52
 
53
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
53
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
54
54
  export var actionCss = css({
55
55
  display: 'flex',
56
56
  flex: '0 0 auto',
@@ -49,17 +49,21 @@ var ActionButton = function ActionButton(_ref) {
49
49
  }),
50
50
  size: size
51
51
  }) : iconOption;
52
- return /*#__PURE__*/React.createElement(Pressable, _extends({
53
- xcss: [buttonStyles, xcss]
54
- }, tooltipProps, {
55
- onClick: onClick,
56
- testId: testId
57
- }), /*#__PURE__*/React.createElement(Inline, {
58
- alignBlock: "center",
59
- grow: "fill",
60
- space: space
61
- }, icon, /*#__PURE__*/React.createElement(Box, {
62
- xcss: contentStyles
63
- }, content)));
52
+ return (
53
+ /*#__PURE__*/
54
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
55
+ React.createElement(Pressable, _extends({
56
+ xcss: [buttonStyles, xcss]
57
+ }, tooltipProps, {
58
+ onClick: onClick,
59
+ testId: testId
60
+ }), /*#__PURE__*/React.createElement(Inline, {
61
+ alignBlock: "center",
62
+ grow: "fill",
63
+ space: space
64
+ }, icon, /*#__PURE__*/React.createElement(Box, {
65
+ xcss: contentStyles
66
+ }, content)))
67
+ );
64
68
  };
65
69
  export default ActionButton;
@@ -64,7 +64,9 @@ var Action = function Action(_ref) {
64
64
  onClick: onClick,
65
65
  size: size,
66
66
  testId: testId,
67
- tooltipMessage: tooltipMessage || content,
67
+ tooltipMessage: tooltipMessage || content
68
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
69
+ ,
68
70
  xcss: xcss,
69
71
  tooltipOnHide: tooltipOnHide,
70
72
  hideTooltipOnMouseDown: hideTooltipOnMouseDown,
@@ -79,7 +79,7 @@ var ActionBlock = function ActionBlock(_ref) {
79
79
  onError: onError,
80
80
  onLoadingChange: onLoadingChange,
81
81
  size: size
82
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
82
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
83
83
  ,
84
84
  xcss: xcss({
85
85
  paddingInline: padding
@@ -25,9 +25,13 @@ var AIIndicatorTooltip = function AIIndicatorTooltip(_ref) {
25
25
  content: content,
26
26
  tag: "span"
27
27
  }, function (tooltipProps) {
28
- return /*#__PURE__*/React.createElement(Box, _extends({
29
- xcss: [triggerStyles, overrideXcss]
30
- }, tooltipProps), trigger);
28
+ return (
29
+ /*#__PURE__*/
30
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
31
+ React.createElement(Box, _extends({
32
+ xcss: [triggerStyles, overrideXcss]
33
+ }, tooltipProps), trigger)
34
+ );
31
35
  });
32
36
  };
33
37
  export default AIIndicatorTooltip;
@@ -27,7 +27,7 @@ var RelatedUrlList = function RelatedUrlList(_ref) {
27
27
  var intl = useIntl();
28
28
  return resolvedResults.length > 0 ?
29
29
  /*#__PURE__*/
30
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
31
31
  React.createElement(Stack, {
32
32
  testId: testId,
33
33
  xcss: xcss({
@@ -19,7 +19,7 @@ var ResolvedResultsStack = function ResolvedResultsStack(_ref) {
19
19
  space: "space.050",
20
20
  testId: "".concat(testId, "-items-wrapper"),
21
21
  as: "ul"
22
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
22
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
23
23
  ,
24
24
  xcss: xcss({
25
25
  paddingLeft: 'space.0',
@@ -77,7 +77,7 @@ export var getBaseStyles = function getBaseStyles(direction, size) {
77
77
  });
78
78
  };
79
79
 
80
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-exported-css -- Ignored via go/DSP-18766
80
+ // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
81
81
  export var highlightRemoveStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\toutline: none !important;\n\toutline-color: inherit;\n\tcolor: inherit;\n\t-webkit-tap-highlight-color: transparent;\n\t-webkit-touch-callout: none;\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n"])));
82
82
  var isActionGroup = function isActionGroup(node) {
83
83
  return /*#__PURE__*/React.isValidElement(node) && node.type === ActionGroup;
@@ -12,7 +12,8 @@ var HoverCardControl = function HoverCardControl(_ref) {
12
12
  testId = _ref.testId,
13
13
  url = _ref.url,
14
14
  _ref$delay = _ref.delay,
15
- delay = _ref$delay === void 0 ? FLEXIBLE_HOVER_CARD_CAN_OPEN_DELAY : _ref$delay;
15
+ delay = _ref$delay === void 0 ? FLEXIBLE_HOVER_CARD_CAN_OPEN_DELAY : _ref$delay,
16
+ hoverPreviewOptions = _ref.hoverPreviewOptions;
16
17
  var _useState = useState(true),
17
18
  _useState2 = _slicedToArray(_useState, 2),
18
19
  canOpen = _useState2[0],
@@ -59,7 +60,8 @@ var HoverCardControl = function HoverCardControl(_ref) {
59
60
  closeOnChildClick: true,
60
61
  hidePreviewButton: hideHoverCardPreviewButton,
61
62
  actionOptions: actionOptions,
62
- url: url
63
+ url: url,
64
+ hoverPreviewOptions: hoverPreviewOptions
63
65
  }, /*#__PURE__*/React.createElement("span", {
64
66
  onMouseLeave: onMouseLeave,
65
67
  onMouseMove: onMouseMove,
@@ -177,6 +177,7 @@ var Container = function Container(_ref3) {
177
177
  showAuthTooltip = _ref3$showAuthTooltip === void 0 ? false : _ref3$showAuthTooltip,
178
178
  _ref3$showHoverPrevie = _ref3.showHoverPreview,
179
179
  showHoverPreview = _ref3$showHoverPrevie === void 0 ? false : _ref3$showHoverPrevie,
180
+ hoverPreviewOptions = _ref3.hoverPreviewOptions,
180
181
  actionOptions = _ref3.actionOptions,
181
182
  _ref3$size = _ref3.size,
182
183
  size = _ref3$size === void 0 ? SmartLinkSize.Medium : _ref3$size,
@@ -204,7 +205,8 @@ var Container = function Container(_ref3) {
204
205
  isAuthTooltip: canShowAuthTooltip,
205
206
  actionOptions: actionOptions,
206
207
  testId: testId,
207
- url: context.url
208
+ url: context.url,
209
+ hoverPreviewOptions: hoverPreviewOptions
208
210
  }, container);
209
211
  }
210
212
  return container;