@atlaskit/smart-card 33.4.0 → 34.0.1

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 (143) hide show
  1. package/CHANGELOG.md +14 -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/InlineCard/ErroredView/index.js +6 -2
  18. package/dist/cjs/view/InlineCard/ForbiddenView/index.js +40 -15
  19. package/dist/cjs/view/InlineCard/Frame/index.js +3 -1
  20. package/dist/cjs/view/InlineCard/Frame/styled-emotion.js +137 -0
  21. package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +53 -0
  22. package/dist/cjs/view/InlineCard/Frame/styled.js +49 -124
  23. package/dist/cjs/view/InlineCard/Icon-emotion.js +58 -0
  24. package/dist/cjs/view/InlineCard/Icon.compiled.css +10 -0
  25. package/dist/cjs/view/InlineCard/Icon.js +39 -18
  26. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +6 -0
  27. package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +99 -25
  28. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled-emotion.js +95 -0
  29. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.compiled.css +36 -0
  30. package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.js +128 -45
  31. package/dist/cjs/view/InlineCard/ResolvingView/index.js +30 -12
  32. package/dist/cjs/view/InlineCard/ResolvingView/styled-emotion.js +16 -0
  33. package/dist/cjs/view/InlineCard/ResolvingView/styled.compiled.css +5 -0
  34. package/dist/cjs/view/InlineCard/ResolvingView/styled.js +26 -8
  35. package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +42 -16
  36. package/dist/cjs/view/InlineCard/styled-emotion.js +55 -0
  37. package/dist/cjs/view/InlineCard/styled.compiled.css +21 -0
  38. package/dist/cjs/view/InlineCard/styled.js +25 -45
  39. package/dist/cjs/view/LinkUrl/index.js +1 -1
  40. package/dist/es2019/utils/analytics/analytics.js +1 -1
  41. package/dist/es2019/view/BlockCard/views/styled.js +1 -0
  42. package/dist/es2019/view/EmbedModal/components/link-info/styled.js +2 -0
  43. package/dist/es2019/view/FlexibleCard/components/actions/action/action-button/index.js +1 -0
  44. package/dist/es2019/view/FlexibleCard/components/actions/action/action-icon/index.js +3 -0
  45. package/dist/es2019/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -0
  46. package/dist/es2019/view/FlexibleCard/components/blocks/action-group/index.js +1 -0
  47. package/dist/es2019/view/FlexibleCard/components/blocks/metadata-block/index.js +1 -1
  48. package/dist/es2019/view/FlexibleCard/components/blocks/utils.js +1 -0
  49. package/dist/es2019/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  50. package/dist/es2019/view/FlexibleCard/components/elements/icon/index.js +1 -1
  51. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/index.js +1 -0
  52. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +2 -0
  53. package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -0
  54. package/dist/es2019/view/FlexibleCard/components/utils.js +3 -3
  55. package/dist/es2019/view/InlineCard/ErroredView/index.js +6 -2
  56. package/dist/es2019/view/InlineCard/ForbiddenView/index.js +40 -15
  57. package/dist/es2019/view/InlineCard/Frame/index.js +3 -1
  58. package/dist/es2019/view/InlineCard/Frame/styled-emotion.js +143 -0
  59. package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +53 -0
  60. package/dist/es2019/view/InlineCard/Frame/styled.js +44 -136
  61. package/dist/es2019/view/InlineCard/Icon-emotion.js +52 -0
  62. package/dist/es2019/view/InlineCard/Icon.compiled.css +10 -0
  63. package/dist/es2019/view/InlineCard/Icon.js +31 -15
  64. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +6 -0
  65. package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +87 -18
  66. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled-emotion.js +114 -0
  67. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.compiled.css +36 -0
  68. package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.js +115 -43
  69. package/dist/es2019/view/InlineCard/ResolvingView/index.js +30 -12
  70. package/dist/es2019/view/InlineCard/ResolvingView/styled-emotion.js +9 -0
  71. package/dist/es2019/view/InlineCard/ResolvingView/styled.compiled.css +5 -0
  72. package/dist/es2019/view/InlineCard/ResolvingView/styled.js +20 -6
  73. package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +42 -16
  74. package/dist/es2019/view/InlineCard/styled-emotion.js +47 -0
  75. package/dist/es2019/view/InlineCard/styled.compiled.css +21 -0
  76. package/dist/es2019/view/InlineCard/styled.js +19 -43
  77. package/dist/es2019/view/LinkUrl/index.js +1 -1
  78. package/dist/esm/utils/analytics/analytics.js +1 -1
  79. package/dist/esm/view/BlockCard/views/styled.js +1 -0
  80. package/dist/esm/view/EmbedModal/components/link-info/styled.js +2 -0
  81. package/dist/esm/view/FlexibleCard/components/actions/action/action-button/index.js +1 -0
  82. package/dist/esm/view/FlexibleCard/components/actions/action/action-icon/index.js +3 -0
  83. package/dist/esm/view/FlexibleCard/components/blocks/action-block/action-footer/index.js +1 -0
  84. package/dist/esm/view/FlexibleCard/components/blocks/action-group/index.js +1 -0
  85. package/dist/esm/view/FlexibleCard/components/blocks/metadata-block/index.js +1 -1
  86. package/dist/esm/view/FlexibleCard/components/blocks/utils.js +1 -0
  87. package/dist/esm/view/FlexibleCard/components/common/motion-wrapper/index.js +1 -1
  88. package/dist/esm/view/FlexibleCard/components/elements/icon/index.js +1 -1
  89. package/dist/esm/view/FlexibleCard/components/elements/lozenge/index.js +1 -0
  90. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/styled.js +2 -0
  91. package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/styled.js +3 -0
  92. package/dist/esm/view/FlexibleCard/components/utils.js +3 -3
  93. package/dist/esm/view/InlineCard/ErroredView/index.js +6 -2
  94. package/dist/esm/view/InlineCard/ForbiddenView/index.js +40 -15
  95. package/dist/esm/view/InlineCard/Frame/index.js +3 -1
  96. package/dist/esm/view/InlineCard/Frame/styled-emotion.js +131 -0
  97. package/dist/esm/view/InlineCard/Frame/styled.compiled.css +53 -0
  98. package/dist/esm/view/InlineCard/Frame/styled.js +46 -125
  99. package/dist/esm/view/InlineCard/Icon-emotion.js +51 -0
  100. package/dist/esm/view/InlineCard/Icon.compiled.css +10 -0
  101. package/dist/esm/view/InlineCard/Icon.js +36 -17
  102. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +6 -0
  103. package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +90 -18
  104. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled-emotion.js +87 -0
  105. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.compiled.css +36 -0
  106. package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.js +124 -43
  107. package/dist/esm/view/InlineCard/ResolvingView/index.js +30 -12
  108. package/dist/esm/view/InlineCard/ResolvingView/styled-emotion.js +9 -0
  109. package/dist/esm/view/InlineCard/ResolvingView/styled.compiled.css +5 -0
  110. package/dist/esm/view/InlineCard/ResolvingView/styled.js +22 -6
  111. package/dist/esm/view/InlineCard/UnauthorisedView/index.js +42 -16
  112. package/dist/esm/view/InlineCard/styled-emotion.js +47 -0
  113. package/dist/esm/view/InlineCard/styled.compiled.css +21 -0
  114. package/dist/esm/view/InlineCard/styled.js +21 -43
  115. package/dist/esm/view/LinkUrl/index.js +1 -1
  116. package/dist/types/view/HoverCard/components/HoverCardComponent.d.ts +1 -1
  117. package/dist/types/view/InlineCard/Frame/styled-emotion.d.ts +17 -0
  118. package/dist/types/view/InlineCard/Frame/styled.d.ts +8 -10
  119. package/dist/types/view/InlineCard/Icon-emotion.d.ts +12 -0
  120. package/dist/types/view/InlineCard/Icon.d.ts +2 -8
  121. package/dist/types/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +36 -0
  122. package/dist/types/view/InlineCard/IconAndTitleLayout/styled.d.ts +8 -34
  123. package/dist/types/view/InlineCard/ResolvingView/styled-emotion.d.ts +9 -0
  124. package/dist/types/view/InlineCard/ResolvingView/styled.d.ts +1 -8
  125. package/dist/types/view/InlineCard/styled-emotion.d.ts +13 -0
  126. package/dist/types/view/InlineCard/styled.d.ts +1 -12
  127. package/dist/types-ts4.5/view/HoverCard/components/HoverCardComponent.d.ts +1 -1
  128. package/dist/types-ts4.5/view/InlineCard/Frame/styled-emotion.d.ts +17 -0
  129. package/dist/types-ts4.5/view/InlineCard/Frame/styled.d.ts +8 -10
  130. package/dist/types-ts4.5/view/InlineCard/Icon-emotion.d.ts +12 -0
  131. package/dist/types-ts4.5/view/InlineCard/Icon.d.ts +2 -8
  132. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled-emotion.d.ts +36 -0
  133. package/dist/types-ts4.5/view/InlineCard/IconAndTitleLayout/styled.d.ts +8 -34
  134. package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled-emotion.d.ts +9 -0
  135. package/dist/types-ts4.5/view/InlineCard/ResolvingView/styled.d.ts +1 -8
  136. package/dist/types-ts4.5/view/InlineCard/styled-emotion.d.ts +13 -0
  137. package/dist/types-ts4.5/view/InlineCard/styled.d.ts +1 -12
  138. package/hooks/package.json +3 -1
  139. package/hover-card/package.json +3 -1
  140. package/link-url/package.json +3 -1
  141. package/package.json +17 -7
  142. package/ssr/package.json +3 -1
  143. package/types/package.json +3 -1
