@atlaskit/smart-card 33.3.0 → 34.0.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 (148) 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/styled.js +1 -0
  4. package/dist/cjs/view/EmbedModal/components/link-info/styled.js +2 -0
  5. package/dist/cjs/view/FlexibleCard/components/actions/action/action-button/index.js +1 -0
  6. package/dist/cjs/view/FlexibleCard/components/actions/action/action-icon/index.js +3 -0
  7. package/dist/cjs/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -0
  8. package/dist/cjs/view/FlexibleCard/components/blocks/action-group/index.js +1 -0
  9. package/dist/cjs/view/FlexibleCard/components/blocks/metadata-block/index.js +1 -1
  10. package/dist/cjs/view/FlexibleCard/components/blocks/utils.js +1 -0
  11. package/dist/cjs/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  12. package/dist/cjs/view/FlexibleCard/components/elements/icon/index.js +1 -1
  13. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/index.js +1 -0
  14. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +2 -0
  15. package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -0
  16. package/dist/cjs/view/FlexibleCard/components/utils.js +3 -3
  17. package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +8 -2
  18. package/dist/cjs/view/InlineCard/ErroredView/index.js +6 -2
  19. package/dist/cjs/view/InlineCard/ForbiddenView/index.js +40 -15
  20. package/dist/cjs/view/InlineCard/Frame/index.js +3 -1
  21. package/dist/cjs/view/InlineCard/Frame/styled-emotion.js +137 -0
  22. package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +53 -0
  23. package/dist/cjs/view/InlineCard/Frame/styled.js +49 -124
  24. package/dist/cjs/view/InlineCard/Icon-emotion.js +58 -0
  25. package/dist/cjs/view/InlineCard/Icon.compiled.css +10 -0
  26. package/dist/cjs/view/InlineCard/Icon.js +39 -18
  27. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +6 -0
  28. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +99 -25
  29. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled-emotion.js +95 -0
  30. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.compiled.css +36 -0
  31. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.js +128 -45
  32. package/dist/cjs/view/InlineCard/ResolvingView/index.js +30 -12
  33. package/dist/cjs/view/InlineCard/ResolvingView/styled-emotion.js +16 -0
  34. package/dist/cjs/view/InlineCard/ResolvingView/styled.compiled.css +5 -0
  35. package/dist/cjs/view/InlineCard/ResolvingView/styled.js +26 -8
  36. package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +42 -16
  37. package/dist/cjs/view/InlineCard/styled-emotion.js +55 -0
  38. package/dist/cjs/view/InlineCard/styled.compiled.css +21 -0
  39. package/dist/cjs/view/InlineCard/styled.js +25 -45
  40. package/dist/cjs/view/LinkUrl/index.js +1 -1
  41. package/dist/es2019/utils/analytics/analytics.js +1 -1
  42. package/dist/es2019/view/BlockCard/views/styled.js +1 -0
  43. package/dist/es2019/view/EmbedModal/components/link-info/styled.js +2 -0
  44. package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +1 -0
  45. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +3 -0
  46. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -0
  47. package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.js +1 -0
  48. package/dist/es2019/view/FlexibleCard/components/blocks/metadata-block/index.js +1 -1
  49. package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +1 -0
  50. package/dist/es2019/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  51. package/dist/es2019/view/FlexibleCard/components/elements/icon/index.js +1 -1
  52. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/index.js +1 -0
  53. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +2 -0
  54. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -0
  55. package/dist/es2019/view/FlexibleCard/components/utils.js +3 -3
  56. package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +8 -2
  57. package/dist/es2019/view/InlineCard/ErroredView/index.js +6 -2
  58. package/dist/es2019/view/InlineCard/ForbiddenView/index.js +40 -15
  59. package/dist/es2019/view/InlineCard/Frame/index.js +3 -1
  60. package/dist/es2019/view/InlineCard/Frame/styled-emotion.js +143 -0
  61. package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +53 -0
  62. package/dist/es2019/view/InlineCard/Frame/styled.js +44 -136
  63. package/dist/es2019/view/InlineCard/Icon-emotion.js +52 -0
  64. package/dist/es2019/view/InlineCard/Icon.compiled.css +10 -0
  65. package/dist/es2019/view/InlineCard/Icon.js +31 -15
  66. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +6 -0
  67. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +87 -18
  68. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled-emotion.js +114 -0
  69. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.compiled.css +36 -0
  70. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.js +115 -43
  71. package/dist/es2019/view/InlineCard/ResolvingView/index.js +30 -12
  72. package/dist/es2019/view/InlineCard/ResolvingView/styled-emotion.js +9 -0
  73. package/dist/es2019/view/InlineCard/ResolvingView/styled.compiled.css +5 -0
  74. package/dist/es2019/view/InlineCard/ResolvingView/styled.js +20 -6
  75. package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +42 -16
  76. package/dist/es2019/view/InlineCard/styled-emotion.js +47 -0
  77. package/dist/es2019/view/InlineCard/styled.compiled.css +21 -0
  78. package/dist/es2019/view/InlineCard/styled.js +19 -43
  79. package/dist/es2019/view/LinkUrl/index.js +1 -1
  80. package/dist/esm/utils/analytics/analytics.js +1 -1
  81. package/dist/esm/view/BlockCard/views/styled.js +1 -0
  82. package/dist/esm/view/EmbedModal/components/link-info/styled.js +2 -0
  83. package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +1 -0
  84. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +3 -0
  85. package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -0
  86. package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.js +1 -0
  87. package/dist/esm/view/FlexibleCard/components/blocks/metadata-block/index.js +1 -1
  88. package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -0
  89. package/dist/esm/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  90. package/dist/esm/view/FlexibleCard/components/elements/icon/index.js +1 -1
  91. package/dist/esm/view/FlexibleCard/components/elements/lozenge/index.js +1 -0
  92. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +2 -0
  93. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -0
  94. package/dist/esm/view/FlexibleCard/components/utils.js +3 -3
  95. package/dist/esm/view/HoverCard/components/HoverCardComponent.js +8 -2
  96. package/dist/esm/view/InlineCard/ErroredView/index.js +6 -2
  97. package/dist/esm/view/InlineCard/ForbiddenView/index.js +40 -15
  98. package/dist/esm/view/InlineCard/Frame/index.js +3 -1
  99. package/dist/esm/view/InlineCard/Frame/styled-emotion.js +131 -0
  100. package/dist/esm/view/InlineCard/Frame/styled.compiled.css +53 -0
  101. package/dist/esm/view/InlineCard/Frame/styled.js +46 -125
  102. package/dist/esm/view/InlineCard/Icon-emotion.js +51 -0
  103. package/dist/esm/view/InlineCard/Icon.compiled.css +10 -0
  104. package/dist/esm/view/InlineCard/Icon.js +36 -17
  105. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +6 -0
  106. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +90 -18
  107. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled-emotion.js +87 -0
  108. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.compiled.css +36 -0
  109. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.js +124 -43
  110. package/dist/esm/view/InlineCard/ResolvingView/index.js +30 -12
  111. package/dist/esm/view/InlineCard/ResolvingView/styled-emotion.js +9 -0
  112. package/dist/esm/view/InlineCard/ResolvingView/styled.compiled.css +5 -0
  113. package/dist/esm/view/InlineCard/ResolvingView/styled.js +22 -6
  114. package/dist/esm/view/InlineCard/UnauthorisedView/index.js +42 -16
  115. package/dist/esm/view/InlineCard/styled-emotion.js +47 -0
  116. package/dist/esm/view/InlineCard/styled.compiled.css +21 -0
  117. package/dist/esm/view/InlineCard/styled.js +21 -43
  118. package/dist/esm/view/LinkUrl/index.js +1 -1
  119. package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +1 -1
  120. package/dist/types/view/HoverCard/types.d.ts +15 -0
  121. package/dist/types/view/InlineCard/Frame/styled-emotion.d.ts +17 -0
  122. package/dist/types/view/InlineCard/Frame/styled.d.ts +8 -10
  123. package/dist/types/view/InlineCard/Icon-emotion.d.ts +12 -0
  124. package/dist/types/view/InlineCard/Icon.d.ts +2 -8
  125. package/dist/types/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +36 -0
  126. package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +8 -34
  127. package/dist/types/view/InlineCard/ResolvingView/styled-emotion.d.ts +9 -0
  128. package/dist/types/view/InlineCard/ResolvingView/styled.d.ts +1 -8
  129. package/dist/types/view/InlineCard/styled-emotion.d.ts +13 -0
  130. package/dist/types/view/InlineCard/styled.d.ts +1 -12
  131. package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +1 -1
  132. package/dist/types-ts4.5/view/HoverCard/types.d.ts +15 -0
  133. package/dist/types-ts4.5/view/InlineCard/Frame/styled-emotion.d.ts +17 -0
  134. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +8 -10
  135. package/dist/types-ts4.5/view/InlineCard/Icon-emotion.d.ts +12 -0
  136. package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +2 -8
  137. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +36 -0
  138. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +8 -34
  139. package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled-emotion.d.ts +9 -0
  140. package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled.d.ts +1 -8
  141. package/dist/types-ts4.5/view/InlineCard/styled-emotion.d.ts +13 -0
  142. package/dist/types-ts4.5/view/InlineCard/styled.d.ts +1 -12
  143. package/hooks/package.json +3 -1
  144. package/hover-card/package.json +3 -1
  145. package/link-url/package.json +3 -1
  146. package/package.json +14 -4
  147. package/ssr/package.json +3 -1
  148. package/types/package.json +3 -1
