@atlaskit/smart-card 44.11.0 → 44.11.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/smart-card
2
2
 
3
+ ## 44.11.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a600b288d36ed`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a600b288d36ed) -
8
+ [ux] NAVX-4963 wrapping pre-auth social proof in `Pressable`
9
+
3
10
  ## 44.11.0
4
11
 
5
12
  ### Minor Changes
@@ -11,7 +11,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
11
11
  var context = exports.context = {
12
12
  componentName: 'smart-cards',
13
13
  packageName: "@atlaskit/smart-card" || '',
14
- packageVersion: "44.10.0" || ''
14
+ packageVersion: "44.11.0" || ''
15
15
  };
16
16
  var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
17
17
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,6 +1,7 @@
1
1
 
2
2
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._18m915vq{overflow-y:hidden}
3
3
  ._19bv12x7{padding-left:var(--ds-space-075,6px)}
4
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
5
  ._1bto1l2s{text-overflow:ellipsis}
5
6
  ._1e0c116y{display:inline-flex}
6
7
  ._1e0c1nu9{display:inline}
@@ -9,13 +10,19 @@
9
10
  ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
10
11
  ._4cvr1h6o{align-items:center}
11
12
  ._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
13
+ ._bfhk1j28{background-color:transparent}
12
14
  ._ca0qv77o{padding-top:var(--ds-space-025,2px)}
15
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
13
16
  ._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
14
17
  ._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
18
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
15
19
  ._o5721q9c{white-space:nowrap}
16
20
  ._p12f1osq{max-width:100%}
17
21
  ._s7n4t94y{vertical-align:1px}
18
22
  ._syazazsu{color:var(--ds-text-subtle,#505258)}
19
23
  ._u5f312x7{padding-right:var(--ds-space-075,6px)}
24
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
20
25
  ._vchhusvi{box-sizing:border-box}
21
- ._y3gn18uv{text-align:initial}
26
+ ._y3gn18uv{text-align:initial}
27
+ ._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
28
+ ._1di61gdz:active{background-color:var(--ds-background-neutral-pressed,#080f214a)}
@@ -39,8 +39,9 @@ var SOCIAL_PROOF_TRAIT_NAME = 'sl_3p_connected_providers_site_pct';
39
39
  var socialProofPillStyles = {
40
40
  strong: "_k48pwu06",
41
41
  inlineContainer: "_1e0c116y _4cvr1h6o",
42
- root: "_2rko12b0 _1e0c1nu9 _4cvr1h6o _vchhusvi _p12f1osq _bfhk1dpa _syazazsu _y3gn18uv _1wybtjj4 _s7n4t94y _ca0qv77o _n3tdv77o _u5f312x7 _19bv12x7 _2hwx1b66",
43
- label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c"
42
+ root: "_2rko12b0 _1e0c1nu9 _4cvr1h6o _vchhusvi _p12f1osq _bfhk1dpa _syazazsu _y3gn18uv _1wybtjj4 _s7n4t94y _ca0qv77o _n3tdv77o _u5f312x7 _19bv12x7 _2hwx1b66 _irr3plhp _1di61gdz",
43
+ label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c",
44
+ button: "_bfhk1j28 _u5f3ze3t _19bvze3t _ca0qze3t _n3tdze3t"
44
45
  };
45
46
 
46
47
  /**
@@ -103,7 +104,7 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
103
104
  /*#__PURE__*/
104
105
  // Unlikely case, but possible from TS standpoint.
105
106
  _react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.social_proof_inline_cta_tag_low_no_context);
106
- return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
107
+ var buttonContent = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_compiled.Box, {
107
108
  as: "span",
108
109
  xcss: socialProofPillStyles.root,
109
110
  testId: "".concat(testId, "-social-proof-tag")
@@ -120,6 +121,13 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
120
121
  context: context
121
122
  }
122
123
  }))));
124
+ return showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
125
+ onClick: onConnectClick,
126
+ style: {
127
+ font: "inherit"
128
+ },
129
+ xcss: socialProofPillStyles.button
130
+ }, buttonContent) : buttonContent;
123
131
  };
