@atlaskit/smart-card 35.1.2 → 35.1.4

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 (81) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/utils/analytics/analytics.js +1 -1
  3. package/dist/cjs/view/BlockCard/index.js +1 -1
  4. package/dist/cjs/view/BlockCard/views/ForbiddenView.compiled.css +1 -0
  5. package/dist/cjs/view/BlockCard/views/ForbiddenView.js +23 -8
  6. package/dist/cjs/view/BlockCard/views/ForbiddenViewOld.js +110 -0
  7. package/dist/cjs/view/BlockCard/views/NotFoundView.compiled.css +1 -0
  8. package/dist/cjs/view/BlockCard/views/NotFoundView.js +22 -7
  9. package/dist/cjs/view/BlockCard/views/NotFoundViewOld.js +74 -0
  10. package/dist/cjs/view/BlockCard/views/ResolvedView.compiled.css +7 -1
  11. package/dist/cjs/view/BlockCard/views/ResolvedView.js +7 -5
  12. package/dist/cjs/view/BlockCard/views/UnauthorisedView.compiled.css +3 -1
  13. package/dist/cjs/view/BlockCard/views/UnauthorisedView.js +3 -1
  14. package/dist/cjs/view/BlockCard/views/unresolved-view/index.compiled.css +11 -2
  15. package/dist/cjs/view/BlockCard/views/unresolved-view/index.js +6 -3
  16. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +5 -2
  17. package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +4 -4
  18. package/dist/cjs/view/FlexibleCard/components/container/index.js +8 -8
  19. package/dist/cjs/view/HoverCard/components/ImagePreview.js +1 -1
  20. package/dist/cjs/view/HoverCard/components/views/forbidden/index.compiled.css +1 -0
  21. package/dist/cjs/view/HoverCard/components/views/forbidden/index.js +8 -4
  22. package/dist/cjs/view/HoverCard/components/views/resolved/index.compiled.css +3 -0
  23. package/dist/cjs/view/HoverCard/components/views/resolved/index.js +11 -6
  24. package/dist/cjs/view/HoverCard/components/views/unauthorised/index.compiled.css +3 -0
  25. package/dist/cjs/view/HoverCard/components/views/unauthorised/index.js +6 -3
  26. package/dist/cjs/view/LinkUrl/index.js +1 -1
  27. package/dist/es2019/utils/analytics/analytics.js +1 -1
  28. package/dist/es2019/view/BlockCard/index.js +1 -1
  29. package/dist/es2019/view/BlockCard/views/ForbiddenView.compiled.css +1 -0
  30. package/dist/es2019/view/BlockCard/views/ForbiddenView.js +17 -3
  31. package/dist/es2019/view/BlockCard/views/ForbiddenViewOld.js +103 -0
  32. package/dist/es2019/view/BlockCard/views/NotFoundView.compiled.css +1 -0
  33. package/dist/es2019/view/BlockCard/views/NotFoundView.js +17 -3
  34. package/dist/es2019/view/BlockCard/views/NotFoundViewOld.js +61 -0
  35. package/dist/es2019/view/BlockCard/views/ResolvedView.compiled.css +7 -1
  36. package/dist/es2019/view/BlockCard/views/ResolvedView.js +7 -5
  37. package/dist/es2019/view/BlockCard/views/UnauthorisedView.compiled.css +3 -1
  38. package/dist/es2019/view/BlockCard/views/UnauthorisedView.js +3 -1
  39. package/dist/es2019/view/BlockCard/views/unresolved-view/index.compiled.css +11 -2
  40. package/dist/es2019/view/BlockCard/views/unresolved-view/index.js +6 -3
  41. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +5 -2
  42. package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +4 -4
  43. package/dist/es2019/view/FlexibleCard/components/container/index.js +8 -8
  44. package/dist/es2019/view/HoverCard/components/ImagePreview.js +1 -1
  45. package/dist/es2019/view/HoverCard/components/views/forbidden/index.compiled.css +1 -0
  46. package/dist/es2019/view/HoverCard/components/views/forbidden/index.js +8 -4
  47. package/dist/es2019/view/HoverCard/components/views/resolved/index.compiled.css +3 -0
  48. package/dist/es2019/view/HoverCard/components/views/resolved/index.js +11 -6
  49. package/dist/es2019/view/HoverCard/components/views/unauthorised/index.compiled.css +3 -0
  50. package/dist/es2019/view/HoverCard/components/views/unauthorised/index.js +6 -3
  51. package/dist/es2019/view/LinkUrl/index.js +1 -1
  52. package/dist/esm/utils/analytics/analytics.js +1 -1
  53. package/dist/esm/view/BlockCard/index.js +1 -1
  54. package/dist/esm/view/BlockCard/views/ForbiddenView.compiled.css +1 -0
  55. package/dist/esm/view/BlockCard/views/ForbiddenView.js +17 -3
  56. package/dist/esm/view/BlockCard/views/ForbiddenViewOld.js +101 -0
  57. package/dist/esm/view/BlockCard/views/NotFoundView.compiled.css +1 -0
  58. package/dist/esm/view/BlockCard/views/NotFoundView.js +17 -3
  59. package/dist/esm/view/BlockCard/views/NotFoundViewOld.js +65 -0
  60. package/dist/esm/view/BlockCard/views/ResolvedView.compiled.css +7 -1
  61. package/dist/esm/view/BlockCard/views/ResolvedView.js +7 -5
  62. package/dist/esm/view/BlockCard/views/UnauthorisedView.compiled.css +3 -1
  63. package/dist/esm/view/BlockCard/views/UnauthorisedView.js +3 -1
  64. package/dist/esm/view/BlockCard/views/unresolved-view/index.compiled.css +11 -2
  65. package/dist/esm/view/BlockCard/views/unresolved-view/index.js +6 -3
  66. package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +5 -2
  67. package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +4 -4
  68. package/dist/esm/view/FlexibleCard/components/container/index.js +8 -8
  69. package/dist/esm/view/HoverCard/components/ImagePreview.js +1 -1
  70. package/dist/esm/view/HoverCard/components/views/forbidden/index.compiled.css +1 -0
  71. package/dist/esm/view/HoverCard/components/views/forbidden/index.js +8 -4
  72. package/dist/esm/view/HoverCard/components/views/resolved/index.compiled.css +3 -0
  73. package/dist/esm/view/HoverCard/components/views/resolved/index.js +11 -6
  74. package/dist/esm/view/HoverCard/components/views/unauthorised/index.compiled.css +3 -0
  75. package/dist/esm/view/HoverCard/components/views/unauthorised/index.js +6 -3
  76. package/dist/esm/view/LinkUrl/index.js +1 -1
  77. package/dist/types/view/BlockCard/views/ForbiddenViewOld.d.ts +10 -0
  78. package/dist/types/view/BlockCard/views/NotFoundViewOld.d.ts +9 -0
  79. package/dist/types-ts4.5/view/BlockCard/views/ForbiddenViewOld.d.ts +10 -0
  80. package/dist/types-ts4.5/view/BlockCard/views/NotFoundViewOld.d.ts +9 -0
  81. package/package.json +2 -2
