@atlaskit/link-datasource 4.10.4 → 4.11.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 +19 -0
- package/compass.yml +2 -14
- package/dist/cjs/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +4 -1
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +6 -1
- package/dist/es2019/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +4 -1
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +6 -1
- package/dist/esm/ui/assets-modal/modal/render-assets-content/initial-state-view/index.js +4 -1
- package/dist/esm/ui/jira-issues-modal/modal/index.js +6 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.11.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#157092](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157092)
|
|
14
|
+
[`87491e7b53b65`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87491e7b53b65) -
|
|
15
|
+
We are testing the migration to the ADS Link component behind a feature flag. If this fix is
|
|
16
|
+
successful it will be available in a later release.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 4.10.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -21,23 +21,11 @@ links:
|
|
|
21
21
|
- name: '#help-twg-linking-platform'
|
|
22
22
|
type: CHAT_CHANNEL
|
|
23
23
|
url: 'https://atlassian.enterprise.slack.com/archives/CFKGAQZRV'
|
|
24
|
-
- name:
|
|
24
|
+
- name: null
|
|
25
25
|
type: ON_CALL
|
|
26
26
|
url: 'https://atlassian.app.opsgenie.com/settings/schedule/detail/b9c8b313-dd6d-4a41-8eeb-d7a9df55be9d'
|
|
27
27
|
- name: source code
|
|
28
28
|
type: REPOSITORY
|
|
29
29
|
url: 'https://bitbucket.org/atlassian/atlassian-frontend/src/master/packages/linking-platform/link-datasource'
|
|
30
|
-
customFields:
|
|
31
|
-
- name: 'FinOps_COGS_Cost_Center'
|
|
32
|
-
type: single_select
|
|
33
|
-
value: 'a681c808-9c58-45e5-9b3a-b5cc330c4b3a'
|
|
34
|
-
- name: 'FinOps_R&D_Cost_Center'
|
|
35
|
-
type: single_select
|
|
36
|
-
value: 'd9c71b12-1c77-4c68-a769-ba0e26bc8cac'
|
|
37
|
-
- name: 'FinOps_Service_Group'
|
|
38
|
-
type: single_select
|
|
39
|
-
value: '9120e03c-440b-489d-ac42-07903a2c611d'
|
|
40
|
-
- name: 'business-unit'
|
|
41
|
-
type: text
|
|
42
|
-
value: 'Eng - X Product Collab'
|
|
30
|
+
customFields: []
|
|
43
31
|
relationships: {}
|
|
@@ -42,7 +42,10 @@ var InitialStateView = exports.InitialStateView = function InitialStateView() {
|
|
|
42
42
|
className: (0, _runtime.ax)([(0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-sllv') && "_syaz1gjq"])
|
|
43
43
|
}, formatMessage(_messages.initialStateViewMessages.searchDescription)), (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-sllv') ? /*#__PURE__*/React.createElement(_link.default, {
|
|
44
44
|
href: AQLSupportDocumentLink
|
|
45
|
-
}, formatMessage(_messages.initialStateViewMessages.learnMoreLink)) :
|
|
45
|
+
}, formatMessage(_messages.initialStateViewMessages.learnMoreLink)) :
|
|
46
|
+
/*#__PURE__*/
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
48
|
+
React.createElement("a", {
|
|
46
49
|
href: AQLSupportDocumentLink,
|
|
47
50
|
target: "_blank"
|
|
48
51
|
}, formatMessage(_messages.initialStateViewMessages.learnMoreLinkOld))));
|
|
@@ -303,7 +303,12 @@ var PlainJiraIssuesConfigModal = function PlainJiraIssuesConfigModal(props) {
|
|
|
303
303
|
errorMessage: jqlUrl ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages3.modalMessages.checkConnectionWithSource, {
|
|
304
304
|
values: {
|
|
305
305
|
a: function a(urlText) {
|
|
306
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
306
|
+
return (0, _platformFeatureFlags.fg)('dst-a11y__replace-anchor-with-link__linking-platfo') ? /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
307
|
+
href: jqlUrl
|
|
308
|
+
}, urlText) :
|
|
309
|
+
/*#__PURE__*/
|
|
310
|
+
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
311
|
+
_react.default.createElement("a", {
|
|
307
312
|
href: jqlUrl
|
|
308
313
|
}, urlText);
|
|
309
314
|
}
|
|
@@ -33,7 +33,10 @@ export const InitialStateView = () => {
|
|
|
33
33
|
className: ax([fg('platform-linking-visual-refresh-sllv') && "_syaz1gjq"])
|
|
34
34
|
}, formatMessage(initialStateViewMessages.searchDescription)), fg('platform-linking-visual-refresh-sllv') ? /*#__PURE__*/React.createElement(Link, {
|
|
35
35
|
href: AQLSupportDocumentLink
|
|
36
|
-
}, formatMessage(initialStateViewMessages.learnMoreLink)) :
|
|
36
|
+
}, formatMessage(initialStateViewMessages.learnMoreLink)) :
|
|
37
|
+
/*#__PURE__*/
|
|
38
|
+
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
39
|
+
React.createElement("a", {
|
|
37
40
|
href: AQLSupportDocumentLink,
|
|
38
41
|
target: "_blank"
|
|
39
42
|
}, formatMessage(initialStateViewMessages.learnMoreLinkOld))));
|
|
@@ -282,7 +282,12 @@ const PlainJiraIssuesConfigModal = props => {
|
|
|
282
282
|
return /*#__PURE__*/React.createElement(ModalLoadingError, {
|
|
283
283
|
errorMessage: jqlUrl ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, modalMessages.checkConnectionWithSource, {
|
|
284
284
|
values: {
|
|
285
|
-
a: urlText => /*#__PURE__*/React.createElement(
|
|
285
|
+
a: urlText => fg('dst-a11y__replace-anchor-with-link__linking-platfo') ? /*#__PURE__*/React.createElement(LinkComponent, {
|
|
286
|
+
href: jqlUrl
|
|
287
|
+
}, urlText) :
|
|
288
|
+
/*#__PURE__*/
|
|
289
|
+
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
290
|
+
React.createElement("a", {
|
|
286
291
|
href: jqlUrl
|
|
287
292
|
}, urlText)
|
|
288
293
|
}
|
|
@@ -32,7 +32,10 @@ export var InitialStateView = function InitialStateView() {
|
|
|
32
32
|
className: ax([fg('platform-linking-visual-refresh-sllv') && "_syaz1gjq"])
|
|
33
33
|
}, formatMessage(initialStateViewMessages.searchDescription)), fg('platform-linking-visual-refresh-sllv') ? /*#__PURE__*/React.createElement(Link, {
|
|
34
34
|
href: AQLSupportDocumentLink
|
|
35
|
-
}, formatMessage(initialStateViewMessages.learnMoreLink)) :
|
|
35
|
+
}, formatMessage(initialStateViewMessages.learnMoreLink)) :
|
|
36
|
+
/*#__PURE__*/
|
|
37
|
+
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
38
|
+
React.createElement("a", {
|
|
36
39
|
href: AQLSupportDocumentLink,
|
|
37
40
|
target: "_blank"
|
|
38
41
|
}, formatMessage(initialStateViewMessages.learnMoreLinkOld))));
|
|
@@ -295,7 +295,12 @@ var PlainJiraIssuesConfigModal = function PlainJiraIssuesConfigModal(props) {
|
|
|
295
295
|
errorMessage: jqlUrl ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, modalMessages.checkConnectionWithSource, {
|
|
296
296
|
values: {
|
|
297
297
|
a: function a(urlText) {
|
|
298
|
-
return /*#__PURE__*/React.createElement(
|
|
298
|
+
return fg('dst-a11y__replace-anchor-with-link__linking-platfo') ? /*#__PURE__*/React.createElement(LinkComponent, {
|
|
299
|
+
href: jqlUrl
|
|
300
|
+
}, urlText) :
|
|
301
|
+
/*#__PURE__*/
|
|
302
|
+
// eslint-disable-next-line @atlaskit/design-system/no-html-anchor
|
|
303
|
+
React.createElement("a", {
|
|
299
304
|
href: jqlUrl
|
|
300
305
|
}, urlText);
|
|
301
306
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/button": "^23.2.0",
|
|
47
47
|
"@atlaskit/css": "^0.10.0",
|
|
48
48
|
"@atlaskit/datetime-picker": "^17.0.0",
|
|
49
|
-
"@atlaskit/dropdown-menu": "^
|
|
49
|
+
"@atlaskit/dropdown-menu": "^16.0.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
51
51
|
"@atlaskit/empty-state": "^10.0.0",
|
|
52
52
|
"@atlaskit/flag": "^17.1.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@atlaskit/primitives": "^14.8.0",
|
|
79
79
|
"@atlaskit/react-select": "^2.6.0",
|
|
80
80
|
"@atlaskit/select": "^20.6.0",
|
|
81
|
-
"@atlaskit/smart-card": "^38.
|
|
81
|
+
"@atlaskit/smart-card": "^38.4.0",
|
|
82
82
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
83
83
|
"@atlaskit/spinner": "^18.0.0",
|
|
84
84
|
"@atlaskit/tag": "^14.0.0",
|
|
@@ -192,6 +192,9 @@
|
|
|
192
192
|
"replace-legacy-button-in-sllv": {
|
|
193
193
|
"type": "boolean"
|
|
194
194
|
},
|
|
195
|
+
"dst-a11y__replace-anchor-with-link__linking-platfo": {
|
|
196
|
+
"type": "boolean"
|
|
197
|
+
},
|
|
195
198
|
"compiled-react-select": {
|
|
196
199
|
"type": "boolean"
|
|
197
200
|
}
|