@atlaskit/smart-card 46.4.2 → 46.5.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 +20 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/InlineCard/common/one-click-chat-spotlight/index.js +7 -12
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/InlineCard/common/one-click-chat-spotlight/index.js +7 -12
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/InlineCard/common/one-click-chat-spotlight/index.js +7 -12
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 46.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c2a714462c2d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c2a714462c2d1) -
|
|
8
|
+
Update One Click Chat Spotlight V2 body and CTA copy behind
|
|
9
|
+
platform_sl_one_click_chat_spotlight_v2_fg.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 46.5.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [`725211e3dd6b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/725211e3dd6b0) -
|
|
17
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 46.4.2
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
@@ -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.
|
|
28
|
+
packageVersion: "46.5.0" || ''
|
|
29
29
|
};
|
|
30
30
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
31
31
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -36,15 +36,10 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
36
36
|
defaultMessage: 'Explore this link with Rovo',
|
|
37
37
|
description: 'Accessible name of a spotlight introducing the Rovo action beside a resolved Smart Link.'
|
|
38
38
|
},
|
|
39
|
-
|
|
40
|
-
id: 'smart-card.one-click-chat-spotlight-v2.
|
|
41
|
-
defaultMessage: '
|
|
42
|
-
description: 'Spotlight
|
|
43
|
-
},
|
|
44
|
-
github: {
|
|
45
|
-
id: 'smart-card.one-click-chat-spotlight-v2.github.ai-non-final',
|
|
46
|
-
defaultMessage: 'Discover insights from your GitHub Smart Link using Rovo',
|
|
47
|
-
description: 'Spotlight text explaining that the inline action explains the linked GitHub code.'
|
|
39
|
+
body: {
|
|
40
|
+
id: 'smart-card.one-click-chat-spotlight-v2.takeaways-body.ai-non-final',
|
|
41
|
+
defaultMessage: 'Get key decisions and next steps from this link',
|
|
42
|
+
description: 'Spotlight body inviting users to get key decisions and next steps from a linked document or code using Rovo.'
|
|
48
43
|
},
|
|
49
44
|
dismiss: {
|
|
50
45
|
id: 'smart-card.one-click-chat-spotlight-v2.dismiss.ai-non-final',
|
|
@@ -52,8 +47,8 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
52
47
|
description: 'Dismiss button in the Smart Link spotlight. Hides this spotlight for seven days.'
|
|
53
48
|
},
|
|
54
49
|
action: {
|
|
55
|
-
id: 'smart-card.one-click-chat-spotlight-v2.
|
|
56
|
-
defaultMessage: '
|
|
50
|
+
id: 'smart-card.one-click-chat-spotlight-v2.see-takeaways.ai-non-final',
|
|
51
|
+
defaultMessage: 'See takeaways',
|
|
57
52
|
description: 'Button in the spotlight that invokes the same Rovo action as the highlighted inline button.'
|
|
58
53
|
}
|
|
59
54
|
});
|
|
@@ -278,7 +273,7 @@ function OneClickChatSpotlight(_ref3) {
|
|
|
278
273
|
content: function content() {
|
|
279
274
|
return /*#__PURE__*/_react.default.createElement(VisibleSpotlightCard, {
|
|
280
275
|
onShown: spotlight.onShown,
|
|
281
|
-
body: intl.formatMessage(
|
|
276
|
+
body: intl.formatMessage(messages.body),
|
|
282
277
|
dismissLabel: intl.formatMessage(messages.dismiss),
|
|
283
278
|
actionLabel: intl.formatMessage(messages.action),
|
|
284
279
|
onDismiss: spotlight.onDismiss,
|
|
@@ -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.
|
|
22
|
+
packageVersion: "46.5.0",
|
|
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
|
+
packageVersion: "46.5.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -24,15 +24,10 @@ const messages = defineMessages({
|
|
|
24
24
|
defaultMessage: 'Explore this link with Rovo',
|
|
25
25
|
description: 'Accessible name of a spotlight introducing the Rovo action beside a resolved Smart Link.'
|
|
26
26
|
},
|
|
27
|
-
|
|
28
|
-
id: 'smart-card.one-click-chat-spotlight-v2.
|
|
29
|
-
defaultMessage: '
|
|
30
|
-
description: 'Spotlight
|
|
31
|
-
},
|
|
32
|
-
github: {
|
|
33
|
-
id: 'smart-card.one-click-chat-spotlight-v2.github.ai-non-final',
|
|
34
|
-
defaultMessage: 'Discover insights from your GitHub Smart Link using Rovo',
|
|
35
|
-
description: 'Spotlight text explaining that the inline action explains the linked GitHub code.'
|
|
27
|
+
body: {
|
|
28
|
+
id: 'smart-card.one-click-chat-spotlight-v2.takeaways-body.ai-non-final',
|
|
29
|
+
defaultMessage: 'Get key decisions and next steps from this link',
|
|
30
|
+
description: 'Spotlight body inviting users to get key decisions and next steps from a linked document or code using Rovo.'
|
|
36
31
|
},
|
|
37
32
|
dismiss: {
|
|
38
33
|
id: 'smart-card.one-click-chat-spotlight-v2.dismiss.ai-non-final',
|
|
@@ -40,8 +35,8 @@ const messages = defineMessages({
|
|
|
40
35
|
description: 'Dismiss button in the Smart Link spotlight. Hides this spotlight for seven days.'
|
|
41
36
|
},
|
|
42
37
|
action: {
|
|
43
|
-
id: 'smart-card.one-click-chat-spotlight-v2.
|
|
44
|
-
defaultMessage: '
|
|
38
|
+
id: 'smart-card.one-click-chat-spotlight-v2.see-takeaways.ai-non-final',
|
|
39
|
+
defaultMessage: 'See takeaways',
|
|
45
40
|
description: 'Button in the spotlight that invokes the same Rovo action as the highlighted inline button.'
|
|
46
41
|
}
|
|
47
42
|
});
|
|
@@ -253,7 +248,7 @@ export function OneClickChatSpotlight({
|
|
|
253
248
|
}, children),
|
|
254
249
|
content: () => /*#__PURE__*/React.createElement(VisibleSpotlightCard, {
|
|
255
250
|
onShown: spotlight.onShown,
|
|
256
|
-
body: intl.formatMessage(
|
|
251
|
+
body: intl.formatMessage(messages.body),
|
|
257
252
|
dismissLabel: intl.formatMessage(messages.dismiss),
|
|
258
253
|
actionLabel: intl.formatMessage(messages.action),
|
|
259
254
|
onDismiss: spotlight.onDismiss,
|
|
@@ -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.
|
|
12
|
+
packageVersion: "46.5.0",
|
|
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
|
+
packageVersion: "46.5.0" || ''
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -27,15 +27,10 @@ var messages = defineMessages({
|
|
|
27
27
|
defaultMessage: 'Explore this link with Rovo',
|
|
28
28
|
description: 'Accessible name of a spotlight introducing the Rovo action beside a resolved Smart Link.'
|
|
29
29
|
},
|
|
30
|
-
|
|
31
|
-
id: 'smart-card.one-click-chat-spotlight-v2.
|
|
32
|
-
defaultMessage: '
|
|
33
|
-
description: 'Spotlight
|
|
34
|
-
},
|
|
35
|
-
github: {
|
|
36
|
-
id: 'smart-card.one-click-chat-spotlight-v2.github.ai-non-final',
|
|
37
|
-
defaultMessage: 'Discover insights from your GitHub Smart Link using Rovo',
|
|
38
|
-
description: 'Spotlight text explaining that the inline action explains the linked GitHub code.'
|
|
30
|
+
body: {
|
|
31
|
+
id: 'smart-card.one-click-chat-spotlight-v2.takeaways-body.ai-non-final',
|
|
32
|
+
defaultMessage: 'Get key decisions and next steps from this link',
|
|
33
|
+
description: 'Spotlight body inviting users to get key decisions and next steps from a linked document or code using Rovo.'
|
|
39
34
|
},
|
|
40
35
|
dismiss: {
|
|
41
36
|
id: 'smart-card.one-click-chat-spotlight-v2.dismiss.ai-non-final',
|
|
@@ -43,8 +38,8 @@ var messages = defineMessages({
|
|
|
43
38
|
description: 'Dismiss button in the Smart Link spotlight. Hides this spotlight for seven days.'
|
|
44
39
|
},
|
|
45
40
|
action: {
|
|
46
|
-
id: 'smart-card.one-click-chat-spotlight-v2.
|
|
47
|
-
defaultMessage: '
|
|
41
|
+
id: 'smart-card.one-click-chat-spotlight-v2.see-takeaways.ai-non-final',
|
|
42
|
+
defaultMessage: 'See takeaways',
|
|
48
43
|
description: 'Button in the spotlight that invokes the same Rovo action as the highlighted inline button.'
|
|
49
44
|
}
|
|
50
45
|
});
|
|
@@ -269,7 +264,7 @@ export function OneClickChatSpotlight(_ref3) {
|
|
|
269
264
|
content: function content() {
|
|
270
265
|
return /*#__PURE__*/React.createElement(VisibleSpotlightCard, {
|
|
271
266
|
onShown: spotlight.onShown,
|
|
272
|
-
body: intl.formatMessage(
|
|
267
|
+
body: intl.formatMessage(messages.body),
|
|
273
268
|
dismissLabel: intl.formatMessage(messages.dismiss),
|
|
274
269
|
actionLabel: intl.formatMessage(messages.action),
|
|
275
270
|
onDismiss: spotlight.onDismiss,
|
|
@@ -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.
|
|
15
|
+
packageVersion: "46.5.0",
|
|
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.
|
|
3
|
+
"version": "46.5.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/adf-utils": "^20.9.0",
|
|
42
|
-
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.
|
|
42
|
+
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.271.0",
|
|
43
43
|
"@atlaskit/analytics-cross-product": "^2.2.0",
|
|
44
44
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
45
45
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"@atlaskit/primitives": "^22.5.0",
|
|
84
84
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
85
85
|
"@atlaskit/react-ufo": "^8.0.0",
|
|
86
|
-
"@atlaskit/rovo-triggers": "^11.
|
|
86
|
+
"@atlaskit/rovo-triggers": "^11.10.0",
|
|
87
87
|
"@atlaskit/section-message": "^10.2.0",
|
|
88
88
|
"@atlaskit/select": "^23.1.0",
|
|
89
89
|
"@atlaskit/spinner": "^20.4.0",
|
|
@@ -93,7 +93,7 @@
|
|
|
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": "^
|
|
96
|
+
"@atlaskit/tmp-editor-statsig": "^224.0.0",
|
|
97
97
|
"@atlaskit/tokens": "^20.3.0",
|
|
98
98
|
"@atlaskit/tooltip": "^24.4.0",
|
|
99
99
|
"@atlaskit/ufo": "^2.0.0",
|