@@ -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}
@@ -1,13 +1,28 @@
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.35.0 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
6
  Object.defineProperty(exports, "__esModule", {
5
7
  value: true
6
8
  });
7
- exports.TitleWrapperClassName = exports.TitleWrapper = exports.RightIconPositionWrapper = exports.LozengeWrapper = exports.IconWrapper = exports.IconTitleWrapper = exports.IconPositionWrapper = exports.IconOverrides = exports.IconObjectOverrides = exports.IconEmptyWrapper = exports.EmojiWrapper = void 0;
8
- var _styled = _interopRequireDefault(require("@emotion/styled"));
9
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
-
9
+ exports.TitleWrapperClassName = exports.TitleWrapper = exports.RightIconPositionWrapper = exports.LozengeWrapper = exports.IconWrapper = exports.IconTitleWrapper = exports.IconPositionWrapper = exports.IconEmptyWrapper = exports.EmojiWrapper = void 0;
10
+ require("./styled.compiled.css");
11
+ var _react = _interopRequireWildcard(require("react"));
12
+ var React = _react;
13
+ var _runtime = require("@compiled/react/runtime");
14
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
16
+ var _excluded = ["as", "style"],
17
+ _excluded2 = ["as", "style"],
18
+ _excluded3 = ["as", "style"],
19
+ _excluded4 = ["as", "style"],
20
+ _excluded5 = ["as", "style"],
21
+ _excluded6 = ["as", "style"],
22
+ _excluded7 = ["as", "style"],
23
+ _excluded8 = ["as", "style"];
24
+ 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); }
25
+ 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; }
11
26
  // Wraps all icons represented in Inline Links. Icons have three sources/types:
