@atlaskit/link-datasource 4.21.4 → 4.21.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 +16 -0
- package/dist/cjs/ui/common/modal/content-container/index.compiled.css +1 -1
- package/dist/cjs/ui/common/modal/content-container/index.js +1 -1
- package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.compiled.css +1 -1
- package/dist/cjs/ui/common/modal/popup-select/custom-checkbox-option.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +2 -1
- package/dist/cjs/ui/confluence-search-modal/modal/messages.js +5 -0
- package/dist/cjs/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.js +5 -0
- package/dist/cjs/ui/jira-issues-modal/modal/index.js +2 -1
- package/dist/cjs/ui/jira-issues-modal/modal/messages.js +5 -0
- package/dist/es2019/ui/common/modal/content-container/index.compiled.css +1 -1
- package/dist/es2019/ui/common/modal/content-container/index.js +1 -1
- package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.compiled.css +1 -1
- package/dist/es2019/ui/common/modal/popup-select/custom-checkbox-option.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +2 -1
- package/dist/es2019/ui/confluence-search-modal/modal/messages.js +5 -0
- package/dist/es2019/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.js +5 -0
- package/dist/es2019/ui/jira-issues-modal/modal/index.js +2 -1
- package/dist/es2019/ui/jira-issues-modal/modal/messages.js +5 -0
- package/dist/esm/ui/common/modal/content-container/index.compiled.css +1 -1
- package/dist/esm/ui/common/modal/content-container/index.js +1 -1
- package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.compiled.css +1 -1
- package/dist/esm/ui/common/modal/popup-select/custom-checkbox-option.js +1 -1
- package/dist/esm/ui/confluence-search-modal/modal/index.js +2 -1
- package/dist/esm/ui/confluence-search-modal/modal/messages.js +5 -0
- package/dist/esm/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.js +5 -0
- package/dist/esm/ui/jira-issues-modal/modal/index.js +2 -1
- package/dist/esm/ui/jira-issues-modal/modal/messages.js +5 -0
- package/dist/types/ui/confluence-search-modal/modal/messages.d.ts +5 -0
- package/dist/types/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.d.ts +5 -0
- package/dist/types/ui/jira-issues-modal/modal/messages.d.ts +5 -0
- package/dist/types-ts4.5/ui/confluence-search-modal/modal/messages.d.ts +5 -0
- package/dist/types-ts4.5/ui/jira-issues-modal/basic-filters/ui/async-popup-select/messages.d.ts +5 -0
- package/dist/types-ts4.5/ui/jira-issues-modal/modal/messages.d.ts +5 -0
- package/examples-helpers/buildIssueLikeTableLoadingError.tsx +2 -1
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 4.21.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5d0b8ba5e6f7f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5d0b8ba5e6f7f) -
|
|
8
|
+
Internal changes to how borders are applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.21.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`7801cfbcf9a8d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7801cfbcf9a8d) -
|
|
16
|
+
Rebranding strings to contain space term instead of project
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 4.21.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
._1kl71x13{border-left:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
3
3
|
._1s7z1x13{border-right:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
4
|
+
._n7zl1md5{border-bottom:var(--ds-border-width-selected,2px) solid var(--ds-border,#dfe1e6)}
|
|
4
5
|
._n7zl1x13{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
5
|
-
._n7zl8e97{border-bottom:var(--ds-border-width-outline,2px) solid var(--ds-border,#dfe1e6)}
|
|
6
6
|
._n7zlglyw{border-bottom:none}
|
|
7
7
|
._x3do1x13{border-top:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}._12vemgnk{background-repeat:no-repeat}
|
|
8
8
|
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
@@ -14,7 +14,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
|
|
|
14
14
|
var _colors = require("@atlaskit/theme/colors");
|
|
15
15
|
var styles = {
|
|
16
16
|
tableContainerStyles: "_n7zl1x13 _x3do1x13 _1kl71x13 _1s7z1x13 _13li1mok _qrwq1mok",
|
|
17
|
-
contentContainerStyles: "_1reo1wug _18m91wug
|
|
17
|
+
contentContainerStyles: "_1reo1wug _18m91wug _n7zl1md5 _1e0c11p5 _c71l1pna _1itk1sfv _ouxlbac2 _12vemgnk _1lrw1sd4 _qmxj1c00",
|
|
18
18
|
contentContainerRemoveBorderStyles: "_n7zlglyw"
|
|
19
19
|
};
|
|
20
20
|
var ContentContainer = exports.ContentContainer = function ContentContainer(_ref) {
|
|
@@ -24,6 +24,6 @@ var CustomCheckboxOption = exports.CustomCheckboxOption = function CustomCheckbo
|
|
|
24
24
|
return /*#__PURE__*/React.createElement(_select.CheckboxOption
|
|
25
25
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
|
|
26
26
|
, (0, _extends2.default)({}, props, {
|
|
27
|
-
className: (0, _runtime.ax)(["
|
|
27
|
+
className: (0, _runtime.ax)(["_189e1dm9 _1dqonqa1 _1h6d1j28 _16qsglyw _bfhk1j9a _1q511b66 _85i51b66 _bozgpxbi _y4tipxbi _irr3166n _1di61dty", props.isSelected && "_bfhkfg4m _irr3i1yw _1di619ru", props.isFocused && "_1h6d1p6i"])
|
|
28
28
|
}), children);
|
|
29
29
|
};
|
|
@@ -13,6 +13,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
13
13
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _reactIntlNext = require("react-intl-next");
|
|
16
|
+
var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
|
|
16
17
|
var _intlMessagesProvider = require("@atlaskit/intl-messages-provider");
|
|
17
18
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
18
19
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
@@ -219,7 +220,7 @@ var PlainConfluenceSearchConfigModal = exports.PlainConfluenceSearchConfigModal
|
|
|
219
220
|
if (status === 'rejected') {
|
|
220
221
|
if (selectedConfluenceSite) {
|
|
221
222
|
return /*#__PURE__*/_react.default.createElement(_modalLoadingError.ModalLoadingError, {
|
|
222
|
-
errorMessage: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.confluenceSearchModalMessages.checkConnectionWithSource, {
|
|
223
|
+
errorMessage: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _featureGateJsClient.default.getExperimentValue('project-terminology-refresh', 'isEnabled', false) ? _messages.confluenceSearchModalMessages.checkConnectionWithSourceGalaxia : _messages.confluenceSearchModalMessages.checkConnectionWithSource, {
|
|
223
224
|
values: {
|
|
224
225
|
a: function a(urlText) {
|
|
225
226
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
@@ -55,5 +55,10 @@ var confluenceSearchModalMessages = exports.confluenceSearchModalMessages = (0,
|
|
|
55
55
|
id: 'linkDataSource.confluence-search.checkConnectionWithSource',
|
|
56
56
|
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
57
57
|
defaultMessage: 'Check your connection and refresh, or <a>open this project in Confluence</a> to review.'
|
|
58
|
+
},
|
|
59
|
+
checkConnectionWithSourceGalaxia: {
|
|
60
|
+
id: 'linkDataSource.confluence-search.checkConnectionWithSource-galaxia',
|
|
61
|
+
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
62
|
+
defaultMessage: 'Check your connection and refresh, or <a>open this Jira space in Confluence</a> to review.'
|
|
58
63
|
}
|
|
59
64
|
});
|
|
@@ -55,5 +55,10 @@ var asyncPopupSelectMessages = exports.asyncPopupSelectMessages = (0, _reactIntl
|
|
|
55
55
|
id: 'linkDataSource.basic-filter.project.label-galaxia',
|
|
56
56
|
description: 'Label to be displayed for project filter dropdown button.',
|
|
57
57
|
defaultMessage: 'Space'
|
|
58
|
+
},
|
|
59
|
+
projectSearchPlaceholderGalaxia: {
|
|
60
|
+
id: 'linkDataSource.basic-filter.project.searchPlaceholder-galaxia',
|
|
61
|
+
description: 'Placeholder to be displayed for project filter dropdown search input.',
|
|
62
|
+
defaultMessage: 'Search for spaces'
|
|
58
63
|
}
|
|
59
64
|
});
|
|
@@ -14,6 +14,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
14
14
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _reactIntlNext = require("react-intl-next");
|
|
17
|
+
var _featureGateJsClient = _interopRequireDefault(require("@atlaskit/feature-gate-js-client"));
|
|
17
18
|
var _intlMessagesProvider = require("@atlaskit/intl-messages-provider");
|
|
18
19
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
19
20
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
@@ -291,7 +292,7 @@ var PlainJiraIssuesConfigModal = function PlainJiraIssuesConfigModal(props) {
|
|
|
291
292
|
};
|
|
292
293
|
if (status === 'rejected' && jqlUrl) {
|
|
293
294
|
return /*#__PURE__*/_react.default.createElement(_modalLoadingError.ModalLoadingError, {
|
|
294
|
-
errorMessage: jqlUrl ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages3.modalMessages.checkConnectionWithSourceVisualRefreshSllv, {
|
|
295
|
+
errorMessage: jqlUrl ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _featureGateJsClient.default.getExperimentValue('project-terminology-refresh', 'isEnabled', false) ? _messages3.modalMessages.checkConnectionWithSourceVisualRefreshSllvGalaxia : _messages3.modalMessages.checkConnectionWithSourceVisualRefreshSllv, {
|
|
295
296
|
values: {
|
|
296
297
|
a: function a(urlText) {
|
|
297
298
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
@@ -126,5 +126,10 @@ var modalMessages = exports.modalMessages = (0, _reactIntlNext.defineMessages)({
|
|
|
126
126
|
id: 'linkDataSource.modal-initial-state.searchTitle-issue-term-refresh',
|
|
127
127
|
description: 'The initial modal search state title that gives the user some idea about how to get information',
|
|
128
128
|
defaultMessage: 'Search for Jira work items'
|
|
129
|
+
},
|
|
130
|
+
checkConnectionWithSourceVisualRefreshSllvGalaxia: {
|
|
131
|
+
id: 'linkDataSource.jira-issues.checkConnectionWithSource.visual-refresh-sllv-galaxia',
|
|
132
|
+
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
133
|
+
defaultMessage: 'Check your connection and refresh, or <a>open this space in Jira</a> to review.'
|
|
129
134
|
}
|
|
130
135
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
._1kl71x13{border-left:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
3
3
|
._1s7z1x13{border-right:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
4
|
+
._n7zl1md5{border-bottom:var(--ds-border-width-selected,2px) solid var(--ds-border,#dfe1e6)}
|
|
4
5
|
._n7zl1x13{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
5
|
-
._n7zl8e97{border-bottom:var(--ds-border-width-outline,2px) solid var(--ds-border,#dfe1e6)}
|
|
6
6
|
._n7zlglyw{border-bottom:none}
|
|
7
7
|
._x3do1x13{border-top:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}._12vemgnk{background-repeat:no-repeat}
|
|
8
8
|
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
@@ -7,7 +7,7 @@ import { Box } from '@atlaskit/primitives/compiled';
|
|
|
7
7
|
import { N40 } from '@atlaskit/theme/colors';
|
|
8
8
|
const styles = {
|
|
9
9
|
tableContainerStyles: "_n7zl1x13 _x3do1x13 _1kl71x13 _1s7z1x13 _13li1mok _qrwq1mok",
|
|
10
|
-
contentContainerStyles: "_1reo1wug _18m91wug
|
|
10
|
+
contentContainerStyles: "_1reo1wug _18m91wug _n7zl1md5 _1e0c11p5 _c71l1pna _1itk1sfv _ouxlbac2 _12vemgnk _1lrw1sd4 _qmxj1c00",
|
|
11
11
|
contentContainerRemoveBorderStyles: "_n7zlglyw"
|
|
12
12
|
};
|
|
13
13
|
export const ContentContainer = ({
|
|
@@ -14,6 +14,6 @@ export const CustomCheckboxOption = ({
|
|
|
14
14
|
return /*#__PURE__*/React.createElement(CheckboxOption
|
|
15
15
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
|
|
16
16
|
, _extends({}, props, {
|
|
17
|
-
className: ax(["
|
|
17
|
+
className: ax(["_189e1dm9 _1dqonqa1 _1h6d1j28 _16qsglyw _bfhk1j9a _1q511b66 _85i51b66 _bozgpxbi _y4tipxbi _irr3166n _1di61dty", props.isSelected && "_bfhkfg4m _irr3i1yw _1di619ru", props.isFocused && "_1h6d1p6i"])
|
|
18
18
|
}), children);
|
|
19
19
|
};
|
|
@@ -5,6 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
6
6
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
7
7
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
8
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
8
9
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
9
10
|
import LinkComponent from '@atlaskit/link';
|
|
10
11
|
import { CloseButton, ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
@@ -212,7 +213,7 @@ export const PlainConfluenceSearchConfigModal = props => {
|
|
|
212
213
|
if (status === 'rejected') {
|
|
213
214
|
if (selectedConfluenceSite) {
|
|
214
215
|
return /*#__PURE__*/React.createElement(ModalLoadingError, {
|
|
215
|
-
errorMessage: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, confluenceSearchModalMessages.checkConnectionWithSource, {
|
|
216
|
+
errorMessage: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, FeatureGates.getExperimentValue('project-terminology-refresh', 'isEnabled', false) ? confluenceSearchModalMessages.checkConnectionWithSourceGalaxia : confluenceSearchModalMessages.checkConnectionWithSource, {
|
|
216
217
|
values: {
|
|
217
218
|
a: urlText => /*#__PURE__*/React.createElement(LinkComponent, {
|
|
218
219
|
href: selectedConfluenceSite.url
|
|
@@ -49,5 +49,10 @@ export const confluenceSearchModalMessages = defineMessages({
|
|
|
49
49
|
id: 'linkDataSource.confluence-search.checkConnectionWithSource',
|
|
50
50
|
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
51
51
|
defaultMessage: 'Check your connection and refresh, or <a>open this project in Confluence</a> to review.'
|
|
52
|
+
},
|
|
53
|
+
checkConnectionWithSourceGalaxia: {
|
|
54
|
+
id: 'linkDataSource.confluence-search.checkConnectionWithSource-galaxia',
|
|
55
|
+
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
56
|
+
defaultMessage: 'Check your connection and refresh, or <a>open this Jira space in Confluence</a> to review.'
|
|
52
57
|
}
|
|
53
58
|
});
|
|
@@ -49,5 +49,10 @@ export const asyncPopupSelectMessages = defineMessages({
|
|
|
49
49
|
id: 'linkDataSource.basic-filter.project.label-galaxia',
|
|
50
50
|
description: 'Label to be displayed for project filter dropdown button.',
|
|
51
51
|
defaultMessage: 'Space'
|
|
52
|
+
},
|
|
53
|
+
projectSearchPlaceholderGalaxia: {
|
|
54
|
+
id: 'linkDataSource.basic-filter.project.searchPlaceholder-galaxia',
|
|
55
|
+
description: 'Placeholder to be displayed for project filter dropdown search input.',
|
|
56
|
+
defaultMessage: 'Search for spaces'
|
|
52
57
|
}
|
|
53
58
|
});
|
|
@@ -6,6 +6,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
6
6
|
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
7
7
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
8
8
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
9
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
9
10
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
10
11
|
import LinkComponent from '@atlaskit/link';
|
|
11
12
|
import { CloseButton, ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
@@ -276,7 +277,7 @@ const PlainJiraIssuesConfigModal = props => {
|
|
|
276
277
|
};
|
|
277
278
|
if (status === 'rejected' && jqlUrl) {
|
|
278
279
|
return /*#__PURE__*/React.createElement(ModalLoadingError, {
|
|
279
|
-
errorMessage: jqlUrl ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, modalMessages.checkConnectionWithSourceVisualRefreshSllv, {
|
|
280
|
+
errorMessage: jqlUrl ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, FeatureGates.getExperimentValue('project-terminology-refresh', 'isEnabled', false) ? modalMessages.checkConnectionWithSourceVisualRefreshSllvGalaxia : modalMessages.checkConnectionWithSourceVisualRefreshSllv, {
|
|
280
281
|
values: {
|
|
281
282
|
a: urlText => /*#__PURE__*/React.createElement(LinkComponent, {
|
|
282
283
|
href: jqlUrl
|
|
@@ -120,5 +120,10 @@ export const modalMessages = defineMessages({
|
|
|
120
120
|
id: 'linkDataSource.modal-initial-state.searchTitle-issue-term-refresh',
|
|
121
121
|
description: 'The initial modal search state title that gives the user some idea about how to get information',
|
|
122
122
|
defaultMessage: 'Search for Jira work items'
|
|
123
|
+
},
|
|
124
|
+
checkConnectionWithSourceVisualRefreshSllvGalaxia: {
|
|
125
|
+
id: 'linkDataSource.jira-issues.checkConnectionWithSource.visual-refresh-sllv-galaxia',
|
|
126
|
+
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
127
|
+
defaultMessage: 'Check your connection and refresh, or <a>open this space in Jira</a> to review.'
|
|
123
128
|
}
|
|
124
129
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
._1kl71x13{border-left:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
3
3
|
._1s7z1x13{border-right:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
4
|
+
._n7zl1md5{border-bottom:var(--ds-border-width-selected,2px) solid var(--ds-border,#dfe1e6)}
|
|
4
5
|
._n7zl1x13{border-bottom:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}
|
|
5
|
-
._n7zl8e97{border-bottom:var(--ds-border-width-outline,2px) solid var(--ds-border,#dfe1e6)}
|
|
6
6
|
._n7zlglyw{border-bottom:none}
|
|
7
7
|
._x3do1x13{border-top:var(--ds-border-width,1px) solid var(--ds-border,#dfe1e6)}._12vemgnk{background-repeat:no-repeat}
|
|
8
8
|
._13li1mok{border-top-left-radius:var(--ds-radius-large,8px)}
|
|
@@ -7,7 +7,7 @@ import { Box } from '@atlaskit/primitives/compiled';
|
|
|
7
7
|
import { N40 } from '@atlaskit/theme/colors';
|
|
8
8
|
var styles = {
|
|
9
9
|
tableContainerStyles: "_n7zl1x13 _x3do1x13 _1kl71x13 _1s7z1x13 _13li1mok _qrwq1mok",
|
|
10
|
-
contentContainerStyles: "_1reo1wug _18m91wug
|
|
10
|
+
contentContainerStyles: "_1reo1wug _18m91wug _n7zl1md5 _1e0c11p5 _c71l1pna _1itk1sfv _ouxlbac2 _12vemgnk _1lrw1sd4 _qmxj1c00",
|
|
11
11
|
contentContainerRemoveBorderStyles: "_n7zlglyw"
|
|
12
12
|
};
|
|
13
13
|
export var ContentContainer = function ContentContainer(_ref) {
|
|
@@ -15,6 +15,6 @@ export var CustomCheckboxOption = function CustomCheckboxOption(_ref) {
|
|
|
15
15
|
return /*#__PURE__*/React.createElement(CheckboxOption
|
|
16
16
|
// eslint-disable-next-line @atlaskit/design-system/no-unsafe-style-overrides
|
|
17
17
|
, _extends({}, props, {
|
|
18
|
-
className: ax(["
|
|
18
|
+
className: ax(["_189e1dm9 _1dqonqa1 _1h6d1j28 _16qsglyw _bfhk1j9a _1q511b66 _85i51b66 _bozgpxbi _y4tipxbi _irr3166n _1di61dty", props.isSelected && "_bfhkfg4m _irr3i1yw _1di619ru", props.isFocused && "_1h6d1p6i"])
|
|
19
19
|
}), children);
|
|
20
20
|
};
|
|
@@ -8,6 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
9
9
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef } from 'react';
|
|
10
10
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
11
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
11
12
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
12
13
|
import LinkComponent from '@atlaskit/link';
|
|
13
14
|
import { CloseButton, ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
|
|
@@ -211,7 +212,7 @@ export var PlainConfluenceSearchConfigModal = function PlainConfluenceSearchConf
|
|
|
211
212
|
if (status === 'rejected') {
|
|
212
213
|
if (selectedConfluenceSite) {
|
|
213
214
|
return /*#__PURE__*/React.createElement(ModalLoadingError, {
|
|
214
|
-
errorMessage: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, confluenceSearchModalMessages.checkConnectionWithSource, {
|
|
215
|
+
errorMessage: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, FeatureGates.getExperimentValue('project-terminology-refresh', 'isEnabled', false) ? confluenceSearchModalMessages.checkConnectionWithSourceGalaxia : confluenceSearchModalMessages.checkConnectionWithSource, {
|
|
215
216
|
values: {
|
|
216
217
|
a: function a(urlText) {
|
|
217
218
|
return /*#__PURE__*/React.createElement(LinkComponent, {
|
|
@@ -49,5 +49,10 @@ export var confluenceSearchModalMessages = defineMessages({
|
|
|
49
49
|
id: 'linkDataSource.confluence-search.checkConnectionWithSource',
|
|
50
50
|
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
51
51
|
defaultMessage: 'Check your connection and refresh, or <a>open this project in Confluence</a> to review.'
|
|
52
|
+
},
|
|
53
|
+
checkConnectionWithSourceGalaxia: {
|
|
54
|
+
id: 'linkDataSource.confluence-search.checkConnectionWithSource-galaxia',
|
|
55
|
+
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
56
|
+
defaultMessage: 'Check your connection and refresh, or <a>open this Jira space in Confluence</a> to review.'
|
|
52
57
|
}
|
|
53
58
|
});
|
|
@@ -49,5 +49,10 @@ export var asyncPopupSelectMessages = defineMessages({
|
|
|
49
49
|
id: 'linkDataSource.basic-filter.project.label-galaxia',
|
|
50
50
|
description: 'Label to be displayed for project filter dropdown button.',
|
|
51
51
|
defaultMessage: 'Space'
|
|
52
|
+
},
|
|
53
|
+
projectSearchPlaceholderGalaxia: {
|
|
54
|
+
id: 'linkDataSource.basic-filter.project.searchPlaceholder-galaxia',
|
|
55
|
+
description: 'Placeholder to be displayed for project filter dropdown search input.',
|
|
56
|
+
defaultMessage: 'Search for spaces'
|
|
52
57
|
}
|
|
53
58
|
});
|
|
@@ -10,6 +10,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
10
10
|
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
11
11
|
import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
12
12
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
13
|
+
import FeatureGates from '@atlaskit/feature-gate-js-client';
|
|
13
14
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
14
15
|
import LinkComponent from '@atlaskit/link';
|
|
15
16
|
import { CloseButton, ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
@@ -284,7 +285,7 @@ var PlainJiraIssuesConfigModal = function PlainJiraIssuesConfigModal(props) {
|
|
|
284
285
|
};
|
|
285
286
|
if (status === 'rejected' && jqlUrl) {
|
|
286
287
|
return /*#__PURE__*/React.createElement(ModalLoadingError, {
|
|
287
|
-
errorMessage: jqlUrl ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, modalMessages.checkConnectionWithSourceVisualRefreshSllv, {
|
|
288
|
+
errorMessage: jqlUrl ? /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, FeatureGates.getExperimentValue('project-terminology-refresh', 'isEnabled', false) ? modalMessages.checkConnectionWithSourceVisualRefreshSllvGalaxia : modalMessages.checkConnectionWithSourceVisualRefreshSllv, {
|
|
288
289
|
values: {
|
|
289
290
|
a: function a(urlText) {
|
|
290
291
|
return /*#__PURE__*/React.createElement(LinkComponent, {
|
|
@@ -120,5 +120,10 @@ export var modalMessages = defineMessages({
|
|
|
120
120
|
id: 'linkDataSource.modal-initial-state.searchTitle-issue-term-refresh',
|
|
121
121
|
description: 'The initial modal search state title that gives the user some idea about how to get information',
|
|
122
122
|
defaultMessage: 'Search for Jira work items'
|
|
123
|
+
},
|
|
124
|
+
checkConnectionWithSourceVisualRefreshSllvGalaxia: {
|
|
125
|
+
id: 'linkDataSource.jira-issues.checkConnectionWithSource.visual-refresh-sllv-galaxia',
|
|
126
|
+
description: 'Instructions to let the user know how to resolve the error that occured, or click the link provided to open the query in Jira',
|
|
127
|
+
defaultMessage: 'Check your connection and refresh, or <a>open this space in Jira</a> to review.'
|
|
123
128
|
}
|
|
124
129
|
});
|
|
@@ -6,6 +6,7 @@ import { jsx, styled } from '@compiled/react';
|
|
|
6
6
|
|
|
7
7
|
import { IntlMessagesProvider } from '@atlaskit/intl-messages-provider';
|
|
8
8
|
import { SmartCardProvider } from '@atlaskit/link-provider';
|
|
9
|
+
import { token } from '@atlaskit/tokens';
|
|
9
10
|
|
|
10
11
|
import { fetchMessagesForLocale } from '../src/common/utils/locale/fetch-messages-for-locale';
|
|
11
12
|
import { DatasourceExperienceIdProvider } from '../src/contexts/datasource-experience-id';
|
|
@@ -16,7 +17,7 @@ import SmartLinkClient from './smartLinkCustomClient';
|
|
|
16
17
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-styled -- To migrate as part of go/ui-styling-standard
|
|
17
18
|
const TableViewWrapper = styled.div({
|
|
18
19
|
borderColor: 'grey',
|
|
19
|
-
borderWidth: '
|
|
20
|
+
borderWidth: token('border.width'),
|
|
20
21
|
borderStyle: 'solid',
|
|
21
22
|
});
|
|
22
23
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "4.21.
|
|
3
|
+
"version": "4.21.6",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"ak-postbuild": "ls -d dist/* | xargs -n 1 copyfiles -u 1 -V src/**/*.{svg,png}"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@atlaskit/adf-schema": "^
|
|
39
|
+
"@atlaskit/adf-schema": "^51.0.0",
|
|
40
40
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
41
41
|
"@atlaskit/atlassian-context": "^0.5.0",
|
|
42
42
|
"@atlaskit/avatar": "^25.1.0",
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
49
49
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
50
50
|
"@atlaskit/empty-state": "^10.1.0",
|
|
51
|
+
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
51
52
|
"@atlaskit/flag": "^17.4.0",
|
|
52
53
|
"@atlaskit/form": "^12.5.0",
|
|
53
54
|
"@atlaskit/heading": "^5.2.0",
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
"@atlaskit/primitives": "^14.14.0",
|
|
78
79
|
"@atlaskit/react-select": "^3.5.0",
|
|
79
80
|
"@atlaskit/select": "^21.2.0",
|
|
80
|
-
"@atlaskit/smart-card": "^40.
|
|
81
|
+
"@atlaskit/smart-card": "^40.21.0",
|
|
81
82
|
"@atlaskit/smart-user-picker": "^8.2.0",
|
|
82
83
|
"@atlaskit/spinner": "^19.0.0",
|
|
83
84
|
"@atlaskit/tag": "^14.1.0",
|