124
132
  var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function InlineCardUnauthorizedView(_ref2) {
125
133
  var url = _ref2.url,
@@ -15,7 +15,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
15
15
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
16
16
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
17
  var _compiled = require("@atlaskit/primitives/compiled");
18
- var _excluded = ["children", "isDisabled", "viewType", "isSlimDesign"];
18
+ var _excluded = ["children", "isDisabled", "viewType", "isSlimDesign"],
19
+ _excluded2 = ["onClick"];
19
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
21
  var styles = {
21
22
  button: "_1e0c1bgi",
@@ -41,7 +42,9 @@ var ActionButton = exports.ActionButton = /*#__PURE__*/(0, _react.forwardRef)(fu
41
42
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
42
43
  var shouldUseUnauthorisedSlimStyle = viewType === 'unauthorised' && isSlimDesign && (0, _platformFeatureFlags.fg)('platform_sl_3p_preauth_soc_proof_inline_killswitch');
43
44
  if (shouldUseUnauthorisedSlimStyle && !isDisabled) {
44
- return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({}, props, {
45
+ var onClick = props.onClick,
46
+ boxProps = (0, _objectWithoutProperties2.default)(props, _excluded2);
47
+ return /*#__PURE__*/React.createElement(_compiled.Box, (0, _extends2.default)({}, boxProps, {
45
48
  ref: ref,
46
49
  style: {
47
50
  font: "inherit"
@@ -22,7 +22,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
22
22
  _excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
23
23
  var PACKAGE_DATA = {
24
24
  packageName: "@atlaskit/smart-card",
25
- packageVersion: "44.10.0",
25
+ packageVersion: "44.11.0",
26
26
  componentName: 'linkUrl'
27
27
  };
28
28
  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: "44.10.0" || ''
5
+ packageVersion: "44.11.0" || ''
6
6
  };
7
7
  export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
8
8
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,6 +1,7 @@
1
1
 
2
2
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._18m915vq{overflow-y:hidden}
3
3
  ._19bv12x7{padding-left:var(--ds-space-075,6px)}
4
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
5
  ._1bto1l2s{text-overflow:ellipsis}
5
6
  ._1e0c116y{display:inline-flex}
6
7
  ._1e0c1nu9{display:inline}
@@ -9,13 +10,19 @@
9
10
  ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
10
11
  ._4cvr1h6o{align-items:center}
11
12
  ._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
13
+ ._bfhk1j28{background-color:transparent}
12
14
  ._ca0qv77o{padding-top:var(--ds-space-025,2px)}
15
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
13
16
  ._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
14
17
  ._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
18
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
15
19
  ._o5721q9c{white-space:nowrap}
16
20
  ._p12f1osq{max-width:100%}
17
21
  ._s7n4t94y{vertical-align:1px}
18
22
  ._syazazsu{color:var(--ds-text-subtle,#505258)}
19
23
  ._u5f312x7{padding-right:var(--ds-space-075,6px)}
24
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
20
25
  ._vchhusvi{box-sizing:border-box}
21
- ._y3gn18uv{text-align:initial}
26
+ ._y3gn18uv{text-align:initial}
27
+ ._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
28
+ ._1di61gdz:active{background-color:var(--ds-background-neutral-pressed,#080f214a)}
@@ -7,7 +7,7 @@ import { FormattedMessage } from 'react-intl';
7
7
  import { di } from 'react-magnetic-di';
8
8
  import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
- import { Box } from '@atlaskit/primitives/compiled';
10
+ import { Box, Pressable } from '@atlaskit/primitives/compiled';
11
11
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
12
12
  import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
13
13
  import { messages } from '../../../messages';
@@ -32,8 +32,9 @@ const SOCIAL_PROOF_TRAIT_NAME = 'sl_3p_connected_providers_site_pct';
32
32
  const socialProofPillStyles = {
33
33
  strong: "_k48pwu06",
34
34
  inlineContainer: "_1e0c116y _4cvr1h6o",
35
- root: "_2rko12b0 _1e0c1nu9 _4cvr1h6o _vchhusvi _p12f1osq _bfhk1dpa _syazazsu _y3gn18uv _1wybtjj4 _s7n4t94y _ca0qv77o _n3tdv77o _u5f312x7 _19bv12x7 _2hwx1b66",
36
- label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c"
35
+ root: "_2rko12b0 _1e0c1nu9 _4cvr1h6o _vchhusvi _p12f1osq _bfhk1dpa _syazazsu _y3gn18uv _1wybtjj4 _s7n4t94y _ca0qv77o _n3tdv77o _u5f312x7 _19bv12x7 _2hwx1b66 _irr3plhp _1di61gdz",
36
+ label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c",
37
+ button: "_bfhk1j28 _u5f3ze3t _19bvze3t _ca0qze3t _n3tdze3t"
37
38
  };
38
39
 
39
40
  /**
@@ -95,7 +96,7 @@ const UnauthorisedConnectWithSocialProof = ({
95
96
  /*#__PURE__*/
96
97
  // Unlikely case, but possible from TS standpoint.
97
98
  React.createElement(FormattedMessage, messages.social_proof_inline_cta_tag_low_no_context);
98
- return /*#__PURE__*/React.createElement(React.Fragment, null, showSocialProofPill ? /*#__PURE__*/React.createElement(Box, {
99
+ const buttonContent = /*#__PURE__*/React.createElement(React.Fragment, null, showSocialProofPill ? /*#__PURE__*/React.createElement(Box, {
99
100
  as: "span",
100
101
  xcss: socialProofPillStyles.root,
101
102
  testId: `${testId}-social-proof-tag`
@@ -112,6 +113,13 @@ const UnauthorisedConnectWithSocialProof = ({
112
113
  context
113
114
  }
114
115
  }))));
116
+ return showSocialProofPill ? /*#__PURE__*/React.createElement(Pressable, {
117
+ onClick: onConnectClick,
118
+ style: {
119
+ font: `inherit`
120
+ },
121
+ xcss: socialProofPillStyles.button
122
+ }, buttonContent) : buttonContent;
115
123
  };
116
124
  export const InlineCardUnauthorizedView = ({
117
125
  url,
@@ -5,7 +5,7 @@ import * as React from 'react';
5
5
  import { ax, ix } from "@compiled/react/runtime";
6
6
  import { forwardRef } from 'react';
7
7
  import { fg } from '@atlaskit/platform-feature-flags';
8
- import { Pressable } from '@atlaskit/primitives/compiled';
8
+ import { Pressable, Box } from '@atlaskit/primitives/compiled';
9
9
  const styles = {
10
10
  button: "_1e0c1bgi",
11
11
  innerContainer: "_1e0c1nu9 _1y1m1u8q _16d9qvcn _k48p1wq8 _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _o5721btx _1nmz9jpi",
@@ -29,7 +29,11 @@ export const ActionButton = /*#__PURE__*/forwardRef(({
29
29
  }, ref) => {
30
30
  const shouldUseUnauthorisedSlimStyle = viewType === 'unauthorised' && isSlimDesign && fg('platform_sl_3p_preauth_soc_proof_inline_killswitch');
31
31
  if (shouldUseUnauthorisedSlimStyle && !isDisabled) {
32
- return /*#__PURE__*/React.createElement(Pressable, _extends({}, props, {
32
+ const {
33
+ onClick,
34
+ ...boxProps
35
+ } = props;
36
+ return /*#__PURE__*/React.createElement(Box, _extends({}, boxProps, {
33
37
  ref: ref,
34
38
  style: {
35
39
  font: `inherit`
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
12
12
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
13
13
  const PACKAGE_DATA = {
14
14
  packageName: "@atlaskit/smart-card",
15
- packageVersion: "44.10.0",
15
+ packageVersion: "44.11.0",
16
16
  componentName: 'linkUrl'
17
17
  };
18
18
  const Anchor = withLinkClickedEvent('a');
@@ -4,7 +4,7 @@ export var ANALYTICS_CHANNEL = 'media';
4
4
  export var context = {
5
5
  componentName: 'smart-cards',
6
6
  packageName: "@atlaskit/smart-card" || '',
7
- packageVersion: "44.10.0" || ''
7
+ packageVersion: "44.11.0" || ''
8
8
  };
9
9
  export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
10
10
  TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
@@ -1,6 +1,7 @@
1
1
 
2
2
  ._2rko12b0{border-radius:var(--ds-radius-small,4px)}._18m915vq{overflow-y:hidden}
3
3
  ._19bv12x7{padding-left:var(--ds-space-075,6px)}
4
+ ._19bvze3t{padding-left:var(--ds-space-0,0)}
4
5
  ._1bto1l2s{text-overflow:ellipsis}
5
6
  ._1e0c116y{display:inline-flex}
6
7
  ._1e0c1nu9{display:inline}
@@ -9,13 +10,19 @@
9
10
  ._2hwx1b66{margin-right:var(--ds-space-050,4px)}
10
11
  ._4cvr1h6o{align-items:center}
11
12
  ._bfhk1dpa{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
13
+ ._bfhk1j28{background-color:transparent}
12
14
  ._ca0qv77o{padding-top:var(--ds-space-025,2px)}
15
+ ._ca0qze3t{padding-top:var(--ds-space-0,0)}
13
16
  ._k48pwu06{font-weight:var(--ds-font-weight-bold,653)}
14
17
  ._n3tdv77o{padding-bottom:var(--ds-space-025,2px)}
18
+ ._n3tdze3t{padding-bottom:var(--ds-space-0,0)}
15
19
  ._o5721q9c{white-space:nowrap}
16
20
  ._p12f1osq{max-width:100%}
17
21
  ._s7n4t94y{vertical-align:1px}
18
22
  ._syazazsu{color:var(--ds-text-subtle,#505258)}
19
23
  ._u5f312x7{padding-right:var(--ds-space-075,6px)}
24
+ ._u5f3ze3t{padding-right:var(--ds-space-0,0)}
20
25
  ._vchhusvi{box-sizing:border-box}
21
- ._y3gn18uv{text-align:initial}
26
+ ._y3gn18uv{text-align:initial}
27
+ ._irr3plhp:hover{background-color:var(--ds-background-neutral-hovered,#0b120e24)}
28
+ ._1di61gdz:active{background-color:var(--ds-background-neutral-pressed,#080f214a)}
@@ -7,7 +7,7 @@ import { FormattedMessage } from 'react-intl';
7
7
  import { di } from 'react-magnetic-di';
8
8
  import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
9
9
  import { fg } from '@atlaskit/platform-feature-flags';
10
- import { Box } from '@atlaskit/primitives/compiled';
10
+ import { Box, Pressable } from '@atlaskit/primitives/compiled';
11
11
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
12
12
  import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
13
13
  import { messages } from '../../../messages';
@@ -32,8 +32,9 @@ var SOCIAL_PROOF_TRAIT_NAME = 'sl_3p_connected_providers_site_pct';
32
32
  var socialProofPillStyles = {
33
33
  strong: "_k48pwu06",
34
34
  inlineContainer: "_1e0c116y _4cvr1h6o",
35
- root: "_2rko12b0 _1e0c1nu9 _4cvr1h6o _vchhusvi _p12f1osq _bfhk1dpa _syazazsu _y3gn18uv _1wybtjj4 _s7n4t94y _ca0qv77o _n3tdv77o _u5f312x7 _19bv12x7 _2hwx1b66",
36
- label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c"
35
+ root: "_2rko12b0 _1e0c1nu9 _4cvr1h6o _vchhusvi _p12f1osq _bfhk1dpa _syazazsu _y3gn18uv _1wybtjj4 _s7n4t94y _ca0qv77o _n3tdv77o _u5f312x7 _19bv12x7 _2hwx1b66 _irr3plhp _1di61gdz",
36
+ label: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c",
37
+ button: "_bfhk1j28 _u5f3ze3t _19bvze3t _ca0qze3t _n3tdze3t"
37
38
  };
38
39
 
39
40
  /**
@@ -96,7 +97,7 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
96
97
  /*#__PURE__*/
97
98
  // Unlikely case, but possible from TS standpoint.
98
99
  React.createElement(FormattedMessage, messages.social_proof_inline_cta_tag_low_no_context);
99
- return /*#__PURE__*/React.createElement(React.Fragment, null, showSocialProofPill ? /*#__PURE__*/React.createElement(Box, {
100
+ var buttonContent = /*#__PURE__*/React.createElement(React.Fragment, null, showSocialProofPill ? /*#__PURE__*/React.createElement(Box, {
100
101
  as: "span",
101
102
  xcss: socialProofPillStyles.root,
102
103
  testId: "".concat(testId, "-social-proof-tag")
@@ -113,6 +114,13 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
113
114
  context: context
114
115
  }
115
116
  }))));
117
+ return showSocialProofPill ? /*#__PURE__*/React.createElement(Pressable, {
118
+ onClick: onConnectClick,
119
+ style: {
120
+ font: "inherit"
121
+ },
122
+ xcss: socialProofPillStyles.button
123
+ }, buttonContent) : buttonContent;
116
124
  };
117
125
  export var InlineCardUnauthorizedView = function InlineCardUnauthorizedView(_ref2) {
118
126
  var url = _ref2.url,
@@ -1,13 +1,14 @@
1
1
  /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["children", "isDisabled", "viewType", "isSlimDesign"];
4
+ var _excluded = ["children", "isDisabled", "viewType", "isSlimDesign"],
5
+ _excluded2 = ["onClick"];
5
6
  import "./index.compiled.css";
6
7
  import * as React from 'react';
7
8
  import { ax, ix } from "@compiled/react/runtime";
8
9
  import { forwardRef } from 'react';
9
10
  import { fg } from '@atlaskit/platform-feature-flags';
10
- import { Pressable } from '@atlaskit/primitives/compiled';
11
+ import { Pressable, Box } from '@atlaskit/primitives/compiled';
11
12
  var styles = {
12
13
  button: "_1e0c1bgi",
13
14
  innerContainer: "_1e0c1nu9 _1y1m1u8q _16d9qvcn _k48p1wq8 _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _o5721btx _1nmz9jpi",
@@ -32,7 +33,9 @@ export var ActionButton = /*#__PURE__*/forwardRef(function (_ref, ref) {
32
33
  props = _objectWithoutProperties(_ref, _excluded);
33
34
  var shouldUseUnauthorisedSlimStyle = viewType === 'unauthorised' && isSlimDesign && fg('platform_sl_3p_preauth_soc_proof_inline_killswitch');
34
35
  if (shouldUseUnauthorisedSlimStyle && !isDisabled) {
35
- return /*#__PURE__*/React.createElement(Pressable, _extends({}, props, {
36
+ var onClick = props.onClick,
37
+ boxProps = _objectWithoutProperties(props, _excluded2);
38
+ return /*#__PURE__*/React.createElement(Box, _extends({}, boxProps, {
36
39
  ref: ref,
37
40
  style: {
38
41
  font: "inherit"
@@ -15,7 +15,7 @@ import LinkWarningModal from './LinkWarningModal';
15
15
  import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
16
16
  var PACKAGE_DATA = {
17
17
  packageName: "@atlaskit/smart-card",
18
- packageVersion: "44.10.0",
18
+ packageVersion: "44.11.0",
19
19
  componentName: 'linkUrl'
20
20
  };
21
21
  var Anchor = withLinkClickedEvent('a');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/smart-card",
3
- "version": "44.11.0",
3
+ "version": "44.11.1",
4
4
  "description": "Smart card component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -86,7 +86,7 @@
86
86
  "@atlaskit/textfield": "^8.3.0",
87
87
  "@atlaskit/theme": "^23.2.0",
88
88
  "@atlaskit/tile": "^1.1.0",
89
- "@atlaskit/tmp-editor-statsig": "^80.2.0",
89
+ "@atlaskit/tmp-editor-statsig": "^80.3.0",
90
90
  "@atlaskit/tokens": "^13.0.0",
91
91
  "@atlaskit/tooltip": "^22.2.0",
92
92
  "@atlaskit/ufo": "^0.5.0",