@atlaskit/smart-card 43.20.2 → 43.20.3
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 +8 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +1 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/InlineCard/UnauthorisedView/index.js +1 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/InlineCard/UnauthorisedView/index.js +1 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +6 -9
- package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-no-auth--default--navx-2479-sl-fix-inilne-card-show-connect-button-false.png +0 -3
- package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-no-auth--default--navx-2479-sl-fix-inilne-card-show-connect-button-false.png +0 -3
- package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/inline-card-unauthorised-view-with-no-auth--default--navx-2479-sl-fix-inilne-card-show-connect-button-false.png +0 -3
- /package/dist/cjs/__tests__/vr-tests/__snapshots__/inline-card/{inline-card-unauthorised-view-with-no-auth--default--navx-2479-sl-fix-inilne-card-show-connect-button-true.png → inline-card-unauthorised-view-with-no-auth--default.png} +0 -0
- /package/dist/es2019/__tests__/vr-tests/__snapshots__/inline-card/{inline-card-unauthorised-view-with-no-auth--default--navx-2479-sl-fix-inilne-card-show-connect-button-true.png → inline-card-unauthorised-view-with-no-auth--default.png} +0 -0
- /package/dist/esm/__tests__/vr-tests/__snapshots__/inline-card/{inline-card-unauthorised-view-with-no-auth--default--navx-2479-sl-fix-inilne-card-show-connect-button-true.png → inline-card-unauthorised-view-with-no-auth--default.png} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.20.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9067b62fb8190`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9067b62fb8190) -
|
|
8
|
+
FG cleanup navx-2479-sl-fix-inilne-card-show-connect-button
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 43.20.2
|
|
4
12
|
|
|
5
13
|
### Patch 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: "43.20.
|
|
14
|
+
packageVersion: "43.20.2"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -11,7 +11,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _reactIntlNext = require("react-intl-next");
|
|
13
13
|
var _lockLocked = _interopRequireDefault(require("@atlaskit/icon/core/lock-locked"));
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _colors = require("@atlaskit/theme/colors");
|
|
16
15
|
var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-analytics-events");
|
|
17
16
|
var _messages = require("../../../messages");
|
|
@@ -72,7 +71,7 @@ var InlineCardUnauthorizedView = exports.InlineCardUnauthorizedView = function I
|
|
|
72
71
|
link: url,
|
|
73
72
|
onClick: onClick,
|
|
74
73
|
titleColor: "var(--ds-text-subtle, ".concat(_colors.N500, ")")
|
|
75
|
-
}),
|
|
74
|
+
}), onAuthorise && renderActionButton());
|
|
76
75
|
if (onAuthorise && showHoverPreview) {
|
|
77
76
|
return /*#__PURE__*/_react.default.createElement(_HoverCard.HoverCard, {
|
|
78
77
|
url: url,
|
|
@@ -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: "43.20.
|
|
25
|
+
packageVersion: "43.20.2",
|
|
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: "43.20.
|
|
5
|
+
packageVersion: "43.20.2"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -4,7 +4,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
6
|
import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { N500 } from '@atlaskit/theme/colors';
|
|
9
8
|
import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
|
|
10
9
|
import { messages } from '../../../messages';
|
|
@@ -65,7 +64,7 @@ export const InlineCardUnauthorizedView = ({
|
|
|
65
64
|
link: url,
|
|
66
65
|
onClick: onClick,
|
|
67
66
|
titleColor: `var(--ds-text-subtle, ${N500})`
|
|
68
|
-
}),
|
|
67
|
+
}), onAuthorise && renderActionButton());
|
|
69
68
|
if (onAuthorise && showHoverPreview) {
|
|
70
69
|
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
71
70
|
url: url,
|
|
@@ -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: "43.20.
|
|
15
|
+
packageVersion: "43.20.2",
|
|
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: "43.20.
|
|
7
|
+
packageVersion: "43.20.2"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -4,7 +4,6 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { FormattedMessage } from 'react-intl-next';
|
|
6
6
|
import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { N500 } from '@atlaskit/theme/colors';
|
|
9
8
|
import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
|
|
10
9
|
import { messages } from '../../../messages';
|
|
@@ -65,7 +64,7 @@ export var InlineCardUnauthorizedView = function InlineCardUnauthorizedView(_ref
|
|
|
65
64
|
link: url,
|
|
66
65
|
onClick: onClick,
|
|
67
66
|
titleColor: "var(--ds-text-subtle, ".concat(N500, ")")
|
|
68
|
-
}),
|
|
67
|
+
}), onAuthorise && renderActionButton());
|
|
69
68
|
if (onAuthorise && showHoverPreview) {
|
|
70
69
|
return /*#__PURE__*/React.createElement(HoverCard, {
|
|
71
70
|
url: url,
|
|
@@ -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: "43.20.
|
|
18
|
+
packageVersion: "43.20.2",
|
|
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": "43.20.
|
|
3
|
+
"version": "43.20.3",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"@atlaskit/link-test-helpers": "^9.0.0",
|
|
56
56
|
"@atlaskit/linking-common": "^9.9.0",
|
|
57
57
|
"@atlaskit/linking-types": "^14.2.0",
|
|
58
|
-
"@atlaskit/logo": "^19.
|
|
58
|
+
"@atlaskit/logo": "^19.10.0",
|
|
59
59
|
"@atlaskit/lozenge": "^13.3.0",
|
|
60
60
|
"@atlaskit/menu": "^8.4.0",
|
|
61
|
-
"@atlaskit/modal-dialog": "^14.
|
|
61
|
+
"@atlaskit/modal-dialog": "^14.10.0",
|
|
62
62
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
63
63
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
64
64
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
"@atlaskit/textfield": "^8.2.0",
|
|
72
72
|
"@atlaskit/theme": "^21.0.0",
|
|
73
73
|
"@atlaskit/tile": "^1.0.0",
|
|
74
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
74
|
+
"@atlaskit/tmp-editor-statsig": "^16.19.0",
|
|
75
75
|
"@atlaskit/tokens": "^9.1.0",
|
|
76
|
-
"@atlaskit/tooltip": "^20.
|
|
76
|
+
"@atlaskit/tooltip": "^20.14.0",
|
|
77
77
|
"@atlaskit/ufo": "^0.4.0",
|
|
78
78
|
"@babel/runtime": "^7.0.0",
|
|
79
79
|
"@compiled/react": "^0.18.6",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@atlaskit/analytics-listeners": "^9.2.0",
|
|
102
102
|
"@atlaskit/css-reset": "^7.3.0",
|
|
103
103
|
"@atlaskit/media-test-helpers": "^39.0.0",
|
|
104
|
-
"@atlaskit/react-ufo": "^4.
|
|
104
|
+
"@atlaskit/react-ufo": "^4.17.0",
|
|
105
105
|
"@atlaskit/ssr": "workspace:^",
|
|
106
106
|
"@atlassian/a11y-jest-testing": "^0.6.0",
|
|
107
107
|
"@atlassian/analytics-tooling": "workspace:^",
|
|
@@ -213,9 +213,6 @@
|
|
|
213
213
|
"expose-product-details-from-smart-card": {
|
|
214
214
|
"type": "boolean"
|
|
215
215
|
},
|
|
216
|
-
"navx-2479-sl-fix-inilne-card-show-connect-button": {
|
|
217
|
-
"type": "boolean"
|
|
218
|
-
},
|
|
219
216
|
"townsquare-same-tab-alignment-gcko-849": {
|
|
220
217
|
"type": "boolean"
|
|
221
218
|
},
|
|
File without changes
|
|
File without changes
|