@atlaskit/smart-card 40.10.9 → 40.11.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 +18 -0
- package/dist/cjs/i18n/en.js +6 -0
- package/dist/cjs/i18n/en_GB.js +6 -0
- package/dist/cjs/i18n/en_ZZ.js +6 -0
- package/dist/cjs/messages.js +15 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/HoverCard/components/HoverCardComponent.js +3 -6
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/common/UnauthorisedViewContent.js +4 -3
- package/dist/es2019/i18n/en.js +6 -0
- package/dist/es2019/i18n/en_GB.js +6 -0
- package/dist/es2019/i18n/en_ZZ.js +6 -0
- package/dist/es2019/messages.js +15 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/HoverCard/components/HoverCardComponent.js +3 -6
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/es2019/view/common/UnauthorisedViewContent.js +4 -3
- package/dist/esm/i18n/en.js +6 -0
- package/dist/esm/i18n/en_GB.js +6 -0
- package/dist/esm/i18n/en_ZZ.js +6 -0
- package/dist/esm/messages.js +15 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/HoverCard/components/HoverCardComponent.js +3 -6
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/common/UnauthorisedViewContent.js +4 -3
- package/dist/types/i18n/en.d.ts +6 -0
- package/dist/types/i18n/en_GB.d.ts +6 -0
- package/dist/types/i18n/en_ZZ.d.ts +6 -0
- package/dist/types/messages.d.ts +1 -1
- package/dist/types-ts4.5/i18n/en.d.ts +6 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +6 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +6 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 40.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`cdc1b340de640`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cdc1b340de640) -
|
|
8
|
+
Product/App term refresh
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 40.10.10
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`5ff571d87059f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5ff571d87059f) -
|
|
19
|
+
Remove the FG and FG code of fix_a11y_violation_in_hover_card_trigger
|
|
20
|
+
|
|
3
21
|
## 40.10.9
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -87,8 +87,11 @@ var _default = exports.default = {
|
|
|
87
87
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
88
88
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
89
89
|
'fabric.linking.follow_project': 'Follow project',
|
|
90
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
90
91
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
92
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
91
93
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
94
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
92
95
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
93
96
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
94
97
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -175,8 +178,11 @@ var _default = exports.default = {
|
|
|
175
178
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
176
179
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
177
180
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
181
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
178
182
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
183
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
179
184
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
185
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
180
186
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
181
187
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
182
188
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -87,8 +87,11 @@ var _default = exports.default = {
|
|
|
87
87
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
88
88
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
89
89
|
'fabric.linking.follow_project': 'Follow project',
|
|
90
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
90
91
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
92
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
91
93
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
94
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
92
95
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
93
96
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
94
97
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -175,8 +178,11 @@ var _default = exports.default = {
|
|
|
175
178
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
176
179
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
177
180
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
181
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
178
182
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
183
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
179
184
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
185
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
180
186
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
181
187
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
182
188
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -87,8 +87,11 @@ var _default = exports.default = {
|
|
|
87
87
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
88
88
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
89
89
|
'fabric.linking.follow_project': 'Follow project',
|
|
90
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
90
91
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
92
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
91
93
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
94
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
92
95
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
93
96
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
94
97
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -175,8 +178,11 @@ var _default = exports.default = {
|
|
|
175
178
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
176
179
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
177
180
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
181
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
178
182
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
183
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
179
184
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
185
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
180
186
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
181
187
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
182
188
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/cjs/messages.js
CHANGED
|
@@ -814,5 +814,20 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
814
814
|
id: 'fabric.linking.unfollow_project_error-galaxia',
|
|
815
815
|
defaultMessage: 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
816
816
|
description: 'Shown when an unknown error occurs when unfollowing an Atlas project'
|
|
817
|
+
},
|
|
818
|
+
connect_unauthorised_account_description_appify: {
|
|
819
|
+
id: 'fabric.linking.connect_unauthorised_account_description-appify',
|
|
820
|
+
defaultMessage: 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
821
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
822
|
+
},
|
|
823
|
+
connect_unauthorised_account_description_no_provider_appify: {
|
|
824
|
+
id: 'fabric.linking.connect_unauthorised_account_description_no_provider-appify',
|
|
825
|
+
defaultMessage: 'Connect your account to collaborate on work across Atlassian apps.',
|
|
826
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view and we do not have the providers name.'
|
|
827
|
+
},
|
|
828
|
+
learn_more_about_connecting_account_appify: {
|
|
829
|
+
id: 'fabric.linking.learn_more_about_connecting_account-appify',
|
|
830
|
+
defaultMessage: 'Learn more about connecting your account to Atlassian apps.',
|
|
831
|
+
description: 'An anchor link to redirect user to a page about authorization with 3rd party accounts.'
|
|
817
832
|
}
|
|
818
833
|
});
|
|
@@ -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: "40.10.
|
|
14
|
+
packageVersion: "40.10.10"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -10,7 +10,6 @@ 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 _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
13
|
var _popup = _interopRequireDefault(require("@atlaskit/popup"));
|
|
15
14
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
16
15
|
var _constants = require("../../../constants");
|
|
@@ -24,7 +23,7 @@ var _styled = require("../styled");
|
|
|
24
23
|
var _excluded = ["aria-haspopup", "aria-expanded"];
|
|
25
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); }
|
|
26
25
|
var HOVER_CARD_SOURCE = exports.HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
|
|
27
|
-
var
|
|
26
|
+
var HOVER_CARD_TRIGGER_WRAPPER = 'hover-card-trigger-wrapper';
|
|
28
27
|
var FADE_IN_DELAY = 500;
|
|
29
28
|
var FADE_OUT_DELAY = 300;
|
|
30
29
|
var RESOLVE_DELAY = 100;
|
|
@@ -215,11 +214,9 @@ var HoverCardComponent = exports.HoverCardComponent = function HoverCardComponen
|
|
|
215
214
|
onMouseMove: setMousePosition,
|
|
216
215
|
onClick: onChildClick,
|
|
217
216
|
onContextMenu: onContextMenuClick,
|
|
218
|
-
"data-testid":
|
|
217
|
+
"data-testid": HOVER_CARD_TRIGGER_WRAPPER
|
|
219
218
|
}, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? {
|
|
220
|
-
className:
|
|
221
|
-
} : {}, (0, _platformFeatureFlags.fg)('fix_a11y_violation_in_hover_card_trigger') ? {
|
|
222
|
-
role: 'button'
|
|
219
|
+
className: HOVER_CARD_TRIGGER_WRAPPER
|
|
223
220
|
} : {}), children));
|
|
224
221
|
}, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
|
|
225
222
|
return /*#__PURE__*/_react.default.createElement(_popup.default, {
|
|
@@ -19,7 +19,7 @@ var _excluded = ["href", "children", "checkSafety", "onClick", "testId", "isLink
|
|
|
19
19
|
_excluded2 = ["isLinkSafe", "showSafetyWarningModal"];
|
|
20
20
|
var PACKAGE_DATA = {
|
|
21
21
|
packageName: "@atlaskit/smart-card",
|
|
22
|
-
packageVersion: "40.10.
|
|
22
|
+
packageVersion: "40.10.10",
|
|
23
23
|
componentName: 'linkUrl'
|
|
24
24
|
};
|
|
25
25
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
|
@@ -9,6 +9,7 @@ exports.default = void 0;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
13
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
13
14
|
var _useAnalyticsEvents2 = require("../../common/analytics/generated/use-analytics-events");
|
|
14
15
|
var _constants = require("../../constants");
|
|
@@ -28,12 +29,12 @@ var UnauthorisedViewContent = function UnauthorisedViewContent(_ref) {
|
|
|
28
29
|
var handleLearnMoreClick = (0, _react.useCallback)(function () {
|
|
29
30
|
fireEvent('ui.button.clicked.learnMore', {});
|
|
30
31
|
}, [fireEvent]);
|
|
31
|
-
var learnMoreMessage = isProductIntegrationSupported ? _messages.messages.learn_more_about_connecting_account : _messages.messages.learn_more_about_smart_links;
|
|
32
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, providerName ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.connect_unauthorised_account_description, {
|
|
32
|
+
var learnMoreMessage = isProductIntegrationSupported ? (0, _platformFeatureFlags.fg)('product-terminology-refresh') ? _messages.messages.learn_more_about_connecting_account_appify : _messages.messages.learn_more_about_connecting_account : _messages.messages.learn_more_about_smart_links;
|
|
33
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, providerName ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, (0, _platformFeatureFlags.fg)('product-terminology-refresh') ? _messages.messages.connect_unauthorised_account_description_appify : _messages.messages.connect_unauthorised_account_description, {
|
|
33
34
|
values: {
|
|
34
35
|
context: providerName
|
|
35
36
|
}
|
|
36
|
-
})) : /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/_react.default.createElement(_compiled.Anchor, {
|
|
37
|
+
})) : /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _platformFeatureFlags.fg)('product-terminology-refresh') ? _messages.messages.connect_unauthorised_account_description_no_provider_appify : _messages.messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/_react.default.createElement(_compiled.Anchor, {
|
|
37
38
|
href: isProductIntegrationSupported ? _constants.CONTENT_URL_3P_ACCOUNT_AUTH : _constants.CONTENT_URL_SECURITY_AND_PERMISSIONS,
|
|
38
39
|
target: "_blank",
|
|
39
40
|
testId: "".concat(testId, "-learn-more"),
|
package/dist/es2019/i18n/en.js
CHANGED
|
@@ -81,8 +81,11 @@ export default {
|
|
|
81
81
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
82
82
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
83
83
|
'fabric.linking.follow_project': 'Follow project',
|
|
84
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
84
85
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
86
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
85
87
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
88
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
86
89
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
87
90
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
88
91
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -169,8 +172,11 @@ export default {
|
|
|
169
172
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
170
173
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
171
174
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
175
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
172
176
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
177
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
173
178
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
179
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
174
180
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
175
181
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
176
182
|
'fabric.linking.user_attributes': '{context}',
|
|
@@ -81,8 +81,11 @@ export default {
|
|
|
81
81
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
82
82
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
83
83
|
'fabric.linking.follow_project': 'Follow project',
|
|
84
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
84
85
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
86
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
85
87
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
88
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
86
89
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
87
90
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
88
91
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -169,8 +172,11 @@ export default {
|
|
|
169
172
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
170
173
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
171
174
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
175
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
172
176
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
177
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
173
178
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
179
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
174
180
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
175
181
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
176
182
|
'fabric.linking.user_attributes': '{context}',
|
|
@@ -81,8 +81,11 @@ export default {
|
|
|
81
81
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
82
82
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
83
83
|
'fabric.linking.follow_project': 'Follow project',
|
|
84
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
84
85
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
86
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
85
87
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
88
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
86
89
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
87
90
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
88
91
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -169,8 +172,11 @@ export default {
|
|
|
169
172
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
170
173
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
171
174
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
175
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
172
176
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
177
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
173
178
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
179
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
174
180
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
175
181
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
176
182
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/es2019/messages.js
CHANGED
|
@@ -808,5 +808,20 @@ export const messages = defineMessages({
|
|
|
808
808
|
id: 'fabric.linking.unfollow_project_error-galaxia',
|
|
809
809
|
defaultMessage: 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
810
810
|
description: 'Shown when an unknown error occurs when unfollowing an Atlas project'
|
|
811
|
+
},
|
|
812
|
+
connect_unauthorised_account_description_appify: {
|
|
813
|
+
id: 'fabric.linking.connect_unauthorised_account_description-appify',
|
|
814
|
+
defaultMessage: 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
815
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
816
|
+
},
|
|
817
|
+
connect_unauthorised_account_description_no_provider_appify: {
|
|
818
|
+
id: 'fabric.linking.connect_unauthorised_account_description_no_provider-appify',
|
|
819
|
+
defaultMessage: 'Connect your account to collaborate on work across Atlassian apps.',
|
|
820
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view and we do not have the providers name.'
|
|
821
|
+
},
|
|
822
|
+
learn_more_about_connecting_account_appify: {
|
|
823
|
+
id: 'fabric.linking.learn_more_about_connecting_account-appify',
|
|
824
|
+
defaultMessage: 'Learn more about connecting your account to Atlassian apps.',
|
|
825
|
+
description: 'An anchor link to redirect user to a page about authorization with 3rd party accounts.'
|
|
811
826
|
}
|
|
812
827
|
});
|
|
@@ -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: "40.10.
|
|
5
|
+
packageVersion: "40.10.10"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useCallback, useEffect, useRef } from 'react';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
import Popup from '@atlaskit/popup';
|
|
5
4
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
6
5
|
import { ActionName, CardDisplay } from '../../../constants';
|
|
@@ -12,7 +11,7 @@ import CustomPopupContainer from '../components/CustomPopupContainer';
|
|
|
12
11
|
import HoverCardContent from '../components/HoverCardContent';
|
|
13
12
|
import { CARD_GAP_PX, HOVER_CARD_Z_INDEX } from '../styled';
|
|
14
13
|
export const HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
|
|
15
|
-
const
|
|
14
|
+
const HOVER_CARD_TRIGGER_WRAPPER = 'hover-card-trigger-wrapper';
|
|
16
15
|
const FADE_IN_DELAY = 500;
|
|
17
16
|
const FADE_OUT_DELAY = 300;
|
|
18
17
|
const RESOLVE_DELAY = 100;
|
|
@@ -192,11 +191,9 @@ export const HoverCardComponent = ({
|
|
|
192
191
|
onMouseMove: setMousePosition,
|
|
193
192
|
onClick: onChildClick,
|
|
194
193
|
onContextMenu: onContextMenuClick,
|
|
195
|
-
"data-testid":
|
|
194
|
+
"data-testid": HOVER_CARD_TRIGGER_WRAPPER
|
|
196
195
|
}, expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? {
|
|
197
|
-
className:
|
|
198
|
-
} : {}, fg('fix_a11y_violation_in_hover_card_trigger') ? {
|
|
199
|
-
role: 'button'
|
|
196
|
+
className: HOVER_CARD_TRIGGER_WRAPPER
|
|
200
197
|
} : {}), children)), [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
|
|
201
198
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
202
199
|
testId: "hover-card",
|
|
@@ -9,7 +9,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
9
9
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
10
10
|
const PACKAGE_DATA = {
|
|
11
11
|
packageName: "@atlaskit/smart-card",
|
|
12
|
-
packageVersion: "40.10.
|
|
12
|
+
packageVersion: "40.10.10",
|
|
13
13
|
componentName: 'linkUrl'
|
|
14
14
|
};
|
|
15
15
|
const Anchor = withLinkClickedEvent('a');
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useCallback } from 'react';
|
|
3
3
|
import { FormattedMessage } from 'react-intl-next';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
5
6
|
import { useAnalyticsEvents } from '../../common/analytics/generated/use-analytics-events';
|
|
6
7
|
import { CONTENT_URL_3P_ACCOUNT_AUTH, CONTENT_URL_SECURITY_AND_PERMISSIONS } from '../../constants';
|
|
@@ -20,12 +21,12 @@ const UnauthorisedViewContent = ({
|
|
|
20
21
|
const handleLearnMoreClick = useCallback(() => {
|
|
21
22
|
fireEvent('ui.button.clicked.learnMore', {});
|
|
22
23
|
}, [fireEvent]);
|
|
23
|
-
const learnMoreMessage = isProductIntegrationSupported ? messages.learn_more_about_connecting_account : messages.learn_more_about_smart_links;
|
|
24
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, providerName ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_unauthorised_account_description, {
|
|
24
|
+
const learnMoreMessage = isProductIntegrationSupported ? fg('product-terminology-refresh') ? messages.learn_more_about_connecting_account_appify : messages.learn_more_about_connecting_account : messages.learn_more_about_smart_links;
|
|
25
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, providerName ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, fg('product-terminology-refresh') ? messages.connect_unauthorised_account_description_appify : messages.connect_unauthorised_account_description, {
|
|
25
26
|
values: {
|
|
26
27
|
context: providerName
|
|
27
28
|
}
|
|
28
|
-
})) : /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/React.createElement(Anchor, {
|
|
29
|
+
})) : /*#__PURE__*/React.createElement(FormattedMessage, fg('product-terminology-refresh') ? messages.connect_unauthorised_account_description_no_provider_appify : messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/React.createElement(Anchor, {
|
|
29
30
|
href: isProductIntegrationSupported ? CONTENT_URL_3P_ACCOUNT_AUTH : CONTENT_URL_SECURITY_AND_PERMISSIONS,
|
|
30
31
|
target: "_blank",
|
|
31
32
|
testId: `${testId}-learn-more`,
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -81,8 +81,11 @@ export default {
|
|
|
81
81
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
82
82
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
83
83
|
'fabric.linking.follow_project': 'Follow project',
|
|
84
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
84
85
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
86
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
85
87
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
88
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
86
89
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
87
90
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
88
91
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -169,8 +172,11 @@ export default {
|
|
|
169
172
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
170
173
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
171
174
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
175
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
172
176
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
177
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
173
178
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
179
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
174
180
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
175
181
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
176
182
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -81,8 +81,11 @@ export default {
|
|
|
81
81
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
82
82
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
83
83
|
'fabric.linking.follow_project': 'Follow project',
|
|
84
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
84
85
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
86
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
85
87
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
88
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
86
89
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
87
90
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
88
91
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -169,8 +172,11 @@ export default {
|
|
|
169
172
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
170
173
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
171
174
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
175
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
172
176
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
177
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
173
178
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
179
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
174
180
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
175
181
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
176
182
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -81,8 +81,11 @@ export default {
|
|
|
81
81
|
'fabric.linking.follow_goal_description': 'Follow this goal to get notifications on updates',
|
|
82
82
|
'fabric.linking.follow_goal_error': 'We encountered an error while trying to follow the goal. Check your connection or refresh the page and try again.',
|
|
83
83
|
'fabric.linking.follow_project': 'Follow project',
|
|
84
|
+
'fabric.linking.follow_project-galaxia': 'Follow space',
|
|
84
85
|
'fabric.linking.follow_project_description': 'Follow to get notifications on this project',
|
|
86
|
+
'fabric.linking.follow_project_description-galaxia': 'Follow to get notifications on this space',
|
|
85
87
|
'fabric.linking.follow_project_error': 'We encountered an error while trying to follow the project. Check your connection or refresh the page and try again.',
|
|
88
|
+
'fabric.linking.follow_project_error-galaxia': 'We encountered an error while trying to follow the space. Check your connection or refresh the page and try again.',
|
|
86
89
|
'fabric.linking.forbidden_access': 'Your access is forbidden',
|
|
87
90
|
'fabric.linking.forbidden_description': 'Contact your admin to request access to {hostname}.',
|
|
88
91
|
'fabric.linking.forbidden_title': "You don't have access to this content",
|
|
@@ -169,8 +172,11 @@ export default {
|
|
|
169
172
|
'fabric.linking.unfollow_goal_description': 'Unfollow to stop receiving notifications for this goal',
|
|
170
173
|
'fabric.linking.unfollow_goal_error': 'We encountered an error while trying to unfollow the goal. Check your connection or refresh the page and try again.',
|
|
171
174
|
'fabric.linking.unfollow_project': 'Unfollow project',
|
|
175
|
+
'fabric.linking.unfollow_project-galaxia': 'Unfollow space',
|
|
172
176
|
'fabric.linking.unfollow_project_description': 'Unfollow to stop receiving project notifications',
|
|
177
|
+
'fabric.linking.unfollow_project_description-galaxia': 'Unfollow to stop receiving space notifications',
|
|
173
178
|
'fabric.linking.unfollow_project_error': 'We encountered an error while trying to unfollow the project. Check your connection or refresh the page and try again.',
|
|
179
|
+
'fabric.linking.unfollow_project_error-galaxia': 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
174
180
|
'fabric.linking.unlink_account': 'Unlink Account',
|
|
175
181
|
'fabric.linking.updated_by': 'Modified by {context}',
|
|
176
182
|
'fabric.linking.user_attributes': '{context}',
|
package/dist/esm/messages.js
CHANGED
|
@@ -808,5 +808,20 @@ export var messages = defineMessages({
|
|
|
808
808
|
id: 'fabric.linking.unfollow_project_error-galaxia',
|
|
809
809
|
defaultMessage: 'We encountered an error while trying to unfollow the space. Check your connection or refresh the page and try again.',
|
|
810
810
|
description: 'Shown when an unknown error occurs when unfollowing an Atlas project'
|
|
811
|
+
},
|
|
812
|
+
connect_unauthorised_account_description_appify: {
|
|
813
|
+
id: 'fabric.linking.connect_unauthorised_account_description-appify',
|
|
814
|
+
defaultMessage: 'Connect your {context} account to collaborate on work across Atlassian apps.',
|
|
815
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view.'
|
|
816
|
+
},
|
|
817
|
+
connect_unauthorised_account_description_no_provider_appify: {
|
|
818
|
+
id: 'fabric.linking.connect_unauthorised_account_description_no_provider-appify',
|
|
819
|
+
defaultMessage: 'Connect your account to collaborate on work across Atlassian apps.',
|
|
820
|
+
description: 'Shown when a user does not have access to a link, but can connect their external account to view the link on card view and we do not have the providers name.'
|
|
821
|
+
},
|
|
822
|
+
learn_more_about_connecting_account_appify: {
|
|
823
|
+
id: 'fabric.linking.learn_more_about_connecting_account-appify',
|
|
824
|
+
defaultMessage: 'Learn more about connecting your account to Atlassian apps.',
|
|
825
|
+
description: 'An anchor link to redirect user to a page about authorization with 3rd party accounts.'
|
|
811
826
|
}
|
|
812
827
|
});
|
|
@@ -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: "40.10.
|
|
7
|
+
packageVersion: "40.10.10"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -3,7 +3,6 @@ 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 { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import Popup from '@atlaskit/popup';
|
|
8
7
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
9
8
|
import { ActionName, CardDisplay } from '../../../constants';
|
|
@@ -15,7 +14,7 @@ import CustomPopupContainer from '../components/CustomPopupContainer';
|
|
|
15
14
|
import HoverCardContent from '../components/HoverCardContent';
|
|
16
15
|
import { CARD_GAP_PX, HOVER_CARD_Z_INDEX } from '../styled';
|
|
17
16
|
export var HOVER_CARD_SOURCE = 'smartLinkPreviewHoverCard';
|
|
18
|
-
var
|
|
17
|
+
var HOVER_CARD_TRIGGER_WRAPPER = 'hover-card-trigger-wrapper';
|
|
19
18
|
var FADE_IN_DELAY = 500;
|
|
20
19
|
var FADE_OUT_DELAY = 300;
|
|
21
20
|
var RESOLVE_DELAY = 100;
|
|
@@ -206,11 +205,9 @@ export var HoverCardComponent = function HoverCardComponent(_ref) {
|
|
|
206
205
|
onMouseMove: setMousePosition,
|
|
207
206
|
onClick: onChildClick,
|
|
208
207
|
onContextMenu: onContextMenuClick,
|
|
209
|
-
"data-testid":
|
|
208
|
+
"data-testid": HOVER_CARD_TRIGGER_WRAPPER
|
|
210
209
|
}, expValEqualsNoExposure('platform_editor_preview_panel_linking_exp', 'isEnabled', true) ? {
|
|
211
|
-
className:
|
|
212
|
-
} : {}, fg('fix_a11y_violation_in_hover_card_trigger') ? {
|
|
213
|
-
role: 'button'
|
|
210
|
+
className: HOVER_CARD_TRIGGER_WRAPPER
|
|
214
211
|
} : {}), children));
|
|
215
212
|
}, [children, initHideCard, initShowCard, onChildClick, onContextMenuClick, setMousePosition]);
|
|
216
213
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
@@ -12,7 +12,7 @@ import LinkWarningModal from './LinkWarningModal';
|
|
|
12
12
|
import { useLinkWarningModal } from './LinkWarningModal/hooks/use-link-warning-modal';
|
|
13
13
|
var PACKAGE_DATA = {
|
|
14
14
|
packageName: "@atlaskit/smart-card",
|
|
15
|
-
packageVersion: "40.10.
|
|
15
|
+
packageVersion: "40.10.10",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var Anchor = withLinkClickedEvent('a');
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useCallback } from 'react';
|
|
3
3
|
import { FormattedMessage } from 'react-intl-next';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import { Anchor } from '@atlaskit/primitives/compiled';
|
|
5
6
|
import { useAnalyticsEvents } from '../../common/analytics/generated/use-analytics-events';
|
|
6
7
|
import { CONTENT_URL_3P_ACCOUNT_AUTH, CONTENT_URL_SECURITY_AND_PERMISSIONS } from '../../constants';
|
|
@@ -19,12 +20,12 @@ var UnauthorisedViewContent = function UnauthorisedViewContent(_ref) {
|
|
|
19
20
|
var handleLearnMoreClick = useCallback(function () {
|
|
20
21
|
fireEvent('ui.button.clicked.learnMore', {});
|
|
21
22
|
}, [fireEvent]);
|
|
22
|
-
var learnMoreMessage = isProductIntegrationSupported ? messages.learn_more_about_connecting_account : messages.learn_more_about_smart_links;
|
|
23
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, providerName ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.connect_unauthorised_account_description, {
|
|
23
|
+
var learnMoreMessage = isProductIntegrationSupported ? fg('product-terminology-refresh') ? messages.learn_more_about_connecting_account_appify : messages.learn_more_about_connecting_account : messages.learn_more_about_smart_links;
|
|
24
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, providerName ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, fg('product-terminology-refresh') ? messages.connect_unauthorised_account_description_appify : messages.connect_unauthorised_account_description, {
|
|
24
25
|
values: {
|
|
25
26
|
context: providerName
|
|
26
27
|
}
|
|
27
|
-
})) : /*#__PURE__*/React.createElement(FormattedMessage, messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/React.createElement(Anchor, {
|
|
28
|
+
})) : /*#__PURE__*/React.createElement(FormattedMessage, fg('product-terminology-refresh') ? messages.connect_unauthorised_account_description_no_provider_appify : messages.connect_unauthorised_account_description_no_provider), ' ', /*#__PURE__*/React.createElement(Anchor, {
|
|
28
29
|
href: isProductIntegrationSupported ? CONTENT_URL_3P_ACCOUNT_AUTH : CONTENT_URL_SECURITY_AND_PERMISSIONS,
|
|
29
30
|
target: "_blank",
|
|
30
31
|
testId: "".concat(testId, "-learn-more"),
|
package/dist/types/i18n/en.d.ts
CHANGED
|
@@ -79,8 +79,11 @@ declare const _default: {
|
|
|
79
79
|
'fabric.linking.follow_goal_description': string;
|
|
80
80
|
'fabric.linking.follow_goal_error': string;
|
|
81
81
|
'fabric.linking.follow_project': string;
|
|
82
|
+
'fabric.linking.follow_project-galaxia': string;
|
|
82
83
|
'fabric.linking.follow_project_description': string;
|
|
84
|
+
'fabric.linking.follow_project_description-galaxia': string;
|
|
83
85
|
'fabric.linking.follow_project_error': string;
|
|
86
|
+
'fabric.linking.follow_project_error-galaxia': string;
|
|
84
87
|
'fabric.linking.forbidden_access': string;
|
|
85
88
|
'fabric.linking.forbidden_description': string;
|
|
86
89
|
'fabric.linking.forbidden_title': string;
|
|
@@ -167,8 +170,11 @@ declare const _default: {
|
|
|
167
170
|
'fabric.linking.unfollow_goal_description': string;
|
|
168
171
|
'fabric.linking.unfollow_goal_error': string;
|
|
169
172
|
'fabric.linking.unfollow_project': string;
|
|
173
|
+
'fabric.linking.unfollow_project-galaxia': string;
|
|
170
174
|
'fabric.linking.unfollow_project_description': string;
|
|
175
|
+
'fabric.linking.unfollow_project_description-galaxia': string;
|
|
171
176
|
'fabric.linking.unfollow_project_error': string;
|
|
177
|
+
'fabric.linking.unfollow_project_error-galaxia': string;
|
|
172
178
|
'fabric.linking.unlink_account': string;
|
|
173
179
|
'fabric.linking.updated_by': string;
|
|
174
180
|
'fabric.linking.user_attributes': string;
|
|
@@ -79,8 +79,11 @@ declare const _default: {
|
|
|
79
79
|
'fabric.linking.follow_goal_description': string;
|
|
80
80
|
'fabric.linking.follow_goal_error': string;
|
|
81
81
|
'fabric.linking.follow_project': string;
|
|
82
|
+
'fabric.linking.follow_project-galaxia': string;
|
|
82
83
|
'fabric.linking.follow_project_description': string;
|
|
84
|
+
'fabric.linking.follow_project_description-galaxia': string;
|
|
83
85
|
'fabric.linking.follow_project_error': string;
|
|
86
|
+
'fabric.linking.follow_project_error-galaxia': string;
|
|
84
87
|
'fabric.linking.forbidden_access': string;
|
|
85
88
|
'fabric.linking.forbidden_description': string;
|
|
86
89
|
'fabric.linking.forbidden_title': string;
|
|
@@ -167,8 +170,11 @@ declare const _default: {
|
|
|
167
170
|
'fabric.linking.unfollow_goal_description': string;
|
|
168
171
|
'fabric.linking.unfollow_goal_error': string;
|
|
169
172
|
'fabric.linking.unfollow_project': string;
|
|
173
|
+
'fabric.linking.unfollow_project-galaxia': string;
|
|
170
174
|
'fabric.linking.unfollow_project_description': string;
|
|
175
|
+
'fabric.linking.unfollow_project_description-galaxia': string;
|
|
171
176
|
'fabric.linking.unfollow_project_error': string;
|
|
177
|
+
'fabric.linking.unfollow_project_error-galaxia': string;
|
|
172
178
|
'fabric.linking.unlink_account': string;
|
|
173
179
|
'fabric.linking.updated_by': string;
|
|
174
180
|
'fabric.linking.user_attributes': string;
|
|
@@ -79,8 +79,11 @@ declare const _default: {
|
|
|
79
79
|
'fabric.linking.follow_goal_description': string;
|
|
80
80
|
'fabric.linking.follow_goal_error': string;
|
|
81
81
|
'fabric.linking.follow_project': string;
|
|
82
|
+
'fabric.linking.follow_project-galaxia': string;
|
|
82
83
|
'fabric.linking.follow_project_description': string;
|
|
84
|
+
'fabric.linking.follow_project_description-galaxia': string;
|
|
83
85
|
'fabric.linking.follow_project_error': string;
|
|
86
|
+
'fabric.linking.follow_project_error-galaxia': string;
|
|
84
87
|
'fabric.linking.forbidden_access': string;
|
|
85
88
|
'fabric.linking.forbidden_description': string;
|
|
86
89
|
'fabric.linking.forbidden_title': string;
|
|
@@ -167,8 +170,11 @@ declare const _default: {
|
|
|
167
170
|
'fabric.linking.unfollow_goal_description': string;
|
|
168
171
|
'fabric.linking.unfollow_goal_error': string;
|
|
169
172
|
'fabric.linking.unfollow_project': string;
|
|
173
|
+
'fabric.linking.unfollow_project-galaxia': string;
|
|
170
174
|
'fabric.linking.unfollow_project_description': string;
|
|
175
|
+
'fabric.linking.unfollow_project_description-galaxia': string;
|
|
171
176
|
'fabric.linking.unfollow_project_error': string;
|
|
177
|
+
'fabric.linking.unfollow_project_error-galaxia': string;
|
|
172
178
|
'fabric.linking.unlink_account': string;
|
|
173
179
|
'fabric.linking.updated_by': string;
|
|
174
180
|
'fabric.linking.user_attributes': string;
|
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' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_projectGalaxia' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_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_descriptionGalaxia' | 'unfollow_projectGalaxia' | 'unfollow_project' | 'unfollow_projectGalaxia' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh';
|
|
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' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_projectGalaxia' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_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_descriptionGalaxia' | 'unfollow_projectGalaxia' | 'unfollow_project' | 'unfollow_projectGalaxia' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_appify';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
|
@@ -79,8 +79,11 @@ declare const _default: {
|
|
|
79
79
|
'fabric.linking.follow_goal_description': string;
|
|
80
80
|
'fabric.linking.follow_goal_error': string;
|
|
81
81
|
'fabric.linking.follow_project': string;
|
|
82
|
+
'fabric.linking.follow_project-galaxia': string;
|
|
82
83
|
'fabric.linking.follow_project_description': string;
|
|
84
|
+
'fabric.linking.follow_project_description-galaxia': string;
|
|
83
85
|
'fabric.linking.follow_project_error': string;
|
|
86
|
+
'fabric.linking.follow_project_error-galaxia': string;
|
|
84
87
|
'fabric.linking.forbidden_access': string;
|
|
85
88
|
'fabric.linking.forbidden_description': string;
|
|
86
89
|
'fabric.linking.forbidden_title': string;
|
|
@@ -167,8 +170,11 @@ declare const _default: {
|
|
|
167
170
|
'fabric.linking.unfollow_goal_description': string;
|
|
168
171
|
'fabric.linking.unfollow_goal_error': string;
|
|
169
172
|
'fabric.linking.unfollow_project': string;
|
|
173
|
+
'fabric.linking.unfollow_project-galaxia': string;
|
|
170
174
|
'fabric.linking.unfollow_project_description': string;
|
|
175
|
+
'fabric.linking.unfollow_project_description-galaxia': string;
|
|
171
176
|
'fabric.linking.unfollow_project_error': string;
|
|
177
|
+
'fabric.linking.unfollow_project_error-galaxia': string;
|
|
172
178
|
'fabric.linking.unlink_account': string;
|
|
173
179
|
'fabric.linking.updated_by': string;
|
|
174
180
|
'fabric.linking.user_attributes': string;
|
|
@@ -79,8 +79,11 @@ declare const _default: {
|
|
|
79
79
|
'fabric.linking.follow_goal_description': string;
|
|
80
80
|
'fabric.linking.follow_goal_error': string;
|
|
81
81
|
'fabric.linking.follow_project': string;
|
|
82
|
+
'fabric.linking.follow_project-galaxia': string;
|
|
82
83
|
'fabric.linking.follow_project_description': string;
|
|
84
|
+
'fabric.linking.follow_project_description-galaxia': string;
|
|
83
85
|
'fabric.linking.follow_project_error': string;
|
|
86
|
+
'fabric.linking.follow_project_error-galaxia': string;
|
|
84
87
|
'fabric.linking.forbidden_access': string;
|
|
85
88
|
'fabric.linking.forbidden_description': string;
|
|
86
89
|
'fabric.linking.forbidden_title': string;
|
|
@@ -167,8 +170,11 @@ declare const _default: {
|
|
|
167
170
|
'fabric.linking.unfollow_goal_description': string;
|
|
168
171
|
'fabric.linking.unfollow_goal_error': string;
|
|
169
172
|
'fabric.linking.unfollow_project': string;
|
|
173
|
+
'fabric.linking.unfollow_project-galaxia': string;
|
|
170
174
|
'fabric.linking.unfollow_project_description': string;
|
|
175
|
+
'fabric.linking.unfollow_project_description-galaxia': string;
|
|
171
176
|
'fabric.linking.unfollow_project_error': string;
|
|
177
|
+
'fabric.linking.unfollow_project_error-galaxia': string;
|
|
172
178
|
'fabric.linking.unlink_account': string;
|
|
173
179
|
'fabric.linking.updated_by': string;
|
|
174
180
|
'fabric.linking.user_attributes': string;
|
|
@@ -79,8 +79,11 @@ declare const _default: {
|
|
|
79
79
|
'fabric.linking.follow_goal_description': string;
|
|
80
80
|
'fabric.linking.follow_goal_error': string;
|
|
81
81
|
'fabric.linking.follow_project': string;
|
|
82
|
+
'fabric.linking.follow_project-galaxia': string;
|
|
82
83
|
'fabric.linking.follow_project_description': string;
|
|
84
|
+
'fabric.linking.follow_project_description-galaxia': string;
|
|
83
85
|
'fabric.linking.follow_project_error': string;
|
|
86
|
+
'fabric.linking.follow_project_error-galaxia': string;
|
|
84
87
|
'fabric.linking.forbidden_access': string;
|
|
85
88
|
'fabric.linking.forbidden_description': string;
|
|
86
89
|
'fabric.linking.forbidden_title': string;
|
|
@@ -167,8 +170,11 @@ declare const _default: {
|
|
|
167
170
|
'fabric.linking.unfollow_goal_description': string;
|
|
168
171
|
'fabric.linking.unfollow_goal_error': string;
|
|
169
172
|
'fabric.linking.unfollow_project': string;
|
|
173
|
+
'fabric.linking.unfollow_project-galaxia': string;
|
|
170
174
|
'fabric.linking.unfollow_project_description': string;
|
|
175
|
+
'fabric.linking.unfollow_project_description-galaxia': string;
|
|
171
176
|
'fabric.linking.unfollow_project_error': string;
|
|
177
|
+
'fabric.linking.unfollow_project_error-galaxia': string;
|
|
172
178
|
'fabric.linking.unlink_account': string;
|
|
173
179
|
'fabric.linking.updated_by': string;
|
|
174
180
|
'fabric.linking.user_attributes': string;
|
|
@@ -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' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_projectGalaxia' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_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_descriptionGalaxia' | 'unfollow_projectGalaxia' | 'unfollow_project' | 'unfollow_projectGalaxia' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh';
|
|
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' | 'compass_applied_components_count' | 'connect_link_account_card' | 'connect_link_account_card_name' | 'connect_link_account_card_description' | 'connect_unauthorised_account_action' | 'connect_unauthorised_account_description' | 'connect_unauthorised_account_description_no_provider' | 'continue' | 'copy_url_to_clipboard' | 'copied_url_to_clipboard' | 'could_not_load_link' | 'download' | 'download_description' | 'download_file' | 'follow' | 'follow_project_description' | 'follow_project_descriptionGalaxia' | 'follow_project' | 'follow_projectGalaxia' | 'follow_goal' | 'follow_goal_description' | 'follow_project_error' | 'follow_project_errorGalaxia' | 'follow_goal_error' | 'go_back' | 'invalid_permissions' | 'invalid_permissions_description' | 'join_to_view' | 'connect_link_account' | 'created_by' | 'created_on_relative' | 'created_on_absolute' | 'check_this_link' | 'delete' | 'edit' | 'learn_more_about_smart_links' | 'learn_more_about_connecting_account' | 'loading' | 'link_safety_warning_message' | 'modified_by' | 'modified_on_relative' | 'modified_on_absolute' | 'more_actions' | 'not_found_title' | 'not_found_description' | 'open_issue_in_jira' | 'open_link_in_a_new_tab' | 'owned_by' | 'owned_by_override' | 'preview_description' | 'preview_improved' | 'preview_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_descriptionGalaxia' | 'unfollow_projectGalaxia' | 'unfollow_project' | 'unfollow_projectGalaxia' | 'unfollow_project_error' | 'unfollow_project_errorGalaxia' | 'unfollow_goal' | 'unfollow_goal_description' | 'unfollow_goal_error' | 'user_attributes' | 'view' | 'viewIn' | 'viewOriginal' | 'actions' | 'add_account' | 'cancel' | 'close' | 'connect_to' | 'connect_account_description' | 'retry' | 'save' | 'unlink_account' | RequestAccessMessageKey | 'related' | 'generic_error_message' | 'related_links_modal_error_title' | 'related_links_modal_error_description' | 'related_links_modal_unavailable_title' | 'related_links_modal_unavailable_description' | 'related_links_modal_title' | 'related_links_view_related_urls' | 'related_links_view_related_links' | 'related_links_found_in' | 'related_links_includes_links_to' | 'related_links_not_found' | 'join_to_viewIssueTermRefresh' | 'open_issue_in_jiraIssueTermRefresh' | 'request_access_to_viewIssueTermRefresh' | 'team_members_count' | 'status_change_permission_errorIssueTermRefresh' | 'connect_unauthorised_account_description_appify' | 'connect_unauthorised_account_description_no_provider_appify' | 'learn_more_about_connecting_account_appify';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "40.
|
|
3
|
+
"version": "40.11.0",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/form": "^12.1.0",
|
|
40
40
|
"@atlaskit/frontend-utilities": "^3.1.0",
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
|
-
"@atlaskit/icon": "^
|
|
42
|
+
"@atlaskit/icon": "^28.0.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
44
|
"@atlaskit/icon-lab": "^5.6.0",
|
|
45
45
|
"@atlaskit/icon-object": "^7.2.0",
|
|
@@ -185,9 +185,6 @@
|
|
|
185
185
|
"confluence-issue-terminology-refresh": {
|
|
186
186
|
"type": "boolean"
|
|
187
187
|
},
|
|
188
|
-
"fix_a11y_violation_in_hover_card_trigger": {
|
|
189
|
-
"type": "boolean"
|
|
190
|
-
},
|
|
191
188
|
"smart_links_noun_support": {
|
|
192
189
|
"type": "boolean"
|
|
193
190
|
},
|
|
@@ -215,6 +212,9 @@
|
|
|
215
212
|
"platform_renderer_blindspots": {
|
|
216
213
|
"type": "boolean"
|
|
217
214
|
},
|
|
215
|
+
"product-terminology-refresh": {
|
|
216
|
+
"type": "boolean"
|
|
217
|
+
},
|
|
218
218
|
"platform-linking-enable-avatar-data-separator": {
|
|
219
219
|
"type": "boolean"
|
|
220
220
|
},
|