@atlaskit/smart-card 44.16.4 → 44.16.6
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 +12 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/cjs/extractors/action/extract-invoke-copy-link-action.js +1 -1
- package/dist/cjs/extractors/action/extract-invoke-download-action.js +1 -1
- package/dist/cjs/extractors/action/extract-invoke-preview-action.js +7 -7
- package/dist/cjs/extractors/action/extract-invoke-view-action.js +1 -1
- package/dist/cjs/state/actions/index.js +7 -7
- package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/index.js +46 -46
- package/dist/cjs/state/hooks/use-ai-summary/ai-summary-service/readStream.js +44 -44
- package/dist/cjs/state/hooks/use-incoming-outgoing-links/index.js +34 -34
- package/dist/cjs/state/hooks/use-invoke/index.js +4 -4
- package/dist/cjs/state/hooks/use-invoke-client-action/index.js +12 -12
- package/dist/cjs/state/hooks/use-resolve/index.js +4 -4
- package/dist/cjs/state/hooks/usePrefetch.js +14 -14
- package/dist/cjs/state/services/current-site-cloud-id/index.js +16 -16
- package/dist/cjs/state/services/personalization/index.js +23 -23
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/index.js +26 -25
- package/dist/cjs/utils/mocks.js +16 -16
- package/dist/cjs/view/EmbedModal/utils.js +4 -4
- package/dist/cjs/view/FlexibleCard/components/actions/action/server-action/index.js +17 -17
- package/dist/cjs/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +8 -8
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +10 -10
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.js +31 -31
- package/dist/cjs/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.js +10 -10
- package/dist/cjs/view/FlexibleCard/components/actions/copy-link-action/index.js +4 -4
- package/dist/cjs/view/FlexibleCard/components/actions/rovo-chat-action/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/index.js +34 -34
- package/dist/cjs/view/InlineCard/common/action-button/index.compiled.css +1 -1
- package/dist/cjs/view/InlineCard/common/action-button/index.js +1 -1
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/cjs/view/RelatedLinksModal/index.js +41 -41
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/view/InlineCard/common/action-button/index.compiled.css +1 -1
- package/dist/es2019/view/InlineCard/common/action-button/index.js +1 -1
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-false.png +2 -2
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-unauthorised--default--platform-sl-3p-preauth-better-hovercard-true.png +2 -2
- package/dist/esm/extractors/action/extract-invoke-copy-link-action.js +1 -1
- package/dist/esm/extractors/action/extract-invoke-download-action.js +1 -1
- package/dist/esm/extractors/action/extract-invoke-preview-action.js +7 -7
- package/dist/esm/extractors/action/extract-invoke-view-action.js +1 -1
- package/dist/esm/state/actions/index.js +7 -7
- package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/index.js +46 -46
- package/dist/esm/state/hooks/use-ai-summary/ai-summary-service/readStream.js +44 -44
- package/dist/esm/state/hooks/use-incoming-outgoing-links/index.js +34 -34
- package/dist/esm/state/hooks/use-invoke/index.js +4 -4
- package/dist/esm/state/hooks/use-invoke-client-action/index.js +11 -11
- package/dist/esm/state/hooks/use-resolve/index.js +4 -4
- package/dist/esm/state/hooks/usePrefetch.js +14 -14
- package/dist/esm/state/services/current-site-cloud-id/index.js +16 -16
- package/dist/esm/state/services/personalization/index.js +23 -23
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/index.js +25 -24
- package/dist/esm/utils/mocks.js +16 -16
- package/dist/esm/view/EmbedModal/utils.js +4 -4
- package/dist/esm/view/FlexibleCard/components/actions/action/server-action/index.js +16 -16
- package/dist/esm/view/FlexibleCard/components/actions/ai-summary-action/copy-summary-action.js +8 -8
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/test-utils.js +2 -2
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/common/utils/api.js +10 -10
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/main.js +30 -30
- package/dist/esm/view/FlexibleCard/components/actions/automation-action/automation-manual-triggers/manual-triggers-container/services/index.js +10 -10
- package/dist/esm/view/FlexibleCard/components/actions/copy-link-action/index.js +4 -4
- package/dist/esm/view/FlexibleCard/components/actions/rovo-chat-action/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/common/base-lozenge-element/lozenge-action/index.js +33 -33
- package/dist/esm/view/InlineCard/common/action-button/index.compiled.css +1 -1
- package/dist/esm/view/InlineCard/common/action-button/index.js +1 -1
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/esm/view/RelatedLinksModal/index.js +40 -40
- package/package.json +9 -9
|
@@ -81,13 +81,13 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
81
81
|
invokePreviewAction = _ref2.invokePreviewAction;
|
|
82
82
|
var handleOpenChange = useCallback( /*#__PURE__*/function () {
|
|
83
83
|
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(args) {
|
|
84
|
-
var responseItems, validItems;
|
|
85
|
-
return _regeneratorRuntime.wrap(function
|
|
84
|
+
var responseItems, validItems, _t;
|
|
85
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
86
86
|
while (1) switch (_context.prev = _context.next) {
|
|
87
87
|
case 0:
|
|
88
88
|
setIsOpen(args.isOpen);
|
|
89
89
|
if (!args.isOpen) {
|
|
90
|
-
_context.next =
|
|
90
|
+
_context.next = 5;
|
|
91
91
|
break;
|
|
92
92
|
}
|
|
93
93
|
fireEvent('ui.button.clicked.smartLinkStatusLozenge', {});
|
|
@@ -95,14 +95,14 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
95
95
|
smartLinkActionType: TrackQuickActionType.StatusUpdate
|
|
96
96
|
});
|
|
97
97
|
if (!(!isLoaded && action !== null && action !== void 0 && action.read)) {
|
|
98
|
-
_context.next =
|
|
98
|
+
_context.next = 5;
|
|
99
99
|
break;
|
|
100
100
|
}
|
|
101
|
-
_context.prev =
|
|
101
|
+
_context.prev = 1;
|
|
102
102
|
setIsLoading(true);
|
|
103
|
-
_context.next =
|
|
103
|
+
_context.next = 2;
|
|
104
104
|
return invoke(action.read, extractLozengeActionItems);
|
|
105
|
-
case
|
|
105
|
+
case 2:
|
|
106
106
|
responseItems = _context.sent;
|
|
107
107
|
validItems = typeof text === 'string' ? validateItems(responseItems, text) : responseItems;
|
|
108
108
|
setItems(validItems);
|
|
@@ -112,27 +112,27 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
112
112
|
setErrorMessage(fg('confluence-issue-terminology-refresh') ? LozengeActionErrorMessages.noDataIssueTermRefresh : LozengeActionErrorMessages.noData);
|
|
113
113
|
setIsLoaded(false);
|
|
114
114
|
}
|
|
115
|
-
_context.next =
|
|
115
|
+
_context.next = 4;
|
|
116
116
|
break;
|
|
117
|
-
case
|
|
118
|
-
_context.prev =
|
|
119
|
-
|
|
117
|
+
case 3:
|
|
118
|
+
_context.prev = 3;
|
|
119
|
+
_t = _context["catch"](1);
|
|
120
120
|
setErrorMessage(LozengeActionErrorMessages.unknown);
|
|
121
121
|
setIsLoaded(false);
|
|
122
122
|
fireEvent('track.smartLinkQuickAction.failed', unknownLoadErrorAnalyticsPayload);
|
|
123
|
-
case
|
|
124
|
-
_context.prev =
|
|
123
|
+
case 4:
|
|
124
|
+
_context.prev = 4;
|
|
125
125
|
setIsLoading(false);
|
|
126
|
-
return _context.finish(
|
|
127
|
-
case
|
|
126
|
+
return _context.finish(4);
|
|
127
|
+
case 5:
|
|
128
128
|
if (!args.isOpen) {
|
|
129
129
|
setErrorMessage(undefined);
|
|
130
130
|
}
|
|
131
|
-
case
|
|
131
|
+
case 6:
|
|
132
132
|
case "end":
|
|
133
133
|
return _context.stop();
|
|
134
134
|
}
|
|
135
|
-
}, _callee, null, [[
|
|
135
|
+
}, _callee, null, [[1, 3, 4, 5]]);
|
|
136
136
|
}));
|
|
137
137
|
return function (_x) {
|
|
138
138
|
return _ref3.apply(this, arguments);
|
|
@@ -150,22 +150,22 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
150
150
|
}, [selected.appearance, selected.text, isOpen, maxWidth, testId, trailingMetric]);
|
|
151
151
|
var handleItemClick = useCallback( /*#__PURE__*/function () {
|
|
152
152
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2(id, text, appearance) {
|
|
153
|
-
var updateAction, request;
|
|
154
|
-
return _regeneratorRuntime.wrap(function
|
|
153
|
+
var updateAction, request, _t2;
|
|
154
|
+
return _regeneratorRuntime.wrap(function (_context2) {
|
|
155
155
|
while (1) switch (_context2.prev = _context2.next) {
|
|
156
156
|
case 0:
|
|
157
157
|
_context2.prev = 0;
|
|
158
158
|
fireEvent('ui.button.clicked.smartLinkStatusListItem', {});
|
|
159
159
|
updateAction = action === null || action === void 0 ? void 0 : action.update;
|
|
160
160
|
if (!(updateAction && id)) {
|
|
161
|
-
_context2.next =
|
|
161
|
+
_context2.next = 2;
|
|
162
162
|
break;
|
|
163
163
|
}
|
|
164
164
|
setIsLoading(true);
|
|
165
165
|
request = createStatusUpdateRequest(updateAction, id);
|
|
166
|
-
_context2.next =
|
|
166
|
+
_context2.next = 1;
|
|
167
167
|
return invoke(request);
|
|
168
|
-
case
|
|
168
|
+
case 1:
|
|
169
169
|
onAfterChanged === null || onAfterChanged === void 0 || onAfterChanged();
|
|
170
170
|
setSelected({
|
|
171
171
|
appearance: appearance,
|
|
@@ -179,30 +179,30 @@ var LozengeAction = function LozengeAction(_ref) {
|
|
|
179
179
|
smartLinkActionType: TrackQuickActionType.StatusUpdate
|
|
180
180
|
});
|
|
181
181
|
if (!url) {
|
|
182
|
-
_context2.next =
|
|
182
|
+
_context2.next = 2;
|
|
183
183
|
break;
|
|
184
184
|
}
|
|
185
|
-
_context2.next =
|
|
185
|
+
_context2.next = 2;
|
|
186
186
|
return reload(url, true, undefined, linkId);
|
|
187
|
-
case
|
|
188
|
-
_context2.next =
|
|
187
|
+
case 2:
|
|
188
|
+
_context2.next = 4;
|
|
189
189
|
break;
|
|
190
|
-
case
|
|
191
|
-
_context2.prev =
|
|
192
|
-
|
|
190
|
+
case 3:
|
|
191
|
+
_context2.prev = 3;
|
|
192
|
+
_t2 = _context2["catch"](0);
|
|
193
193
|
setIsLoading(false);
|
|
194
|
-
if (isInvokeCustomError(
|
|
195
|
-
setErrorMessage(
|
|
194
|
+
if (isInvokeCustomError(_t2)) {
|
|
195
|
+
setErrorMessage(_t2.message);
|
|
196
196
|
fireEvent('track.smartLinkQuickAction.failed', validationUpdateErrorAnalyticsPayload);
|
|
197
197
|
} else {
|
|
198
198
|
setErrorMessage(LozengeActionErrorMessages.updateFailed);
|
|
199
199
|
fireEvent('track.smartLinkQuickAction.failed', unknownUpdateErrorAnalyticsPayload);
|
|
200
200
|
}
|
|
201
|
-
case
|
|
201
|
+
case 4:
|
|
202
202
|
case "end":
|
|
203
203
|
return _context2.stop();
|
|
204
204
|
}
|
|
205
|
-
}, _callee2, null, [[0,
|
|
205
|
+
}, _callee2, null, [[0, 3]]);
|
|
206
206
|
}));
|
|
207
207
|
return function (_x2, _x3, _x4) {
|
|
208
208
|
return _ref4.apply(this, arguments);
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
._4cvr1h6o{align-items:center}
|
|
14
14
|
._80om13gf{cursor:not-allowed}
|
|
15
15
|
._80omtlke{cursor:pointer}
|
|
16
|
-
.
|
|
16
|
+
._bfhk187o{background-color:var(--ds-background-disabled,#0515240f)}
|
|
17
17
|
._bfhki8nm{background-color:var(--ds-background-neutral,#0515240f)}
|
|
18
18
|
._bfhkjmqp{background-color:var(--ds-background-selected-bold,#1868db)}
|
|
19
19
|
._ca0qt94y{padding-top:1px}
|
|
@@ -14,7 +14,7 @@ var styles = {
|
|
|
14
14
|
innerContainer: "_1e0c1nu9 _1y1m1u8q _16d9qvcn _k48p1wq8 _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _o5721btx _1nmz9jpi",
|
|
15
15
|
innerContainerSocialProofConnect: "_2rko12b0 _syaz15cr _80omtlke _bfhkjmqp _2hwxv77o _1e0c1nu9 _4cvr1h6o _1wybtjj4 _1y1m1u8q _16d9qvcn _19bv12x7 _ca0qv77o _n3tdv77o _u5f312x7 _y3gn18uv _s7n4t94y _o5721btx _1nmz9jpi _irr31q28 _1di612kk",
|
|
16
16
|
enabled: "_syazi7uo _80omtlke _bfhki8nm _irr3plhp _1di61gdz",
|
|
17
|
-
disabled: "_syaz1gmx _80om13gf
|
|
17
|
+
disabled: "_syaz1gmx _80om13gf _bfhk187o",
|
|
18
18
|
unauthorised: "_syaz15cr _80omtlke _bfhkjmqp _qrwqlb4i _1o0zlb4i _13lilb4i _mrkblb4i _ca0qt94y _n3tdt94y _2hwxt94y _k48pi7a9 _irr31q28 _1di612kk"
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -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: "44.16.
|
|
15
|
+
packageVersion: "44.16.5",
|
|
16
16
|
componentName: 'linkUrl'
|
|
17
17
|
};
|
|
18
18
|
var LinkUrl = function LinkUrl(_ref) {
|
|
@@ -54,72 +54,72 @@ var RelatedLinksModal = function RelatedLinksModal(_ref) {
|
|
|
54
54
|
*/
|
|
55
55
|
var resolveAris = useCallback( /*#__PURE__*/function () {
|
|
56
56
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(aris) {
|
|
57
|
-
var urlArray, batchResponse, _iterator, _step, res, url;
|
|
58
|
-
return _regeneratorRuntime.wrap(function
|
|
57
|
+
var urlArray, batchResponse, _iterator, _step, res, url, _t;
|
|
58
|
+
return _regeneratorRuntime.wrap(function (_context) {
|
|
59
59
|
while (1) switch (_context.prev = _context.next) {
|
|
60
60
|
case 0:
|
|
61
61
|
if (!(aris.length === 0)) {
|
|
62
|
-
_context.next =
|
|
62
|
+
_context.next = 1;
|
|
63
63
|
break;
|
|
64
64
|
}
|
|
65
65
|
return _context.abrupt("return", []);
|
|
66
|
-
case
|
|
66
|
+
case 1:
|
|
67
67
|
urlArray = [];
|
|
68
|
-
_context.next =
|
|
68
|
+
_context.next = 2;
|
|
69
69
|
return connections.client.fetchDataAris(aris);
|
|
70
|
-
case
|
|
70
|
+
case 2:
|
|
71
71
|
batchResponse = _context.sent;
|
|
72
72
|
_iterator = _createForOfIteratorHelper(batchResponse);
|
|
73
|
-
_context.prev =
|
|
73
|
+
_context.prev = 3;
|
|
74
74
|
_iterator.s();
|
|
75
|
-
case
|
|
75
|
+
case 4:
|
|
76
76
|
if ((_step = _iterator.n()).done) {
|
|
77
|
-
_context.next =
|
|
77
|
+
_context.next = 9;
|
|
78
78
|
break;
|
|
79
79
|
}
|
|
80
80
|
res = _step.value;
|
|
81
81
|
if (isGrantedResponse(res)) {
|
|
82
|
-
_context.next =
|
|
82
|
+
_context.next = 5;
|
|
83
83
|
break;
|
|
84
84
|
}
|
|
85
|
-
return _context.abrupt("continue",
|
|
86
|
-
case
|
|
85
|
+
return _context.abrupt("continue", 8);
|
|
86
|
+
case 5:
|
|
87
87
|
if (res.body.data) {
|
|
88
|
-
_context.next =
|
|
88
|
+
_context.next = 6;
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
|
-
return _context.abrupt("continue",
|
|
92
|
-
case
|
|
91
|
+
return _context.abrupt("continue", 8);
|
|
92
|
+
case 6:
|
|
93
93
|
url = 'url' in res.body.data && extractLink(res.body.data);
|
|
94
94
|
if (url) {
|
|
95
|
-
_context.next =
|
|
95
|
+
_context.next = 7;
|
|
96
96
|
break;
|
|
97
97
|
}
|
|
98
|
-
return _context.abrupt("continue",
|
|
99
|
-
case
|
|
98
|
+
return _context.abrupt("continue", 8);
|
|
99
|
+
case 7:
|
|
100
100
|
handleResolvedLinkResponse(url, res.body, false, false);
|
|
101
101
|
urlArray.push(url);
|
|
102
|
-
case
|
|
103
|
-
_context.next =
|
|
102
|
+
case 8:
|
|
103
|
+
_context.next = 4;
|
|
104
104
|
break;
|
|
105
|
-
case
|
|
106
|
-
_context.next =
|
|
105
|
+
case 9:
|
|
106
|
+
_context.next = 11;
|
|
107
107
|
break;
|
|
108
|
-
case
|
|
109
|
-
_context.prev =
|
|
110
|
-
|
|
111
|
-
_iterator.e(
|
|
112
|
-
case
|
|
113
|
-
_context.prev =
|
|
108
|
+
case 10:
|
|
109
|
+
_context.prev = 10;
|
|
110
|
+
_t = _context["catch"](3);
|
|
111
|
+
_iterator.e(_t);
|
|
112
|
+
case 11:
|
|
113
|
+
_context.prev = 11;
|
|
114
114
|
_iterator.f();
|
|
115
|
-
return _context.finish(
|
|
116
|
-
case
|
|
115
|
+
return _context.finish(11);
|
|
116
|
+
case 12:
|
|
117
117
|
return _context.abrupt("return", urlArray);
|
|
118
|
-
case
|
|
118
|
+
case 13:
|
|
119
119
|
case "end":
|
|
120
120
|
return _context.stop();
|
|
121
121
|
}
|
|
122
|
-
}, _callee, null, [[
|
|
122
|
+
}, _callee, null, [[3, 10, 11, 12]]);
|
|
123
123
|
}));
|
|
124
124
|
return function (_x) {
|
|
125
125
|
return _ref2.apply(this, arguments);
|
|
@@ -132,39 +132,39 @@ var RelatedLinksModal = function RelatedLinksModal(_ref) {
|
|
|
132
132
|
*/
|
|
133
133
|
var fetchIncomingOutgoingData = useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
|
134
134
|
var _yield$getIncomingOut, incomingAris, outgoingAris, incomingRejected, outGoingRejected, _yield$Promise$all, _yield$Promise$all2, incomingUrls, outgoingUrls;
|
|
135
|
-
return _regeneratorRuntime.wrap(function
|
|
135
|
+
return _regeneratorRuntime.wrap(function (_context2) {
|
|
136
136
|
while (1) switch (_context2.prev = _context2.next) {
|
|
137
137
|
case 0:
|
|
138
|
-
_context2.next =
|
|
138
|
+
_context2.next = 1;
|
|
139
139
|
return getIncomingOutgoingAris(ari);
|
|
140
|
-
case
|
|
140
|
+
case 1:
|
|
141
141
|
_yield$getIncomingOut = _context2.sent;
|
|
142
142
|
incomingAris = _yield$getIncomingOut.incomingAris;
|
|
143
143
|
outgoingAris = _yield$getIncomingOut.outgoingAris;
|
|
144
144
|
incomingRejected = false;
|
|
145
145
|
outGoingRejected = false;
|
|
146
|
-
_context2.next =
|
|
146
|
+
_context2.next = 2;
|
|
147
147
|
return Promise.all([resolveAris(incomingAris).catch(function () {
|
|
148
148
|
incomingRejected = true;
|
|
149
149
|
}), resolveAris(outgoingAris).catch(function () {
|
|
150
150
|
outGoingRejected = true;
|
|
151
151
|
})]);
|
|
152
|
-
case
|
|
152
|
+
case 2:
|
|
153
153
|
_yield$Promise$all = _context2.sent;
|
|
154
154
|
_yield$Promise$all2 = _slicedToArray(_yield$Promise$all, 2);
|
|
155
155
|
incomingUrls = _yield$Promise$all2[0];
|
|
156
156
|
outgoingUrls = _yield$Promise$all2[1];
|
|
157
157
|
if (!(incomingRejected && outGoingRejected)) {
|
|
158
|
-
_context2.next =
|
|
158
|
+
_context2.next = 3;
|
|
159
159
|
break;
|
|
160
160
|
}
|
|
161
161
|
throw new Error('both incoming and outgoing resolve request were rejected');
|
|
162
|
-
case
|
|
162
|
+
case 3:
|
|
163
163
|
return _context2.abrupt("return", {
|
|
164
164
|
incomingUrls: incomingUrls !== null && incomingUrls !== void 0 ? incomingUrls : [],
|
|
165
165
|
outgoingUrls: outgoingUrls !== null && outgoingUrls !== void 0 ? outgoingUrls : []
|
|
166
166
|
});
|
|
167
|
-
case
|
|
167
|
+
case 4:
|
|
168
168
|
case "end":
|
|
169
169
|
return _context2.stop();
|
|
170
170
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-card",
|
|
3
|
-
"version": "44.16.
|
|
3
|
+
"version": "44.16.6",
|
|
4
4
|
"description": "Smart card component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@atlaskit/adf-utils": "^19.
|
|
38
|
+
"@atlaskit/adf-utils": "^19.32.0",
|
|
39
39
|
"@atlaskit/afm-i18n-platform-linking-platform-smart-card": "2.6.0",
|
|
40
40
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
41
41
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"@atlaskit/form": "^15.5.0",
|
|
54
54
|
"@atlaskit/frontend-utilities": "^3.3.0",
|
|
55
55
|
"@atlaskit/heading": "^5.4.0",
|
|
56
|
-
"@atlaskit/icon": "^35.
|
|
56
|
+
"@atlaskit/icon": "^35.3.0",
|
|
57
57
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
58
|
-
"@atlaskit/icon-lab": "^6.
|
|
58
|
+
"@atlaskit/icon-lab": "^6.12.0",
|
|
59
59
|
"@atlaskit/image": "^3.0.0",
|
|
60
60
|
"@atlaskit/json-ld-types": "^1.5.0",
|
|
61
61
|
"@atlaskit/link": "^3.4.0",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"@atlaskit/platform-feature-flags-react": "^0.5.0",
|
|
77
77
|
"@atlaskit/popup": "^4.22.0",
|
|
78
78
|
"@atlaskit/primitives": "^19.0.0",
|
|
79
|
-
"@atlaskit/react-ufo": "^6.
|
|
80
|
-
"@atlaskit/rovo-triggers": "^6.
|
|
79
|
+
"@atlaskit/react-ufo": "^6.2.0",
|
|
80
|
+
"@atlaskit/rovo-triggers": "^6.4.0",
|
|
81
81
|
"@atlaskit/section-message": "^8.13.0",
|
|
82
82
|
"@atlaskit/select": "^21.12.0",
|
|
83
83
|
"@atlaskit/spinner": "^19.1.0",
|
|
@@ -86,9 +86,9 @@
|
|
|
86
86
|
"@atlaskit/textfield": "^8.3.0",
|
|
87
87
|
"@atlaskit/theme": "^25.0.0",
|
|
88
88
|
"@atlaskit/tile": "^1.1.0",
|
|
89
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
90
|
-
"@atlaskit/tokens": "^13.
|
|
91
|
-
"@atlaskit/tooltip": "^22.
|
|
89
|
+
"@atlaskit/tmp-editor-statsig": "^85.0.0",
|
|
90
|
+
"@atlaskit/tokens": "^13.1.0",
|
|
91
|
+
"@atlaskit/tooltip": "^22.5.0",
|
|
92
92
|
"@atlaskit/ufo": "^0.5.0",
|
|
93
93
|
"@atlaskit/width-detector": "^5.1.0",
|
|
94
94
|
"@babel/runtime": "^7.0.0",
|