@@ -1,129 +1,50 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
5
- import styled from '@emotion/styled';
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.35.0 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["truncateInline", "withoutBackground", "isHovered", "isInteractive", "isSelected", "href"],
5
+ _excluded2 = ["truncateInline", "withoutBackground", "isHovered", "isInteractive", "isSelected", "href"];
6
+ import "./styled.compiled.css";
7
+ import { ax, ix } from "@compiled/react/runtime";
8
+ import React, { forwardRef } from 'react';
6
9
  import { B100, B200, B400, B50, N40 } from '@atlaskit/theme/colors';
7
10
  var lineHeight = 22;
8
- var selectedStyles = {
9
- cursor: 'pointer',
10
- boxShadow: "0 0 0 2px ".concat("var(--ds-border-selected, ".concat(B100, ")")),
11
- outline: 'none',
12
- userSelect: 'none',
13
- '&, :hover, :focus, :active': {
14
- textDecoration: 'none'
15
- },
16
- '&:hover': {
17
- border: "1px solid ".concat("var(--ds-border, ".concat(N40, ")"))
18
- }
19
- };
20
- var isInteractive = function isInteractive(_ref) {
21
- var isInteractive = _ref.isInteractive;
22
- if (isInteractive) {
23
- return {
24
- ':active': {
25
- backgroundColor: "var(--ds-background-selected, ".concat(B50, ")")
26
- },
27
- ':focus': selectedStyles
28
- };
29
- }
30
- return undefined;
31
- };
32
- var isSelected = function isSelected(_ref2) {
33
- var isSelected = _ref2.isSelected;
34
- if (isSelected) {
35
- return selectedStyles;
36
- } else {
37
- return {
38
- userSelect: 'text'
39
- };
40
- }
41
- };
42
- var hoveredStyles = {
43
- borderColor: "var(--ds-border-accent-blue, ".concat(B200, ")")
44
- };
45
- var activeHoveredFocusedStyles = function activeHoveredFocusedStyles(props) {
46
- if (props.withoutBackground) {
47
- return undefined;
48
- }
49
- return {
50
- textDecoration: 'none'
51
- };
52
- };
53
- var hoveredWihBorderStyles = function hoveredWihBorderStyles(props) {
54
- return _objectSpread(_objectSpread({}, hoveredStyles), activeHoveredFocusedStyles(props));
55
- };
56
-
57
- /*
58
- Inline smart cards should have the following layout:
59
- ------------------------------------
60
- | icon | title | action OR lozenge |
61
- ------------------------------------
62
- The aim is to ensure (1) all children are
63
- in line with each other, (2) are vertically
64
- centered.
65
- */
66
- // NB: `padding` consistent with @mentions.
67
- // NB: `display: inline` required for `box-decoration-break` to work.
68
- // NB: `box-decoration-break` required for retaining properties (border-radius) on wrap.
69
- var baseWrapperStyles = function baseWrapperStyles(props) {
70
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({
71
- lineHeight: "".concat(lineHeight, "px"),
72
- padding: "var(--ds-space-025, 2px)".concat(" 0px")
73
- }, props.withoutBackground ? {
74
- paddingLeft: 0,
75
- marginLeft: "var(--ds-space-negative-025, -2px)"
76
- } : undefined), {}, {
77
- display: 'inline',
78
- boxDecorationBreak: 'clone',
79
- borderRadius: "var(--ds-border-radius-100, 4px)",
80
- color: "var(--ds-link, ".concat(B400, ")")
81
- }, props.withoutBackground ? undefined : {
82
- backgroundColor: "var(--ds-surface-raised, white)"
83
- }), isSelected(props)), props.withoutBackground ? undefined : {
84
- border: "1px solid ".concat("var(--ds-border, ".concat(N40, ")"))
85
- }), {}, {
86
- '&:hover': hoveredStyles,
87
- '&, :hover, :focus, :active': activeHoveredFocusedStyles(props),
88
- transition: '0.1s all ease-in-out',
89
- MozUserSelect: 'none'
90
- }, props.isHovered ? hoveredWihBorderStyles(props) : undefined);
91
- };
92
- var truncateStyles = {
93
- overflow: 'hidden',
94
- textOverflow: 'ellipsis',
95
- wordBreak: 'break-all',
96
- // The height of a truncated card is 1px higher than that of a non-truncated card, so we subtract 1px from the line height.
97
- lineHeight: "".concat(lineHeight - 1, "px"),
98
- display: '-webkit-inline-box',
99
- WebkitLineClamp: 1,
100
- WebkitBoxOrient: 'vertical',
101
- // We need to remove the padding because display: -webkit-inline-box will cause any padding to be
102
- // added to the total height, causing truncated cards to have greater height than non-truncated cards which use display: inline.
103
- padding: 0,
104
- '@supports not (-webkit-line-clamp: 1)': {
105
- display: 'inline-block',
106
- maxHeight: "".concat(lineHeight, "px"),
107
- // If the browser does not support webkit, we don't need to remove the padding
108
- padding: "var(--ds-space-025, 2px)".concat(" 0px")
109
- }
110
- };
111
- var isTruncated = function isTruncated(_ref3) {
112
- var truncateInline = _ref3.truncateInline;
113
- if (truncateInline) {
114
- return truncateStyles;
115
- }
116
- return undefined;
117
- };
118
-
119
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
120
- export var WrapperAnchor = styled.a(function (props) {
121
- return _objectSpread(_objectSpread(_objectSpread({}, baseWrapperStyles(props)), isInteractive(props)), isTruncated(props));
11
+ export var WrapperSpan = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
+ var truncateInline = _ref.truncateInline,
13
+ withoutBackground = _ref.withoutBackground,
14
+ isHovered = _ref.isHovered,
15
+ isInteractive = _ref.isInteractive,
16
+ isSelected = _ref.isSelected,
17
+ href = _ref.href,
18
+ props = _objectWithoutProperties(_ref, _excluded);
19
+ return /*#__PURE__*/React.createElement("span", _extends({
20
+ ref: ref
21
+ }, props, {
22
+ className: ax(["_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv"])
23
+ }), props.children);
122
24
  });