12
27
  // - JSON-LD: from the generator.icon property coming back from ORS.
13
28
  // - @atlaskit/icon: for lock icons, unauthorized, etc.
@@ -17,79 +32,147 @@ var _styled = _interopRequireDefault(require("@emotion/styled"));
17
32
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
18
33
 
19
34
  // TODO: remove this override behaviour for @atlaskit/icon-object
20
- var IconObjectOverrides = exports.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";
35
+ 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";
21
36
 
22
37
  // TODO: remove this override behaviour for @atlaskit/icon
23
- var IconOverrides = exports.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";
38
+ 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";
24
39
 
25
40
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
26
- var IconWrapper = exports.IconWrapper = _styled.default.span({
27
- userSelect: 'none'
28
- },
29
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
30
- IconOverrides,
31
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
32
- IconObjectOverrides);
41
+ var IconWrapper = exports.IconWrapper = (0, _react.forwardRef)(function (_ref, __cmplr) {
42
+ var _ref$as = _ref.as,
43
+ C = _ref$as === void 0 ? "span" : _ref$as,
44
+ __cmpls = _ref.style,
45
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref, _excluded);
46
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
47
+ style: __cmpls,
48
+ ref: __cmplr,
49
+ className: (0, _runtime.ax)(["_uiztglyw _17047vkz _iibf7vkz _lacastnw _1yg7idpf _15x0stnw _k9fw1ssb _1tr81ssb _q3v31ooe _1f027vkz _nbgx7vkz _4d7tstnw _o5fv1l7b _3g5ridpf _1fqgstnw _d1gw1ssb _1gx11ssb _18lx1ooe", __cmplp.className])
50
+ }));
51
+ });
33
52
 
34
53
  // Wraps all emoji in Inline Links similar to icon
