@atlaskit/smart-card 26.68.0 → 26.69.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 +26 -0
- package/dist/cjs/messages.js +27 -22
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/BlockCard/views/styled.js +1 -0
- package/dist/cjs/view/EmbedCard/components/styled.js +28 -2
- package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +5 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +1 -0
- package/dist/cjs/view/InlineCard/Frame/styled.js +4 -0
- package/dist/cjs/view/InlineCard/Icon.js +2 -0
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/styled.js +11 -0
- package/dist/cjs/view/InlineCard/ResolvingView/index.js +2 -2
- package/dist/cjs/view/InlineCard/ResolvingView/styled.js +1 -0
- package/dist/cjs/view/InlineCard/styled.js +7 -0
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +27 -0
- package/dist/cjs/view/RelatedLinksModal/types.js +5 -0
- package/dist/es2019/messages.js +27 -22
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/BlockCard/views/styled.js +1 -0
- package/dist/es2019/view/EmbedCard/components/styled.js +28 -2
- package/dist/es2019/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +3 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +1 -0
- package/dist/es2019/view/InlineCard/Frame/styled.js +4 -0
- package/dist/es2019/view/InlineCard/Icon.js +2 -0
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/styled.js +11 -0
- package/dist/es2019/view/InlineCard/ResolvingView/index.js +2 -2
- package/dist/es2019/view/InlineCard/ResolvingView/styled.js +2 -0
- package/dist/es2019/view/InlineCard/styled.js +7 -0
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +18 -0
- package/dist/es2019/view/RelatedLinksModal/types.js +1 -0
- package/dist/esm/messages.js +27 -22
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/BlockCard/views/styled.js +1 -0
- package/dist/esm/view/EmbedCard/components/styled.js +28 -2
- package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +5 -2
- package/dist/esm/view/FlexibleCard/components/blocks/ai-summary-block/ai-state-indicator/ai-indicator-tooltip.js +1 -0
- package/dist/esm/view/InlineCard/Frame/styled.js +4 -0
- package/dist/esm/view/InlineCard/Icon.js +2 -0
- package/dist/esm/view/InlineCard/IconAndTitleLayout/styled.js +11 -0
- package/dist/esm/view/InlineCard/ResolvingView/index.js +2 -2
- package/dist/esm/view/InlineCard/ResolvingView/styled.js +2 -0
- package/dist/esm/view/InlineCard/styled.js +7 -0
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/components/RelatedLinksBaseModal.js +17 -0
- package/dist/esm/view/RelatedLinksModal/types.js +1 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/view/InlineCard/ResolvingView/index.d.ts +1 -1
- package/dist/types/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +4 -0
- package/dist/types/view/RelatedLinksModal/types.d.ts +6 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/ResolvingView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/RelatedLinksModal/components/RelatedLinksBaseModal.d.ts +4 -0
- package/dist/types-ts4.5/view/RelatedLinksModal/types.d.ts +6 -0
- package/package.json +9 -9
package/dist/esm/messages.js
CHANGED
|
@@ -31,7 +31,7 @@ export var messages = defineMessages({
|
|
|
31
31
|
description: 'Additional info about the content summarised by AI.'
|
|
32
32
|
},
|
|
33
33
|
ai_summarized_info_short: {
|
|
34
|
-
id: 'fabric.linking.ai_summarized_info_short
|
|
34
|
+
id: 'fabric.linking.ai_summarized_info_short',
|
|
35
35
|
defaultMessage: 'Content quality may vary',
|
|
36
36
|
description: 'Additional info about the content summarised by AI.'
|
|
37
37
|
},
|
|
@@ -186,7 +186,7 @@ export var messages = defineMessages({
|
|
|
186
186
|
description: ''
|
|
187
187
|
},
|
|
188
188
|
copied_url_to_clipboard: {
|
|
189
|
-
id: 'fabric.linking.copied_url_to_clipboard
|
|
189
|
+
id: 'fabric.linking.copied_url_to_clipboard',
|
|
190
190
|
defaultMessage: 'Copied!',
|
|
191
191
|
description: 'Url has been copied to the clipboard'
|
|
192
192
|
},
|
|
@@ -221,37 +221,37 @@ export var messages = defineMessages({
|
|
|
221
221
|
description: ''
|
|
222
222
|
},
|
|
223
223
|
download_description: {
|
|
224
|
-
id: 'fabric.linking.download_description
|
|
224
|
+
id: 'fabric.linking.download_description',
|
|
225
225
|
defaultMessage: 'Download this file into your local storage',
|
|
226
226
|
description: 'Description on what Download does'
|
|
227
227
|
},
|
|
228
228
|
download_file: {
|
|
229
|
-
id: 'fabric.linking.download_file
|
|
229
|
+
id: 'fabric.linking.download_file',
|
|
230
230
|
defaultMessage: 'Download file',
|
|
231
231
|
description: 'Allow a user to download a file'
|
|
232
232
|
},
|
|
233
233
|
ai_summary_action: {
|
|
234
|
-
id: 'fabric.linking.ai_summary_action
|
|
234
|
+
id: 'fabric.linking.ai_summary_action',
|
|
235
235
|
defaultMessage: 'Summarize with AI',
|
|
236
236
|
description: 'Allow a user to summarize a link'
|
|
237
237
|
},
|
|
238
238
|
ai_summary_action_description: {
|
|
239
|
-
id: 'fabric.linking.ai_summary_action_description
|
|
239
|
+
id: 'fabric.linking.ai_summary_action_description',
|
|
240
240
|
defaultMessage: 'Summarize the content of this link using Atlassian Intelligence.',
|
|
241
241
|
description: 'Description of what the summarize link with AI action does'
|
|
242
242
|
},
|
|
243
243
|
copy_summary_action: {
|
|
244
|
-
id: 'fabric.linking.copy_summary_action
|
|
244
|
+
id: 'fabric.linking.copy_summary_action',
|
|
245
245
|
defaultMessage: 'Copy summary',
|
|
246
246
|
description: 'Allow a user to copy a generated summary'
|
|
247
247
|
},
|
|
248
248
|
copy_summary_action_description: {
|
|
249
|
-
id: 'fabric.linking.
|
|
249
|
+
id: 'fabric.linking.copy_summary_action_description',
|
|
250
250
|
defaultMessage: 'Copy summary',
|
|
251
251
|
description: 'Description of what the copy summary AI action does'
|
|
252
252
|
},
|
|
253
253
|
copied_summary_action_description: {
|
|
254
|
-
id: 'fabric.linking.copied_summary_action_description
|
|
254
|
+
id: 'fabric.linking.copied_summary_action_description',
|
|
255
255
|
defaultMessage: 'Copied summary to clipboard',
|
|
256
256
|
description: 'Confirmation to the user that the summry has been copied'
|
|
257
257
|
},
|
|
@@ -266,32 +266,32 @@ export var messages = defineMessages({
|
|
|
266
266
|
description: 'Click to follow a project.'
|
|
267
267
|
},
|
|
268
268
|
follow_project_description: {
|
|
269
|
-
id: 'fabric.linking.follow_project_description
|
|
269
|
+
id: 'fabric.linking.follow_project_description',
|
|
270
270
|
defaultMessage: 'Follow to get notifications on this project',
|
|
271
271
|
description: 'Description on what Follow does'
|
|
272
272
|
},
|
|
273
273
|
follow_project: {
|
|
274
|
-
id: 'fabric.linking.follow_project
|
|
274
|
+
id: 'fabric.linking.follow_project',
|
|
275
275
|
defaultMessage: 'Follow project',
|
|
276
276
|
description: 'Click to follow a project.'
|
|
277
277
|
},
|
|
278
278
|
follow_project_error: {
|
|
279
|
-
id: 'fabric.linking.follow_project_error
|
|
279
|
+
id: 'fabric.linking.follow_project_error',
|
|
280
280
|
defaultMessage: 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
281
281
|
description: 'Shown when an unknown error occurs when following an Atlas project'
|
|
282
282
|
},
|
|
283
283
|
follow_goal_description: {
|
|
284
|
-
id: 'fabric.linking.follow_goal_description
|
|
284
|
+
id: 'fabric.linking.follow_goal_description',
|
|
285
285
|
defaultMessage: 'Follow this goal to get notifications on updates',
|
|
286
286
|
description: 'Description on what Follow does'
|
|
287
287
|
},
|
|
288
288
|
follow_goal: {
|
|
289
|
-
id: 'fabric.linking.follow_goal
|
|
289
|
+
id: 'fabric.linking.follow_goal',
|
|
290
290
|
defaultMessage: 'Follow goal',
|
|
291
291
|
description: 'Click to follow a project.'
|
|
292
292
|
},
|
|
293
293
|
follow_goal_error: {
|
|
294
|
-
id: 'fabric.linking.follow_goal_error
|
|
294
|
+
id: 'fabric.linking.follow_goal_error',
|
|
295
295
|
defaultMessage: 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
296
296
|
description: 'Shown when an unknown error occurs when following an Atlas goal'
|
|
297
297
|
},
|
|
@@ -366,7 +366,7 @@ export var messages = defineMessages({
|
|
|
366
366
|
description: 'Indicates the person or entity that owns or maintains the resource.'
|
|
367
367
|
},
|
|
368
368
|
preview_description: {
|
|
369
|
-
id: 'fabric.linking.preview_description
|
|
369
|
+
id: 'fabric.linking.preview_description',
|
|
370
370
|
defaultMessage: 'Open a full screen preview of this link',
|
|
371
371
|
description: 'Description on what Preview does'
|
|
372
372
|
},
|
|
@@ -556,32 +556,32 @@ export var messages = defineMessages({
|
|
|
556
556
|
description: 'Click to unfollow a project.'
|
|
557
557
|
},
|
|
558
558
|
unfollow_project_description: {
|
|
559
|
-
id: 'fabric.linking.unfollow_project_description
|
|
559
|
+
id: 'fabric.linking.unfollow_project_description',
|
|
560
560
|
defaultMessage: 'Unfollow to stop receiving project notifications',
|
|
561
561
|
description: 'Description on what Unfollow does'
|
|
562
562
|
},
|
|
563
563
|
unfollow_project: {
|
|
564
|
-
id: 'fabric.linking.unfollow_project
|
|
564
|
+
id: 'fabric.linking.unfollow_project',
|
|
565
565
|
defaultMessage: 'Unfollow project',
|
|
566
566
|
description: 'Click to unfollow a project.'
|
|
567
567
|
},
|
|
568
568
|
unfollow_project_error: {
|
|
569
|
-
id: 'fabric.linking.unfollow_project_error
|
|
569
|
+
id: 'fabric.linking.unfollow_project_error',
|
|
570
570
|
defaultMessage: 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
571
571
|
description: 'Shown when an unknown error occurs when unfollowing an Atlas project'
|
|
572
572
|
},
|
|
573
573
|
unfollow_goal_description: {
|
|
574
|
-
id: 'fabric.linking.unfollow_goal_description
|
|
574
|
+
id: 'fabric.linking.unfollow_goal_description',
|
|
575
575
|
defaultMessage: 'Unfollow to stop receiving notifications for this goal',
|
|
576
576
|
description: 'Description on what Unfollow does'
|
|
577
577
|
},
|
|
578
578
|
unfollow_goal: {
|
|
579
|
-
id: 'fabric.linking.unfollow_goal
|
|
579
|
+
id: 'fabric.linking.unfollow_goal',
|
|
580
580
|
defaultMessage: 'Unfollow goal',
|
|
581
581
|
description: 'Click to unfollow a project.'
|
|
582
582
|
},
|
|
583
583
|
unfollow_goal_error: {
|
|
584
|
-
id: 'fabric.linking.unfollow_goal_error
|
|
584
|
+
id: 'fabric.linking.unfollow_goal_error',
|
|
585
585
|
defaultMessage: 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
586
586
|
description: 'Shown when an unknown error occurs when unfollowing an Atlas goal'
|
|
587
587
|
},
|
|
@@ -699,5 +699,10 @@ export var messages = defineMessages({
|
|
|
699
699
|
id: 'fabric.linking.generic_error_message',
|
|
700
700
|
defaultMessage: 'An error occurred',
|
|
701
701
|
description: 'A generic error message to the user'
|
|
702
|
+
},
|
|
703
|
+
related_links_modal_title_nonfinal: {
|
|
704
|
+
id: 'fabric.linking.related_links_modal_title.nonfinal',
|
|
705
|
+
defaultMessage: 'Recent Links',
|
|
706
|
+
description: 'Shown as the title for the related links modal'
|
|
702
707
|
}
|
|
703
708
|
});
|
|
@@ -15,7 +15,7 @@ export var ANALYTICS_CHANNEL = 'media';
|
|
|
15
15
|
export var context = {
|
|
16
16
|
componentName: 'smart-cards',
|
|
17
17
|
packageName: "@atlaskit/smart-card",
|
|
18
|
-
packageVersion: "26.
|
|
18
|
+
packageVersion: "26.69.1"
|
|
19
19
|
};
|
|
20
20
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
21
21
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
// TODO: Replace overrides with proper AtlasKit solution.
|
|
3
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
3
4
|
export var LozengeBlockWrapper = styled.span({
|
|
4
5
|
'& > span': {
|
|
5
6
|
marginLeft: "var(--ds-space-050, 4px)"
|
|
@@ -66,10 +66,12 @@ function visible(_ref7) {
|
|
|
66
66
|
return frameStyle === 'show' ? visibleStyles : '';
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression
|
|
69
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
70
70
|
export var LinkWrapper = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n ", " &:hover {\n text-decoration: none;\n }\n"])), function (props) {
|
|
71
71
|
return wrapperStyles(props);
|
|
72
72
|
});
|
|
73
|
+
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
73
75
|
export var Wrapper = styled.div(function (props) {
|
|
74
76
|
return wrapperStyles(props);
|
|
75
77
|
}, {
|
|
@@ -79,6 +81,7 @@ export var Wrapper = styled.div(function (props) {
|
|
|
79
81
|
marginTop: '10px'
|
|
80
82
|
});
|
|
81
83
|
export var embedHeaderHeight = 32;
|
|
84
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
82
85
|
export var Header = styled.div({
|
|
83
86
|
height: "".concat(embedHeaderHeight, "px"),
|
|
84
87
|
position: 'absolute',
|
|
@@ -93,6 +96,7 @@ export var Header = styled.div({
|
|
|
93
96
|
var frameStyle = _ref8.frameStyle;
|
|
94
97
|
return frameStyle === 'show' ? "\n box-sizing: border-box;\n padding: 0 ".concat("var(--ds-space-100, 8px)", ";\n ") : '';
|
|
95
98
|
});
|
|
99
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
96
100
|
export var IconWrapper = styled.div(borderRadius, csssize(16), function (_ref9) {
|
|
97
101
|
var isPlaceholder = _ref9.isPlaceholder;
|
|
98
102
|
if (isPlaceholder) {
|
|
@@ -103,6 +107,8 @@ export var IconWrapper = styled.div(borderRadius, csssize(16), function (_ref9)
|
|
|
103
107
|
}, {
|
|
104
108
|
marginRight: "var(--ds-space-050, 4px)"
|
|
105
109
|
});
|
|
110
|
+
|
|
111
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
106
112
|
export var TextWrapper = styled.div(function (_ref10) {
|
|
107
113
|
var isPlaceholder = _ref10.isPlaceholder;
|
|
108
114
|
if (isPlaceholder) {
|
|
@@ -115,13 +121,15 @@ export var TextWrapper = styled.div(function (_ref10) {
|
|
|
115
121
|
fontSize: '12px',
|
|
116
122
|
lineHeight: '16px'
|
|
117
123
|
}, ellipsis('none'));
|
|
124
|
+
|
|
125
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
118
126
|
export var TooltipWrapper = styled.div({
|
|
119
127
|
overflow: 'hidden'
|
|
120
128
|
});
|
|
121
129
|
// NB: `overflow` is kept as `hidden` since
|
|
122
130
|
// the internal contents of the `iframe` should
|
|
123
131
|
// manage scrolling behaviour.
|
|
124
|
-
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression
|
|
132
|
+
// eslint-disable-next-line @atlaskit/design-system/no-styled-tagged-template-expression, @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
125
133
|
export var Content = styled.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n ", ";\n border: 1px solid ", ";\n background-color: ", ";\n position: absolute;\n z-index: 1;\n width: 100%;\n transition: box-shadow 0.3s;\n\n > .calc-height > div > div {\n left: unset !important;\n width: unset !important;\n height: unset !important;\n position: initial !important;\n padding-bottom: unset !important;\n }\n > .embed-preview > div {\n margin: 0 auto;\n }\n\n ", "\n\n ", "\n\n ", "\n"])), contentBorderRadius, "var(--ds-border, ".concat(N40, ")"), "var(--ds-surface-raised, white)", function (_ref11) {
|
|
126
134
|
var allowScrollBar = _ref11.allowScrollBar,
|
|
127
135
|
removeOverflow = _ref11.removeOverflow;
|
|
@@ -136,6 +144,7 @@ export var Content = styled.div(_templateObject2 || (_templateObject2 = _taggedT
|
|
|
136
144
|
var frameStyle = _ref13.frameStyle;
|
|
137
145
|
return frameStyle === 'hide' ? 'height: 100%;' : "\n height: calc(100% - ".concat("var(--ds-space-400, 32px)", ");\n top: ", "var(--ds-space-400, 32px)", ";\n ");
|
|
138
146
|
});
|
|
147
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
139
148
|
export var Image = styled.img(function (_ref14) {
|
|
140
149
|
var size = _ref14.size;
|
|
141
150
|
return csssize(size);
|
|
@@ -143,12 +152,16 @@ export var Image = styled.img(function (_ref14) {
|
|
|
143
152
|
overflow: 'hidden'
|
|
144
153
|
});
|
|
145
154
|
export var maxAvatarCount = 6;
|
|
155
|
+
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
146
157
|
export var ContentWrapper = styled.div({
|
|
147
158
|
display: 'flex',
|
|
148
159
|
flexDirection: 'row',
|
|
149
160
|
boxSizing: 'border-box',
|
|
150
161
|
padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-150, 12px)", " ", "var(--ds-space-150, 12px)", " ", "var(--ds-space-150, 12px)")
|
|
151
162
|
});
|
|
163
|
+
|
|
164
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
152
165
|
export var Title = styled.div({
|
|
153
166
|
color: "var(--ds-text, ".concat(colors.N900, ")"),
|
|
154
167
|
fontSize: '16px',
|
|
@@ -157,6 +170,8 @@ export var Title = styled.div({
|
|
|
157
170
|
maxHeight: "".concat(20 * 4, "px"),
|
|
158
171
|
overflow: 'hidden'
|
|
159
172
|
});
|
|
173
|
+
|
|
174
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
160
175
|
export var Byline = styled.div({
|
|
161
176
|
marginTop: "var(--ds-space-050, 4px)",
|
|
162
177
|
color: "var(--ds-text-subtlest, ".concat(colors.N300, ")"),
|
|
@@ -164,6 +179,8 @@ export var Byline = styled.div({
|
|
|
164
179
|
fontWeight: 'normal',
|
|
165
180
|
lineHeight: 16 / 12
|
|
166
181
|
}, ellipsis('100%'));
|
|
182
|
+
|
|
183
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
167
184
|
export var Description = styled.div({
|
|
168
185
|
marginTop: "calc(".concat("var(--ds-space-100, 8px)", " - 1px)"),
|
|
169
186
|
color: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
@@ -173,9 +190,12 @@ export var Description = styled.div({
|
|
|
173
190
|
maxHeight: "".concat(18 * 3, "px"),
|
|
174
191
|
overflow: 'hidden'
|
|
175
192
|
});
|
|
193
|
+
|
|
194
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
176
195
|
export var ResolvedViewIconWrapper = styled.div({
|
|
177
196
|
marginTop: "var(--ds-space-050, 4px)"
|
|
178
197
|
});
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
179
199
|
export var Thumbnail = styled.div(borderRadius, csssize(48), function (props) {
|
|
180
200
|
return {
|
|
181
201
|
float: 'right',
|
|
@@ -185,9 +205,13 @@ export var Thumbnail = styled.div(borderRadius, csssize(48), function (props) {
|
|
|
185
205
|
backgroundSize: 'cover'
|
|
186
206
|
};
|
|
187
207
|
});
|
|
208
|
+
|
|
209
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
188
210
|
export var UsersWrapper = styled.div({
|
|
189
211
|
marginTop: "var(--ds-space-100, 8px)"
|
|
190
212
|
});
|
|
213
|
+
|
|
214
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
191
215
|
export var ActionsWrapper = styled.div({
|
|
192
216
|
marginTop: "var(--ds-space-100, 8px)",
|
|
193
217
|
textAlign: 'right',
|
|
@@ -198,6 +222,8 @@ export var ActionsWrapper = styled.div({
|
|
|
198
222
|
marginLeft: "var(--ds-space-050, 4px)"
|
|
199
223
|
}
|
|
200
224
|
});
|
|
225
|
+
|
|
226
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
201
227
|
export var AlertWrapper = styled.div({
|
|
202
228
|
position: 'absolute',
|
|
203
229
|
top: 0,
|
package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js
CHANGED
|
@@ -20,7 +20,7 @@ export function CopySummaryAction(_ref) {
|
|
|
20
20
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
21
21
|
var _useAnalyticsEvents = useAnalyticsEvents(),
|
|
22
22
|
fireEvent = _useAnalyticsEvents.fireEvent;
|
|
23
|
-
var _useState = useState(messages.
|
|
23
|
+
var _useState = useState(messages.copy_summary_action_description),
|
|
24
24
|
_useState2 = _slicedToArray(_useState, 2),
|
|
25
25
|
tooltipMessage = _useState2[0],
|
|
26
26
|
setTooltipMessage = _useState2[1];
|
|
@@ -47,6 +47,9 @@ export function CopySummaryAction(_ref) {
|
|
|
47
47
|
}),
|
|
48
48
|
onClick: handleCopySummaryClick,
|
|
49
49
|
testId: "".concat(testId, "-copy-summary-action"),
|
|
50
|
-
tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, tooltipMessage)
|
|
50
|
+
tooltipMessage: /*#__PURE__*/React.createElement(FormattedMessage, tooltipMessage),
|
|
51
|
+
tooltipOnHide: function tooltipOnHide() {
|
|
52
|
+
return setTooltipMessage(messages.copy_summary_action_description);
|
|
53
|
+
}
|
|
51
54
|
}, props));
|
|
52
55
|
}
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
import Tooltip, { TooltipPrimitive } from '@atlaskit/tooltip';
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
6
7
|
var AIIndicatorTooltipPrimitive = styled(TooltipPrimitive)({
|
|
7
8
|
borderRadius: "var(--ds-border-radius, 3px)",
|
|
8
9
|
backgroundColor: "var(--ds-surface-raised, white)",
|
|
@@ -87,10 +87,14 @@ var baseWrapperStyles = function baseWrapperStyles(props) {
|
|
|
87
87
|
MozUserSelect: 'none'
|
|
88
88
|
}, props.isHovered ? hoveredWihBorderStyles(props) : undefined);
|
|
89
89
|
};
|
|
90
|
+
|
|
91
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
90
92
|
export var WrapperAnchor = styled.a(function (props) {
|
|
91
93
|
return _objectSpread(_objectSpread({}, baseWrapperStyles(props)), isInteractive(props));
|
|
92
94
|
});
|
|
93
95
|
WrapperAnchor.displayName = 'WrapperAnchor';
|
|
96
|
+
|
|
97
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
94
98
|
export var WrapperSpan = styled.span(function (props) {
|
|
95
99
|
return _objectSpread({}, baseWrapperStyles(props));
|
|
96
100
|
});
|
|
@@ -7,6 +7,7 @@ import React from 'react';
|
|
|
7
7
|
// Current rationale: vertically positioned at the top of
|
|
8
8
|
// the smart card container (when set to 0). Offset this
|
|
9
9
|
// to position it with appropriate whitespace from the top.
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
10
11
|
export var Icon = styled.img({
|
|
11
12
|
height: '14px',
|
|
12
13
|
width: '14px',
|
|
@@ -22,6 +23,7 @@ export var Icon = styled.img({
|
|
|
22
23
|
// Used for 'untrue' icons which claim to be 16x16 but
|
|
23
24
|
// are less than that in height/width.
|
|
24
25
|
// TODO: Replace this override with proper AtlasKit solution.
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
25
27
|
export var AKIconWrapper = styled.span({
|
|
26
28
|
marginRight: "var(--ds-space-negative-025, -2px)"
|
|
27
29
|
});
|
|
@@ -10,11 +10,13 @@ export var IconOverrides = "\n\n & > * > span {\n height: 16px;\n width:
|
|
|
10
10
|
// - @atlaskit/icon-object: for object icons, e.g. repository, branch, etc.
|
|
11
11
|
// NB: the first set of overrides style icons imported from @atlaskit/icon-object correctly.
|
|
12
12
|
// NB: the second set of overrides style icons imported from @atlaskit/icon correctly.
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
13
14
|
export var IconWrapper = styled.span({
|
|
14
15
|
userSelect: 'none'
|
|
15
16
|
}, IconOverrides, IconObjectOverrides);
|
|
16
17
|
|
|
17
18
|
// Wraps all emoji in Inline Links similar to icon
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
18
20
|
export var EmojiWrapper = styled.span({
|
|
19
21
|
display: 'inline-block',
|
|
20
22
|
marginRight: "var(--ds-space-025, 2px)",
|
|
@@ -24,6 +26,7 @@ export var EmojiWrapper = styled.span({
|
|
|
24
26
|
// The main 'wrapping' element, title of the content.
|
|
25
27
|
// NB: `white-space` adds little whitespace before wrapping.
|
|
26
28
|
// NB: `word-break` line breaks as soon as an overflow takes place.
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
27
30
|
export var IconTitleWrapper = styled.span({
|
|
28
31
|
whiteSpace: 'pre-wrap',
|
|
29
32
|
wordBreak: 'break-all',
|
|
@@ -32,11 +35,14 @@ export var IconTitleWrapper = styled.span({
|
|
|
32
35
|
});
|
|
33
36
|
|
|
34
37
|
// TODO: Replace overrides with proper AtlasKit solution.
|
|
38
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
35
39
|
export var LozengeWrapper = styled.span({
|
|
36
40
|
display: 'inline-block',
|
|
37
41
|
verticalAlign: '1px',
|
|
38
42
|
margin: "0 ".concat("var(--ds-space-050, 4px)", " 0 ", "var(--ds-space-025, 2px)")
|
|
39
43
|
});
|
|
44
|
+
|
|
45
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
40
46
|
export var RightIconPositionWrapper = styled.span({
|
|
41
47
|
marginLeft: "var(--ds-space-025, 2px)",
|
|
42
48
|
position: 'relative',
|
|
@@ -46,11 +52,14 @@ export var RightIconPositionWrapper = styled.span({
|
|
|
46
52
|
// The following components are used to absolutely position icons in the vertical center.
|
|
47
53
|
// - IconPositionWrapper: the `relative` parent which has no height in itself.
|
|
48
54
|
// - IconEmptyWrapper: the child which forces `IconPositionWrapper` to have a height.
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
49
56
|
export var IconPositionWrapper = styled.span({
|
|
50
57
|
marginRight: "var(--ds-space-050, 4px)",
|
|
51
58
|
position: 'relative',
|
|
52
59
|
display: 'inline-block'
|
|
53
60
|
});
|
|
61
|
+
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
54
63
|
export var IconEmptyWrapper = styled.span({
|
|
55
64
|
width: '14px',
|
|
56
65
|
height: '100%',
|
|
@@ -61,4 +70,6 @@ export var IconEmptyWrapper = styled.span({
|
|
|
61
70
|
// With emotion it's not possible to use reference to `TitleWrapper` as part of a selector,
|
|
62
71
|
// To achieve same result we use classname instead.
|
|
63
72
|
export var TitleWrapperClassName = 'smart-link-title-wrapper';
|
|
73
|
+
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
64
75
|
export var TitleWrapper = styled.span({});
|
|
@@ -44,9 +44,9 @@ export var InlineCardResolvingView = /*#__PURE__*/function (_React$Component) {
|
|
|
44
44
|
return /*#__PURE__*/React.createElement(Frame, {
|
|
45
45
|
testId: testId,
|
|
46
46
|
onClick: onClick,
|
|
47
|
-
isSelected: isSelected
|
|
47
|
+
isSelected: isSelected,
|
|
48
|
+
link: url
|
|
48
49
|
}, /*#__PURE__*/React.createElement(IconAndTitleLayout, {
|
|
49
|
-
link: url,
|
|
50
50
|
title: url,
|
|
51
51
|
titleTextColor: titleTextColor
|
|
52
52
|
}, /*#__PURE__*/React.createElement(SpinnerWrapper, {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import styled from '@emotion/styled';
|
|
2
2
|
import { IconTitleWrapper } from '../IconAndTitleLayout/styled';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
3
5
|
export var SpinnerWrapper = styled(IconTitleWrapper)({
|
|
4
6
|
verticalAlign: 'text-bottom',
|
|
5
7
|
padding: '0px'
|
|
@@ -2,6 +2,7 @@ import styled from '@emotion/styled';
|
|
|
2
2
|
import { B400, N200 } from '@atlaskit/theme/colors';
|
|
3
3
|
// By default buttons will hide overflow and ellipsis content instead of wrapping.
|
|
4
4
|
// This basically turns the button back into inline content
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
5
6
|
export var IconStyledButton = styled.span({
|
|
6
7
|
'&&&': {
|
|
7
8
|
textAlign: 'initial',
|
|
@@ -26,13 +27,19 @@ export var IconStyledButton = styled.span({
|
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
});
|
|
30
|
+
|
|
31
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
29
32
|
export var NoLinkAppearance = styled.span({
|
|
30
33
|
color: "var(--ds-text-subtlest, ".concat(N200, ")"),
|
|
31
34
|
marginLeft: "var(--ds-space-050, 4px)"
|
|
32
35
|
});
|
|
36
|
+
|
|
37
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
33
38
|
export var LowercaseAppearance = styled.span({
|
|
34
39
|
textTransform: 'lowercase'
|
|
35
40
|
});
|
|
41
|
+
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
36
43
|
export var LinkAppearance = styled.a({
|
|
37
44
|
color: "var(--ds-link, ".concat(B400, ")"),
|
|
38
45
|
'&:hover': {
|
|
@@ -10,7 +10,7 @@ import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-m
|
|
|
10
10
|
import LinkWarningModal from './LinkWarningModal';
|
|
11
11
|
var PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "26.
|
|
13
|
+
packageVersion: "26.69.1",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
var Link = withLinkClickedEvent('a');
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormattedMessage } from 'react-intl-next';
|
|
3
|
+
import Button from '@atlaskit/button/new';
|
|
4
|
+
import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
|
+
import { messages } from '../../../messages';
|
|
6
|
+
var RelatedLinksModal = function RelatedLinksModal(_ref) {
|
|
7
|
+
var onClose = _ref.onClose,
|
|
8
|
+
showModal = _ref.showModal,
|
|
9
|
+
children = _ref.children;
|
|
10
|
+
return /*#__PURE__*/React.createElement(ModalTransition, null, showModal && /*#__PURE__*/React.createElement(Modal, {
|
|
11
|
+
onClose: onClose
|
|
12
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, null, /*#__PURE__*/React.createElement(ModalTitle, null, /*#__PURE__*/React.createElement(FormattedMessage, messages.related_links_modal_title_nonfinal))), /*#__PURE__*/React.createElement(ModalBody, null, children), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
13
|
+
appearance: "primary",
|
|
14
|
+
onClick: onClose
|
|
15
|
+
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.close)))));
|
|
16
|
+
};
|
|
17
|
+
export default RelatedLinksModal;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/messages.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
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 MessageKey = 'assigned_to' | 'ai_summarize' | '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' | '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' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | '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' | 'preview_description' | 'preview_improved' | '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' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message';
|
|
3
|
+
export type MessageKey = 'assigned_to' | 'ai_summarize' | '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' | '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' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | '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' | 'preview_description' | 'preview_improved' | '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' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message' | 'related_links_modal_title_nonfinal';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
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 MessageKey = 'assigned_to' | 'ai_summarize' | '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' | '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' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | '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' | 'preview_description' | 'preview_improved' | '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' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message';
|
|
3
|
+
export type MessageKey = 'assigned_to' | 'ai_summarize' | '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' | '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' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | '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' | 'preview_description' | 'preview_improved' | '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' | 'unassigned' | 'unfollow' | 'unfollow_project_description' | 'unfollow_project' | 'unfollow_project_error' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related_work_items_not_found' | 'last_mentioned_in' | 'related' | 'generic_error_message' | 'related_links_modal_title_nonfinal';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|