@atlaskit/smart-card 35.2.10 → 35.2.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/messages.js +5 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +7 -2
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.compiled.css +3 -2
- package/dist/cjs/view/InlineCard/IconAndTitleLayout/index.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/messages.js +5 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +8 -2
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.compiled.css +3 -2
- package/dist/es2019/view/InlineCard/IconAndTitleLayout/index.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/messages.js +5 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +7 -2
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.compiled.css +3 -2
- package/dist/esm/view/InlineCard/IconAndTitleLayout/index.js +1 -1
- 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 +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 35.2.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#127390](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/127390)
|
|
8
|
+
[`a8f2179866703`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a8f2179866703) -
|
|
9
|
+
[ux] Fix custom render inline icon drop below inline link
|
|
10
|
+
|
|
11
|
+
## 35.2.11
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#124681](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/124681)
|
|
16
|
+
[`e4d03e1fe300d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e4d03e1fe300d) -
|
|
17
|
+
EDM-11974 adding aria-label to hover card trigger wrapper for a11y
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 35.2.10
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -356,6 +356,11 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
356
356
|
defaultMessage: 'More actions',
|
|
357
357
|
description: 'Allows the users to see more link actions'
|
|
358
358
|
},
|
|
359
|
+
more_information_about_this_work_item: {
|
|
360
|
+
id: 'fabric.linking.more_information_about_this_work_item',
|
|
361
|
+
defaultMessage: 'More information about this work item',
|
|
362
|
+
description: 'Allows the users to see more about the work item'
|
|
363
|
+
},
|
|
359
364
|
open_issue_in_jira: {
|
|
360
365
|
id: 'fabric.linking.open_issue_in_jira',
|
|
361
366
|
defaultMessage: 'Open issue in Jira',
|
|
@@ -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: "35.2.
|
|
14
|
+
packageVersion: "35.2.12"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -10,8 +10,10 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
|
+
var _reactIntlNext = require("react-intl-next");
|
|
13
14
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
14
15
|
var _constants = require("../../../constants");
|
|
16
|
+
var _messages = require("../../../messages");
|
|
15
17
|
var _actions = require("../../../state/actions");
|
|
16
18
|
var _renderers = require("../../../state/renderers");
|
|
17
19
|
var _store = require("../../../state/store");
|
|
@@ -58,6 +60,8 @@ var HoverCardComponent = exports.HoverCardComponent = function HoverCardComponen
|
|
|
58
60
|
var mousePos = (0, _react.useRef)();
|
|
59
61
|
var popupOffset = (0, _react.useRef)();
|
|
60
62
|
var parentSpan = (0, _react.useRef)(null);
|
|
63
|
+
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
64
|
+
formatMessage = _useIntl.formatMessage;
|
|
61
65
|
var renderers = (0, _renderers.useSmartLinkRenderers)();
|
|
62
66
|
var linkState = (0, _store.useSmartCardState)(url);
|
|
63
67
|
var _useSmartCardActions = (0, _actions.useSmartCardActions)(id, url),
|
|
@@ -213,9 +217,10 @@ var HoverCardComponent = exports.HoverCardComponent = function HoverCardComponen
|
|
|
213
217
|
onMouseMove: setMousePosition,
|
|
214
218
|
onClick: onChildClick,
|
|
215
219
|
onContextMenu: onContextMenuClick,
|
|
216
|
-
"data-testid": "hover-card-trigger-wrapper"
|
|
220
|
+
"data-testid": "hover-card-trigger-wrapper",
|
|
221
|
+
"aria-label": formatMessage(_messages.messages.more_information_about_this_work_item)
|
|
217
222
|
}), children));
|
|
218
|
-
}, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
|
|
223
|
+
}, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition, formatMessage]);
|
|
219
224
|
return /*#__PURE__*/_react.default.createElement(_popup.default, {
|
|
220
225
|
testId: "hover-card",
|
|
221
226
|
isOpen: isOpen && canOpen,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
|
|
1
|
+
._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
|
|
3
|
+
._154ize3t{top:var(--ds-space-0,0)}
|
|
3
4
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
4
5
|
._18u01b66{margin-left:var(--ds-space-050,4px)}
|
|
5
6
|
._18u0v77o{margin-left:var(--ds-space-025,2px)}
|
|
@@ -33,7 +33,7 @@ var styles = {
|
|
|
33
33
|
iconEmptyStyle: "_1bsb7vkz _1e0c1o8l _tzy4idpf",
|
|
34
34
|
iconOuterWrapperStyle: "_2hwx1b66 _kqswh2mm",
|
|
35
35
|
iconTitleWrapperStyle: "_o5721jtm _1nmz9jpi _16d9qvcn _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66",
|
|
36
|
-
iconWrapperStyle: "_kqswstnw _1e0c116y _4cvr1h6o _vchhusvi _154ize3t _1ltvze3t _94n5ze3t _1bsb7vkz _uiztglyw",
|
|
36
|
+
iconWrapperStyle: "_11c81o8v _kqswstnw _1e0c116y _4cvr1h6o _vchhusvi _154ize3t _1ltvze3t _94n5ze3t _1bsb7vkz _uiztglyw",
|
|
37
37
|
linkStyle: "_2rkogqwt",
|
|
38
38
|
noLinkAppearanceStyle: "_syaz131l _18u01b66"
|
|
39
39
|
};
|
|
@@ -20,7 +20,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
20
20
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
21
21
|
var PACKAGE_DATA = {
|
|
22
22
|
packageName: "@atlaskit/smart-card",
|
|
23
|
-
packageVersion: "35.2.
|
|
23
|
+
packageVersion: "35.2.12",
|
|
24
24
|
componentName: 'linkUrl'
|
|
25
25
|
};
|
|
26
26
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
package/dist/es2019/messages.js
CHANGED
|
@@ -350,6 +350,11 @@ export const messages = defineMessages({
|
|
|
350
350
|
defaultMessage: 'More actions',
|
|
351
351
|
description: 'Allows the users to see more link actions'
|
|
352
352
|
},
|
|
353
|
+
more_information_about_this_work_item: {
|
|
354
|
+
id: 'fabric.linking.more_information_about_this_work_item',
|
|
355
|
+
defaultMessage: 'More information about this work item',
|
|
356
|
+
description: 'Allows the users to see more about the work item'
|
|
357
|
+
},
|
|
353
358
|
open_issue_in_jira: {
|
|
354
359
|
id: 'fabric.linking.open_issue_in_jira',
|
|
355
360
|
defaultMessage: 'Open issue in Jira',
|
|
@@ -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: "35.2.
|
|
5
|
+
packageVersion: "35.2.12"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useCallback, useEffect, useRef } from 'react';
|
|
3
|
+
import { useIntl } from 'react-intl-next';
|
|
3
4
|
import Popup from '@atlaskit/popup';
|
|
4
5
|
import { ActionName, CardDisplay } from '../../../constants';
|
|
6
|
+
import { messages } from '../../../messages';
|
|
5
7
|
import { useSmartCardActions } from '../../../state/actions';
|
|
6
8
|
import { useSmartLinkRenderers } from '../../../state/renderers';
|
|
7
9
|
import { useSmartCardState as useLinkState } from '../../../state/store';
|
|
@@ -37,6 +39,9 @@ export const HoverCardComponent = ({
|
|
|
37
39
|
const mousePos = useRef();
|
|
38
40
|
const popupOffset = useRef();
|
|
39
41
|
const parentSpan = useRef(null);
|
|
42
|
+
const {
|
|
43
|
+
formatMessage
|
|
44
|
+
} = useIntl();
|
|
40
45
|
const renderers = useSmartLinkRenderers();
|
|
41
46
|
const linkState = useLinkState(url);
|
|
42
47
|
const {
|
|
@@ -189,8 +194,9 @@ export const HoverCardComponent = ({
|
|
|
189
194
|
onMouseMove: setMousePosition,
|
|
190
195
|
onClick: onChildClick,
|
|
191
196
|
onContextMenu: onContextMenuClick,
|
|
192
|
-
"data-testid": "hover-card-trigger-wrapper"
|
|
193
|
-
|
|
197
|
+
"data-testid": "hover-card-trigger-wrapper",
|
|
198
|
+
"aria-label": formatMessage(messages.more_information_about_this_work_item)
|
|
199
|
+
}), children)), [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition, formatMessage]);
|
|
194
200
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
195
201
|
testId: "hover-card",
|
|
196
202
|
isOpen: isOpen && canOpen,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
|
|
1
|
+
._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
|
|
3
|
+
._154ize3t{top:var(--ds-space-0,0)}
|
|
3
4
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
4
5
|
._18u01b66{margin-left:var(--ds-space-050,4px)}
|
|
5
6
|
._18u0v77o{margin-left:var(--ds-space-025,2px)}
|
|
@@ -18,7 +18,7 @@ const styles = {
|
|
|
18
18
|
iconEmptyStyle: "_1bsb7vkz _1e0c1o8l _tzy4idpf",
|
|
19
19
|
iconOuterWrapperStyle: "_2hwx1b66 _kqswh2mm",
|
|
20
20
|
iconTitleWrapperStyle: "_o5721jtm _1nmz9jpi _16d9qvcn _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66",
|
|
21
|
-
iconWrapperStyle: "_kqswstnw _1e0c116y _4cvr1h6o _vchhusvi _154ize3t _1ltvze3t _94n5ze3t _1bsb7vkz _uiztglyw",
|
|
21
|
+
iconWrapperStyle: "_11c81o8v _kqswstnw _1e0c116y _4cvr1h6o _vchhusvi _154ize3t _1ltvze3t _94n5ze3t _1bsb7vkz _uiztglyw",
|
|
22
22
|
linkStyle: "_2rkogqwt",
|
|
23
23
|
noLinkAppearanceStyle: "_syaz131l _18u01b66"
|
|
24
24
|
};
|
|
@@ -10,7 +10,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
10
10
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
11
11
|
const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/smart-card",
|
|
13
|
-
packageVersion: "35.2.
|
|
13
|
+
packageVersion: "35.2.12",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
const Anchor = withLinkClickedEvent('a');
|
package/dist/esm/messages.js
CHANGED
|
@@ -350,6 +350,11 @@ export var messages = defineMessages({
|
|
|
350
350
|
defaultMessage: 'More actions',
|
|
351
351
|
description: 'Allows the users to see more link actions'
|
|
352
352
|
},
|
|
353
|
+
more_information_about_this_work_item: {
|
|
354
|
+
id: 'fabric.linking.more_information_about_this_work_item',
|
|
355
|
+
defaultMessage: 'More information about this work item',
|
|
356
|
+
description: 'Allows the users to see more about the work item'
|
|
357
|
+
},
|
|
353
358
|
open_issue_in_jira: {
|
|
354
359
|
id: 'fabric.linking.open_issue_in_jira',
|
|
355
360
|
defaultMessage: 'Open issue in Jira',
|
|
@@ -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: "35.2.
|
|
7
|
+
packageVersion: "35.2.12"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -3,8 +3,10 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
var _excluded = ["aria-haspopup", "aria-expanded"];
|
|
5
5
|
import React, { useCallback, useEffect, useRef } from 'react';
|
|
6
|
+
import { useIntl } from 'react-intl-next';
|
|
6
7
|
import Popup from '@atlaskit/popup';
|
|
7
8
|
import { ActionName, CardDisplay } from '../../../constants';
|
|
9
|
+
import { messages } from '../../../messages';
|
|
8
10
|
import { useSmartCardActions } from '../../../state/actions';
|
|
9
11
|
import { useSmartLinkRenderers } from '../../../state/renderers';
|
|
10
12
|
import { useSmartCardState as useLinkState } from '../../../state/store';
|
|
@@ -48,6 +50,8 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
|
|
|
48
50
|
var mousePos = useRef();
|
|
49
51
|
var popupOffset = useRef();
|
|
50
52
|
var parentSpan = useRef(null);
|
|
53
|
+
var _useIntl = useIntl(),
|
|
54
|
+
formatMessage = _useIntl.formatMessage;
|
|
51
55
|
var renderers = useSmartLinkRenderers();
|
|
52
56
|
var linkState = useLinkState(url);
|
|
53
57
|
var _useSmartCardActions = useSmartCardActions(id, url),
|
|
@@ -203,9 +207,10 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
|
|
|
203
207
|
onMouseMove: setMousePosition,
|
|
204
208
|
onClick: onChildClick,
|
|
205
209
|
onContextMenu: onContextMenuClick,
|
|
206
|
-
"data-testid": "hover-card-trigger-wrapper"
|
|
210
|
+
"data-testid": "hover-card-trigger-wrapper",
|
|
211
|
+
"aria-label": formatMessage(messages.more_information_about_this_work_item)
|
|
207
212
|
}), children));
|
|
208
|
-
}, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
|
|
213
|
+
}, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition, formatMessage]);
|
|
209
214
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
210
215
|
testId: "hover-card",
|
|
211
216
|
isOpen: isOpen && canOpen,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
|
|
1
|
+
._11c81o8v{font:var(--ds-font-body-small,normal 400 11px/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}
|
|
3
|
+
._154ize3t{top:var(--ds-space-0,0)}
|
|
3
4
|
._16d9qvcn{-webkit-box-decoration-break:clone;box-decoration-break:clone}
|
|
4
5
|
._18u01b66{margin-left:var(--ds-space-050,4px)}
|
|
5
6
|
._18u0v77o{margin-left:var(--ds-space-025,2px)}
|
|
@@ -24,7 +24,7 @@ var styles = {
|
|
|
24
24
|
iconEmptyStyle: "_1bsb7vkz _1e0c1o8l _tzy4idpf",
|
|
25
25
|
iconOuterWrapperStyle: "_2hwx1b66 _kqswh2mm",
|
|
26
26
|
iconTitleWrapperStyle: "_o5721jtm _1nmz9jpi _16d9qvcn _ca0qv77o _u5f31b66 _n3tdv77o _19bv1b66",
|
|
27
|
-
iconWrapperStyle: "_kqswstnw _1e0c116y _4cvr1h6o _vchhusvi _154ize3t _1ltvze3t _94n5ze3t _1bsb7vkz _uiztglyw",
|
|
27
|
+
iconWrapperStyle: "_11c81o8v _kqswstnw _1e0c116y _4cvr1h6o _vchhusvi _154ize3t _1ltvze3t _94n5ze3t _1bsb7vkz _uiztglyw",
|
|
28
28
|
linkStyle: "_2rkogqwt",
|
|
29
29
|
noLinkAppearanceStyle: "_syaz131l _18u01b66"
|
|
30
30
|
};
|
|
@@ -13,7 +13,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
13
13
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
14
14
|
var PACKAGE_DATA = {
|
|
15
15
|
packageName: "@atlaskit/smart-card",
|
|
16
|
-
packageVersion: "35.2.
|
|
16
|
+
packageVersion: "35.2.12",
|
|
17
17
|
componentName: 'linkUrl'
|
|
18
18
|
};
|
|
19
19
|
var Anchor = withLinkClickedEvent('a');
|
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' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_message' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_message' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'status_change_permission_errorIssueTermRefresh';
|
|
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' | 'more_information_about_this_work_item' | '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' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_message' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_message' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'status_change_permission_errorIssueTermRefresh';
|
|
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' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_message' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_message' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'status_change_permission_errorIssueTermRefresh';
|
|
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' | 'more_information_about_this_work_item' | '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' | 'generic_error_message' | 'related_links_modal_error_header' | 'related_links_modal_error_message' | 'related_links_modal_unavailable_header' | 'related_links_modal_unavailable_message' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'status_change_permission_errorIssueTermRefresh';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|