35
54
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
36
- var EmojiWrapper = exports.EmojiWrapper = _styled.default.span({
37
- display: 'inline-block',
38
- marginRight: "var(--ds-space-025, 2px)",
39
- userSelect: 'none'
40
- },
41
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
42
- IconOverrides,
43
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
44
- IconObjectOverrides);
55
+ if (process.env.NODE_ENV !== 'production') {
56
+ IconWrapper.displayName = 'IconWrapper';
57
+ }
58
+ var EmojiWrapper = exports.EmojiWrapper = (0, _react.forwardRef)(function (_ref2, __cmplr) {
59
+ var _ref2$as = _ref2.as,
60
+ C = _ref2$as === void 0 ? "span" : _ref2$as,
61
+ __cmpls = _ref2.style,
62
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
63
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
64
+ style: __cmpls,
65
+ ref: __cmplr,
66
+ className: (0, _runtime.ax)(["_1e0c1o8l _2hwxv77o _uiztglyw _17047vkz _iibf7vkz _lacastnw _1yg7idpf _15x0stnw _k9fw1ssb _1tr81ssb _q3v31ooe _1f027vkz _nbgx7vkz _4d7tstnw _o5fv1l7b _3g5ridpf _1fqgstnw _d1gw1ssb _1gx11ssb _18lx1ooe", __cmplp.className])
67
+ }));
68
+ });
45
69
 
46
70
  // The main 'wrapping' element, title of the content.
47
71
  // NB: `white-space` adds little whitespace before wrapping.
48
72
  // NB: `word-break` line breaks as soon as an overflow takes place.
49
73
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
50
- var IconTitleWrapper = exports.IconTitleWrapper = _styled.default.span({
51
- whiteSpace: 'pre-wrap',
52
- wordBreak: 'break-all',
53
- boxDecorationBreak: 'clone',
54
- padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-050, 4px)")
74
+ if (process.env.NODE_ENV !== 'production') {
75
+ EmojiWrapper.displayName = 'EmojiWrapper';
76
+ }
77
+ var IconTitleWrapper = exports.IconTitleWrapper = (0, _react.forwardRef)(function (_ref3, __cmplr) {
78
+ var _ref3$as = _ref3.as,
79
+ C = _ref3$as === void 0 ? "span" : _ref3$as,
80
+ __cmpls = _ref3.style,
81
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref3, _excluded3);
82
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
83
+ style: __cmpls,
84
+ ref: __cmplr,
85
+ className: (0, _runtime.ax)(["_o5721jtm _1nmz9jpi _16d9qvcn _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66", __cmplp.className])
86
+ }));
55
87
  });
56
88
 
57
89
  // TODO: Replace overrides with proper AtlasKit solution.
58
90
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
59
- var LozengeWrapper = exports.LozengeWrapper = _styled.default.span({
60
- display: 'inline-block',
61
- verticalAlign: '1px',
62
- margin: "0 ".concat("var(--ds-space-050, 4px)", " 0 ", "var(--ds-space-025, 2px)")
91
+ if (process.env.NODE_ENV !== 'production') {
92
+ IconTitleWrapper.displayName = 'IconTitleWrapper';
93
+ }
94
+ var LozengeWrapper = exports.LozengeWrapper = (0, _react.forwardRef)(function (_ref4, __cmplr) {
95
+ var _ref4$as = _ref4.as,
96
+ C = _ref4$as === void 0 ? "span" : _ref4$as,
97
+ __cmpls = _ref4.style,
98
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref4, _excluded4);
99
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
100
+ style: __cmpls,
101
+ ref: __cmplr,
102
+ className: (0, _runtime.ax)(["_1e0c1o8l _s7n4t94y _19pkidpf _2hwx1b66 _otyridpf _18u0v77o", __cmplp.className])
103
+ }));
63
104
  });
64
105
 
65
106
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
66
- var RightIconPositionWrapper = exports.RightIconPositionWrapper = _styled.default.span({
67
- marginLeft: "var(--ds-space-025, 2px)",
68
- position: 'relative',
69
- display: 'inline-block'
107
+ if (process.env.NODE_ENV !== 'production') {
108
+ LozengeWrapper.displayName = 'LozengeWrapper';
109
+ }
110
+ var RightIconPositionWrapper = exports.RightIconPositionWrapper = (0, _react.forwardRef)(function (_ref5, __cmplr) {
111
+ var _ref5$as = _ref5.as,
112
+ C = _ref5$as === void 0 ? "span" : _ref5$as,
113
+ __cmpls = _ref5.style,
114
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref5, _excluded5);
115
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
116
+ style: __cmpls,
117
+ ref: __cmplr,
118
+ className: (0, _runtime.ax)(["_18u0v77o _kqswh2mm _1e0c1o8l", __cmplp.className])
119
+ }));
70
120
  });
71
121
 
72
122
  // The following components are used to absolutely position icons in the vertical center.
73
123
  // - IconPositionWrapper: the `relative` parent which has no height in itself.
74
124
  // - IconEmptyWrapper: the child which forces `IconPositionWrapper` to have a height.
