@atlaskit/smart-card 34.9.0 → 34.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/messages.js +20 -0
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.js +2 -1
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.js +3 -0
- package/dist/cjs/view/FlexibleCard/utils.js +3 -2
- package/dist/cjs/view/InlineCard/Frame/styled.compiled.css +1 -1
- package/dist/cjs/view/InlineCard/Frame/styled.js +2 -2
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/messages.js +20 -0
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.js +2 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.js +3 -0
- package/dist/es2019/view/FlexibleCard/utils.js +3 -2
- package/dist/es2019/view/InlineCard/Frame/styled.compiled.css +1 -1
- package/dist/es2019/view/InlineCard/Frame/styled.js +2 -2
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/messages.js +20 -0
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/index.js +2 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.js +3 -0
- package/dist/esm/view/FlexibleCard/utils.js +3 -2
- package/dist/esm/view/InlineCard/Frame/styled.compiled.css +1 -1
- package/dist/esm/view/InlineCard/Frame/styled.js +2 -2
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +3 -0
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/elements/lozenge/lozenge-action/lozenge-action-error/types.d.ts +3 -0
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 34.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 34.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#105866](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105866)
|
|
14
|
+
[`14e4e9c1a2ae3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14e4e9c1a2ae3) -
|
|
15
|
+
[ux] Rebranded the term Issue to Work item as part of issue terminology refresh
|
|
16
|
+
|
|
3
17
|
## 34.9.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
package/dist/cjs/messages.js
CHANGED
|
@@ -740,5 +740,25 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
740
740
|
id: 'fabric.linking.related_links_modal_unavailable_message',
|
|
741
741
|
defaultMessage: "We didn't find any links to show here. We continuously review and add recent links for updated pages or other content types.",
|
|
742
742
|
description: 'Informs the user that related links were not found but may be available in the future'
|
|
743
|
+
},
|
|
744
|
+
join_to_viewIssueTermRefresh: {
|
|
745
|
+
id: 'fabric.linking.join_to_view-issue-term-refresh',
|
|
746
|
+
defaultMessage: 'Join {context} to view this work item',
|
|
747
|
+
description: 'Allows the user join the product or service immediately'
|
|
748
|
+
},
|
|
749
|
+
open_issue_in_jiraIssueTermRefresh: {
|
|
750
|
+
id: 'fabric.linking.open_issue_in_jira-issue-term-refresh',
|
|
751
|
+
defaultMessage: 'Open work item in Jira',
|
|
752
|
+
description: 'Click to open link in Jira'
|
|
753
|
+
},
|
|
754
|
+
request_access_to_viewIssueTermRefresh: {
|
|
755
|
+
id: 'fabric.linking.request_access_to_view-issue-term-refresh',
|
|
756
|
+
defaultMessage: 'Request access to {context} to view this work item',
|
|
757
|
+
description: 'Allows the user to request access to a product or service'
|
|
758
|
+
},
|
|
759
|
+
status_change_permission_errorIssueTermRefresh: {
|
|
760
|
+
id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
|
|
761
|
+
defaultMessage: 'You don’t have permission to transition this work item. ',
|
|
762
|
+
description: 'Informs the user that they do not have enough permissions to update a status'
|
|
743
763
|
}
|
|
744
764
|
});
|
|
@@ -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: "34.
|
|
14
|
+
packageVersion: "34.10.1"
|
|
15
15
|
};
|
|
16
16
|
var TrackQuickActionType = exports.TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
17
17
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -12,6 +12,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
12
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
13
13
|
var _react = _interopRequireWildcard(require("react"));
|
|
14
14
|
var _dropdownMenu = _interopRequireDefault(require("@atlaskit/dropdown-menu"));
|
|
15
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
16
|
var _useAnalyticsEvents2 = require("../../../../../../common/analytics/generated/use-analytics-events");
|
|
16
17
|
var _extractLozengeActionItems = _interopRequireDefault(require("../../../../../../extractors/action/extract-lozenge-action-items"));
|
|
17
18
|
var _useInvoke = _interopRequireDefault(require("../../../../../../state/hooks/use-invoke"));
|
|
@@ -113,7 +114,7 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
113
114
|
setIsLoaded(true);
|
|
114
115
|
if ((validItems === null || validItems === void 0 ? void 0 : validItems.length) === 0) {
|
|
115
116
|
fireEvent('track.smartLinkQuickAction.failed', _lozengeActionAnalytics.permissionLoadErrorAnalyticsPayload);
|
|
116
|
-
setErrorMessage(_types.LozengeActionErrorMessages.noData);
|
|
117
|
+
setErrorMessage((0, _platformFeatureFlags.fg)('confluence-issue-terminology-refresh') ? _types.LozengeActionErrorMessages.noDataIssueTermRefresh : _types.LozengeActionErrorMessages.noData);
|
|
117
118
|
setIsLoaded(false);
|
|
118
119
|
}
|
|
119
120
|
_context.next = 21;
|
|
@@ -73,7 +73,7 @@ var LozengeActionErrorNew = function LozengeActionErrorNew(_ref) {
|
|
|
73
73
|
target: "_blank",
|
|
74
74
|
"data-testid": "".concat(testId, "-open-embed"),
|
|
75
75
|
onClick: handlePreviewOpen
|
|
76
|
-
}, /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _messages.messages.open_issue_in_jira))) : null);
|
|
76
|
+
}, (0, _platformFeatureFlags.fg)('confluence-issue-terminology-refresh') ? /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _messages.messages.open_issue_in_jiraIssueTermRefresh) : /*#__PURE__*/React.createElement(_reactIntlNext.FormattedMessage, _messages.messages.open_issue_in_jira))) : null);
|
|
77
77
|
}, [errorMessage, handlePreviewOpen, isPreviewAvailable, testId, dynamicCss]);
|
|
78
78
|
return /*#__PURE__*/React.createElement("span", {
|
|
79
79
|
"data-testid": "".concat(testId, "-error-item-group"),
|
|
@@ -9,6 +9,9 @@ var LozengeActionErrorMessages = exports.LozengeActionErrorMessages = {
|
|
|
9
9
|
noData: {
|
|
10
10
|
descriptor: _messages.messages['status_change_permission_error']
|
|
11
11
|
},
|
|
12
|
+
noDataIssueTermRefresh: {
|
|
13
|
+
descriptor: _messages.messages['status_change_permission_errorIssueTermRefresh']
|
|
14
|
+
},
|
|
12
15
|
unknown: {
|
|
13
16
|
descriptor: _messages.messages['status_change_load_error']
|
|
14
17
|
},
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.getRetryOptions = exports.getContextByStatus = void 0;
|
|
8
8
|
var _linkExtractors = require("@atlaskit/link-extractors");
|
|
9
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
9
10
|
var _constants = require("../../constants");
|
|
10
11
|
var _context = require("../../extractors/common/context");
|
|
11
12
|
var _flexible = _interopRequireDefault(require("../../extractors/flexible"));
|
|
@@ -52,9 +53,9 @@ var getForbiddenMessageKey = function getForbiddenMessageKey(meta) {
|
|
|
52
53
|
var accessType = meta === null || meta === void 0 || (_meta$requestAccess = meta.requestAccess) === null || _meta$requestAccess === void 0 ? void 0 : _meta$requestAccess.accessType;
|
|
53
54
|
switch (accessType) {
|
|
54
55
|
case 'DIRECT_ACCESS':
|
|
55
|
-
return 'join_to_view';
|
|
56
|
+
return (0, _platformFeatureFlags.fg)('confluence-issue-terminology-refresh') ? 'join_to_viewIssueTermRefresh' : 'join_to_view';
|
|
56
57
|
case 'REQUEST_ACCESS':
|
|
57
|
-
return 'request_access_to_view';
|
|
58
|
+
return (0, _platformFeatureFlags.fg)('confluence-issue-terminology-refresh') ? 'request_access_to_viewIssueTermRefresh' : 'request_access_to_view';
|
|
58
59
|
case 'PENDING_REQUEST_EXISTS':
|
|
59
60
|
return 'pending_request';
|
|
60
61
|
case 'FORBIDDEN':
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
._1iohnqa1:active{text-decoration-style:solid}
|
|
52
52
|
._1nrm18uv:active{text-decoration-color:initial}
|
|
53
53
|
._c2waglyw:active{text-decoration-line:none}
|
|
54
|
-
@supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}}
|
|
54
|
+
@supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}._1voyv77o{padding-top:var(--ds-space-025,2px)}._3kwxidpf{padding-right:0}._jqg5v77o{padding-bottom:var(--ds-space-025,2px)}._6vwiidpf{padding-left:0}}
|
|
@@ -30,7 +30,7 @@ var WrapperSpan = exports.WrapperSpan = /*#__PURE__*/(0, _react.forwardRef)(func
|
|
|
30
30
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({
|
|
31
31
|
ref: ref
|
|
32
32
|
}, props, {
|
|
33
|
-
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54
|
|
33
|
+
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv"])
|
|
34
34
|
}), props.children);
|
|
35
35
|
});
|
|
36
36
|
var WrapperAnchor = exports.WrapperAnchor = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
@@ -45,7 +45,7 @@ var WrapperAnchor = exports.WrapperAnchor = /*#__PURE__*/(0, _react.forwardRef)(
|
|
|
45
45
|
href: href,
|
|
46
46
|
ref: ref
|
|
47
47
|
}, props, {
|
|
48
|
-
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54
|
|
48
|
+
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehicw00 _1j5pglyw _1di629zg"])
|
|
49
49
|
}), props.children);
|
|
50
50
|
});
|
|
51
51
|
var baseWrapperStylesNew = null;
|
|
@@ -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: "34.
|
|
23
|
+
packageVersion: "34.10.1",
|
|
24
24
|
componentName: 'linkUrl'
|
|
25
25
|
};
|
|
26
26
|
var Anchor = (0, _click.withLinkClickedEvent)('a');
|
package/dist/es2019/messages.js
CHANGED
|
@@ -734,5 +734,25 @@ export const messages = defineMessages({
|
|
|
734
734
|
id: 'fabric.linking.related_links_modal_unavailable_message',
|
|
735
735
|
defaultMessage: "We didn't find any links to show here. We continuously review and add recent links for updated pages or other content types.",
|
|
736
736
|
description: 'Informs the user that related links were not found but may be available in the future'
|
|
737
|
+
},
|
|
738
|
+
join_to_viewIssueTermRefresh: {
|
|
739
|
+
id: 'fabric.linking.join_to_view-issue-term-refresh',
|
|
740
|
+
defaultMessage: 'Join {context} to view this work item',
|
|
741
|
+
description: 'Allows the user join the product or service immediately'
|
|
742
|
+
},
|
|
743
|
+
open_issue_in_jiraIssueTermRefresh: {
|
|
744
|
+
id: 'fabric.linking.open_issue_in_jira-issue-term-refresh',
|
|
745
|
+
defaultMessage: 'Open work item in Jira',
|
|
746
|
+
description: 'Click to open link in Jira'
|
|
747
|
+
},
|
|
748
|
+
request_access_to_viewIssueTermRefresh: {
|
|
749
|
+
id: 'fabric.linking.request_access_to_view-issue-term-refresh',
|
|
750
|
+
defaultMessage: 'Request access to {context} to view this work item',
|
|
751
|
+
description: 'Allows the user to request access to a product or service'
|
|
752
|
+
},
|
|
753
|
+
status_change_permission_errorIssueTermRefresh: {
|
|
754
|
+
id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
|
|
755
|
+
defaultMessage: 'You don’t have permission to transition this work item. ',
|
|
756
|
+
description: 'Informs the user that they do not have enough permissions to update a status'
|
|
737
757
|
}
|
|
738
758
|
});
|
|
@@ -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: "34.
|
|
5
|
+
packageVersion: "34.10.1"
|
|
6
6
|
};
|
|
7
7
|
export let TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
8
8
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
3
|
import DropdownMenu from '@atlaskit/dropdown-menu';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
5
|
import { useAnalyticsEvents } from '../../../../../../common/analytics/generated/use-analytics-events';
|
|
5
6
|
import extractLozengeActionItems from '../../../../../../extractors/action/extract-lozenge-action-items';
|
|
6
7
|
import useInvoke from '../../../../../../state/hooks/use-invoke';
|
|
@@ -66,7 +67,7 @@ const LozengeAction = ({
|
|
|
66
67
|
setIsLoaded(true);
|
|
67
68
|
if ((validItems === null || validItems === void 0 ? void 0 : validItems.length) === 0) {
|
|
68
69
|
fireEvent('track.smartLinkQuickAction.failed', permissionLoadErrorAnalyticsPayload);
|
|
69
|
-
setErrorMessage(LozengeActionErrorMessages.noData);
|
|
70
|
+
setErrorMessage(fg('confluence-issue-terminology-refresh') ? LozengeActionErrorMessages.noDataIssueTermRefresh : LozengeActionErrorMessages.noData);
|
|
70
71
|
setIsLoaded(false);
|
|
71
72
|
}
|
|
72
73
|
} catch (err) {
|
|
@@ -60,7 +60,7 @@ const LozengeActionErrorNew = ({
|
|
|
60
60
|
target: "_blank",
|
|
61
61
|
"data-testid": `${testId}-open-embed`,
|
|
62
62
|
onClick: handlePreviewOpen
|
|
63
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.open_issue_in_jira))) : null);
|
|
63
|
+
}, fg('confluence-issue-terminology-refresh') ? /*#__PURE__*/React.createElement(FormattedMessage, messages.open_issue_in_jiraIssueTermRefresh) : /*#__PURE__*/React.createElement(FormattedMessage, messages.open_issue_in_jira))) : null);
|
|
64
64
|
}, [errorMessage, handlePreviewOpen, isPreviewAvailable, testId, dynamicCss]);
|
|
65
65
|
return /*#__PURE__*/React.createElement("span", {
|
|
66
66
|
"data-testid": `${testId}-error-item-group`,
|
|
@@ -3,6 +3,9 @@ export const LozengeActionErrorMessages = {
|
|
|
3
3
|
noData: {
|
|
4
4
|
descriptor: messages['status_change_permission_error']
|
|
5
5
|
},
|
|
6
|
+
noDataIssueTermRefresh: {
|
|
7
|
+
descriptor: messages['status_change_permission_errorIssueTermRefresh']
|
|
8
|
+
},
|
|
6
9
|
unknown: {
|
|
7
10
|
descriptor: messages['status_change_load_error']
|
|
8
11
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { extractProvider } from '@atlaskit/link-extractors';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
3
|
import { SmartLinkStatus } from '../../constants';
|
|
3
4
|
import { extractRequestAccessContextImproved } from '../../extractors/common/context';
|
|
4
5
|
import extractFlexibleUiContext from '../../extractors/flexible';
|
|
@@ -46,9 +47,9 @@ const getForbiddenMessageKey = meta => {
|
|
|
46
47
|
const accessType = meta === null || meta === void 0 ? void 0 : (_meta$requestAccess = meta.requestAccess) === null || _meta$requestAccess === void 0 ? void 0 : _meta$requestAccess.accessType;
|
|
47
48
|
switch (accessType) {
|
|
48
49
|
case 'DIRECT_ACCESS':
|
|
49
|
-
return 'join_to_view';
|
|
50
|
+
return fg('confluence-issue-terminology-refresh') ? 'join_to_viewIssueTermRefresh' : 'join_to_view';
|
|
50
51
|
case 'REQUEST_ACCESS':
|
|
51
|
-
return 'request_access_to_view';
|
|
52
|
+
return fg('confluence-issue-terminology-refresh') ? 'request_access_to_viewIssueTermRefresh' : 'request_access_to_view';
|
|
52
53
|
case 'PENDING_REQUEST_EXISTS':
|
|
53
54
|
return 'pending_request';
|
|
54
55
|
case 'FORBIDDEN':
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
._1iohnqa1:active{text-decoration-style:solid}
|
|
52
52
|
._1nrm18uv:active{text-decoration-color:initial}
|
|
53
53
|
._c2waglyw:active{text-decoration-line:none}
|
|
54
|
-
@supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}}
|
|
54
|
+
@supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}._1voyv77o{padding-top:var(--ds-space-025,2px)}._3kwxidpf{padding-right:0}._jqg5v77o{padding-bottom:var(--ds-space-025,2px)}._6vwiidpf{padding-left:0}}
|
|
@@ -18,7 +18,7 @@ export const WrapperSpan = /*#__PURE__*/forwardRef(({
|
|
|
18
18
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
19
19
|
ref: ref
|
|
20
20
|
}, props, {
|
|
21
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54
|
|
21
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv"])
|
|
22
22
|
}), props.children);
|
|
23
23
|
});
|
|
24
24
|
export const WrapperAnchor = /*#__PURE__*/forwardRef(({
|
|
@@ -34,7 +34,7 @@ export const WrapperAnchor = /*#__PURE__*/forwardRef(({
|
|
|
34
34
|
href: href,
|
|
35
35
|
ref: ref
|
|
36
36
|
}, props, {
|
|
37
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54
|
|
37
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehicw00 _1j5pglyw _1di629zg"])
|
|
38
38
|
}), props.children);
|
|
39
39
|
});
|
|
40
40
|
const baseWrapperStylesNew = null;
|
|
@@ -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: "34.
|
|
13
|
+
packageVersion: "34.10.1",
|
|
14
14
|
componentName: 'linkUrl'
|
|
15
15
|
};
|
|
16
16
|
const Anchor = withLinkClickedEvent('a');
|
package/dist/esm/messages.js
CHANGED
|
@@ -734,5 +734,25 @@ export var messages = defineMessages({
|
|
|
734
734
|
id: 'fabric.linking.related_links_modal_unavailable_message',
|
|
735
735
|
defaultMessage: "We didn't find any links to show here. We continuously review and add recent links for updated pages or other content types.",
|
|
736
736
|
description: 'Informs the user that related links were not found but may be available in the future'
|
|
737
|
+
},
|
|
738
|
+
join_to_viewIssueTermRefresh: {
|
|
739
|
+
id: 'fabric.linking.join_to_view-issue-term-refresh',
|
|
740
|
+
defaultMessage: 'Join {context} to view this work item',
|
|
741
|
+
description: 'Allows the user join the product or service immediately'
|
|
742
|
+
},
|
|
743
|
+
open_issue_in_jiraIssueTermRefresh: {
|
|
744
|
+
id: 'fabric.linking.open_issue_in_jira-issue-term-refresh',
|
|
745
|
+
defaultMessage: 'Open work item in Jira',
|
|
746
|
+
description: 'Click to open link in Jira'
|
|
747
|
+
},
|
|
748
|
+
request_access_to_viewIssueTermRefresh: {
|
|
749
|
+
id: 'fabric.linking.request_access_to_view-issue-term-refresh',
|
|
750
|
+
defaultMessage: 'Request access to {context} to view this work item',
|
|
751
|
+
description: 'Allows the user to request access to a product or service'
|
|
752
|
+
},
|
|
753
|
+
status_change_permission_errorIssueTermRefresh: {
|
|
754
|
+
id: 'fabric.linking.status_change_permission_error-issue-term-refresh',
|
|
755
|
+
defaultMessage: 'You don’t have permission to transition this work item. ',
|
|
756
|
+
description: 'Informs the user that they do not have enough permissions to update a status'
|
|
737
757
|
}
|
|
738
758
|
});
|
|
@@ -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: "34.
|
|
7
|
+
packageVersion: "34.10.1"
|
|
8
8
|
};
|
|
9
9
|
export var TrackQuickActionType = /*#__PURE__*/function (TrackQuickActionType) {
|
|
10
10
|
TrackQuickActionType["StatusUpdate"] = "StatusUpdate";
|
|
@@ -4,6 +4,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
4
4
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
5
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
6
6
|
import DropdownMenu from '@atlaskit/dropdown-menu';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
import { useAnalyticsEvents } from '../../../../../../common/analytics/generated/use-analytics-events';
|
|
8
9
|
import extractLozengeActionItems from '../../../../../../extractors/action/extract-lozenge-action-items';
|
|
9
10
|
import useInvoke from '../../../../../../state/hooks/use-invoke';
|
|
@@ -103,7 +104,7 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
103
104
|
setIsLoaded(true);
|
|
104
105
|
if ((validItems === null || validItems === void 0 ? void 0 : validItems.length) === 0) {
|
|
105
106
|
fireEvent('track.smartLinkQuickAction.failed', permissionLoadErrorAnalyticsPayload);
|
|
106
|
-
setErrorMessage(LozengeActionErrorMessages.noData);
|
|
107
|
+
setErrorMessage(fg('confluence-issue-terminology-refresh') ? LozengeActionErrorMessages.noDataIssueTermRefresh : LozengeActionErrorMessages.noData);
|
|
107
108
|
setIsLoaded(false);
|
|
108
109
|
}
|
|
109
110
|
_context.next = 21;
|
|
@@ -63,7 +63,7 @@ var LozengeActionErrorNew = function LozengeActionErrorNew(_ref) {
|
|
|
63
63
|
target: "_blank",
|
|
64
64
|
"data-testid": "".concat(testId, "-open-embed"),
|
|
65
65
|
onClick: handlePreviewOpen
|
|
66
|
-
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.open_issue_in_jira))) : null);
|
|
66
|
+
}, fg('confluence-issue-terminology-refresh') ? /*#__PURE__*/React.createElement(FormattedMessage, messages.open_issue_in_jiraIssueTermRefresh) : /*#__PURE__*/React.createElement(FormattedMessage, messages.open_issue_in_jira))) : null);
|
|
67
67
|
}, [errorMessage, handlePreviewOpen, isPreviewAvailable, testId, dynamicCss]);
|
|
68
68
|
return /*#__PURE__*/React.createElement("span", {
|
|
69
69
|
"data-testid": "".concat(testId, "-error-item-group"),
|
|
@@ -3,6 +3,9 @@ export var LozengeActionErrorMessages = {
|
|
|
3
3
|
noData: {
|
|
4
4
|
descriptor: messages['status_change_permission_error']
|
|
5
5
|
},
|
|
6
|
+
noDataIssueTermRefresh: {
|
|
7
|
+
descriptor: messages['status_change_permission_errorIssueTermRefresh']
|
|
8
|
+
},
|
|
6
9
|
unknown: {
|
|
7
10
|
descriptor: messages['status_change_load_error']
|
|
8
11
|
},
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { extractProvider } from '@atlaskit/link-extractors';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
2
3
|
import { SmartLinkStatus } from '../../constants';
|
|
3
4
|
import { extractRequestAccessContextImproved } from '../../extractors/common/context';
|
|
4
5
|
import extractFlexibleUiContext from '../../extractors/flexible';
|
|
@@ -45,9 +46,9 @@ var getForbiddenMessageKey = function getForbiddenMessageKey(meta) {
|
|
|
45
46
|
var accessType = meta === null || meta === void 0 || (_meta$requestAccess = meta.requestAccess) === null || _meta$requestAccess === void 0 ? void 0 : _meta$requestAccess.accessType;
|
|
46
47
|
switch (accessType) {
|
|
47
48
|
case 'DIRECT_ACCESS':
|
|
48
|
-
return 'join_to_view';
|
|
49
|
+
return fg('confluence-issue-terminology-refresh') ? 'join_to_viewIssueTermRefresh' : 'join_to_view';
|
|
49
50
|
case 'REQUEST_ACCESS':
|
|
50
|
-
return 'request_access_to_view';
|
|
51
|
+
return fg('confluence-issue-terminology-refresh') ? 'request_access_to_viewIssueTermRefresh' : 'request_access_to_view';
|
|
51
52
|
case 'PENDING_REQUEST_EXISTS':
|
|
52
53
|
return 'pending_request';
|
|
53
54
|
case 'FORBIDDEN':
|
|
@@ -51,4 +51,4 @@
|
|
|
51
51
|
._1iohnqa1:active{text-decoration-style:solid}
|
|
52
52
|
._1nrm18uv:active{text-decoration-color:initial}
|
|
53
53
|
._c2waglyw:active{text-decoration-line:none}
|
|
54
|
-
@supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}}
|
|
54
|
+
@supports not (-webkit-line-clamp:1){._17bix7n9{padding:var(--ds-space-025,2px) 0}._nr8z1o8l{display:inline-block}._102kqslr{max-height:22px}._1voyv77o{padding-top:var(--ds-space-025,2px)}._3kwxidpf{padding-right:0}._jqg5v77o{padding-bottom:var(--ds-space-025,2px)}._6vwiidpf{padding-left:0}}
|
|
@@ -20,7 +20,7 @@ export var WrapperSpan = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20
20
|
return /*#__PURE__*/React.createElement("span", _extends({
|
|
21
21
|
ref: ref
|
|
22
22
|
}, props, {
|
|
23
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54
|
|
23
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv"])
|
|
24
24
|
}), props.children);
|
|
25
25
|
});
|
|
26
26
|
export var WrapperAnchor = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
@@ -35,7 +35,7 @@ export var WrapperAnchor = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
35
35
|
href: href,
|
|
36
36
|
ref: ref
|
|
37
37
|
}, props, {
|
|
38
|
-
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54
|
|
38
|
+
className: ax([fg('platform-linking-visual-refresh-v1') ? "_11c81doa _1yt4x7n9 _2rkoiti9 _v56415x0 _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28" : "_1yt4x7n9 _2rkoiti9 _v56415x0 _vwz4qslr _1e0c1nu9 _16d9qvcn _syaz1y58 _1rkwglyw _4cvxmr28", truncateInline && fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _1e0c1abx _1yyjkb7n _sudp1e54 _nr8z1o8l _1voyv77o _3kwxidpf _jqg5v77o _6vwiidpf", truncateInline && !fg('platform-linking-visual-refresh-v1') && "_1reo15vq _18m915vq _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf _1bto1l2s _1nmz9jpi _vwz4183y _1e0c1abx _1yyjkb7n _sudp1e54 _17bix7n9 _nr8z1o8l _102kqslr", withoutBackground ? "_19bvidpf _18u01i6y" : "_19ith6cr _bfhkhp5a _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _1nrm18uv _c2waglyw _1iohnqa1", isHovered && "_1h6dmr28", isHovered && !withoutBackground && "_4bfu18uv _1hmsglyw _ajmmnqa1", isSelected ? "_12ji1r31 _1qu2glyw _12y31o36 _80omtlke _16qscw00 _uiztglyw _1a3b18uv _4fprglyw _5goinqa1 _9oik18uv _1bnxglyw _jf4cnqa1 _bfw7h6cr _1nrm18uv _c2waglyw _1iohnqa1" : "_uizt1kdv", isInteractive && "_nt751r31 _49pcglyw _1hvw1o36 _1372tlke _7ehicw00 _1j5pglyw _1di629zg"])
|
|
39
39
|
}), props.children);
|
|
40
40
|
});
|
|
41
41
|
var baseWrapperStylesNew = null;
|
|
@@ -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: "34.
|
|
16
|
+
packageVersion: "34.10.1",
|
|
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';
|
|
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';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
|
@@ -26,6 +26,9 @@ export declare const LozengeActionErrorMessages: {
|
|
|
26
26
|
noData: {
|
|
27
27
|
descriptor: import("react-intl-next").MessageDescriptor;
|
|
28
28
|
};
|
|
29
|
+
noDataIssueTermRefresh: {
|
|
30
|
+
descriptor: import("react-intl-next").MessageDescriptor;
|
|
31
|
+
};
|
|
29
32
|
unknown: {
|
|
30
33
|
descriptor: import("react-intl-next").MessageDescriptor;
|
|
31
34
|
};
|
|
@@ -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';
|
|
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';
|
|
4
4
|
type Messages = {
|
|
5
5
|
[K in MessageKey]: MessageDescriptor;
|
|
6
6
|
};
|
|
@@ -26,6 +26,9 @@ export declare const LozengeActionErrorMessages: {
|
|
|
26
26
|
noData: {
|
|
27
27
|
descriptor: import("react-intl-next").MessageDescriptor;
|
|
28
28
|
};
|
|
29
|
+
noDataIssueTermRefresh: {
|
|
30
|
+
descriptor: import("react-intl-next").MessageDescriptor;
|
|
31
|
+
};
|
|
29
32
|
unknown: {
|
|
30
33
|
descriptor: import("react-intl-next").MessageDescriptor;
|
|
31
34
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.10.1",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/form": "^11.1.0",
|
|
40
40
|
"@atlaskit/frontend-utilities": "^2.9.0",
|
|
41
41
|
"@atlaskit/heading": "^4.1.0",
|
|
42
|
-
"@atlaskit/icon": "^23.
|
|
42
|
+
"@atlaskit/icon": "^23.6.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^6.9.0",
|
|
44
44
|
"@atlaskit/icon-lab": "^2.1.0",
|
|
45
45
|
"@atlaskit/icon-object": "^6.10.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/menu": "^2.14.0",
|
|
57
57
|
"@atlaskit/modal-dialog": "^12.20.0",
|
|
58
58
|
"@atlaskit/outbound-auth-flow-client": "^3.4.0",
|
|
59
|
-
"@atlaskit/platform-feature-flags": "^0.
|
|
59
|
+
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
60
60
|
"@atlaskit/popup": "^1.31.0",
|
|
61
61
|
"@atlaskit/primitives": "^13.4.0",
|
|
62
62
|
"@atlaskit/section-message": "^6.9.0",
|
|
@@ -210,6 +210,9 @@
|
|
|
210
210
|
},
|
|
211
211
|
"platform-linking-visual-refresh-v1": {
|
|
212
212
|
"type": "boolean"
|
|
213
|
+
},
|
|
214
|
+
"confluence-issue-terminology-refresh": {
|
|
215
|
+
"type": "boolean"
|
|
213
216
|
}
|
|
214
217
|
}
|
|
215
218
|
}
|