@atlaskit/smart-card 44.4.0 → 44.5.0
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/analytics.spec.yaml +5 -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/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +2 -2
- package/dist/cjs/common/analytics/generated/create-event-payload.js +7 -7
- package/dist/cjs/common/analytics/generated/use-analytics-events.js +1 -1
- package/dist/cjs/messages.js +49 -49
- package/dist/cjs/preloadLazyCardWithUrlContent.js +15 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +0 -2
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/index.js +10 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.compiled.css +4 -3
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css +1 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +4 -1
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +1 -1
- 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/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +2 -2
- package/dist/es2019/common/analytics/generated/create-event-payload.js +6 -6
- package/dist/es2019/common/analytics/generated/use-analytics-events.js +2 -2
- package/dist/es2019/messages.js +49 -49
- package/dist/es2019/preloadLazyCardWithUrlContent.js +2 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +0 -2
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/actions/action/action-stack-item/index.js +21 -10
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.compiled.css +4 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css +1 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +4 -1
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +1 -1
- 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/__tests__/vr-tests/__snapshots__/hover-card/hover-card-with-google-rovo-chat-action--default--rovogrowth-640-inline-action-nudge-exp-true.png +2 -2
- package/dist/esm/common/analytics/generated/create-event-payload.js +7 -7
- package/dist/esm/common/analytics/generated/use-analytics-events.js +1 -1
- package/dist/esm/messages.js +49 -49
- package/dist/esm/preloadLazyCardWithUrlContent.js +4 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.compiled.css +0 -2
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js +1 -1
- package/dist/esm/view/FlexibleCard/components/actions/action/action-stack-item/index.js +10 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.compiled.css +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.compiled.css +4 -3
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css +1 -0
- package/dist/esm/view/FlexibleCard/components/blocks/hover-card-footer-block/index.js +4 -1
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/common/analytics/generated/analytics.types.d.ts +116 -114
- package/dist/types/common/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types/common/analytics/generated/use-analytics-events.d.ts +4 -1
- package/dist/types/preloadLazyCardWithUrlContent.d.ts +1 -0
- package/dist/types-ts4.5/common/analytics/generated/analytics.types.d.ts +116 -114
- package/dist/types-ts4.5/common/analytics/generated/create-event-payload.d.ts +1 -1
- package/dist/types-ts4.5/common/analytics/generated/use-analytics-events.d.ts +4 -5
- package/dist/types-ts4.5/preloadLazyCardWithUrlContent.d.ts +1 -0
- package/package.json +1 -1
- package/preload-lazy-card-with-url-content/package.json +17 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 44.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`71a9831f934b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/71a9831f934b6) -
|
|
8
|
+
[ux] Design tweaks for the inline post auth action experiment hovercard
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`975109ee06673`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/975109ee06673) -
|
|
13
|
+
Add gated chat component preloading on hover intent. Introduces `preloadChatOnIntent()` in
|
|
14
|
+
`@atlassian/conversation-assistant` (subpath `./preload-chat-on-intent`), invoked from the
|
|
15
|
+
Confluence top-nav and the AI smart button hover handlers. Aligns auto-suggest's live `lazy()`
|
|
16
|
+
boundary with a shared `importAutoSuggest()` factory and exposes `preloadLazyCardWithUrlContent()`
|
|
17
|
+
on `@atlaskit/smart-card`. Behaviour is gated by `chat_preload_components`, runs at most once per
|
|
18
|
+
page load, and is fully non-blocking.
|
|
19
|
+
|
|
3
20
|
## 44.4.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -772,6 +772,11 @@ events:
|
|
|
772
772
|
required: false
|
|
773
773
|
type: ['large', 'small']
|
|
774
774
|
description: The size of the modal
|
|
775
|
+
- button clicked (dismiss):
|
|
776
|
+
type: ui
|
|
777
|
+
description: fires when a user dismisses a dismissible Smart Link or hover card control.
|
|
778
|
+
attributes:
|
|
779
|
+
<<: [*PackageMetaDataContext, *CommonContext]
|
|
775
780
|
- button clicked (learnMore):
|
|
776
781
|
type: ui
|
|
777
782
|
description:
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:58befa1fbc873aa0672a8e0a3cebe1903406324b6b86d9e1e331adf2237ca1c1
|
|
3
|
+
size 36884
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
version https://git-lfs.github.com/spec/v1
|
|
2
|
-
oid sha256:
|
|
3
|
-
size
|
|
2
|
+
oid sha256:3653660b252b46503f72959451e6cc6b9b34c5e6fb2aef765e8c59f1f7ff14e3
|
|
3
|
+
size 29363
|
|
@@ -11,7 +11,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
11
11
|
*
|
|
12
12
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
13
13
|
*
|
|
14
|
-
* @codegen <<SignedSource::
|
|
14
|
+
* @codegen <<SignedSource::268e746266cde1271e40a794eb774cf3>>
|
|
15
15
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
|
|
16
16
|
*/
|
|
17
17
|
|
|
@@ -20,12 +20,12 @@ var createEventPayload = function createEventPayload(eventKey) {
|
|
|
20
20
|
_ref[_key - 1] = arguments[_key];
|
|
21
21
|
}
|
|
22
22
|
var attributes = _ref[0];
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
eventType =
|
|
26
|
-
actionSubject =
|
|
27
|
-
action =
|
|
28
|
-
actionSubjectId =
|
|
23
|
+
var _ref2 = eventKey.split('.'),
|
|
24
|
+
_ref3 = (0, _slicedToArray2.default)(_ref2, 4),
|
|
25
|
+
eventType = _ref3[0],
|
|
26
|
+
actionSubject = _ref3[1],
|
|
27
|
+
action = _ref3[2],
|
|
28
|
+
actionSubjectId = _ref3[3];
|
|
29
29
|
if (eventType === 'screen') {
|
|
30
30
|
return {
|
|
31
31
|
eventType: eventType,
|
|
@@ -14,7 +14,7 @@ var _createEventPayload = _interopRequireDefault(require("./create-event-payload
|
|
|
14
14
|
*
|
|
15
15
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
16
16
|
*
|
|
17
|
-
* @codegen <<SignedSource::
|
|
17
|
+
* @codegen <<SignedSource::ac0d75fa9e8d43c947e88f47ba1267aa>>
|
|
18
18
|
* @codegenCommand yarn workspace @atlassian/analytics-tooling run analytics:codegen smart-card
|
|
19
19
|
*/
|
|
20
20
|
|
package/dist/cjs/messages.js
CHANGED
|
@@ -109,7 +109,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
109
109
|
beta: {
|
|
110
110
|
id: 'fabric.linking.beta',
|
|
111
111
|
defaultMessage: 'Beta',
|
|
112
|
-
description: '
|
|
112
|
+
description: 'Text shown in a lozenge badge on a smart link or card to indicate the feature is currently in beta.'
|
|
113
113
|
},
|
|
114
114
|
cannot_connect: {
|
|
115
115
|
id: 'fabric.linking.cannot_connect',
|
|
@@ -134,12 +134,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
134
134
|
close: {
|
|
135
135
|
id: 'fabric.linking.close',
|
|
136
136
|
defaultMessage: 'Close',
|
|
137
|
-
description: '
|
|
137
|
+
description: 'Label for a button or icon that closes the currently open modal dialog or overlay screen.'
|
|
138
138
|
},
|
|
139
139
|
check_this_link: {
|
|
140
140
|
id: 'fabric.linking.check_this_link',
|
|
141
141
|
defaultMessage: 'Check this link',
|
|
142
|
-
description: '
|
|
142
|
+
description: 'Heading shown at the top of the link safety warning modal, prompting the user to verify a potentially unsafe link before proceeding.'
|
|
143
143
|
},
|
|
144
144
|
compass_applied_components_count: {
|
|
145
145
|
id: 'compass.applied_components_count.non-final',
|
|
@@ -194,7 +194,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
194
194
|
continue: {
|
|
195
195
|
id: 'fabric.linking.continue',
|
|
196
196
|
defaultMessage: 'Continue',
|
|
197
|
-
description: '
|
|
197
|
+
description: 'Label for a button that advances the user to the next step, e.g. in the link safety warning modal flow.'
|
|
198
198
|
},
|
|
199
199
|
copy_url_to_clipboard: {
|
|
200
200
|
id: 'fabric.linking.copy_url_to_clipboard',
|
|
@@ -204,7 +204,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
204
204
|
copied_url_to_clipboard: {
|
|
205
205
|
id: 'fabric.linking.copied_url_to_clipboard',
|
|
206
206
|
defaultMessage: 'Copied!',
|
|
207
|
-
description: '
|
|
207
|
+
description: 'Confirmation text shown briefly after the user copies a URL to the clipboard using the copy link action.'
|
|
208
208
|
},
|
|
209
209
|
could_not_load_link: {
|
|
210
210
|
id: 'fabric.linking.couldnt_load_link',
|
|
@@ -229,27 +229,27 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
229
229
|
delete: {
|
|
230
230
|
id: 'fabric.linking.delete',
|
|
231
231
|
defaultMessage: 'Delete',
|
|
232
|
-
description: '
|
|
232
|
+
description: 'Label for the delete action in a smart link or card action menu, allowing the user to remove the linked item.'
|
|
233
233
|
},
|
|
234
234
|
download: {
|
|
235
235
|
id: 'fabric.linking.download',
|
|
236
236
|
defaultMessage: 'Download',
|
|
237
|
-
description: '
|
|
237
|
+
description: 'Label for the download action in a smart link or card action menu, initiating a file download.'
|
|
238
238
|
},
|
|
239
239
|
download_description: {
|
|
240
240
|
id: 'fabric.linking.download_description',
|
|
241
241
|
defaultMessage: 'Download this file into your local storage',
|
|
242
|
-
description:
|
|
242
|
+
description: "Tooltip or description text for the download action, explaining it saves the file to the user's local storage."
|
|
243
243
|
},
|
|
244
244
|
download_file: {
|
|
245
245
|
id: 'fabric.linking.download_file',
|
|
246
246
|
defaultMessage: 'Download file',
|
|
247
|
-
description: '
|
|
247
|
+
description: 'Label for the download file action in a smart link or card action menu, allowing the user to save the linked file locally.'
|
|
248
248
|
},
|
|
249
249
|
ai_summary_action: {
|
|
250
250
|
id: 'fabric.linking.ai_summary_action',
|
|
251
251
|
defaultMessage: 'Summarize with AI',
|
|
252
|
-
description: '
|
|
252
|
+
description: 'Label for the AI summarize action in a smart link or hover card action menu, allowing the user to generate an AI summary of the linked content.'
|
|
253
253
|
},
|
|
254
254
|
ai_summary_action_description: {
|
|
255
255
|
id: 'fabric.linking.ai_summary_action_description',
|
|
@@ -274,22 +274,22 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
274
274
|
edit: {
|
|
275
275
|
id: 'fabric.linking.edit',
|
|
276
276
|
defaultMessage: 'Edit',
|
|
277
|
-
description: '
|
|
277
|
+
description: 'Label for the edit action in a smart link or card action menu, allowing the user to modify the linked item.'
|
|
278
278
|
},
|
|
279
279
|
follow: {
|
|
280
280
|
id: 'fabric.linking.follow',
|
|
281
281
|
defaultMessage: 'Follow',
|
|
282
|
-
description: '
|
|
282
|
+
description: 'Label for the follow button on a smart link card, allowing the user to subscribe to updates for the linked project or resource.'
|
|
283
283
|
},
|
|
284
284
|
follow_project_description: {
|
|
285
285
|
id: 'fabric.linking.follow_project_description',
|
|
286
286
|
defaultMessage: 'Follow to get notifications on this project',
|
|
287
|
-
description: '
|
|
287
|
+
description: 'Tooltip or description text for the follow project button, explaining that clicking it enables notifications for the project.'
|
|
288
288
|
},
|
|
289
289
|
follow_project: {
|
|
290
290
|
id: 'fabric.linking.follow_project',
|
|
291
291
|
defaultMessage: 'Follow project',
|
|
292
|
-
description: '
|
|
292
|
+
description: 'Label for the follow project button on a smart link card, allowing the user to subscribe to updates for the linked Atlassian project.'
|
|
293
293
|
},
|
|
294
294
|
follow_project_error: {
|
|
295
295
|
id: 'fabric.linking.follow_project_error',
|
|
@@ -299,12 +299,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
299
299
|
follow_goal_description: {
|
|
300
300
|
id: 'fabric.linking.follow_goal_description',
|
|
301
301
|
defaultMessage: 'Follow this goal to get notifications on updates',
|
|
302
|
-
description: '
|
|
302
|
+
description: 'Tooltip or description text for the follow goal button, explaining that clicking it enables notifications for updates to the goal.'
|
|
303
303
|
},
|
|
304
304
|
follow_goal: {
|
|
305
305
|
id: 'fabric.linking.follow_goal',
|
|
306
306
|
defaultMessage: 'Follow goal',
|
|
307
|
-
description: '
|
|
307
|
+
description: 'Label for the follow goal button on a smart link card, allowing the user to subscribe to updates for the linked Atlas goal.'
|
|
308
308
|
},
|
|
309
309
|
follow_goal_error: {
|
|
310
310
|
id: 'fabric.linking.follow_goal_error',
|
|
@@ -314,7 +314,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
314
314
|
go_back: {
|
|
315
315
|
id: 'fabric.linking.go_back',
|
|
316
316
|
defaultMessage: 'Go back',
|
|
317
|
-
description: '
|
|
317
|
+
description: 'Label for a navigation button that returns the user to the previous step or screen in a modal flow.'
|
|
318
318
|
},
|
|
319
319
|
invalid_permissions: {
|
|
320
320
|
id: 'fabric.linking.invalid_permissions',
|
|
@@ -369,12 +369,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
369
369
|
open_issue_in_jira: {
|
|
370
370
|
id: 'fabric.linking.open_issue_in_jira',
|
|
371
371
|
defaultMessage: 'Open issue in Jira',
|
|
372
|
-
description: '
|
|
372
|
+
description: 'Label for the action button on a smart link card that opens the linked Jira issue in Jira.'
|
|
373
373
|
},
|
|
374
374
|
open_link_in_a_new_tab: {
|
|
375
375
|
id: 'fabric.linking.open_link_in_a_new_tab',
|
|
376
376
|
defaultMessage: 'Open link in a new tab',
|
|
377
|
-
description: '
|
|
377
|
+
description: 'Label for the action button on a smart link card that opens the linked resource in a new browser tab.'
|
|
378
378
|
},
|
|
379
379
|
owned_by: {
|
|
380
380
|
id: 'fabric.linking.owned_by',
|
|
@@ -389,7 +389,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
389
389
|
preview_description: {
|
|
390
390
|
id: 'fabric.linking.preview_description',
|
|
391
391
|
defaultMessage: 'Open a full screen preview of this link',
|
|
392
|
-
description: '
|
|
392
|
+
description: 'Tooltip or description text for the preview action on a smart link card, explaining it opens a full-screen embed preview of the linked content.'
|
|
393
393
|
},
|
|
394
394
|
preview_improved: {
|
|
395
395
|
id: 'fabric.linking.preview_improved',
|
|
@@ -409,7 +409,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
409
409
|
preview_close: {
|
|
410
410
|
id: 'fabric.linking.preview_close',
|
|
411
411
|
defaultMessage: 'Close preview',
|
|
412
|
-
description: '
|
|
412
|
+
description: 'Label for the button that closes the embed preview modal dialog on a smart link card.'
|
|
413
413
|
},
|
|
414
414
|
preview_max_size: {
|
|
415
415
|
id: 'fabric.linking.preview_max_size',
|
|
@@ -424,57 +424,57 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
424
424
|
priority_blocker: {
|
|
425
425
|
id: 'fabric.linking.priority_blocker',
|
|
426
426
|
defaultMessage: 'Blocker',
|
|
427
|
-
description: '
|
|
427
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Blocker priority.'
|
|
428
428
|
},
|
|
429
429
|
priority_critical: {
|
|
430
430
|
id: 'fabric.linking.priority_critical',
|
|
431
431
|
defaultMessage: 'Critical',
|
|
432
|
-
description: '
|
|
432
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Critical priority.'
|
|
433
433
|
},
|
|
434
434
|
priority_high: {
|
|
435
435
|
id: 'fabric.linking.priority_high',
|
|
436
436
|
defaultMessage: 'High',
|
|
437
|
-
description: '
|
|
437
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has High priority.'
|
|
438
438
|
},
|
|
439
439
|
priority_highest: {
|
|
440
440
|
id: 'fabric.linking.priority_highest',
|
|
441
441
|
defaultMessage: 'Highest',
|
|
442
|
-
description: '
|
|
442
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Highest priority.'
|
|
443
443
|
},
|
|
444
444
|
priority_low: {
|
|
445
445
|
id: 'fabric.linking.priority_low',
|
|
446
446
|
defaultMessage: 'Low',
|
|
447
|
-
description: '
|
|
447
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Low priority.'
|
|
448
448
|
},
|
|
449
449
|
priority_lowest: {
|
|
450
450
|
id: 'fabric.linking.priority_lowest',
|
|
451
451
|
defaultMessage: 'Lowest',
|
|
452
|
-
description: '
|
|
452
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Lowest priority.'
|
|
453
453
|
},
|
|
454
454
|
priority_major: {
|
|
455
455
|
id: 'fabric.linking.priority_major',
|
|
456
456
|
defaultMessage: 'Major',
|
|
457
|
-
description: '
|
|
457
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Major priority.'
|
|
458
458
|
},
|
|
459
459
|
priority_medium: {
|
|
460
460
|
id: 'fabric.linking.priority_medium',
|
|
461
461
|
defaultMessage: 'Medium',
|
|
462
|
-
description: '
|
|
462
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Medium priority.'
|
|
463
463
|
},
|
|
464
464
|
priority_minor: {
|
|
465
465
|
id: 'fabric.linking.priority_minor',
|
|
466
466
|
defaultMessage: 'Minor',
|
|
467
|
-
description: '
|
|
467
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Minor priority.'
|
|
468
468
|
},
|
|
469
469
|
priority_trivial: {
|
|
470
470
|
id: 'fabric.linking.priority_trivial',
|
|
471
471
|
defaultMessage: 'Trivial',
|
|
472
|
-
description: '
|
|
472
|
+
description: 'Label for a priority badge on a Jira issue smart link card indicating the issue has Trivial priority.'
|
|
473
473
|
},
|
|
474
474
|
priority_undefined: {
|
|
475
475
|
id: 'fabric.linking.priority_undefined',
|
|
476
476
|
defaultMessage: 'Undefined',
|
|
477
|
-
description: '
|
|
477
|
+
description: 'Label for a priority badge on a Jira issue smart link card when the priority level is not defined or unknown.'
|
|
478
478
|
},
|
|
479
479
|
forbidden_access: {
|
|
480
480
|
id: 'fabric.linking.forbidden_access',
|
|
@@ -489,7 +489,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
489
489
|
read_time: {
|
|
490
490
|
id: 'fabric.linking.read_time',
|
|
491
491
|
defaultMessage: '{context} min read',
|
|
492
|
-
description: '
|
|
492
|
+
description: 'Text shown on a smart link card displaying the estimated reading time. The placeholder {context} is substituted with the number of minutes.'
|
|
493
493
|
},
|
|
494
494
|
restricted_link: {
|
|
495
495
|
id: 'fabric.linking.restricted_link',
|
|
@@ -509,12 +509,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
509
509
|
retry: {
|
|
510
510
|
id: 'fabric.linking.retry',
|
|
511
511
|
defaultMessage: 'Retry',
|
|
512
|
-
description: '
|
|
512
|
+
description: 'Label for a retry button shown on a smart link card after an error, allowing the user to attempt the failed action again.'
|
|
513
513
|
},
|
|
514
514
|
save: {
|
|
515
515
|
id: 'fabric.linking.save',
|
|
516
516
|
defaultMessage: 'Save',
|
|
517
|
-
description:
|
|
517
|
+
description: "Label for a save button on a smart link card or action, confirming and persisting the user's changes."
|
|
518
518
|
},
|
|
519
519
|
sent_on_relative: {
|
|
520
520
|
id: 'fabric.linking.sent_on_relative',
|
|
@@ -544,7 +544,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
544
544
|
try_again: {
|
|
545
545
|
id: 'fabric.linking.try_again',
|
|
546
546
|
defaultMessage: 'Try again',
|
|
547
|
-
description: '
|
|
547
|
+
description: 'Label for a button shown on a smart link error state, prompting the user to retry the failed load or action.'
|
|
548
548
|
},
|
|
549
549
|
try_another_account: {
|
|
550
550
|
id: 'fabric.linking.try_another_account',
|
|
@@ -554,7 +554,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
554
554
|
link_safety_warning_message: {
|
|
555
555
|
id: 'fabric.linking.link_safety_warning_message',
|
|
556
556
|
defaultMessage: 'The link {unsafeLinkText} is taking you to a different site, <a>actual link here</a>',
|
|
557
|
-
description: '
|
|
557
|
+
description: 'Warning message shown in the link safety modal. The placeholder {unsafeLinkText} is substituted with the suspicious link text, and <a> wraps the actual destination URL.'
|
|
558
558
|
},
|
|
559
559
|
unauthorised_account_description: {
|
|
560
560
|
id: 'fabric.linking.unauthorised_account_description',
|
|
@@ -589,17 +589,17 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
589
589
|
unfollow: {
|
|
590
590
|
id: 'fabric.linking.unfollow',
|
|
591
591
|
defaultMessage: 'Unfollow',
|
|
592
|
-
description: '
|
|
592
|
+
description: 'Label for the unfollow button on a smart link card, allowing the user to stop receiving updates for the linked project or resource.'
|
|
593
593
|
},
|
|
594
594
|
unfollow_project_description: {
|
|
595
595
|
id: 'fabric.linking.unfollow_project_description',
|
|
596
596
|
defaultMessage: 'Unfollow to stop receiving project notifications',
|
|
597
|
-
description: '
|
|
597
|
+
description: 'Tooltip or description for the unfollow project button, explaining that clicking it stops project update notifications.'
|
|
598
598
|
},
|
|
599
599
|
unfollow_project: {
|
|
600
600
|
id: 'fabric.linking.unfollow_project',
|
|
601
601
|
defaultMessage: 'Unfollow project',
|
|
602
|
-
description: '
|
|
602
|
+
description: 'Label for the unfollow project button on a smart link card, allowing the user to stop following the linked Atlassian project.'
|
|
603
603
|
},
|
|
604
604
|
unfollow_project_error: {
|
|
605
605
|
id: 'fabric.linking.unfollow_project_error',
|
|
@@ -609,12 +609,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
609
609
|
unfollow_goal_description: {
|
|
610
610
|
id: 'fabric.linking.unfollow_goal_description',
|
|
611
611
|
defaultMessage: 'Unfollow to stop receiving notifications for this goal',
|
|
612
|
-
description: '
|
|
612
|
+
description: 'Tooltip or description for the unfollow goal button, explaining that clicking it stops notifications for the linked Atlas goal.'
|
|
613
613
|
},
|
|
614
614
|
unfollow_goal: {
|
|
615
615
|
id: 'fabric.linking.unfollow_goal',
|
|
616
616
|
defaultMessage: 'Unfollow goal',
|
|
617
|
-
description: '
|
|
617
|
+
description: 'Label for the unfollow goal button on a smart link card, allowing the user to stop following the linked Atlas goal.'
|
|
618
618
|
},
|
|
619
619
|
unfollow_goal_error: {
|
|
620
620
|
id: 'fabric.linking.unfollow_goal_error',
|
|
@@ -724,7 +724,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
724
724
|
generic_error_message: {
|
|
725
725
|
id: 'fabric.linking.generic_error_message',
|
|
726
726
|
defaultMessage: 'An error occurred',
|
|
727
|
-
description: '
|
|
727
|
+
description: 'Generic error message shown on a smart link card when an unspecified error occurs and no more specific message is available.'
|
|
728
728
|
},
|
|
729
729
|
related_links_modal_title: {
|
|
730
730
|
id: 'fabric.linking.related_links_modal_title',
|
|
@@ -759,12 +759,12 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
759
759
|
related_links_modal_error_title: {
|
|
760
760
|
id: 'fabric.linking.related_links_modal_error_title',
|
|
761
761
|
defaultMessage: "We're having trouble loading related links",
|
|
762
|
-
description: '
|
|
762
|
+
description: 'Heading shown in the related links modal when related links fail to load due to a network or server error.'
|
|
763
763
|
},
|
|
764
764
|
related_links_modal_unavailable_title: {
|
|
765
765
|
id: 'fabric.linking.related_links_modal_unavailable_title',
|
|
766
766
|
defaultMessage: "We couldn't find any related links",
|
|
767
|
-
description: '
|
|
767
|
+
description: 'Heading shown in the related links modal when no related links are available for the current resource.'
|
|
768
768
|
},
|
|
769
769
|
related_links_modal_error_description: {
|
|
770
770
|
id: 'fabric.linking.related_links_modal_error_description',
|
|
@@ -784,7 +784,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
784
784
|
open_issue_in_jiraIssueTermRefresh: {
|
|
785
785
|
id: 'fabric.linking.open_issue_in_jira-issue-term-refresh',
|
|
786
786
|
defaultMessage: 'Open work item in Jira',
|
|
787
|
-
description: '
|
|
787
|
+
description: 'Label for the action button on a smart link card that opens the linked Jira work item in Jira (issue term refresh variant).'
|
|
788
788
|
},
|
|
789
789
|
request_access_to_viewIssueTermRefresh: {
|
|
790
790
|
id: 'fabric.linking.request_access_to_view-issue-term-refresh',
|
|
@@ -799,7 +799,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
799
799
|
team_members_count: {
|
|
800
800
|
id: 'fabric.linking.team_members_count',
|
|
801
801
|
defaultMessage: '{context} members',
|
|
802
|
-
description: '
|
|
802
|
+
description: 'Text shown on a smart link card displaying the number of members in a team. The placeholder {context} is substituted with the member count.'
|
|
803
803
|
},
|
|
804
804
|
user_attributes: {
|
|
805
805
|
id: 'fabric.linking.user_attributes',
|
|
@@ -810,7 +810,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
810
810
|
follow_project_descriptionGalaxia: {
|
|
811
811
|
id: 'fabric.linking.follow_project_description-galaxia',
|
|
812
812
|
defaultMessage: 'Follow to get notifications on this space',
|
|
813
|
-
description: '
|
|
813
|
+
description: 'Tooltip or description for the follow space button (Galaxia variant), explaining that clicking it enables notifications for the Confluence space.'
|
|
814
814
|
},
|
|
815
815
|
follow_project_errorGalaxia: {
|
|
816
816
|
id: 'fabric.linking.follow_project_error-galaxia',
|
|
@@ -820,7 +820,7 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
820
820
|
unfollow_project_descriptionGalaxia: {
|
|
821
821
|
id: 'fabric.linking.unfollow_project_description-galaxia',
|
|
822
822
|
defaultMessage: 'Unfollow to stop receiving space notifications',
|
|
823
|
-
description: '
|
|
823
|
+
description: 'Tooltip or description for the unfollow space button (Galaxia variant), explaining that clicking it stops notifications for the Confluence space.'
|
|
824
824
|
},
|
|
825
825
|
unfollow_project_errorGalaxia: {
|
|
826
826
|
id: 'fabric.linking.unfollow_project_error-galaxia',
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.preloadLazyCardWithUrlContent = void 0;
|
|
8
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
9
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
10
|
+
// Intent-time preload for the LazyCardWithUrlContent chunk; chunk name mirrors `view/CardWithUrl/loader.tsx`.
|
|
11
|
+
var preloadLazyCardWithUrlContent = exports.preloadLazyCardWithUrlContent = function preloadLazyCardWithUrlContent() {
|
|
12
|
+
return Promise.resolve().then(function () {
|
|
13
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_smartcard-urlcardcontent" */'./view/CardWithUrl/component-lazy/index'));
|
|
14
|
+
});
|
|
15
|
+
};
|
|
@@ -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.
|
|
14
|
+
packageVersion: "44.4.0" || ''
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
._19bv1b66{padding-left:var(--ds-space-050,4px)}
|
|
7
7
|
._19bvv77o{padding-left:var(--ds-space-025,2px)}
|
|
8
8
|
._1bah1h6o{justify-content:center}
|
|
9
|
-
._1bsb1ns9{width:-moz-fit-content;width:fit-content}
|
|
10
9
|
._1bsb1osq{width:100%}
|
|
11
10
|
._1bsb1tcg{width:24px}
|
|
12
11
|
._1e0c116y{display:inline-flex}
|
|
@@ -22,6 +21,5 @@
|
|
|
22
21
|
._u5f31b66{padding-right:var(--ds-space-050,4px)}
|
|
23
22
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
24
23
|
._1ah31i6y:focus-visible{outline-offset:var(--ds-space-negative-025,-2px)}
|
|
25
|
-
._4cvx1v1w:hover{border-color:var(--ds-border-focused,#4688ec)}
|
|
26
24
|
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
27
25
|
._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
|
package/dist/cjs/view/FlexibleCard/components/actions/action/action-stack-item/action-button.js
CHANGED
|
@@ -24,7 +24,7 @@ var _actionIcon = _interopRequireDefault(require("../action-icon"));
|
|
|
24
24
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
25
25
|
var styles = {
|
|
26
26
|
button: "_bfhksm61 _ca0q1b66 _u5f31b66 _n3td1b66 _19bv1b66 _1bsb1osq _1ah31i6y _irr31dpa _1di6fcek",
|
|
27
|
-
pillButton: "_2rko1qi0 _189ee4h9 _1dqonqa1 _1h6d1l7x _kqswh2mm _bfhksm61 _u5f3u2gc _19bvv77o
|
|
27
|
+
pillButton: "_2rko1qi0 _189ee4h9 _1dqonqa1 _1h6d1l7x _kqswh2mm _bfhksm61 _u5f3u2gc _19bvv77o _1bsb1osq _1ah31i6y _irr31dpa _1di6fcek",
|
|
28
28
|
content: "_11c8wadc _syazi7uo",
|
|
29
29
|
pillContent: "_11c8wadc _syazi7uo _o5721q9c",
|
|
30
30
|
spinner: "_1bsb1tcg _4t3i1tcg _1e0c116y _4cvr1h6o _1bah1h6o"
|
|
@@ -8,22 +8,31 @@ exports.default = void 0;
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
|
+
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
11
13
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
14
|
+
var _constants = require("../../../../../../constants");
|
|
15
|
+
var _flexibleUiContext = require("../../../../../../state/flexible-ui-context");
|
|
12
16
|
var _actionButton = _interopRequireDefault(require("./action-button"));
|
|
13
17
|
var _excluded = ["content", "tooltipMessage", "tooltipOnHide", "hideTooltipOnMouseDown", "hideTooltip"];
|
|
14
18
|
var ActionStackItem = function ActionStackItem(_ref) {
|
|
19
|
+
var _flexibleUiContext$ac;
|
|
15
20
|
var content = _ref.content,
|
|
16
21
|
tooltipMessage = _ref.tooltipMessage,
|
|
17
22
|
tooltipOnHide = _ref.tooltipOnHide,
|
|
18
23
|
hideTooltipOnMouseDown = _ref.hideTooltipOnMouseDown,
|
|
19
24
|
hideTooltip = _ref.hideTooltip,
|
|
20
25
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
26
|
+
var flexibleUiContext = (0, _flexibleUiContext.useFlexibleUiContext)();
|
|
27
|
+
var isRovoAction = !!(flexibleUiContext !== null && flexibleUiContext !== void 0 && (_flexibleUiContext$ac = flexibleUiContext.actions) !== null && _flexibleUiContext$ac !== void 0 && _flexibleUiContext$ac[_constants.ActionName.RovoChatAction]);
|
|
28
|
+
var isRovoPillVariant = isRovoAction && (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true);
|
|
21
29
|
return hideTooltip ? /*#__PURE__*/_react.default.createElement(_actionButton.default, (0, _extends2.default)({}, props, {
|
|
22
30
|
content: content
|
|
23
31
|
})) : /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
24
32
|
content: tooltipMessage || content,
|
|
25
33
|
onHide: tooltipOnHide,
|
|
26
|
-
hideTooltipOnMouseDown: hideTooltipOnMouseDown
|
|
34
|
+
hideTooltipOnMouseDown: hideTooltipOnMouseDown,
|
|
35
|
+
position: isRovoPillVariant ? 'right' : undefined
|
|
27
36
|
}, function (tooltipProps) {
|
|
28
37
|
return /*#__PURE__*/_react.default.createElement(_actionButton.default, (0, _extends2.default)({}, props, {
|
|
29
38
|
content: content,
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
._4t3it94y{height:1px}
|
|
12
12
|
._bfhk1l7x{background-color:var(--ds-border,#0b120e24)}
|
|
13
13
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
14
|
-
.
|
|
14
|
+
._otyrutpp{margin-bottom:var(--ds-space-150,9pt)}
|
|
15
15
|
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
package/dist/cjs/view/FlexibleCard/components/blocks/action-block/ask-rovo-section-header.js
CHANGED
|
@@ -30,7 +30,7 @@ var AskRovoSectionHeader = function AskRovoSectionHeader(_ref) {
|
|
|
30
30
|
var intl = (0, _reactIntl.useIntl)();
|
|
31
31
|
return /*#__PURE__*/React.createElement("div", {
|
|
32
32
|
"data-testid": testId,
|
|
33
|
-
className: (0, _runtime.ax)(["_zulputpp _1e0c1txw _2lx21bp4
|
|
33
|
+
className: (0, _runtime.ax)(["_zulputpp _1e0c1txw _2lx21bp4 _otyrutpp _18u0v77o _1bsb1osq _1wpz1fhb"])
|
|
34
34
|
}, /*#__PURE__*/React.createElement("div", {
|
|
35
35
|
role: "separator",
|
|
36
36
|
"aria-orientation": "horizontal",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
.
|
|
2
|
+
._zulpu2gc{gap:var(--ds-space-100,8px)}._16jlkb7n{flex-grow:1}
|
|
3
3
|
._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
|
|
4
4
|
._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
|
|
5
5
|
._1bsb1osq{width:100%}
|
|
6
|
+
._1e0c11p5{display:grid}
|
|
6
7
|
._1e0c1txw{display:flex}
|
|
7
8
|
._2hwxc10g{margin-right:calc(var(--container-gap-right)*-1)}
|
|
8
9
|
._2lx21bp4{flex-direction:column}
|
|
9
|
-
.
|
|
10
|
-
.
|
|
10
|
+
._vchhusvi{box-sizing:border-box}
|
|
11
|
+
._yv0e1ris{grid-template-columns:max-content}
|
|
@@ -136,7 +136,7 @@ var ActionBlock = function ActionBlock(_ref) {
|
|
|
136
136
|
}, showRovoSectionHeader && /*#__PURE__*/React.createElement(_askRovoSectionHeader.default, {
|
|
137
137
|
testId: testId ? "".concat(testId, "-rovo-section-header") : undefined
|
|
138
138
|
}), /*#__PURE__*/React.createElement("div", {
|
|
139
|
-
className: (0, _runtime.ax)(["
|
|
139
|
+
className: (0, _runtime.ax)(["_zulpu2gc _1e0c11p5 _yv0e1ris"])
|
|
140
140
|
}, actions), /*#__PURE__*/React.createElement(_actionFooter.ActionFooter, {
|
|
141
141
|
message: message,
|
|
142
142
|
testId: testId
|
package/dist/cjs/view/FlexibleCard/components/blocks/hover-card-footer-block/index.compiled.css
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
._18u01ivi{margin-left:calc(var(--container-gap-left)*-1)}
|
|
11
11
|
._18u01wug{margin-left:auto}
|
|
12
12
|
._19p4ze3t *{padding-right:var(--ds-space-0,0)}
|
|
13
|
+
._19pkutpp{margin-top:var(--ds-space-150,9pt)}
|
|
13
14
|
._1bah1y6m{justify-content:flex-start}
|
|
14
15
|
._1bsb129b{width:calc(100% + var(--container-gap-left) + var(--container-gap-right))}
|
|
15
16
|
._1e0c1txw{display:flex}
|
|
@@ -13,6 +13,8 @@ var React = _react;
|
|
|
13
13
|
var _runtime = require("@compiled/react/runtime");
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
|
+
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
16
18
|
var _constants = require("../../../../../constants");
|
|
17
19
|
var _flexibleUiContext = require("../../../../../state/flexible-ui-context");
|
|
18
20
|
var Actions = _interopRequireWildcard(require("../../actions"));
|
|
@@ -26,6 +28,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
26
28
|
*/
|
|
27
29
|
var HIDDEN_HOVER_CARD_FOOTER_ACTIONS = [_constants.ActionName.RovoChatAction];
|
|
28
30
|
var ignoreContainerMarginStyles = null;
|
|
31
|
+
var inlineActionNudgeFooterMarginStyles = null;
|
|
29
32
|
var elevatedFooterStyles = null;
|
|
30
33
|
var providerStyles = null;
|
|
31
34
|
var actionsStyles = null;
|
|
@@ -71,7 +74,7 @@ var ResolvedHoverCardFooterBlock = function ResolvedHoverCardFooterBlock(_ref) {
|
|
|
71
74
|
return /*#__PURE__*/React.createElement(_block.default, (0, _extends2.default)({}, props, {
|
|
72
75
|
size: size,
|
|
73
76
|
testId: "".concat(testId, "-resolved-view"),
|
|
74
|
-
className: (0, _runtime.ax)(["_18zrpxbi _1rjcutpp _vchhusvi _1bsb129b _18u01ivi _2hwxc10g _otyr1ya9 _4t3ioahv", "_zulpu2gc _x3doj0fz _bfhkhfxm _mrkb1mok _1o0z1mok"])
|
|
77
|
+
className: (0, _runtime.ax)(["_18zrpxbi _1rjcutpp _vchhusvi _1bsb129b _18u01ivi _2hwxc10g _otyr1ya9 _4t3ioahv", "_zulpu2gc _x3doj0fz _bfhkhfxm _mrkb1mok _1o0z1mok", (0, _platformFeatureFlags.fg)('rovogrowth-640-inline-action-nudge-fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('rovogrowth-640-inline-action-nudge-exp', 'isEnabled', true) && "_19pkutpp"])
|
|
75
78
|
}), !hideProvider && /*#__PURE__*/React.createElement("div", {
|
|
76
79
|
className: (0, _runtime.ax)(["_4t3i1ejb _1e0c1txw _4cvr1h6o _1bah1y6m _vchhusvi _16jlkb7n"])
|
|
77
80
|
}, /*#__PURE__*/React.createElement(_elements.Provider, {
|
|
@@ -24,7 +24,7 @@ var messages = (0, _reactIntl.defineMessages)({
|
|
|
24
24
|
imageAltText: {
|
|
25
25
|
id: 'smart-link.image-icon.altText',
|
|
26
26
|
defaultMessage: 'Link Icon',
|
|
27
|
-
description: '
|
|
27
|
+
description: 'Alternative text for the link icon image displayed on a flexible smart link card, used by screen readers and when the image cannot be rendered.'
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
var ImageIcon = function ImageIcon(_ref) {
|