123
- WrapperAnchor.displayName = 'WrapperAnchor';
124
-
125
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-dynamic-styles -- Ignored via go/DSP-18766
126
- export var WrapperSpan = styled.span(function (props) {
127
- return _objectSpread(_objectSpread({}, baseWrapperStyles(props)), isTruncated(props));
25
+ export var WrapperAnchor = /*#__PURE__*/forwardRef(function (_ref2, ref) {
26
+ var truncateInline = _ref2.truncateInline,
27
+ withoutBackground = _ref2.withoutBackground,
28
+ isHovered = _ref2.isHovered,
29
+ isInteractive = _ref2.isInteractive,
30
+ isSelected = _ref2.isSelected,
31
+ href = _ref2.href,
32
+ props = _objectWithoutProperties(_ref2, _excluded2);
33
+ return /*#__PURE__*/React.createElement("a", _extends({
34
+ href: href,
35
+ ref: ref
36
+ }, props, {
37
+ className: ax(["_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehicw00 _1j5pglyw _1di629zg"])
38
+ }), props.children);
128
39
  });
129
- WrapperSpan.displayName = 'WrapperSpan';
40
+ var baseWrapperStyles = null;
41
+
42
+ // if the parent instruct the wrapper to be interactive, and the wrapper is in focus, apply selectedStyles
43
+ var interactiveStyles = null;
44
+ var hoveredStyles = null;
45
+ var hoveredWithBackgroundStyles = null;
46
+ var withoutBackgroundStyles = null;
47
+ var withBackgroundStyles = null;
48
+ var truncateStyles = null;
49
+ var notSelectedStyle = null;
50
+ var selectedStyles = null;
@@ -0,0 +1,51 @@
1
+ import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
+ import styled from '@emotion/styled';
5
+ import { SpanSkeleton } from '@atlaskit/linking-common';
6
+ // TODO: Figure out a more scalable/responsive solution
7
+ // for vertical alignment.
8
+ // Current rationale: vertically positioned at the top of
9
+ // the smart card container (when set to 0). Offset this
10
+ // to position it with appropriate whitespace from the top.
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
+ export var Icon = styled.img({
13
+ height: '16px',
14
+ width: '16px',
15
+ marginRight: "var(--ds-space-050, 4px)",
16
+ borderRadius: '2px',
17
+ userSelect: 'none',
18
+ position: 'absolute',
19
+ top: '50%',
20
+ left: '50%',
21
+ transform: 'translate(-50%, -50%)'
22
+ });
23
+
24
+ // Used for 'untrue' icons which claim to be 16x16 but
25
+ // are less than that in height/width.
26
+ // TODO: Replace this override with proper AtlasKit solution.
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
28
+ export var AKIconWrapper = styled.span({
29
+ marginRight: "var(--ds-space-negative-025, -2px)"
30
+ });
31
+ export var Shimmer = function Shimmer(_ref) {
32
+ var testId = _ref.testId;
33
+ var skeletonCustomStyles = {
34
+ position: 'absolute',
35
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
36
+ top: '50%',
37
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
38
+ left: '50%',
39
+ transform: 'translate(-50%, -50%)',
40
+ marginRight: "var(--ds-space-050, 4px)"
41
+ };
42
+ return /*#__PURE__*/React.createElement(SpanSkeleton, {
43
+ width: 16,
44
+ height: 16,
45
+ borderRadius: 2,
46
+ testId: testId
47
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
48
+ ,
49
+ style: skeletonCustomStyles
50
+ });
51
+ };
@@ -0,0 +1,10 @@
1
+
2
+ ._2rkoyh40{border-radius:2px}._154i1ssb{top:50%}
3
+ ._1bsb7vkz{width:1pc}
4
+ ._1ltv1ssb{left:50%}
5
+ ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
6
+ ._2hwx1i6y{margin-right:var(--ds-space-negative-025,-2px)}
7
+ ._4t3i7vkz{height:1pc}
8
+ ._kqswstnw{position:absolute}
9
+ ._t9ec1ooe{transform:translate(-50%,-50%)}
10
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -1,7 +1,12 @@
1
+ /* Icon.tsx generated by @compiled/babel-plugin v0.35.0 */
2
+ import _extends from "@babel/runtime/helpers/extends";
3
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
+ var _excluded = ["as", "style"],
5
+ _excluded2 = ["as", "style"];
6
+ import "./Icon.compiled.css";
7
+ import { forwardRef } from 'react';
8
+ import { ax, ix } from "@compiled/react/runtime";
1
9
  import React from 'react';
2
-
3
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
- import styled from '@emotion/styled';
5
10
  import { SpanSkeleton } from '@atlaskit/linking-common';
6
11
  // TODO: Figure out a more scalable/responsive solution
7
12
  // for vertical alignment.
@@ -9,27 +14,41 @@ import { SpanSkeleton } from '@atlaskit/linking-common';
9
14
  // the smart card container (when set to 0). Offset this
10
15
  // to position it with appropriate whitespace from the top.
11
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
12
- export var Icon = styled.img({
13
- height: '16px',
14
- width: '16px',
15
- marginRight: "var(--ds-space-050, 4px)",
16
- borderRadius: '2px',
17
- userSelect: 'none',
18
- position: 'absolute',
19
- top: '50%',
20
- left: '50%',
21
- transform: 'translate(-50%, -50%)'
17
+ export var Icon = forwardRef(function (_ref, __cmplr) {
18
+ var _ref$as = _ref.as,
19
+ C = _ref$as === void 0 ? "img" : _ref$as,
20
+ __cmpls = _ref.style,
21
+ __cmplp = _objectWithoutProperties(_ref, _excluded);
22
+ return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
23
+ style: __cmpls,
24
+ ref: __cmplr,
25
+ className: ax(["_2rkoyh40 _4t3i7vkz _1bsb7vkz _2hwx1b66 _uiztglyw _kqswstnw _154i1ssb _1ltv1ssb _t9ec1ooe", __cmplp.className])
26
+ }));
22
27
  });
23
28
 
24
29
  // Used for 'untrue' icons which claim to be 16x16 but
25
30
  // are less than that in height/width.
26
31
  // TODO: Replace this override with proper AtlasKit solution.
27
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
28
- export var AKIconWrapper = styled.span({
29
- marginRight: "var(--ds-space-negative-025, -2px)"
33
+ if (process.env.NODE_ENV !== 'production') {
34
+ Icon.displayName = 'Icon';
35
+ }
36
+ export var AKIconWrapper = forwardRef(function (_ref2, __cmplr) {
37
+ var _ref2$as = _ref2.as,
38
+ C = _ref2$as === void 0 ? "span" : _ref2$as,
39
+ __cmpls = _ref2.style,
40
+ __cmplp = _objectWithoutProperties(_ref2, _excluded2);
41
+ return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
42
+ style: __cmpls,
43
+ ref: __cmplr,
44
+ className: ax(["_2hwx1i6y", __cmplp.className])
45
+ }));
30
46
  });