75
125
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
76
- var IconPositionWrapper = exports.IconPositionWrapper = _styled.default.span({
77
- marginRight: "var(--ds-space-050, 4px)",
78
- position: 'relative',
79
- display: 'inline-block'
126
+ if (process.env.NODE_ENV !== 'production') {
127
+ RightIconPositionWrapper.displayName = 'RightIconPositionWrapper';
128
+ }
129
+ var IconPositionWrapper = exports.IconPositionWrapper = (0, _react.forwardRef)(function (_ref6, __cmplr) {
130
+ var _ref6$as = _ref6.as,
131
+ C = _ref6$as === void 0 ? "span" : _ref6$as,
132
+ __cmpls = _ref6.style,
133
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref6, _excluded6);
134
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
135
+ style: __cmpls,
136
+ ref: __cmplr,
137
+ className: (0, _runtime.ax)(["_2hwx1b66 _kqswh2mm _1e0c1o8l", __cmplp.className])
138
+ }));
80
139
  });
81
140
 
82
141
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
83
- var IconEmptyWrapper = exports.IconEmptyWrapper = _styled.default.span({
84
- width: '16px',
85
- height: '100%',
86
- display: 'inline-block',
87
- opacity: 0
142
+ if (process.env.NODE_ENV !== 'production') {
143
+ IconPositionWrapper.displayName = 'IconPositionWrapper';
144
+ }
145
+ var IconEmptyWrapper = exports.IconEmptyWrapper = (0, _react.forwardRef)(function (_ref7, __cmplr) {
146
+ var _ref7$as = _ref7.as,
147
+ C = _ref7$as === void 0 ? "span" : _ref7$as,
148
+ __cmpls = _ref7.style,
149
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref7, _excluded7);
150
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
151
+ style: __cmpls,
152
+ ref: __cmplr,
153
+ className: (0, _runtime.ax)(["_1bsb7vkz _4t3i1osq _1e0c1o8l _tzy4idpf", __cmplp.className])
154
+ }));
88
155
  });
89
156
 
90
157
  // With emotion it's not possible to use reference to `TitleWrapper` as part of a selector,
91
158
  // To achieve same result we use classname instead.
159
+ if (process.env.NODE_ENV !== 'production') {
160
+ IconEmptyWrapper.displayName = 'IconEmptyWrapper';
161
+ }
92
162
  var TitleWrapperClassName = exports.TitleWrapperClassName = 'smart-link-title-wrapper';
93
163
 
94
164
  // 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
95
- var TitleWrapper = exports.TitleWrapper = _styled.default.span({});
165
+ var TitleWrapper = exports.TitleWrapper = (0, _react.forwardRef)(function (_ref8, __cmplr) {
166
+ var _ref8$as = _ref8.as,
167
+ C = _ref8$as === void 0 ? "span" : _ref8$as,
168
+ __cmpls = _ref8.style,
169
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref8, _excluded8);
170
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
171
+ style: __cmpls,
172
+ ref: __cmplr,
173
+ className: (0, _runtime.ax)(["", __cmplp.className])
174
+ }));
175
+ });
176
+ if (process.env.NODE_ENV !== 'production') {
177
+ TitleWrapper.displayName = 'TitleWrapper';
178
+ }
@@ -11,11 +11,14 @@ var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime
11
11
  var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
12
12
  var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
13
13
  var _react = _interopRequireDefault(require("react"));
14
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
14
15
  var _spinner = _interopRequireDefault(require("@atlaskit/spinner"));
15
16
  var _Frame = require("../Frame");
16
17
  var _IconAndTitleLayout = require("../IconAndTitleLayout");
17
18
  var _styled = require("../IconAndTitleLayout/styled");
19
+ var _styledEmotion = require("../IconAndTitleLayout/styled-emotion");
18
20
  var _styled2 = require("./styled");
