@atlaskit/smart-card 44.3.2 → 44.3.4
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 +16 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
- package/dist/cjs/messages.js +0 -10
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +3 -2
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +6 -4
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
- package/dist/es2019/messages.js +0 -10
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/rovo-chat-action/index.js +3 -2
- package/dist/es2019/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +6 -4
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-generic-3p-rovo-chat-action--default.png +2 -2
- package/dist/esm/messages.js +0 -10
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +3 -2
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/lozenge-action-trigger/index.js +6 -4
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/messages.d.ts +1 -1
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 44.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`34380f9e645b4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/34380f9e645b4) -
|
|
8
|
+
Always render an aria-label on the flexible card lozenge action trigger so the status dropdown
|
|
9
|
+
announces the current status to assistive technology.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 44.3.3
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [`d2102caf5dde7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d2102caf5dde7) -
|
|
17
|
+
[ux] Change post auth SL experiment "Key highlights" prompt to "Highlight what's relevant"
|
|
18
|
+
|
|
3
19
|
## 44.3.2
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:b8aeef80cf159ec303e78a96543b6ba2493e3fb66ffe0e4fa996bb8acf132065
|
|
3
|
+
size 33042
|
package/dist/cjs/messages.js
CHANGED
|
@@ -957,16 +957,6 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
957
957
|
defaultMessage: '<p>Summarize the main ideas and key points of <a>{url}</a> in 3-5 clear, complete sentences.</p><p>Preserve any important details such as names, dates, and key decisions.</p>',
|
|
958
958
|
description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
|
|
959
959
|
},
|
|
960
|
-
rovo_prompt_button_key_highlights: {
|
|
961
|
-
id: 'fabric.linking.rovo_prompt_button_key_highlights.non-final',
|
|
962
|
-
defaultMessage: 'Key highlights',
|
|
963
|
-
description: 'The name of the action to send a key highlights prompt message to Rovo Chat in relation to current Smart Link'
|
|
964
|
-
},
|
|
965
|
-
rovo_prompt_message_key_highlights: {
|
|
966
|
-
id: 'fabric.linking.rovo_prompt_message_key_highlights.non-final',
|
|
967
|
-
defaultMessage: "<p>Based on <a>{url}</a> and the page or ticket I'm currently viewing, highlight the parts of the linked content that are most relevant to this work. Explain briefly why each part is relevant.</p>",
|
|
968
|
-
description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
|
|
969
|
-
},
|
|
970
960
|
rovo_prompt_button_ask_rovo_anything: {
|
|
971
961
|
id: 'fabric.linking.rovo_prompt_button_ask_rovo.non-final',
|
|
972
962
|
defaultMessage: 'Ask Rovo',
|
|
@@ -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.3.
|
|
14
|
+
packageVersion: "44.3.3"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -152,8 +152,9 @@ var getPromptAction = function getPromptAction(promptKey, intl) {
|
|
|
152
152
|
}
|
|
153
153
|
};
|
|
154
154
|
case RovoChatPromptKey.KEY_HIGHLIGHTS:
|
|
155
|
-
var label_key_highlights = intl.formatMessage(_messages.messages.
|
|
156
|
-
var html_key_highlights = intl.formatMessage(_messages.messages.
|
|
155
|
+
var label_key_highlights = intl.formatMessage(_messages.messages.rovo_prompt_button_highlight_relevant_content);
|
|
156
|
+
var html_key_highlights = intl.formatMessage(_messages.messages.rovo_prompt_message_highlight_relevant_content, {
|
|
157
|
+
context: contextLong,
|
|
157
158
|
url: url
|
|
158
159
|
}, {
|
|
159
160
|
ignoreTag: true
|
|
@@ -111,11 +111,11 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
111
111
|
maxWidth: maxWidth,
|
|
112
112
|
testId: testId,
|
|
113
113
|
ref: triggerRef,
|
|
114
|
-
"aria-label":
|
|
114
|
+
"aria-label":
|
|
115
115
|
// The `as unknown` type cast is needed for react-intl v7 upgrade
|
|
116
116
|
intl.formatMessage(_messages.messages.change_status, {
|
|
117
117
|
status: text
|
|
118
|
-
})
|
|
118
|
+
})
|
|
119
119
|
}), text)) : /*#__PURE__*/React.createElement("button", (0, _extends2.default)({
|
|
120
120
|
type: "button"
|
|
121
121
|
}, props, {
|
|
@@ -129,9 +129,11 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
129
129
|
onKeyDown: onMouseOrKeyDown,
|
|
130
130
|
onKeyUp: onMouseOrKeyUp,
|
|
131
131
|
ref: triggerRef,
|
|
132
|
-
"aria-label":
|
|
132
|
+
"aria-label":
|
|
133
|
+
// The `as unknown` type cast is needed for react-intl v7 upgrade
|
|
134
|
+
intl.formatMessage(_messages.messages.change_status, {
|
|
133
135
|
status: text
|
|
134
|
-
})
|
|
136
|
+
}),
|
|
135
137
|
className: (0, _runtime.ax)(["_kkk2n7od _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _15vhn7od _1dqonqa1 _189e1dm9 _1h6d1j28 _bfhk1j28 _syazn7od _80omtlke _ect4n7od _1wybn7od _zg8ln7od _k48pn7od _vwz4idpf _1p1dn7od _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _mizu1r31 _1guj1r31 _p8tl1r31 _ra3xglyw _pbhaglyw _1q2vglyw _128m1o36 _11ow1o36 _j8b81o36 _1bas1qi0 _19h61qi0 _1d391qi0 _1ejj1y54 _1u6l1y54 _6ssh1y54"])
|
|
136
138
|
}), lozenge);
|
|
137
139
|
};
|
|
@@ -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.3.
|
|
25
|
+
packageVersion: "44.3.3",
|
|
26
26
|
componentName: 'linkUrl'
|
|
27
27
|
};
|
|
28
28
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:b8aeef80cf159ec303e78a96543b6ba2493e3fb66ffe0e4fa996bb8acf132065
|
|
3
|
+
size 33042
|
package/dist/es2019/messages.js
CHANGED
|
@@ -951,16 +951,6 @@ export const messages = defineMessages({
|
|
|
951
951
|
defaultMessage: '<p>Summarize the main ideas and key points of <a>{url}</a> in 3-5 clear, complete sentences.</p><p>Preserve any important details such as names, dates, and key decisions.</p>',
|
|
952
952
|
description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
|
|
953
953
|
},
|
|
954
|
-
rovo_prompt_button_key_highlights: {
|
|
955
|
-
id: 'fabric.linking.rovo_prompt_button_key_highlights.non-final',
|
|
956
|
-
defaultMessage: 'Key highlights',
|
|
957
|
-
description: 'The name of the action to send a key highlights prompt message to Rovo Chat in relation to current Smart Link'
|
|
958
|
-
},
|
|
959
|
-
rovo_prompt_message_key_highlights: {
|
|
960
|
-
id: 'fabric.linking.rovo_prompt_message_key_highlights.non-final',
|
|
961
|
-
defaultMessage: "<p>Based on <a>{url}</a> and the page or ticket I'm currently viewing, highlight the parts of the linked content that are most relevant to this work. Explain briefly why each part is relevant.</p>",
|
|
962
|
-
description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
|
|
963
|
-
},
|
|
964
954
|
rovo_prompt_button_ask_rovo_anything: {
|
|
965
955
|
id: 'fabric.linking.rovo_prompt_button_ask_rovo.non-final',
|
|
966
956
|
defaultMessage: 'Ask Rovo',
|
|
@@ -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.3.
|
|
5
|
+
packageVersion: "44.3.3"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -135,8 +135,9 @@ const getPromptAction = (promptKey, intl, url = '', product) => {
|
|
|
135
135
|
}
|
|
136
136
|
};
|
|
137
137
|
case RovoChatPromptKey.KEY_HIGHLIGHTS:
|
|
138
|
-
const label_key_highlights = intl.formatMessage(messages.
|
|
139
|
-
const html_key_highlights = intl.formatMessage(messages.
|
|
138
|
+
const label_key_highlights = intl.formatMessage(messages.rovo_prompt_button_highlight_relevant_content);
|
|
139
|
+
const html_key_highlights = intl.formatMessage(messages.rovo_prompt_message_highlight_relevant_content, {
|
|
140
|
+
context: contextLong,
|
|
140
141
|
url
|
|
141
142
|
}, {
|
|
142
143
|
ignoreTag: true
|
|
@@ -88,11 +88,11 @@ const LozengeActionTrigger = ({
|
|
|
88
88
|
maxWidth: maxWidth,
|
|
89
89
|
testId: testId,
|
|
90
90
|
ref: triggerRef,
|
|
91
|
-
"aria-label":
|
|
91
|
+
"aria-label":
|
|
92
92
|
// The `as unknown` type cast is needed for react-intl v7 upgrade
|
|
93
93
|
intl.formatMessage(messages.change_status, {
|
|
94
94
|
status: text
|
|
95
|
-
})
|
|
95
|
+
})
|
|
96
96
|
}), text)) : /*#__PURE__*/React.createElement("button", _extends({
|
|
97
97
|
type: "button"
|
|
98
98
|
}, props, {
|
|
@@ -106,9 +106,11 @@ const LozengeActionTrigger = ({
|
|
|
106
106
|
onKeyDown: onMouseOrKeyDown,
|
|
107
107
|
onKeyUp: onMouseOrKeyUp,
|
|
108
108
|
ref: triggerRef,
|
|
109
|
-
"aria-label":
|
|
109
|
+
"aria-label":
|
|
110
|
+
// The `as unknown` type cast is needed for react-intl v7 upgrade
|
|
111
|
+
intl.formatMessage(messages.change_status, {
|
|
110
112
|
status: text
|
|
111
|
-
})
|
|
113
|
+
}),
|
|
112
114
|
className: ax(["_kkk2n7od _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _15vhn7od _1dqonqa1 _189e1dm9 _1h6d1j28 _bfhk1j28 _syazn7od _80omtlke _ect4n7od _1wybn7od _zg8ln7od _k48pn7od _vwz4idpf _1p1dn7od _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _mizu1r31 _1guj1r31 _p8tl1r31 _ra3xglyw _pbhaglyw _1q2vglyw _128m1o36 _11ow1o36 _j8b81o36 _1bas1qi0 _19h61qi0 _1d391qi0 _1ejj1y54 _1u6l1y54 _6ssh1y54"])
|
|
113
115
|
}), lozenge);
|
|
114
116
|
};
|
|
@@ -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.3.
|
|
15
|
+
packageVersion: "44.3.3",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:b8aeef80cf159ec303e78a96543b6ba2493e3fb66ffe0e4fa996bb8acf132065
|
|
3
|
+
size 33042
|
package/dist/esm/messages.js
CHANGED
|
@@ -951,16 +951,6 @@ export var messages = defineMessages({
|
|
|
951
951
|
defaultMessage: '<p>Summarize the main ideas and key points of <a>{url}</a> in 3-5 clear, complete sentences.</p><p>Preserve any important details such as names, dates, and key decisions.</p>',
|
|
952
952
|
description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
|
|
953
953
|
},
|
|
954
|
-
rovo_prompt_button_key_highlights: {
|
|
955
|
-
id: 'fabric.linking.rovo_prompt_button_key_highlights.non-final',
|
|
956
|
-
defaultMessage: 'Key highlights',
|
|
957
|
-
description: 'The name of the action to send a key highlights prompt message to Rovo Chat in relation to current Smart Link'
|
|
958
|
-
},
|
|
959
|
-
rovo_prompt_message_key_highlights: {
|
|
960
|
-
id: 'fabric.linking.rovo_prompt_message_key_highlights.non-final',
|
|
961
|
-
defaultMessage: "<p>Based on <a>{url}</a> and the page or ticket I'm currently viewing, highlight the parts of the linked content that are most relevant to this work. Explain briefly why each part is relevant.</p>",
|
|
962
|
-
description: 'The prompt message to send to Rovo Chat. {url} refers to Smart Link that the user triggers this action from. (Please make sure all html tags remain the same.)'
|
|
963
|
-
},
|
|
964
954
|
rovo_prompt_button_ask_rovo_anything: {
|
|
965
955
|
id: 'fabric.linking.rovo_prompt_button_ask_rovo.non-final',
|
|
966
956
|
defaultMessage: 'Ask Rovo',
|
|
@@ -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.3.
|
|
7
|
+
packageVersion: "44.3.3"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -143,8 +143,9 @@ var getPromptAction = function getPromptAction(promptKey, intl) {
|
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
case RovoChatPromptKey.KEY_HIGHLIGHTS:
|
|
146
|
-
var label_key_highlights = intl.formatMessage(messages.
|
|
147
|
-
var html_key_highlights = intl.formatMessage(messages.
|
|
146
|
+
var label_key_highlights = intl.formatMessage(messages.rovo_prompt_button_highlight_relevant_content);
|
|
147
|
+
var html_key_highlights = intl.formatMessage(messages.rovo_prompt_message_highlight_relevant_content, {
|
|
148
|
+
context: contextLong,
|
|
148
149
|
url: url
|
|
149
150
|
}, {
|
|
150
151
|
ignoreTag: true
|
|
@@ -103,11 +103,11 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
103
103
|
maxWidth: maxWidth,
|
|
104
104
|
testId: testId,
|
|
105
105
|
ref: triggerRef,
|
|
106
|
-
"aria-label":
|
|
106
|
+
"aria-label":
|
|
107
107
|
// The `as unknown` type cast is needed for react-intl v7 upgrade
|
|
108
108
|
intl.formatMessage(messages.change_status, {
|
|
109
109
|
status: text
|
|
110
|
-
})
|
|
110
|
+
})
|
|
111
111
|
}), text)) : /*#__PURE__*/React.createElement("button", _extends({
|
|
112
112
|
type: "button"
|
|
113
113
|
}, props, {
|
|
@@ -121,9 +121,11 @@ var LozengeActionTrigger = function LozengeActionTrigger(_ref) {
|
|
|
121
121
|
onKeyDown: onMouseOrKeyDown,
|
|
122
122
|
onKeyUp: onMouseOrKeyUp,
|
|
123
123
|
ref: triggerRef,
|
|
124
|
-
"aria-label":
|
|
124
|
+
"aria-label":
|
|
125
|
+
// The `as unknown` type cast is needed for react-intl v7 upgrade
|
|
126
|
+
intl.formatMessage(messages.change_status, {
|
|
125
127
|
status: text
|
|
126
|
-
})
|
|
128
|
+
}),
|
|
127
129
|
className: ax(["_kkk2n7od _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _15vhn7od _1dqonqa1 _189e1dm9 _1h6d1j28 _bfhk1j28 _syazn7od _80omtlke _ect4n7od _1wybn7od _zg8ln7od _k48pn7od _vwz4idpf _1p1dn7od _19pkv77o _2hwxv77o _otyrv77o _18u0v77o _mizu1r31 _1guj1r31 _p8tl1r31 _ra3xglyw _pbhaglyw _1q2vglyw _128m1o36 _11ow1o36 _j8b81o36 _1bas1qi0 _19h61qi0 _1d391qi0 _1ejj1y54 _1u6l1y54 _6ssh1y54"])
|
|
128
130
|
}), lozenge);
|
|
129
131
|
};
|
|
@@ -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.3.
|
|
18
|
+
packageVersion: "44.3.3",
|
|
19
19
|
componentName: 'linkUrl'
|
|
20
20
|
};
|
|
21
21
|
var Anchor = withLinkClickedEvent('a');
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
|
|
3
|
-
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement' | 'rovo_prompt_message_summarize' | '
|
|
3
|
+
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement' | 'rovo_prompt_message_summarize' | 'rovo_prompt_button_ask_rovo_anything' | 'rovo_prompt_message_ask_rovo_anything' | 'rovo_prompt_button_highlight_relevant_content' | 'rovo_prompt_message_highlight_relevant_content' | 'rovo_prompt_button_identify_key_trends' | 'rovo_prompt_message_identify_key_trends' | 'rovo_prompt_button_identify_key_points' | 'rovo_prompt_message_identify_key_points' | 'rovo_prompt_button_find_open_questions' | 'rovo_prompt_message_find_open_questions';
|
|
4
4
|
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | RovoChatActionMessageKey;
|
|
5
5
|
type Messages = {
|
|
6
6
|
[K in MessageKey]: MessageDescriptor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl';
|
|
2
2
|
export type RequestAccessMessageKey = 'click_to_join' | 'click_to_join_description' | 'forbidden_description' | 'request_access' | 'request_access_description' | 'request_access_pending' | 'request_access_pending_title' | 'request_access_pending_description' | 'request_denied_description' | 'default_no_access_title' | 'direct_access_title' | 'direct_access_description' | 'direct_access' | 'access_exists_description' | 'not_found_description' | 'not_found_title';
|
|
3
|
-
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement' | 'rovo_prompt_message_summarize' | '
|
|
3
|
+
export type RovoChatActionMessageKey = 'rovo_prompt_context_generic' | 'rovo_prompt_context_generic_plural' | 'rovo_prompt_context_confluence_page' | 'rovo_prompt_context_confluence_page_short' | 'rovo_prompt_context_jira_work_item' | 'rovo_prompt_context_jira_work_item_short' | 'rovo_prompt_button_recommend_other_sources' | 'rovo_prompt_message_recommend_other_sources' | 'rovo_prompt_button_show_other_mentions' | 'rovo_prompt_message_show_other_mentions' | 'rovo_prompt_button_suggest_improvement' | 'rovo_prompt_message_suggest_improvement' | 'rovo_prompt_message_summarize' | 'rovo_prompt_button_ask_rovo_anything' | 'rovo_prompt_message_ask_rovo_anything' | 'rovo_prompt_button_highlight_relevant_content' | 'rovo_prompt_message_highlight_relevant_content' | 'rovo_prompt_button_identify_key_trends' | 'rovo_prompt_message_identify_key_trends' | 'rovo_prompt_button_identify_key_points' | 'rovo_prompt_message_identify_key_points' | 'rovo_prompt_button_find_open_questions' | 'rovo_prompt_message_find_open_questions';
|
|
4
4
|
export type MessageKey = 'assigned_to' | 'ai_summarize' | 'change_status' | 'ai_summarized' | 'ai_summarized_abbreviation' | 'ai_summarized_info' | 'ai_summarized_info_short' | 'ai_summarizing' | 'ai_summary_error_generic' | 'ai_summary_error_acceptable_use_violation' | 'ai_summary_error_hipaa_content_detected' | 'ai_summary_error_exceeding_context_length_error' | 'ai_summary_action' | 'ai_summary_action_description' | 'automation_action_title' | 'automation_action_tooltip' | 'automation_action_icon_label' | 'automation_action_confluence_page_modal_title' | 'automation_action_confluence_page_modal_description' | 'copy_summary_action' | 'copy_summary_action_description' | 'copied_summary_action_description' | 'beta' | 'cannot_find_link' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_modal' | 'preview_panel' | 'preview_close' | 'preview_max_size' | 'preview_min_size' | 'priority_blocker' | 'priority_critical' | 'priority_high' | 'priority_highest' | 'priority_low' | 'priority_lowest' | 'priority_major' | 'priority_medium' | 'priority_minor' | 'priority_trivial' | 'priority_undefined' | 'forbidden_access' | 'pending_request' | 'read_time' | 'restricted_link' | 'request_access_to_view' | 'request_denied' | 'sent_on_relative' | 'sent_on_absolute' | 'status_change_load_error' | 'status_change_permission_error' | 'status_change_update_error' | 'try_again' | 'try_another_account' | 'unauthorised_account_description' | 'unauthorised_account_description_no_provider' | 'unauthorised_account_name' | 'unauthorised_account_name_no_provider' | 'rovo_actions_explore' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project_descriptionGalaxia' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_experiment_shorter' | 'learn_more_about_connecting_account_appify' | 'rovo_summary_loading' | 'ai_disclaimer' | 'rovo_unauthorised_title' | 'rovo_unauthorised_title_no_provider' | 'rovo_unauthorised_feature_clear_link_names' | 'rovo_unauthorised_feature_understand_linked_docs' | 'rovo_unauthorised_feature_go_deeper_smart_suggestions' | 'rovo_unauthorised_connect_account' | 'rovo_unauthorised_not_now' | RovoChatActionMessageKey;
|
|
5
5
|
type Messages = {
|
|
6
6
|
[K in MessageKey]: MessageDescriptor;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "44.3.
|
|
3
|
+
"version": "44.3.4",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.6.0",
|
|
40
40
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
42
|
-
"@atlaskit/avatar": "^25.
|
|
42
|
+
"@atlaskit/avatar": "^25.13.0",
|
|
43
43
|
"@atlaskit/avatar-group": "^12.7.0",
|
|
44
44
|
"@atlaskit/badge": "^18.6.0",
|
|
45
45
|
"@atlaskit/browser-apis": "^0.0.1",
|
|
@@ -68,14 +68,14 @@
|
|
|
68
68
|
"@atlaskit/logo": "^20.0.0",
|
|
69
69
|
"@atlaskit/lozenge": "^13.7.0",
|
|
70
70
|
"@atlaskit/menu": "^8.5.0",
|
|
71
|
-
"@atlaskit/modal-dialog": "^14.
|
|
71
|
+
"@atlaskit/modal-dialog": "^14.17.0",
|
|
72
72
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
73
73
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
75
75
|
"@atlaskit/popup": "^4.16.0",
|
|
76
76
|
"@atlaskit/primitives": "^19.0.0",
|
|
77
77
|
"@atlaskit/react-ufo": "^5.16.0",
|
|
78
|
-
"@atlaskit/rovo-triggers": "^5.
|
|
78
|
+
"@atlaskit/rovo-triggers": "^5.43.0",
|
|
79
79
|
"@atlaskit/section-message": "^8.12.0",
|
|
80
80
|
"@atlaskit/select": "^21.10.0",
|
|
81
81
|
"@atlaskit/spinner": "^19.1.0",
|
|
@@ -214,9 +214,6 @@
|
|
|
214
214
|
"navx-2478-sl-fix-hover-card-unresolved-view": {
|
|
215
215
|
"type": "boolean"
|
|
216
216
|
},
|
|
217
|
-
"platform_navx_flex_card_status_dropdown_a11y_fix": {
|
|
218
|
-
"type": "boolean"
|
|
219
|
-
},
|
|
220
217
|
"platform_sl_3p_auth_rovo_action_kill_switch": {
|
|
221
218
|
"type": "boolean"
|
|
222
219
|
},
|