31
- export var Shimmer = function Shimmer(_ref) {
32
- var testId = _ref.testId;
47
+ if (process.env.NODE_ENV !== 'production') {
48
+ AKIconWrapper.displayName = 'AKIconWrapper';
49
+ }
50
+ export var Shimmer = function Shimmer(_ref3) {
51
+ var testId = _ref3.testId;
33
52
  var skeletonCustomStyles = {
34
53
  position: 'absolute',
35
54
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
@@ -0,0 +1,6 @@
1
+ ._18u01b66{margin-left:var(--ds-space-050,4px)}
2
+ ._syaz1wmz{color:var(--ds-text-subtlest,#6b778c)}
3
+ ._syaz1y58{color:var(--ds-link,#0052cc)}
4
+ ._1bnxglyw:hover{text-decoration-line:none}
5
+ ._9oik18uv:hover{text-decoration-color:initial}
6
+ ._jf4cnqa1:hover{text-decoration-style:solid}
@@ -1,17 +1,59 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.35.0 */
1
2
  import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
3
  import _createClass from "@babel/runtime/helpers/createClass";
3
4
  import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
4
5
  import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
5
6
  import _inherits from "@babel/runtime/helpers/inherits";
6
7
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
+ import _extends from "@babel/runtime/helpers/extends";
9
+ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
10
+ var _excluded = ["as", "style"],
11
+ _excluded2 = ["as", "style"];
12
+ import "./index.compiled.css";
13
+ import { forwardRef } from 'react';
14
+ import { ax, ix } from "@compiled/react/runtime";
7
15
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
16
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
17
  import React from 'react';
10
18
  import ImageLoader from 'react-render-image';
11
19
  import LinkIcon from '@atlaskit/icon/core/migration/link';
20
+ import { fg } from '@atlaskit/platform-feature-flags';
21
+ import { B400, N200 } from '@atlaskit/theme/colors';
12
22
  import { Icon, Shimmer } from '../Icon';
13
- import { LinkAppearance, NoLinkAppearance } from '../styled';
23
+ import { LinkAppearance as LinkAppearanceOld, NoLinkAppearance as NoLinkAppearanceOld } from '../styled-emotion';
14
24
  import { EmojiWrapper, IconEmptyWrapper, IconPositionWrapper, IconTitleWrapper, IconWrapper, TitleWrapper, TitleWrapperClassName } from './styled';
25
+ import { EmojiWrapper as EmojiWrapperOld, IconEmptyWrapper as IconEmptyWrapperOld, IconPositionWrapper as IconPositionWrapperOld, IconTitleWrapper as IconTitleWrapperOld, IconWrapper as IconWrapperOld, TitleWrapper as TitleWrapperOld } from './styled-emotion';
26
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
27
+ var NoLinkAppearance = forwardRef(function (_ref, __cmplr) {
28
+ var _ref$as = _ref.as,
29
+ C = _ref$as === void 0 ? "span" : _ref$as,
30
+ __cmpls = _ref.style,
31
+ __cmplp = _objectWithoutProperties(_ref, _excluded);
32
+ return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
33
+ style: __cmpls,
34
+ ref: __cmplr,
35
+ className: ax(["_syaz1wmz _18u01b66", __cmplp.className])
36
+ }));
37
+ });
38
+
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- Ignored via go/DSP-18766
40
+ if (process.env.NODE_ENV !== 'production') {
41
+ NoLinkAppearance.displayName = 'NoLinkAppearance';
42
+ }
43
+ var LinkAppearance = forwardRef(function (_ref2, __cmplr) {
44
+ var _ref2$as = _ref2.as,
45
+ C = _ref2$as === void 0 ? "a" : _ref2$as,
46
+ __cmpls = _ref2.style,
47
+ __cmplp = _objectWithoutProperties(_ref2, _excluded2);
48
+ return /*#__PURE__*/React.createElement(C, _extends({}, __cmplp, {
49
+ style: __cmpls,
50
+ ref: __cmplr,
51
+ className: ax(["_syaz1y58 _9oik18uv _1bnxglyw _jf4cnqa1", __cmplp.className])
52
+ }));
53
+ });
54
+ if (process.env.NODE_ENV !== 'production') {
55
+ LinkAppearance.displayName = 'LinkAppearance';
56
+ }
15
57
  export var IconAndTitleLayout = /*#__PURE__*/function (_React$Component) {
16
58
  function IconAndTitleLayout() {
17
59
  var _this;
@@ -49,12 +91,12 @@ export var IconAndTitleLayout = /*#__PURE__*/function (_React$Component) {
49
91
  icon = _this$props.icon,
50
92
  emoji = _this$props.emoji;
51
93
  if (emoji) {
52
- return /*#__PURE__*/React.createElement(EmojiWrapper, null, emoji);
94
+ return fg('bandicoots-compiled-migration-smartcard') ? /*#__PURE__*/React.createElement(EmojiWrapper, null, emoji) : /*#__PURE__*/React.createElement(EmojiWrapperOld, null, emoji);
53
95
  }
54
96
  if (!icon || typeof icon === 'string') {
55
97
  return null;
56
98
  }
57
- return /*#__PURE__*/React.createElement(IconWrapper, null, icon);
99
+ return fg('bandicoots-compiled-migration-smartcard') ? /*#__PURE__*/React.createElement(IconWrapper, null, icon) : /*#__PURE__*/React.createElement(IconWrapperOld, null, icon);
58
100
  }
59
101
  }, {
60
102
  key: "renderImageIcon",
@@ -119,12 +161,25 @@ export var IconAndTitleLayout = /*#__PURE__*/function (_React$Component) {
119
161
  rightSide = _this$props2.rightSide,
120
162
  _this$props2$testId = _this$props2.testId,
121
163
  testId = _this$props2$testId === void 0 ? 'inline-card-icon-and-title' : _this$props2$testId;
122
- var titlePart = /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconPositionWrapper, {
164
+ var titlePart = fg('bandicoots-compiled-migration-smartcard') ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconPositionWrapper, {
123
165
  "data-testid": "icon-position-wrapper"
124
166
  }, children || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconEmptyWrapper, {
125
167
  "data-testid": "icon-empty-wrapper"
126
168
  }), this.renderIcon(testId))), /*#__PURE__*/React.createElement(TitleWrapper
127
169
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
170
+ , {
171
+ style: {
172
+ color: titleTextColor
173
+ }
174
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
175
+ ,
176
+ className: TitleWrapperClassName
177
+ }, title)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconPositionWrapperOld, {
178
+ "data-testid": "icon-position-wrapper"
179
+ }, children || /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(IconEmptyWrapperOld, {
180
+ "data-testid": "icon-empty-wrapper"
181
+ }), this.renderIcon(testId))), /*#__PURE__*/React.createElement(TitleWrapperOld
182
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
128
183
  , {
129
184
  style: {
130
185
  color: titleTextColor
@@ -133,20 +188,37 @@ export var IconAndTitleLayout = /*#__PURE__*/function (_React$Component) {
133
188
  ,
134
189
  className: TitleWrapperClassName
135
190
  }, title));
136
- return (
137
- /*#__PURE__*/
138
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
139
- React.createElement(IconTitleWrapper, {
140
- style: {
141
- color: titleColor
142
- },
143
- "data-testid": testId
144
- }, link ? /*#__PURE__*/React.createElement(LinkAppearance, {
145
- href: link,
146
- onClick: this.handleClick,
147
- onKeyPress: this.handleKeyPress
148
- }, titlePart) : titlePart, rightSide ? /*#__PURE__*/React.createElement(NoLinkAppearance, null, rightSide) : null)
149
- );
191
+ if (fg('bandicoots-compiled-migration-smartcard')) {
192
+ return (
193
+ /*#__PURE__*/
194
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
195
+ React.createElement(IconTitleWrapper, {
196
+ style: {
197
+ color: titleColor
198
+ },
199
+ "data-testid": testId
200
+ }, link ? /*#__PURE__*/React.createElement(LinkAppearance, {
201
+ href: link,
202
+ onClick: this.handleClick,
203
+ onKeyPress: this.handleKeyPress
204
+ }, titlePart) : titlePart, rightSide ? /*#__PURE__*/React.createElement(NoLinkAppearance, null, rightSide) : null)
205
+ );
206
+ } else {
207
+ return (
208
+ /*#__PURE__*/
209
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
210
+ React.createElement(IconTitleWrapperOld, {
211
+ style: {
212
+ color: titleColor
213
+ },
214
+ "data-testid": testId
215
+ }, link ? /*#__PURE__*/React.createElement(LinkAppearanceOld, {
216
+ href: link,
217
+ onClick: this.handleClick,
218
+ onKeyPress: this.handleKeyPress
219
+ }, titlePart) : titlePart, rightSide ? /*#__PURE__*/React.createElement(NoLinkAppearanceOld, null, rightSide) : null)
220
+ );
221
+ }
150
222
  }
151
223
  }]);