21
+ var _styledEmotion2 = require("./styled-emotion");
19
22
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
20
23
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
21
24
  var InlineCardResolvingView = exports.InlineCardResolvingView = /*#__PURE__*/function (_React$Component) {
@@ -37,18 +40,33 @@ var InlineCardResolvingView = exports.InlineCardResolvingView = /*#__PURE__*/fun
37
40
  titleTextColor = _this$props.titleTextColor,
38
41
  resolvingPlaceholder = _this$props.resolvingPlaceholder,
39
42
  truncateInline = _this$props.truncateInline;
43
+ var SpinnerWrapperComponent = (0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard') ? _styled2.SpinnerWrapper : _styledEmotion2.SpinnerWrapper;
40
44
  if (inlinePreloaderStyle === 'on-right-without-skeleton') {
41
- return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
42
- withoutBackground: true,
43
- testId: testId,
44
- onClick: onClick,
45
- isSelected: isSelected,
46
- truncateInline: truncateInline
47
- }, /*#__PURE__*/_react.default.createElement(_styled.IconTitleWrapper, null, url, /*#__PURE__*/_react.default.createElement(_styled.RightIconPositionWrapper, null, /*#__PURE__*/_react.default.createElement(_styled2.SpinnerWrapper, {
48
- className: "inline-resolving-spinner"
49
- }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
50
- size: 14
51
- })))));
45
+ if ((0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
46
+ return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
47
+ withoutBackground: true,
48
+ testId: testId,
49
+ onClick: onClick,
50
+ isSelected: isSelected,
51
+ truncateInline: truncateInline
52
+ }, /*#__PURE__*/_react.default.createElement(_styled.IconTitleWrapper, null, url, /*#__PURE__*/_react.default.createElement(_styled.RightIconPositionWrapper, null, /*#__PURE__*/_react.default.createElement(SpinnerWrapperComponent, {
53
+ className: "inline-resolving-spinner"
54
+ }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
55
+ size: 14
56
+ })))));
57
+ } else {
58
+ return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
59
+ withoutBackground: true,
60
+ testId: testId,
61
+ onClick: onClick,
62
+ isSelected: isSelected,
63
+ truncateInline: truncateInline
64
+ }, /*#__PURE__*/_react.default.createElement(_styledEmotion.IconTitleWrapper, null, url, /*#__PURE__*/_react.default.createElement(_styledEmotion.RightIconPositionWrapper, null, /*#__PURE__*/_react.default.createElement(SpinnerWrapperComponent, {
65
+ className: "inline-resolving-spinner"
66
+ }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
67
+ size: 14
68
+ })))));
69
+ }
52
70
  } else {
53
71
  return /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
54
72
  testId: testId,
@@ -59,7 +77,7 @@ var InlineCardResolvingView = exports.InlineCardResolvingView = /*#__PURE__*/fun
59
77
  }, /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.IconAndTitleLayout, {
60
78
  title: resolvingPlaceholder !== null && resolvingPlaceholder !== void 0 ? resolvingPlaceholder : url,
61
79
  titleTextColor: titleTextColor
62
- }, /*#__PURE__*/_react.default.createElement(_styled2.SpinnerWrapper, {
80
+ }, /*#__PURE__*/_react.default.createElement(SpinnerWrapperComponent, {
63
81
  className: "inline-resolving-spinner"
64
82
  }, /*#__PURE__*/_react.default.createElement(_spinner.default, {
65
83
  size: 14
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.SpinnerWrapper = void 0;
8
+ var _styled = _interopRequireDefault(require("@emotion/styled"));
9
+ var _styledEmotion = require("../IconAndTitleLayout/styled-emotion");
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
12
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
13
+ var SpinnerWrapper = exports.SpinnerWrapper = (0, _styled.default)(_styledEmotion.IconTitleWrapper)({
14
+ verticalAlign: 'text-bottom',
15
+ padding: '0px'
16
+ });
@@ -0,0 +1,5 @@
1
+ ._19bvidpf{padding-left:0}
2
+ ._ca0qidpf{padding-top:0}
3
+ ._n3tdidpf{padding-bottom:0}
4
+ ._s7n41ndm{vertical-align:text-bottom}
5
+ ._u5f3idpf{padding-right:0}
@@ -1,16 +1,34 @@
1
+ /* styled.tsx generated by @compiled/babel-plugin v0.35.0 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
5
+ var _typeof = require("@babel/runtime/helpers/typeof");
4
6
  Object.defineProperty(exports, "__esModule", {
5
7
  value: true
6
8
  });
7
9
  exports.SpinnerWrapper = void 0;
8
- var _styled = _interopRequireDefault(require("@emotion/styled"));
9
- var _styled2 = require("../IconAndTitleLayout/styled");
10
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
-
10
+ require("./styled.compiled.css");
11
+ var _react = _interopRequireWildcard(require("react"));
12
+ var React = _react;
13
+ var _runtime = require("@compiled/react/runtime");
14
+ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
15
+ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
16
+ var _styled = require("../IconAndTitleLayout/styled");
17
+ var _excluded = ["as", "style"];
18
+ 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); }
19
+ 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; }
12
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
13
- var SpinnerWrapper = exports.SpinnerWrapper = (0, _styled.default)(_styled2.IconTitleWrapper)({
14
- verticalAlign: 'text-bottom',
15
- padding: '0px'
16
- });
21
+ var SpinnerWrapper = exports.SpinnerWrapper = (0, _react.forwardRef)(function (_ref, __cmplr) {
22
+ var _ref$as = _ref.as,
23
+ C = _ref$as === void 0 ? _styled.IconTitleWrapper : _ref$as,
24
+ __cmpls = _ref.style,
25
+ __cmplp = (0, _objectWithoutProperties2.default)(_ref, _excluded);
26
+ return /*#__PURE__*/React.createElement(C, (0, _extends2.default)({}, __cmplp, {
27
+ style: __cmpls,
28
+ ref: __cmplr,
29
+ className: (0, _runtime.ax)(["_ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _s7n41ndm", __cmplp.className])
30
+ }));
31
+ });
32
+ if (process.env.NODE_ENV !== 'production') {
33
+ SpinnerWrapper.displayName = 'SpinnerWrapper';
34
+ }
@@ -10,20 +10,33 @@ var _react = _interopRequireDefault(require("react"));
10
10
  var _reactIntlNext = require("react-intl-next");
11
11
  var _button = _interopRequireDefault(require("@atlaskit/button"));
12
12
  var _lockFilled = _interopRequireDefault(require("@atlaskit/icon/glyph/lock-filled"));
13
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
14
  var _colors = require("@atlaskit/theme/colors");
14
15
  var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-analytics-events");
15
16
  var _messages = require("../../../messages");
16
17
  var _HoverCard = require("../../HoverCard");
17
18
  var _Frame = require("../Frame");
18
19
  var _Icon = require("../Icon");
20
+ var _IconEmotion = require("../Icon-emotion");
19
21
  var _IconAndTitleLayout = require("../IconAndTitleLayout");
20
22
  var _styled = require("../styled");
23
+ var _styledEmotion = require("../styled-emotion");
21
24
  var _withFrameStyleControl = _interopRequireDefault(require("../utils/withFrameStyleControl"));
22
- var FallbackUnauthorizedIcon = /*#__PURE__*/_react.default.createElement(_Icon.AKIconWrapper, null, /*#__PURE__*/_react.default.createElement(_lockFilled.default, {
23
- label: "error",
24
- size: "small",
25
- primaryColor: "var(--ds-icon-danger, ".concat(_colors.R400, ")")
26
- }));
25
+ var fallbackUnauthorizedIcon = function fallbackUnauthorizedIcon() {
26
+ if ((0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
27
+ return /*#__PURE__*/_react.default.createElement(_Icon.AKIconWrapper, null, /*#__PURE__*/_react.default.createElement(_lockFilled.default, {
28
+ label: "error",
29
+ size: "small",
30
+ primaryColor: "var(--ds-icon-danger, ".concat(_colors.R400, ")")
31
+ }));
32
+ } else {
33
+ return /*#__PURE__*/_react.default.createElement(_IconEmotion.AKIconWrapper, null, /*#__PURE__*/_react.default.createElement(_lockFilled.default, {
34
+ label: "error",
35
+ size: "small",
36
+ primaryColor: "var(--ds-icon-danger, ".concat(_colors.R400, ")")
37
+ }));
38
+ }
39
+ };
27
40
  var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function InlineCardUnauthorizedView(_ref) {
28
41
  var url = _ref.url,
29
42
  id = _ref.id,
@@ -50,16 +63,29 @@ var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function I
50
63
  }, [fireEvent, onAuthorise]);
51
64
  var renderActionButton = _react.default.useCallback(function () {
52
65
  var ActionButton = (0, _withFrameStyleControl.default)(_button.default, frameRef);
53
- return onAuthorise ? /*#__PURE__*/_react.default.createElement(ActionButton, {
54
- spacing: "none",
55
- component: _styled.IconStyledButton,
56
- onClick: handleConnectAccount,
57
- testId: "button-connect-account"
58
- }, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
59
- values: {
60
- context: context
61
- }
62
- }))) : undefined;
66
+ if ((0, _platformFeatureFlags.fg)('bandicoots-compiled-migration-smartcard')) {
67
+ return onAuthorise ? /*#__PURE__*/_react.default.createElement(ActionButton, {
68
+ spacing: "none",
69
+ component: _styled.IconStyledButton,
70
+ onClick: handleConnectAccount,
71
+ testId: "button-connect-account"
72
+ }, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
73
+ values: {
74
+ context: context
75
+ }
76
+ }))) : undefined;
77
+ } else {
78
+ return onAuthorise ? /*#__PURE__*/_react.default.createElement(ActionButton, {
79
+ spacing: "none",
80
+ component: _styledEmotion.IconStyledButton,
81
+ onClick: handleConnectAccount,
82
+ testId: "button-connect-account"
83
+ }, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_link_account_card_name, {
84
+ values: {
85
+ context: context
86
+ }
87
+ }))) : undefined;
88
+ }
63
89
  }, [handleConnectAccount, onAuthorise, context]);