@@ -227,10 +227,10 @@ var previewOnLeftStyleMapOld = {
227
227
  small: "_19bv1ltm _y5vk6mu8"
228
228
  };
229
229
  var previewOnLeftStyleMap = {
230
- xlarge: "_19bv16ru _y5vkv47k",
231
- large: "_19bv1g7w _y5vk1eak",
232
- medium: "_19bvlbes _y5vku2gc",
233
- small: "_19bv1ugb _y5vk1b66"
230
+ xlarge: "_19bver0k _y5vk1ejb",
231
+ large: "_19bv16ru _y5vkv47k",
232
+ medium: "_19bv1g7w _y5vk1eak",
233
+ small: "_19bvlbes _y5vku2gc"
234
234
  };
235
235
 
236
236
  // TODO: Remove on fg cleanup: platform-linking-visual-refresh-v1
@@ -241,10 +241,10 @@ var previewOnRightStyleMapOld = {
241
241
  small: "_u5f31ltm _1yob6mu8"
242
242
  };
243
243
  var previewOnRightStyleMap = {
244
- xlarge: "_u5f316ru _1yobv47k",
245
- large: "_u5f31g7w _1yob1eak",
246
- medium: "_u5f3lbes _1yobu2gc",
247
- small: "_u5f31ugb _1yob1b66"
244
+ xlarge: "_u5f3er0k _1yob1ejb",
245
+ large: "_u5f316ru _1yobv47k",
246
+ medium: "_u5f31g7w _1yob1eak",
247
+ small: "_u5f3lbes _1yobu2gc"
248
248
  };
249
249
 
