@atlaskit/smart-card 46.5.6 → 46.5.8
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 +17 -0
- package/dist/cjs/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/text-only--light-mode.png +2 -2
- package/dist/cjs/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/with-image--light-mode.png +2 -2
- package/dist/cjs/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/with-image-default-name--light-mode.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/embed-modal/renders-embed-modal-with-flexible-ui-icon--default.png +2 -2
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/PreAuthValuePropositionModal/index.js +6 -6
- package/dist/es2019/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/text-only--light-mode.png +2 -2
- package/dist/es2019/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/with-image--light-mode.png +2 -2
- package/dist/es2019/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/with-image-default-name--light-mode.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/embed-modal/renders-embed-modal-with-flexible-ui-icon--default.png +2 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/PreAuthValuePropositionModal/index.js +6 -6
- package/dist/esm/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/text-only--light-mode.png +2 -2
- package/dist/esm/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/with-image--light-mode.png +2 -2
- package/dist/esm/__tests__/informational-vr-tests/__snapshots__/pre-auth-value-proposition-modal/with-image-default-name--light-mode.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/embed-modal/renders-embed-modal-with-flexible-ui-icon--default.png +2 -2
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/PreAuthValuePropositionModal/index.js +6 -6
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 46.5.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dd269d6b8b56d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dd269d6b8b56d) -
|
|
8
|
+
Update pre-auth modal benefit copy and order to Search, Get, and See, with each leading word bold.
|
|
9
|
+
Keep the dynamic provider name and social-proof placement unchanged. Applies to both treatment
|
|
10
|
+
variants of `platform_sl_3p_preauth_value_modal`, behind
|
|
11
|
+
`platform_sl_3p_preauth_value_modal_killswitch`.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 46.5.7
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 46.5.6
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:3d3acc9f8b35d29e5c00c852ddbc2a1835222f821c56698c1e19fb3e3e81a8bc
|
|
3
|
+
size 38036
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:e085d8ddcf498ee5c030df7e35cd8d51f329071decb04bf7a679a3b61bbfc037
|
|
3
|
+
size 76165
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:67e6ee888f65eb7b75c74fbce248c25217f98dd65082e3c06ec5129e76dedce1
|
|
3
|
+
size 62876
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:d7f5af190cae3614e9c249bb00da05dfcb063844522fbe0472688dbd8b3be239
|
|
3
|
+
size 17654
|
|
@@ -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.5.
|
|
28
|
+
packageVersion: "46.5.7" || ''
|
|
29
29
|
};
|
|
30
30
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
31
31
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -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.5.
|
|
22
|
+
packageVersion: "46.5.7",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -54,8 +54,8 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
54
54
|
},
|
|
55
55
|
embedBenefit: {
|
|
56
56
|
id: 'smart-card.view.PreAuthValuePropositionModal.embedBenefit',
|
|
57
|
-
defaultMessage: '<b>
|
|
58
|
-
description: 'Explains the benefit of
|
|
57
|
+
defaultMessage: '<b>See</b> richer link previews without leaving your workflow',
|
|
58
|
+
description: 'Explains the benefit of seeing richer Smart Link previews without leaving the current workflow.'
|
|
59
59
|
},
|
|
60
60
|
searchBenefit: {
|
|
61
61
|
id: 'smart-card.view.PreAuthValuePropositionModal.searchBenefit',
|
|
@@ -64,8 +64,8 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
64
64
|
},
|
|
65
65
|
seeBenefit: {
|
|
66
66
|
id: 'smart-card.view.PreAuthValuePropositionModal.seeBenefit',
|
|
67
|
-
defaultMessage: '<b>
|
|
68
|
-
description: 'Explains the
|
|
67
|
+
defaultMessage: '<b>Get</b> answers grounded in your {providerName} context',
|
|
68
|
+
description: 'Explains the benefit of answers grounded in provider context. providerName is supplied by the Smart Link response.'
|
|
69
69
|
},
|
|
70
70
|
title: {
|
|
71
71
|
id: 'smart-card.view.PreAuthValuePropositionModal.title',
|
|
@@ -131,13 +131,13 @@ var ModalCopy = function ModalCopy(_ref) {
|
|
|
131
131
|
as: "p",
|
|
132
132
|
color: "color.text",
|
|
133
133
|
size: "large"
|
|
134
|
-
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, messages.
|
|
134
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, messages.searchBenefit, {
|
|
135
135
|
values: messageValues
|
|
136
136
|
}))), /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
137
137
|
as: "p",
|
|
138
138
|
color: "color.text",
|
|
139
139
|
size: "large"
|
|
140
|
-
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, messages.
|
|
140
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, messages.seeBenefit, {
|
|
141
141
|
values: messageValues
|
|
142
142
|
}))), /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
143
143
|
as: "p",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:3d3acc9f8b35d29e5c00c852ddbc2a1835222f821c56698c1e19fb3e3e81a8bc
|
|
3
|
+
size 38036
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:e085d8ddcf498ee5c030df7e35cd8d51f329071decb04bf7a679a3b61bbfc037
|
|
3
|
+
size 76165
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:67e6ee888f65eb7b75c74fbce248c25217f98dd65082e3c06ec5129e76dedce1
|
|
3
|
+
size 62876
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:d7f5af190cae3614e9c249bb00da05dfcb063844522fbe0472688dbd8b3be239
|
|
3
|
+
size 17654
|
|
@@ -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.5.
|
|
7
|
+
packageVersion: "46.5.7" || ''
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -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.5.
|
|
12
|
+
packageVersion: "46.5.7",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const LinkUrl = ({
|
|
@@ -40,8 +40,8 @@ const messages = defineMessages({
|
|
|
40
40
|
},
|
|
41
41
|
embedBenefit: {
|
|
42
42
|
id: 'smart-card.view.PreAuthValuePropositionModal.embedBenefit',
|
|
43
|
-
defaultMessage: '<b>
|
|
44
|
-
description: 'Explains the benefit of
|
|
43
|
+
defaultMessage: '<b>See</b> richer link previews without leaving your workflow',
|
|
44
|
+
description: 'Explains the benefit of seeing richer Smart Link previews without leaving the current workflow.'
|
|
45
45
|
},
|
|
46
46
|
searchBenefit: {
|
|
47
47
|
id: 'smart-card.view.PreAuthValuePropositionModal.searchBenefit',
|
|
@@ -50,8 +50,8 @@ const messages = defineMessages({
|
|
|
50
50
|
},
|
|
51
51
|
seeBenefit: {
|
|
52
52
|
id: 'smart-card.view.PreAuthValuePropositionModal.seeBenefit',
|
|
53
|
-
defaultMessage: '<b>
|
|
54
|
-
description: 'Explains the
|
|
53
|
+
defaultMessage: '<b>Get</b> answers grounded in your {providerName} context',
|
|
54
|
+
description: 'Explains the benefit of answers grounded in provider context. providerName is supplied by the Smart Link response.'
|
|
55
55
|
},
|
|
56
56
|
title: {
|
|
57
57
|
id: 'smart-card.view.PreAuthValuePropositionModal.title',
|
|
@@ -114,13 +114,13 @@ const ModalCopy = ({
|
|
|
114
114
|
as: "p",
|
|
115
115
|
color: "color.text",
|
|
116
116
|
size: "large"
|
|
117
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.
|
|
117
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.searchBenefit, {
|
|
118
118
|
values: messageValues
|
|
119
119
|
}))), /*#__PURE__*/React.createElement(Text, {
|
|
120
120
|
as: "p",
|
|
121
121
|
color: "color.text",
|
|
122
122
|
size: "large"
|
|
123
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.
|
|
123
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.seeBenefit, {
|
|
124
124
|
values: messageValues
|
|
125
125
|
}))), /*#__PURE__*/React.createElement(Text, {
|
|
126
126
|
as: "p",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:3d3acc9f8b35d29e5c00c852ddbc2a1835222f821c56698c1e19fb3e3e81a8bc
|
|
3
|
+
size 38036
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:e085d8ddcf498ee5c030df7e35cd8d51f329071decb04bf7a679a3b61bbfc037
|
|
3
|
+
size 76165
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:67e6ee888f65eb7b75c74fbce248c25217f98dd65082e3c06ec5129e76dedce1
|
|
3
|
+
size 62876
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:d7f5af190cae3614e9c249bb00da05dfcb063844522fbe0472688dbd8b3be239
|
|
3
|
+
size 17654
|
|
@@ -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.5.
|
|
7
|
+
packageVersion: "46.5.7" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -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.5.
|
|
15
|
+
packageVersion: "46.5.7",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -43,8 +43,8 @@ var messages = defineMessages({
|
|
|
43
43
|
},
|
|
44
44
|
embedBenefit: {
|
|
45
45
|
id: 'smart-card.view.PreAuthValuePropositionModal.embedBenefit',
|
|
46
|
-
defaultMessage: '<b>
|
|
47
|
-
description: 'Explains the benefit of
|
|
46
|
+
defaultMessage: '<b>See</b> richer link previews without leaving your workflow',
|
|
47
|
+
description: 'Explains the benefit of seeing richer Smart Link previews without leaving the current workflow.'
|
|
48
48
|
},
|
|
49
49
|
searchBenefit: {
|
|
50
50
|
id: 'smart-card.view.PreAuthValuePropositionModal.searchBenefit',
|
|
@@ -53,8 +53,8 @@ var messages = defineMessages({
|
|
|
53
53
|
},
|
|
54
54
|
seeBenefit: {
|
|
55
55
|
id: 'smart-card.view.PreAuthValuePropositionModal.seeBenefit',
|
|
56
|
-
defaultMessage: '<b>
|
|
57
|
-
description: 'Explains the
|
|
56
|
+
defaultMessage: '<b>Get</b> answers grounded in your {providerName} context',
|
|
57
|
+
description: 'Explains the benefit of answers grounded in provider context. providerName is supplied by the Smart Link response.'
|
|
58
58
|
},
|
|
59
59
|
title: {
|
|
60
60
|
id: 'smart-card.view.PreAuthValuePropositionModal.title',
|
|
@@ -120,13 +120,13 @@ var ModalCopy = function ModalCopy(_ref) {
|
|
|
120
120
|
as: "p",
|
|
121
121
|
color: "color.text",
|
|
122
122
|
size: "large"
|
|
123
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.
|
|
123
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.searchBenefit, {
|
|
124
124
|
values: messageValues
|
|
125
125
|
}))), /*#__PURE__*/React.createElement(Text, {
|
|
126
126
|
as: "p",
|
|
127
127
|
color: "color.text",
|
|
128
128
|
size: "large"
|
|
129
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.
|
|
129
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.seeBenefit, {
|
|
130
130
|
values: messageValues
|
|
131
131
|
}))), /*#__PURE__*/React.createElement(Text, {
|
|
132
132
|
as: "p",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "46.5.
|
|
3
|
+
"version": "46.5.8",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/embedded-confluence": "^6.4.0",
|
|
55
55
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
56
56
|
"@atlaskit/flag": "^19.0.0",
|
|
57
|
-
"@atlaskit/form": "^18.
|
|
57
|
+
"@atlaskit/form": "^18.2.0",
|
|
58
58
|
"@atlaskit/frontend-utilities": "^5.0.0",
|
|
59
59
|
"@atlaskit/heading": "^8.0.0",
|
|
60
60
|
"@atlaskit/icon": "^38.0.0",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"@atlaskit/textfield": "^10.2.0",
|
|
94
94
|
"@atlaskit/theme": "^28.2.0",
|
|
95
95
|
"@atlaskit/tile": "^5.0.0",
|
|
96
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
97
|
-
"@atlaskit/tokens": "^20.
|
|
96
|
+
"@atlaskit/tmp-editor-statsig": "^228.0.0",
|
|
97
|
+
"@atlaskit/tokens": "^20.4.0",
|
|
98
98
|
"@atlaskit/tooltip": "^24.4.0",
|
|
99
99
|
"@atlaskit/ufo": "^2.0.0",
|
|
100
100
|
"@atlaskit/width-detector": "^7.2.0",
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
"@atlaskit/analytics-listeners": "^11.4.0",
|
|
125
125
|
"@atlaskit/code": "^20.0.0",
|
|
126
126
|
"@atlaskit/css-reset": "^8.4.0",
|
|
127
|
-
"@atlaskit/datetime-picker": "^19.
|
|
127
|
+
"@atlaskit/datetime-picker": "^19.3.0",
|
|
128
128
|
"@atlaskit/media-test-helpers": "^43.0.0",
|
|
129
129
|
"@atlaskit/page": "^15.3.0",
|
|
130
130
|
"@atlaskit/pragmatic-drag-and-drop-react-beautiful-dnd-migration": "^3.4.0",
|