@atlaskit/smart-card 46.7.3 → 46.7.5
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 +12 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/UnauthorisedView/index.js +7 -6
- 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 +2 -1
- 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 +2 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +7 -5
package/CHANGELOG.md
CHANGED
|
@@ -25,7 +25,7 @@ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
|
|
|
25
25
|
var context = exports.context = {
|
|
26
26
|
componentName: 'smart-cards',
|
|
27
27
|
packageName: "@atlaskit/smart-card" || '',
|
|
28
|
-
packageVersion: "46.7.
|
|
28
|
+
packageVersion: "46.7.4" || ''
|
|
29
29
|
};
|
|
30
30
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
31
31
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -16,7 +16,8 @@ var _css = require("@atlaskit/css");
|
|
|
16
16
|
var _lockLocked = _interopRequireDefault(require("@atlaskit/icon/core/lock-locked"));
|
|
17
17
|
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
18
18
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
19
|
-
var
|
|
19
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
20
|
+
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
20
21
|
var _useAnalyticsEvents2 = require("../../../common/analytics/generated/use-analytics-events");
|
|
21
22
|
var _messages = require("../../../messages");
|
|
22
23
|
var _getCachedProviderPctMapAndRefresh = require("../../../state/services/personalization/getCachedProviderPctMapAndRefresh");
|
|
@@ -102,7 +103,7 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
102
103
|
// Show the social proof pill once the trait data is available.
|
|
103
104
|
var showSocialProofPill = isProviderPctMapLoaded;
|
|
104
105
|
var bold = function bold(chunks) {
|
|
105
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
106
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
106
107
|
as: "strong",
|
|
107
108
|
xcss: socialProofPillStyles.strong
|
|
108
109
|
}, chunks);
|
|
@@ -132,11 +133,11 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
132
133
|
/*#__PURE__*/
|
|
133
134
|
// Unlikely case, but possible from TS standpoint.
|
|
134
135
|
_react.default.createElement(_reactIntl.FormattedMessage, _messages.messages.social_proof_inline_cta_tag_low_no_context);
|
|
135
|
-
var buttonContent = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showSocialProofPill ? /*#__PURE__*/_react.default.createElement(
|
|
136
|
+
var buttonContent = /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
136
137
|
as: "span",
|
|
137
138
|
xcss: socialProofPillStyles.root,
|
|
138
139
|
testId: "".concat(testId, "-social-proof-tag")
|
|
139
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
140
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
140
141
|
as: "span",
|
|
141
142
|
xcss: (0, _css.cx)(socialProofPillStyles.label, socialProofPillStyles.wrappingLabel)
|
|
142
143
|
}, socialProofPillContent)) : null, /*#__PURE__*/_react.default.createElement(_actionButton.ActionButton, {
|
|
@@ -149,13 +150,13 @@ var UnauthorisedConnectWithSocialProof = function UnauthorisedConnectWithSocialP
|
|
|
149
150
|
isUpdateCtaEnabled: isUpdateCtaEnabled,
|
|
150
151
|
showSocialProofPill: showSocialProofPill
|
|
151
152
|
})));
|
|
152
|
-
return showSocialProofPill ? /*#__PURE__*/_react.default.createElement(
|
|
153
|
+
return showSocialProofPill ? /*#__PURE__*/_react.default.createElement(_pressable.Pressable, {
|
|
153
154
|
onClick: onConnectClick,
|
|
154
155
|
style: {
|
|
155
156
|
font: "inherit"
|
|
156
157
|
},
|
|
157
158
|
xcss: (0, _css.cx)(socialProofPillStyles.button, socialProofPillStyles.pressableContents)
|
|
158
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
159
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
159
160
|
as: "span",
|
|
160
161
|
xcss: socialProofPillStyles.inlineGroup
|
|
161
162
|
}, buttonContent)) : buttonContent;
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "46.7.
|
|
22
|
+
packageVersion: "46.7.4",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -4,7 +4,7 @@ export const ANALYTICS_CHANNEL = 'media';
|
|
|
4
4
|
export const context = {
|
|
5
5
|
componentName: 'smart-cards',
|
|
6
6
|
packageName: "@atlaskit/smart-card" || '',
|
|
7
|
-
packageVersion: "46.7.
|
|
7
|
+
packageVersion: "46.7.4" || ''
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -9,7 +9,8 @@ import { cx } from '@atlaskit/css';
|
|
|
9
9
|
import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
|
|
10
10
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
|
-
import { Box
|
|
12
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
13
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
13
14
|
import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
|
|
14
15
|
import { messages } from '../../../messages';
|
|
15
16
|
import { getCachedProviderPctMapAndRefresh } from '../../../state/services/personalization/getCachedProviderPctMapAndRefresh';
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "46.7.
|
|
12
|
+
packageVersion: "46.7.4",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -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: "46.7.
|
|
7
|
+
packageVersion: "46.7.4" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -9,7 +9,8 @@ import { cx } from '@atlaskit/css';
|
|
|
9
9
|
import LockLockedIcon from '@atlaskit/icon/core/lock-locked';
|
|
10
10
|
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
|
-
import { Box
|
|
12
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
13
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
13
14
|
import { useAnalyticsEvents } from '../../../common/analytics/generated/use-analytics-events';
|
|
14
15
|
import { messages } from '../../../messages';
|
|
15
16
|
import { getCachedProviderPctMapAndRefresh } from '../../../state/services/personalization/getCachedProviderPctMapAndRefresh';
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "46.7.
|
|
15
|
+
packageVersion: "46.7.4",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "46.7.
|
|
3
|
+
"version": "46.7.5",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -40,14 +40,14 @@
|
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/adf-utils": "^20.9.0",
|
|
42
42
|
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.280.0",
|
|
43
|
-
"@atlaskit/analytics-cross-product": "^2.
|
|
43
|
+
"@atlaskit/analytics-cross-product": "^2.3.0",
|
|
44
44
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
46
46
|
"@atlaskit/avatar": "^30.0.0",
|
|
47
47
|
"@atlaskit/avatar-group": "^14.4.0",
|
|
48
48
|
"@atlaskit/badge": "^22.0.0",
|
|
49
49
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
50
|
-
"@atlaskit/button": "^25.
|
|
50
|
+
"@atlaskit/button": "^25.5.0",
|
|
51
51
|
"@atlaskit/checkbox": "^19.3.0",
|
|
52
52
|
"@atlaskit/css": "^1.1.0",
|
|
53
53
|
"@atlaskit/docs": "^12.3.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/primitives": "^22.6.0",
|
|
85
85
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
86
86
|
"@atlaskit/react-ufo": "^8.1.0",
|
|
87
|
-
"@atlaskit/rovo-triggers": "^12.
|
|
87
|
+
"@atlaskit/rovo-triggers": "^12.5.0",
|
|
88
88
|
"@atlaskit/section-message": "^10.2.0",
|
|
89
89
|
"@atlaskit/select": "^23.1.0",
|
|
90
90
|
"@atlaskit/spinner": "^20.4.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@atlaskit/textfield": "^10.2.0",
|
|
95
95
|
"@atlaskit/theme": "^28.2.0",
|
|
96
96
|
"@atlaskit/tile": "^5.0.0",
|
|
97
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
97
|
+
"@atlaskit/tmp-editor-statsig": "^243.0.0",
|
|
98
98
|
"@atlaskit/tokens": "^20.6.0",
|
|
99
99
|
"@atlaskit/tooltip": "^24.4.0",
|
|
100
100
|
"@atlaskit/top-layer": "^6.3.0",
|
|
@@ -128,6 +128,8 @@
|
|
|
128
128
|
"@atlaskit/code": "^20.0.0",
|
|
129
129
|
"@atlaskit/css-reset": "^8.4.0",
|
|
130
130
|
"@atlaskit/datetime-picker": "^19.3.0",
|
|
131
|
+
"@atlaskit/inline-message": "^16.4.0",
|
|
132
|
+
"@atlaskit/link-provider": "^6.0.0",
|
|
131
133
|
"@atlaskit/media-test-helpers": "^43.0.0",
|
|
132
134
|
"@atlaskit/page": "^15.3.0",
|
|
133
135
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^3.4.0",
|