250
250
  /**
@@ -39,7 +39,7 @@ var ImagePreviewNew = function ImagePreviewNew(_ref) {
39
39
  setDynamicStyles(_objectSpread({
40
40
  borderTopLeftRadius: "var(--ds-border-radius-200, 8px)",
41
41
  borderTopRightRadius: "var(--ds-border-radius-200, 8px)",
42
- marginBottom: '0.5rem'
42
+ marginBottom: (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "var(--ds-space-100, 8px)" : '0.5rem'
43
43
  }, previewHeight ? {
44
44
  height: "".concat(previewHeight, "px")
45
45
  } : {}));
@@ -6,5 +6,6 @@
6
6
  ._1e0c1nu9{display:inline}
7
7
  ._k48p1pd9{font-weight:var(--ds-font-weight-semibold,600)}
8
8
  ._otyrcxkx{margin-bottom:var(--ds-space-100,.5rem)}
9
+ ._otyru2gc{margin-bottom:var(--ds-space-100,8px)}
9
10
  ._qrwqpd34{border-top-right-radius:var(--ds-border-radius-200,8px)}
10
11
  ._y3gn1h6o{text-align:center}
@@ -25,9 +25,13 @@ var _blocks = require("../../../../FlexibleCard/components/blocks");
25
25
  var _HoverCardForbiddenViewOld = _interopRequireDefault(require("./HoverCardForbiddenViewOld"));
26
26
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
27
27
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
28
+ var titleBlockStylesOld = null;
28
29
  var titleBlockStyles = null;
30
+ var mainTextStylesOld = null;
29
31
  var mainTextStyles = null;
32
+ var connectButtonStylesOld = null;
30
33
  var connectButtonStyles = null;
34
+ var basePreviewStylesOld = null;
31
35
  var basePreviewStyles = null;
32
36
  var HoverCardForbiddenViewNew = function HoverCardForbiddenViewNew(_ref) {
33
37
  var _cardState$details, _cardState$details2, _extractProvider$text, _extractProvider, _extractRequestAccess;
@@ -61,11 +65,11 @@ var HoverCardForbiddenViewNew = function HoverCardForbiddenViewNew(_ref) {
61
65
  ignoreContainerPadding: true,
62
66
  testId: testId,
63
67
  status: _constants.SmartLinkStatus.Forbidden,
64
- className: (0, _runtime.ax)(["_13lipd34 _qrwqpd34 _otyrcxkx"])
68
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_13lipd34 _qrwqpd34 _otyru2gc" : "_13lipd34 _qrwqpd34 _otyrcxkx"])
65
69
  }), /*#__PURE__*/React.createElement(_blocks.CustomBlock, {
66
70
  testId: "".concat(testId, "-title"),
67
71
  status: _constants.SmartLinkStatus.Forbidden,
68
- className: (0, _runtime.ax)(["_1bah1h6o _k48p1pd9 _19pku2gc"])
72
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_1bah1h6o _k48p1pd9 _19pku2gc" : "_1bah1h6o _k48p1pd9 _19pku2gc"])
69
73
  }, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages[titleMessageKey], {
70
74
  values: {
71
75
  product: product
@@ -73,7 +77,7 @@ var HoverCardForbiddenViewNew = function HoverCardForbiddenViewNew(_ref) {
73
77
  }))), /*#__PURE__*/React.createElement(_blocks.CustomBlock, {
74
78
  testId: "".concat(testId, "-content"),
75
79
  status: _constants.SmartLinkStatus.Forbidden,
76
- className: (0, _runtime.ax)(["_11c8qk37 _1e0c1nu9 _1bah1h6o _19pkze3t _y3gn1h6o"])
80
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c8qk37 _1e0c1nu9 _1bah1h6o _19pkze3t _y3gn1h6o" : "_11c8qk37 _1e0c1nu9 _1bah1h6o _19pkze3t _y3gn1h6o"])
77
81
  }, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages[descriptiveMessageKey], {
78
82
  values: {
79
83
  product: product,
@@ -81,7 +85,7 @@ var HoverCardForbiddenViewNew = function HoverCardForbiddenViewNew(_ref) {
81
85
  }
82
86
  }))), action && /*#__PURE__*/React.createElement(_blocks.CustomBlock, {
83
87
  status: _constants.SmartLinkStatus.Forbidden,
84
- className: (0, _runtime.ax)(["_1bah1h6o _19pku2gc"])
88
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_1bah1h6o _19pku2gc" : "_1bah1h6o _19pku2gc"])
85
89
  }, /*#__PURE__*/React.createElement(_button.default, {
86
90
  testId: "".concat(testId, "-button"),
87
91
  onClick: action === null || action === void 0 ? void 0 : action.promise,
@@ -1,14 +1,17 @@
1
1
 
2
2
  ._2aco1vlj [data-smart-element-group]{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
3
3
  ._quenui7n [data-smart-element-group]{gap:.06rem}
4
+ ._quenze3t [data-smart-element-group]{gap:var(--ds-space-0,0)}
4
5
  ._zulpidpf{gap:0}
5
6
  ._zulpu2gc{gap:var(--ds-space-100,8px)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
6
7
  ._1ljqu2gc [data-separator]+[data-separator]:before{margin-right:var(--ds-space-100,8px)}
7
8
  ._3tmpcxkx [data-smart-element-group]:nth-of-type(2)>span{margin-left:var(--ds-space-100,.5rem)}
8
9
  ._3um015vq{visibility:hidden}
10
+ ._ca0q1b66{padding-top:var(--ds-space-050,4px)}
9
11
  ._fmt31ohn [data-smart-element-group]:first-of-type{flex-grow:7}
10
12
  ._ia0l11wp [data-smart-element-group]:nth-of-type(2){flex-grow:3}
11
13
  ._kqswstnw{position:absolute}
14
+ ._n3td1b66{padding-bottom:var(--ds-space-050,4px)}
12
15
  ._oebj1txw [data-smart-element-group]{display:flex}
13
16
  ._w3mucxkx [data-smart-element-group]:first-of-type>span{margin-right:var(--ds-space-100,.5rem)}
14
17
  ._x7z0u2gc [data-smart-element-group]>[data-smart-element-group]>span{margin-right:var(--ds-space-100,8px)}
@@ -23,12 +23,15 @@ var _HoverCardResolvedViewOld = _interopRequireDefault(require("./HoverCardResol
23
23
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
24
24
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
25
25
  var hiddenSnippetStyles = null;
26
- var metadataBlockCss = null;
26
+ var metadataBlockCssOld = null;
27
27
 
28
28
  /**
29
29
  * Moved from HoverCardContent.tsx due to CompiledCSS migration.
30
30
  */
31
- var titleBlockStyle = null;
31
+ var titleBlockStyleOld = null;
32
+ var titleBlockStyles = null;
33
+ var snippetBlockCss = null;
34
+ var actionBlockCss = null;
32
35
  var HoverCardResolvedViewNew = function HoverCardResolvedViewNew(_ref) {
33
36
  var _cardState$details;
34
37
  var cardState = _ref.cardState,
@@ -73,20 +76,21 @@ var HoverCardResolvedViewNew = function HoverCardResolvedViewNew(_ref) {
73
76
  fallbackElementHeight: snippetHeight.current
74
77
  });
75
78
  var snippet = imagePreview ? null : /*#__PURE__*/_react.default.createElement(_blocks.SnippetBlock, {
76
- status: _constants.SmartLinkStatus.Resolved
79
+ status: _constants.SmartLinkStatus.Resolved,
80
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_ca0q1b66"])
77
81
  });
78
82
  var aiSummaryMinHeight = snippet ? snippetHeight.current : 0;
79
83
  return /*#__PURE__*/_react.default.createElement(_FlexibleCard.default, flexibleCardProps, imagePreview, /*#__PURE__*/_react.default.createElement(_blocks.TitleBlock, (0, _extends2.default)({}, titleBlockProps, {
80
84
  metadataPosition: _constants.SmartLinkPosition.Top,
81
85
  status: _constants.SmartLinkStatus.Resolved,
82
- className: (0, _runtime.ax)(["_zulpu2gc _quenui7n _oebj1txw _x7z0u2gc _1ljqu2gc _13mh1pd9"])
86
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_zulpu2gc _quenze3t _oebj1txw _13mh1pd9" : "_zulpu2gc _quenui7n _oebj1txw _x7z0u2gc _1ljqu2gc _13mh1pd9"])
83
87
  })), /*#__PURE__*/_react.default.createElement(_blocks.MetadataBlock, {
84
88
  primary: primary,
85
89
  secondary: secondary,
86
90
  maxLines: 1,
87
91
  size: _constants.SmartLinkSize.Medium,
88
92
  status: _constants.SmartLinkStatus.Resolved,
89
- className: (0, _runtime.ax)(["_zulpidpf _2aco1vlj _fmt31ohn _yklxcxkx _w3mucxkx _ia0l11wp _3tmpcxkx"])
93
+ className: (0, _runtime.ax)([!(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_zulpidpf _2aco1vlj _fmt31ohn _yklxcxkx _w3mucxkx _ia0l11wp _3tmpcxkx"])
90
94
  }), isAISummaryEnabled ? /*#__PURE__*/_react.default.createElement(_blocks.AISummaryBlock, {
91
95
  aiSummaryMinHeight: aiSummaryMinHeight,
92
96
  placeholder: snippet,
@@ -99,7 +103,8 @@ var HoverCardResolvedViewNew = function HoverCardResolvedViewNew(_ref) {
99
103
  className: (0, _runtime.ax)(["_3um015vq _kqswstnw"])
100
104
  }), /*#__PURE__*/_react.default.createElement(_blocks.ActionBlock, {
101
105
  onClick: onActionClick,
102
- spaceInline: "space.100"
106
+ spaceInline: "space.100",
107
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_n3td1b66"])
103
108
  }), /*#__PURE__*/_react.default.createElement(_blocks.AIFooterBlock, null));
104
109
  };
105
110
  var HoverCardResolvedView = function HoverCardResolvedView(props) {
@@ -1,5 +1,8 @@
1
1
  ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
2
  ._zulp5l1i{gap:.5rem .5rem}
3
+ ._zulpu2gc{gap:var(--ds-space-100,8px)}
4
+ ._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
3
5
  ._19pkcxkx{margin-top:var(--ds-space-100,.5rem)}
6
+ ._19pku2gc{margin-top:var(--ds-space-100,8px)}
4
7
  ._1bahesu3{justify-content:flex-end}
5
8
  ._bpsp1wq8 a{font-weight:var(--ds-font-weight-medium,500)}
@@ -28,8 +28,11 @@ var _elements = require("../../../../FlexibleCard/components/elements");
28
28
  var _HoverCardUnauthorisedViewOld = _interopRequireDefault(require("./HoverCardUnauthorisedViewOld"));
29
29
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
30
30
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
31
+ var connectButtonStylesOld = null;
31
32
  var connectButtonStyles = null;
33
+ var titleBlockStylesOld = null;
32
34
  var titleBlockStyles = null;
35
+ var mainTextStylesOld = null;
33
36
  var mainTextStyles = null;
34
37
  var HoverCardUnauthorisedViewNew = function HoverCardUnauthorisedViewNew(_ref) {
35
38
  var _cardState$details, _extractProvider;
@@ -68,20 +71,20 @@ var HoverCardUnauthorisedViewNew = function HoverCardUnauthorisedViewNew(_ref) {
68
71
  testId: testId
69
72
  }), /*#__PURE__*/React.createElement(_blocks.CustomBlock, {
70
73
  testId: "".concat(testId, "-title"),
71
- className: (0, _runtime.ax)(["_zulp5l1i _bpsp1wq8"])
74
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_zulpu2gc _13mh1pd9" : "_zulp5l1i _bpsp1wq8"])
72
75
  }, /*#__PURE__*/React.createElement(_elements.LinkIcon, null), /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
73
76
  values: {
74
77
  context: providerName
75
78
  }
76
79
  }))), /*#__PURE__*/React.createElement(_blocks.CustomBlock, {
77
80
  testId: "".concat(testId, "-content"),
78
- className: (0, _runtime.ax)(["_11c8qk37 _19pkcxkx"])
81
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c8qk37 _19pku2gc" : "_11c8qk37 _19pkcxkx"])
79
82
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(_UnauthorisedViewContent.default, {
80
83
  providerName: providerName,
81
84
  isProductIntegrationSupported: isProductIntegrationSupported
82
85
  }))), /*#__PURE__*/React.createElement(_blocks.CustomBlock, {
83
86
  testId: "".concat(testId, "-button"),
84
- className: (0, _runtime.ax)(["_1bahesu3 _19pkcxkx"])
87
+ className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_1bahesu3 _19pku2gc" : "_1bahesu3 _19pkcxkx"])
85
88
  }, /*#__PURE__*/React.createElement(_actionGroup.default, {
86
89
  items: actions,
87
90
  appearance: "primary"
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
20
20
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
21
21
  var PACKAGE_DATA = {
22
22
  packageName: "@atlaskit/smart-card",
23
- packageVersion: "35.1.2",
23
+ packageVersion: "35.1.4",
24
24
  componentName: 'linkUrl'
25
25
  };
26
26
  var Anchor = (0, _click.withLinkClickedEvent)('a');
@@ -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: "35.1.2"
5
+ packageVersion: "35.1.4"
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -39,7 +39,7 @@ export const BlockCard = ({
39
39
  case 'pending':
40
40
  case 'resolving':
41
41
  return /*#__PURE__*/React.createElement(ResolvedView, _extends({}, blockCardProps, {
42
- testId: 'smart-block-resolving-view'
42
+ testId: "smart-block-resolving-view"
43
43
  }));
44
44
  case 'resolved':
45
45
  return /*#__PURE__*/React.createElement(ResolvedView, blockCardProps);
@@ -0,0 +1 @@
1
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
@@ -1,5 +1,9 @@
1
+ /* ForbiddenView.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
- import React, { useMemo } from 'react';
3
+ import "./ForbiddenView.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { useMemo } from 'react';
3
7
  import { useIntl } from 'react-intl-next';
4
8
  import { useAnalyticsEvents } from '@atlaskit/analytics-next';
5
9
  import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
@@ -14,8 +18,10 @@ import { toMessage } from '../../../utils/intl-utils';
14
18
  import { getForbiddenJsonLd } from '../../../utils/jsonld';
15
19
  import Text from '../../FlexibleCard/components/elements/text';
16
20
  import { ForbiddenAction } from '../actions/ForbiddenAction';
21
+ import { ForbiddenViewOld } from './ForbiddenViewOld';
17
22
  import UnresolvedView from './unresolved-view';
18
23
  import { withFlexibleUIBlockCardStyle } from './utils/withFlexibleUIBlockCardStyle';
24
+ const textStyles = null;
19
25
 
20
26
  /**
21
27
  * This view represent a Block Card with the 'Forbidden' status.
@@ -24,7 +30,7 @@ import { withFlexibleUIBlockCardStyle } from './utils/withFlexibleUIBlockCardSty
24
30
  * @see SmartLinkStatus
25
31
  * @see FlexibleCardProps
26
32
  */
27
- const ForbiddenView = ({
33
+ const ForbiddenViewNew = ({
28
34
  testId = 'smart-block-forbidden-view',
29
35
  ...props
30
36
  }) => {
@@ -99,7 +105,15 @@ const ForbiddenView = ({
99
105
  message: {
100
106
  descriptor: toMessage(messages.invalid_permissions_description, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.descriptiveMessageKey),
101
107
  values: messageContext
102
- }
108
+ },
109
+ className: ax([fg('platform-linking-visual-refresh-v1') && "_syaz1fxt"])
103
110
  }));
104
111
  };
112
+ const ForbiddenView = props => {
113
+ if (fg('bandicoots-compiled-migration-smartcard')) {
114
+ return /*#__PURE__*/React.createElement(ForbiddenViewNew, props);
115
+ } else {
116
+ return /*#__PURE__*/React.createElement(ForbiddenViewOld, props);
117
+ }
118
+ };
105
119
  export default withFlexibleUIBlockCardStyle(ForbiddenView);
@@ -0,0 +1,103 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React, { useMemo } from 'react';
3
+ import { useIntl } from 'react-intl-next';
4
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next';
5
+ import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
6
+ import LegacyLockIcon from '@atlaskit/icon/glyph/lock';
7
+ import { extractProvider } from '@atlaskit/link-extractors';
8
+ import { fg } from '@atlaskit/platform-feature-flags';
9
+ import { R300 } from '@atlaskit/theme/colors';
10
+ import { extractRequestAccessContextImproved } from '../../../extractors/common/context/extractAccessContext';
11
+ import extractHostname from '../../../extractors/common/hostname/extractHostname';
12
+ import { messages } from '../../../messages';
13
+ import { toMessage } from '../../../utils/intl-utils';
14
+ import { getForbiddenJsonLd } from '../../../utils/jsonld';
15
+ import Text from '../../FlexibleCard/components/elements/text';
16
+ import { ForbiddenAction } from '../actions/ForbiddenAction';
17
+ import UnresolvedView from './unresolved-view';
18
+
19
+ /**
20
+ * This view represent a Block Card with the 'Forbidden' status.
21
+ * It should have a "Try another account" button that will allow a user to connect another account and view the block card.
22
+ *
23
+ * @see SmartLinkStatus
24
+ * @see FlexibleCardProps
25
+ */
26
+ export const ForbiddenViewOld = ({
27
+ testId = 'smart-block-forbidden-view',
28
+ ...props
29
+ }) => {
30
+ var _details$meta;
31
+ const {
32
+ createAnalyticsEvent
33
+ } = useAnalyticsEvents();
34
+ const intl = useIntl();
35
+ const {
36
+ cardState,
37
+ onAuthorize,
38
+ url
39
+ } = props;
40
+ const details = cardState === null || cardState === void 0 ? void 0 : cardState.details;
41
+ const cardMetadata = (_details$meta = details === null || details === void 0 ? void 0 : details.meta) !== null && _details$meta !== void 0 ? _details$meta : getForbiddenJsonLd().meta;
42
+ const provider = extractProvider(details === null || details === void 0 ? void 0 : details.data);
43
+ const providerName = (provider === null || provider === void 0 ? void 0 : provider.text) || '';
44
+ const messageContext = useMemo(() => {
45
+ const hostname = /*#__PURE__*/React.createElement("b", null, extractHostname(url));
46
+ return {
47
+ product: providerName,
48
+ hostname
49
+ };
50
+ }, [providerName, url]);
51
+ const requestAccessContext = useMemo(() => {
52
+ return extractRequestAccessContextImproved({
53
+ jsonLd: cardMetadata,
54
+ url,
55
+ product: providerName,
56
+ createAnalyticsEvent
57
+ });
58
+ }, [cardMetadata, providerName, url, createAnalyticsEvent]);
59
+ const title = useMemo(() => {
60
+ const descriptor = toMessage(messages.invalid_permissions, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.titleMessageKey);
61
+ return intl.formatMessage(descriptor, {
62
+ product: providerName
63
+ });
64
+ }, [intl, providerName, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.titleMessageKey]);
65
+ const actions = useMemo(() => {
66
+ let actionFromAccessContext = [];
67
+ const tryAnotherAccountAction = onAuthorize ? [ForbiddenAction(onAuthorize, 'try_another_account')] : [];
68
+ if (requestAccessContext) {
69
+ const {
70
+ action,
71
+ callToActionMessageKey
72
+ } = requestAccessContext;
73
+ actionFromAccessContext = action && callToActionMessageKey ? [ForbiddenAction(action.promise, callToActionMessageKey, messageContext, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.buttonDisabled)] : [];
74
+ }
75
+ return [...tryAnotherAccountAction, ...actionFromAccessContext];
76
+ }, [onAuthorize, requestAccessContext, messageContext]);
77
+ return /*#__PURE__*/React.createElement(UnresolvedView, _extends({}, props, {
78
+ actions: actions,
79
+ showPreview: true,
80
+ testId: testId,
81
+ title: title
82
+ }), fg('platform-smart-card-icon-migration') ? /*#__PURE__*/React.createElement(LockLockedIcon, {
83
+ label: "forbidden-lock-icon",
84
+ color: "var(--ds-icon-danger, #C9372C)",
85
+ LEGACY_fallbackIcon: LegacyLockIcon,
86
+ LEGACY_size: "small",
87
+ testId: `${testId}-lock-icon`
88
+ }) :
89
+ /*#__PURE__*/
90
+ // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-19497
91
+ React.createElement(LegacyLockIcon, {
92
+ label: "forbidden-lock-icon",
93
+ size: "small",
94
+ primaryColor: `var(--ds-icon-danger, ${R300})`,
95
+ testId: `${testId}-lock-icon`
96
+ }), /*#__PURE__*/React.createElement(Text, {
97
+ maxLines: 3,
98
+ message: {
99
+ descriptor: toMessage(messages.invalid_permissions_description, requestAccessContext === null || requestAccessContext === void 0 ? void 0 : requestAccessContext.descriptiveMessageKey),
100
+ values: messageContext
101
+ }
102
+ }));
103
+ };
@@ -0,0 +1 @@
1
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
@@ -1,5 +1,9 @@
1
+ /* NotFoundView.tsx generated by @compiled/babel-plugin v0.36.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
- import React, { useMemo } from 'react';
3
+ import "./NotFoundView.compiled.css";
4
+ import * as React from 'react';
5
+ import { ax, ix } from "@compiled/react/runtime";
6
+ import { useMemo } from 'react';
3
7
  import { useIntl } from 'react-intl-next';
4
8
  import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
5
9
  import LegacyLockIcon from '@atlaskit/icon/glyph/lock';
@@ -8,8 +12,10 @@ import { fg } from '@atlaskit/platform-feature-flags';
8
12
  import { R300 } from '@atlaskit/theme/colors';
9
13
  import { messages } from '../../../messages';
10
14
  import Text from '../../FlexibleCard/components/elements/text';
15
+ import { NotFoundViewOld } from './NotFoundViewOld';
11
16
  import UnresolvedView from './unresolved-view';
12
17
  import { withFlexibleUIBlockCardStyle } from './utils/withFlexibleUIBlockCardStyle';
18
+ const textStyles = null;
13
19
 
14
20
  /**
15
21
  * This view represents a Block Card with a 'Not_Found' status.
@@ -17,7 +23,7 @@ import { withFlexibleUIBlockCardStyle } from './utils/withFlexibleUIBlockCardSty
17
23
  * @see SmartLinkStatus
18
24
  * @see FlexibleCardProps
19
25
  */
20
- const NotFoundView = ({
26
+ const NotFoundViewNew = ({
21
27
  testId = 'smart-block-not-found-view',
22
28
  ...props
23
29
  }) => {
@@ -57,7 +63,15 @@ const NotFoundView = ({
57
63
  }), /*#__PURE__*/React.createElement(Text, {
58
64
  message: description,
59
65
  testId: `${testId}-message`,
60
- maxLines: 3
66
+ maxLines: 3,
67
+ className: ax([fg('platform-linking-visual-refresh-v1') && "_syaz1fxt"])
61
68
  }));
62
69
  };
70
+ const NotFoundView = props => {
71
+ if (fg('bandicoots-compiled-migration-smartcard')) {
72
+ return /*#__PURE__*/React.createElement(NotFoundViewNew, props);
73
+ } else {
74
+ return /*#__PURE__*/React.createElement(NotFoundViewOld, props);
75
+ }
76
+ };
63
77
  export default withFlexibleUIBlockCardStyle(NotFoundView);
@@ -0,0 +1,61 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
2
+ import React, { useMemo } from 'react';
3
+ import { useIntl } from 'react-intl-next';
4
+ import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
5
+ import LegacyLockIcon from '@atlaskit/icon/glyph/lock';
6
+ import { extractProvider } from '@atlaskit/link-extractors';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { R300 } from '@atlaskit/theme/colors';
9
+ import { messages } from '../../../messages';
10
+ import Text from '../../FlexibleCard/components/elements/text';
11
+ import UnresolvedView from './unresolved-view';
12
+
13
+ /**
14
+ * This view represents a Block Card with a 'Not_Found' status.
15
+ *
16
+ * @see SmartLinkStatus
17
+ * @see FlexibleCardProps
18
+ */
19
+ export const NotFoundViewOld = ({
20
+ testId = 'smart-block-not-found-view',
21
+ ...props
22
+ }) => {
23
+ var _cardState$details2;
24
+ const intl = useIntl();
25
+ const {
26
+ cardState
27
+ } = props;
28
+ const product = useMemo(() => {
29
+ var _cardState$details, _provider$text;
30
+ const provider = extractProvider(cardState === null || cardState === void 0 ? void 0 : (_cardState$details = cardState.details) === null || _cardState$details === void 0 ? void 0 : _cardState$details.data);
31
+ return (_provider$text = provider === null || provider === void 0 ? void 0 : provider.text) !== null && _provider$text !== void 0 ? _provider$text : '';
32
+ }, [cardState === null || cardState === void 0 ? void 0 : (_cardState$details2 = cardState.details) === null || _cardState$details2 === void 0 ? void 0 : _cardState$details2.data]);
33
+ const title = useMemo(() => intl.formatMessage(messages.not_found_title, {
34
+ product
35
+ }), [intl, product]);
36
+ const description = useMemo(() => ({
37
+ descriptor: messages.not_found_description
38
+ }), []);
39
+ return /*#__PURE__*/React.createElement(UnresolvedView, _extends({}, props, {
40
+ testId: testId,
41
+ title: title
42
+ }), fg('platform-smart-card-icon-migration') ? /*#__PURE__*/React.createElement(LockLockedIcon, {
43
+ label: "not-found-lock-icon",
44
+ color: "var(--ds-icon-danger, #C9372C)",
45
+ LEGACY_fallbackIcon: LegacyLockIcon,
46
+ LEGACY_size: "small",
47
+ testId: `${testId}-lock-icon`
48
+ }) :
49
+ /*#__PURE__*/
50
+ // eslint-disable-next-line @atlaskit/design-system/no-legacy-icons -- TODO - https://product-fabric.atlassian.net/browse/DSP-19497
51
+ React.createElement(LegacyLockIcon, {
52
+ label: "not-found-lock-icon",
53
+ size: "small",
54
+ primaryColor: `var(--ds-icon-danger, ${R300})`,
55
+ testId: `${testId}-lock-icon`
56
+ }), /*#__PURE__*/React.createElement(Text, {
57
+ message: description,
58
+ testId: `${testId}-message`,
59
+ maxLines: 3
60
+ }));
61
+ };
@@ -1,6 +1,12 @@
1
1
 
2
- ._zulpcxkx{gap:var(--ds-space-100,.5rem)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
2
+ ._zulpcxkx{gap:var(--ds-space-100,.5rem)}
3
+ ._zulpu2gc{gap:var(--ds-space-100,8px)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
4
+ ._1bah1yb4{justify-content:space-between}
5
+ ._1e0c1txw{display:flex}
3
6
  ._1sxbcxkx span[data-smart-element-avatar-group]>ul{margin-right:var(--ds-space-100,.5rem)}
7
+ ._1wpz1fhb{align-self:stretch}
8
+ ._2yhz14q2 [data-smart-element=Title]{color:var(--ds-link,#0c66e4)}
9
+ ._4cvresu3{align-items:flex-end}
4
10
  ._4t3i1k8s{height:1.5rem}
5
11
  ._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
6
12
  ._i8d01j6v [data-smart-element-group]{line-height:1rem}
@@ -11,9 +11,11 @@ import { FooterBlock, MetadataBlock, PreviewBlock, SnippetBlock, TitleBlock } fr
11
11
  import ResolvedViewOld from './ResolvedViewOld';
12
12
  import { FlexibleCardUiOptions, getSimulatedBetterMetadata, PreviewBlockOptions, titleBlockOptions } from './utils';
13
13
  import { withFlexibleUIBlockCardStyle } from './utils/withFlexibleUIBlockCardStyle';
14
+ const titleBlockCssOld = null;
14
15
  const titleBlockCss = null;
16
+ const footerBlockCssOld = null;
15
17
  const footerBlockCss = null;
16
- const metadataBlockCss = null;
18
+ const metadataBlockCssOld = null;
17
19
 
18
20
  /**
19
21
  * This view represents a Block card that has an 'Resolved' status.
@@ -67,17 +69,17 @@ const ResolvedView = ({
67
69
  }],
68
70
  metadataPosition: SmartLinkPosition.Top,
69
71
  status: status,
70
- className: ax(["_zulpcxkx _13mh1pd9"])
72
+ className: ax([fg('platform-linking-visual-refresh-v1') ? "_zulpu2gc _13mh1pd9 _2yhz14q2" : "_zulpcxkx _13mh1pd9"])
71
73
  })), /*#__PURE__*/React.createElement(MetadataBlock, {
72
74
  primary: topMetadata,
73
75
  maxLines: 1,
74
76
  status: SmartLinkStatus.Resolved,
75
- className: ax(["_wwyvidpf _1sxbcxkx _i8d01j6v"])
77
+ className: ax([!fg('platform-linking-visual-refresh-v1') && "_wwyvidpf _1sxbcxkx _i8d01j6v"])
76
78
  }), /*#__PURE__*/React.createElement(SnippetBlock, null), /*#__PURE__*/React.createElement(MetadataBlock, {
77
79
  primary: bottomMetadata,
78
80
  maxLines: 1,
79
81
  status: SmartLinkStatus.Resolved,
80
- className: ax(["_wwyvidpf _1sxbcxkx _i8d01j6v"])
82
+ className: ax([!fg('platform-linking-visual-refresh-v1') && "_wwyvidpf _1sxbcxkx _i8d01j6v"])
81
83
  }), !isPreviewBlockErrored ? /*#__PURE__*/React.createElement(PreviewBlock, _extends({}, PreviewBlockOptions, {
82
84
  onError: () => {
83
85
  setIsPreviewBlockErrored(true);
@@ -86,7 +88,7 @@ const ResolvedView = ({
86
88
  })) : null, /*#__PURE__*/React.createElement(FooterBlock, {
87
89
  actions: footerActions,
88
90
  status: SmartLinkStatus.Resolved,
89
- className: ax(["_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
91
+ className: ax([fg('platform-linking-visual-refresh-v1') ? "_4t3i1k8s _1e0c1txw _1bah1yb4 _4cvresu3 _1wpz1fhb" : "_4t3i1k8s _g0eioxwj _1qryoxwj _sxbroxwj _1gyioxwj"])
90
92
  }));
91
93
  };
92
94
  const ResolvedViewExported = props => {
@@ -1,3 +1,5 @@
1
1
  ._11c8qk37{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
2
2
  ._19pkcxkx{margin-top:var(--ds-space-100,.5rem)}
3
- ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
3
+ ._19pku2gc{margin-top:var(--ds-space-100,8px)}
4
+ ._syaz131l{color:var(--ds-text-subtlest,#626f86)}
5
+ ._syaz1fxt{color:var(--ds-text,#172b4d)}
@@ -6,6 +6,7 @@ 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 { extractProvider } from '@atlaskit/link-extractors';
9
+ import { fg } from '@atlaskit/platform-feature-flags';
9
10
  import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
10
11
  import { messages } from '../../../messages';
11
12
  import { hasAuthScopeOverrides } from '../../../state/helpers';
@@ -13,6 +14,7 @@ import UnauthorisedViewContent from '../../common/UnauthorisedViewContent';
13
14
  import { AuthorizeAction } from '../actions/AuthorizeAction';
14
15
  import UnresolvedView from './unresolved-view';
15
16
  import { withFlexibleUIBlockCardStyle } from './utils/withFlexibleUIBlockCardStyle';
17
+ const contentStylesOld = null;
16
18
  const contentStyles = null;
17
19
 
18
20
  /**
@@ -58,7 +60,7 @@ const UnauthorisedView = ({
58
60
  testId: testId
59
61
  }), /*#__PURE__*/React.createElement("div", {
60
62
  "data-testid": `${testId}-content`,
61
- className: ax(["_11c8qk37 _syaz131l _19pkcxkx"])
63
+ className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c8qk37 _syaz1fxt _19pku2gc" : "_11c8qk37 _syaz131l _19pkcxkx"])
62
64
  }, content));
63
65
  };
64
66
  export default withFlexibleUIBlockCardStyle(UnauthorisedView);
@@ -1,5 +1,14 @@
1
1
 
2
- ._zulp1f3t{gap:var(--ds-space-100,.5em)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
2
+ ._zulp1b66{gap:var(--ds-space-050,4px)}
3
+ ._zulp1f3t{gap:var(--ds-space-100,.5em)}
4
+ ._zulpu2gc{gap:var(--ds-space-100,8px)}._13mh1pd9 [data-smart-element=Title]{font-weight:var(--ds-font-weight-semibold,600)}
5
+ ._1bah1yb4{justify-content:space-between}
6
+ ._1e0c1txw{display:flex}
7
+ ._1wpz1fhb{align-self:stretch}
8
+ ._2yhz14q2 [data-smart-element=Title]{color:var(--ds-link,#0c66e4)}
3
9
  ._4cvr1y6m{align-items:flex-start}
10
+ ._4cvresu3{align-items:flex-end}
4
11
  ._4t3i1k8s{height:1.5rem}
5
- ._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
12
+ ._7yjtidpf >div{margin-top:0}
13
+ ._g0eioxwj .actions-button-group button, ._1qryoxwj .actions-button-group button:active, ._sxbroxwj .actions-button-group button:focus, ._1gyioxwj .actions-button-group button:hover{font-size:.875rem}
14
+ ._ngc01fxt >div{color:var(--ds-text,#172b4d)}