152
224
  }(React.Component);
@@ -0,0 +1,87 @@
1
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
+ import styled from '@emotion/styled';
3
+ // Wraps all icons represented in Inline Links. Icons have three sources/types:
4
+ // - JSON-LD: from the generator.icon property coming back from ORS.
5
+ // - @atlaskit/icon: for lock icons, unauthorized, etc.
6
+ // - @atlaskit/icon-object: for object icons, e.g. repository, branch, etc.
7
+ // NB: the first set of overrides style icons imported from @atlaskit/icon-object correctly.
8
+ // NB: the second set of overrides style icons imported from @atlaskit/icon correctly.
9
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
10
+
11
+ // TODO: remove this override behaviour for @atlaskit/icon-object
12
+ export var IconObjectOverrides = "\n & > span {\n height: 16px;\n width: 16px;\n position: absolute;\n top: 3px;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
13
+
14
+ // TODO: remove this override behaviour for @atlaskit/icon
15
+ export var IconOverrides = "\n & > * > span {\n height: 16px;\n width: 16px;\n position: absolute;\n left: 0;\n & > svg {\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n }\n";
16
+
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
+ export var IconWrapper = styled.span({
19
+ userSelect: 'none'
20
+ },
21
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
22
+ IconOverrides,
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
24
+ IconObjectOverrides);
25
+
26
+ // Wraps all emoji in Inline Links similar to icon
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
28
+ export var EmojiWrapper = styled.span({
29
+ display: 'inline-block',
30
+ marginRight: "var(--ds-space-025, 2px)",
31
+ userSelect: 'none'
32
+ },
33
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
34
+ IconOverrides,
35
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
36
+ IconObjectOverrides);
37
+
38
+ // The main 'wrapping' element, title of the content.
39
+ // NB: `white-space` adds little whitespace before wrapping.
40
+ // NB: `word-break` line breaks as soon as an overflow takes place.
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
42
+ export var IconTitleWrapper = styled.span({
43
+ whiteSpace: 'pre-wrap',
44
+ wordBreak: 'break-all',
45
+ boxDecorationBreak: 'clone',
46
+ padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)")
47
+ });
48
+
49
+ // TODO: Replace overrides with proper AtlasKit solution.
50
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
51
+ export var LozengeWrapper = styled.span({
52
+ display: 'inline-block',
53
+ verticalAlign: '1px',
54
+ margin: "0 ".concat("var(--ds-space-050, 4px)", " 0 ", "var(--ds-space-025, 2px)")
55
+ });
56
+
57
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
58
+ export var RightIconPositionWrapper = styled.span({
59
+ marginLeft: "var(--ds-space-025, 2px)",
60
+ position: 'relative',
61
+ display: 'inline-block'
62
+ });
63
+
64
+ // The following components are used to absolutely position icons in the vertical center.
65
+ // - IconPositionWrapper: the `relative` parent which has no height in itself.
66
+ // - IconEmptyWrapper: the child which forces `IconPositionWrapper` to have a height.
67
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
68
+ export var IconPositionWrapper = styled.span({
69
+ marginRight: "var(--ds-space-050, 4px)",
70
+ position: 'relative',
71
+ display: 'inline-block'
72
+ });
73
+
74
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
75
+ export var IconEmptyWrapper = styled.span({
76
+ width: '16px',
77
+ height: '100%',
78
+ display: 'inline-block',
79
+ opacity: 0
80
+ });
81
+
82
+ // With emotion it's not possible to use reference to `TitleWrapper` as part of a selector,
83
+ // To achieve same result we use classname instead.
84
+ export var TitleWrapperClassName = 'smart-link-title-wrapper';
85
+
86
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/design-system/no-empty-styled-expression -- Ignored via go/DSP-18766
87
+ export var TitleWrapper = styled.span({});
@@ -0,0 +1,36 @@
1
+ ._15x0stnw>*>span>svg{position:absolute}
2
+ ._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
3
+ ._17047vkz>*>span{height:1pc}
4
+ ._18lx1ooe>span>svg{transform:translate(-50%,-50%)}
5
+ ._18u0v77o{margin-left:var(--ds-space-025,2px)}
6
+ ._19bv1b66{padding-left:var(--ds-space-050,4px)}
7
+ ._19pkidpf{margin-top:0}
8
+ ._1bsb7vkz{width:1pc}
9
+ ._1e0c1o8l{display:inline-block}
10
+ ._1f027vkz>span{height:1pc}
11
+ ._1fqgstnw>span>svg{position:absolute}
12
+ ._1gx11ssb>span>svg{left:50%}
13
+ ._1nmz9jpi{word-break:break-all}
14
+ ._1tr81ssb>*>span>svg{left:50%}
15
+ ._1yg7idpf>*>span{left:0}
16
+ ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
17
+ ._2hwxv77o{margin-right:var(--ds-space-025,2px)}
18
+ ._3g5ridpf>span{left:0}
19
+ ._4d7tstnw>span{position:absolute}
20
+ ._4t3i1osq{height:100%}
21
+ ._ca0qv77o{padding-top:var(--ds-space-025,2px)}
22
+ ._d1gw1ssb>span>svg{top:50%}
23
+ ._iibf7vkz>*>span{width:1pc}
24
+ ._k9fw1ssb>*>span>svg{top:50%}
25
+ ._kqswh2mm{position:relative}
26
+ ._lacastnw>*>span{position:absolute}
27
+ ._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
28
+ ._nbgx7vkz>span{width:1pc}
29
+ ._o5721jtm{white-space:pre-wrap}
30
+ ._o5fv1l7b>span{top:3px}
31
+ ._otyridpf{margin-bottom:0}
32
+ ._q3v31ooe>*>span>svg{transform:translate(-50%,-50%)}
33
+ ._s7n4t94y{vertical-align:1px}
34
+ ._tzy4idpf{opacity:0}
35
+ ._u5f31b66{padding-right:var(--ds-space-050,4px)}
36
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}