64
90
  var inlineCardUnauthenticatedView = /*#__PURE__*/_react.default.createElement(_Frame.Frame, {
65
91
  testId: testId,
@@ -67,7 +93,7 @@ var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function I
67
93
  ref: frameRef,
68
94
  truncateInline: truncateInline
69
95
  }, /*#__PURE__*/_react.default.createElement(_IconAndTitleLayout.IconAndTitleLayout, {
70
- icon: icon ? icon : FallbackUnauthorizedIcon,
96
+ icon: icon ? icon : fallbackUnauthorizedIcon(),
71
97
  title: url,
72
98
  link: url,
73
99
  onClick: onClick,
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.NoLinkAppearance = exports.LinkAppearance = exports.IconStyledButton = void 0;
8
+ var _styled = _interopRequireDefault(require("@emotion/styled"));
9
+ var _colors = require("@atlaskit/theme/colors");
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
12
+ // By default buttons will hide overflow and ellipsis content instead of wrapping.
13
+ // This basically turns the button back into inline content
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
15
+ var IconStyledButton = exports.IconStyledButton = _styled.default.span({
16
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
17
+ '&&&': {
18
+ textAlign: 'initial',
19
+ display: 'inline',
20
+ verticalAlign: 'baseline',
21
+ borderRadius: "var(--ds-border-radius-100, 4px)",
22
+ borderTopLeftRadius: '0px',
23
+ borderBottomLeftRadius: '0px',
24
+ padding: "var(--ds-space-025, 2px)".concat(" ", "var(--ds-space-075, 6px)"),
25
+ backgroundClip: 'padding-box',
26
+ boxDecorationBreak: 'clone'
27
+ },
28
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
29
+ '> span': {
30
+ display: 'inline',
31
+ overflow: 'initial',
32
+ textOverflow: 'initial',
33
+ whiteSpace: 'initial',
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
35
+ '> span': {
36
+ overflow: 'initial',
37
+ textOverflow: 'initial',
38
+ whiteSpace: 'initial'
39
+ }
40
+ }
41
+ });
42
+
43
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
+ var NoLinkAppearance = exports.NoLinkAppearance = _styled.default.span({
45
+ color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
46
+ marginLeft: "var(--ds-space-050, 4px)"
47
+ });
48
+
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
50
+ var LinkAppearance = exports.LinkAppearance = _styled.default.a({
51
+ color: "var(--ds-link, ".concat(_colors.B400, ")"),
52
+ '&:hover': {
53
+ textDecoration: 'none'
54
+ }
55
+ });
@@ -0,0 +1,21 @@
1
+
2
+ ._i3j7iti9._i3j7iti9._i3j7iti9{border-radius:var(--ds-border-radius-100,4px)}._12rl18uv >span>span{overflow-x:initial}
3
+ ._1695v77o._1695v77o._1695v77o{padding-top:var(--ds-space-025,2px)}
4
+ ._18v918uv._18v918uv._18v918uv{vertical-align:initial}
5
+ ._1a8r4jg8 >span>span{white-space:normal}
6
+ ._1byq12x7._1byq12x7._1byq12x7{padding-left:var(--ds-space-075,6px)}
7
+ ._1ilx1nu9._1ilx1nu9._1ilx1nu9{display:inline}
8
+ ._1jjh4jg8 >span{white-space:normal}
9
+ ._1nr3zryt >span>span{text-overflow:clip}
10
+ ._1pns12x7._1pns12x7._1pns12x7{padding-right:var(--ds-space-075,6px)}
11
+ ._1t1midpf._1t1midpf._1t1midpf{border-top-left-radius:0}
12
+ ._1t21zryt >span{text-overflow:clip}
13
+ ._1wge18uv >span>span{overflow-y:initial}
14
+ ._1xdi1nu9 >span{display:inline}
15
+ ._5x9bqvcn._5x9bqvcn._5x9bqvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
16
+ ._jinwidpf._jinwidpf._jinwidpf{border-bottom-left-radius:0}
17
+ ._ju3g18uv >span{overflow-x:initial}
18
+ ._k1fv1u8q._k1fv1u8q._k1fv1u8q{background-clip:padding-box}
19
+ ._mt1t18uv >span{overflow-y:initial}
20
+ ._uqpc18uv._uqpc18uv._uqpc18uv{text-align:initial}
21
+ ._vktqv77o._vktqv77o._vktqv77o{padding-bottom:var(--ds-space-025,2px)}