@atlaskit/link-datasource 2.11.4 → 2.11.5
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 +7 -0
- package/dist/cjs/ui/confluence-search-modal/confluence-search-container/index.js +1 -1
- package/dist/cjs/ui/confluence-search-modal/modal/index.js +1 -1
- package/dist/es2019/ui/confluence-search-modal/confluence-search-container/index.js +2 -2
- package/dist/es2019/ui/confluence-search-modal/modal/index.js +1 -1
- package/dist/esm/ui/confluence-search-modal/confluence-search-container/index.js +2 -2
- package/dist/esm/ui/confluence-search-modal/modal/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/link-datasource
|
|
2
2
|
|
|
3
|
+
## 2.11.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2206c4285ada1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2206c4285ada1) -
|
|
8
|
+
Fixes bug in Confluence datasource modal found behind ff.
|
|
9
|
+
|
|
3
10
|
## 2.11.4
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -94,7 +94,7 @@ var ConfluenceSearchContainer = function ConfluenceSearchContainer(_ref) {
|
|
|
94
94
|
}
|
|
95
95
|
}, [cloudId, resetHydrationHook]);
|
|
96
96
|
var showBasicFilters = (0, _react.useMemo)(function () {
|
|
97
|
-
if ((0, _platformFeatureFlags.
|
|
97
|
+
if ((0, _platformFeatureFlags.fg)('platform.linking-platform.datasource.show-clol-basic-filters')) {
|
|
98
98
|
return true;
|
|
99
99
|
}
|
|
100
100
|
return false;
|
|
@@ -318,7 +318,7 @@ var PlainConfluenceSearchConfigModal = exports.PlainConfluenceSearchConfigModal
|
|
|
318
318
|
}, (0, _react2.jsx)(_confluenceSearchContainer.default, {
|
|
319
319
|
isSearching: status === 'loading',
|
|
320
320
|
onSearch: onSearch,
|
|
321
|
-
parameters: parameters &&
|
|
321
|
+
parameters: parameters !== null && parameters !== void 0 ? parameters : {
|
|
322
322
|
cloudId: ''
|
|
323
323
|
}
|
|
324
324
|
})), currentViewMode === 'inline' ? renderInlineLinkModalContent() : renderTableModalContent()) : (0, _react2.jsx)(_noInstances.NoInstancesView, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
2
2
|
import { useDebouncedCallback } from 'use-debounce';
|
|
3
|
-
import {
|
|
3
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
4
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
5
5
|
import { BasicSearchInput } from '../../common/modal/basic-search-input';
|
|
6
6
|
import { FILTER_SELECTION_DEBOUNCE_MS } from '../../common/modal/popup-select/constants';
|
|
@@ -73,7 +73,7 @@ const ConfluenceSearchContainer = ({
|
|
|
73
73
|
}
|
|
74
74
|
}, [cloudId, resetHydrationHook]);
|
|
75
75
|
const showBasicFilters = useMemo(() => {
|
|
76
|
-
if (
|
|
76
|
+
if (fg('platform.linking-platform.datasource.show-clol-basic-filters')) {
|
|
77
77
|
return true;
|
|
78
78
|
}
|
|
79
79
|
return false;
|
|
@@ -305,7 +305,7 @@ export const PlainConfluenceSearchConfigModal = props => {
|
|
|
305
305
|
}, jsx(ConfluenceSearchContainer, {
|
|
306
306
|
isSearching: status === 'loading',
|
|
307
307
|
onSearch: onSearch,
|
|
308
|
-
parameters: parameters &&
|
|
308
|
+
parameters: parameters !== null && parameters !== void 0 ? parameters : {
|
|
309
309
|
cloudId: ''
|
|
310
310
|
}
|
|
311
311
|
})), currentViewMode === 'inline' ? renderInlineLinkModalContent() : renderTableModalContent()) : jsx(NoInstancesView, {
|
|
@@ -4,7 +4,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
6
6
|
import { useDebouncedCallback } from 'use-debounce';
|
|
7
|
-
import {
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
9
9
|
import { BasicSearchInput } from '../../common/modal/basic-search-input';
|
|
10
10
|
import { FILTER_SELECTION_DEBOUNCE_MS } from '../../common/modal/popup-select/constants';
|
|
@@ -84,7 +84,7 @@ var ConfluenceSearchContainer = function ConfluenceSearchContainer(_ref) {
|
|
|
84
84
|
}
|
|
85
85
|
}, [cloudId, resetHydrationHook]);
|
|
86
86
|
var showBasicFilters = useMemo(function () {
|
|
87
|
-
if (
|
|
87
|
+
if (fg('platform.linking-platform.datasource.show-clol-basic-filters')) {
|
|
88
88
|
return true;
|
|
89
89
|
}
|
|
90
90
|
return false;
|
|
@@ -315,7 +315,7 @@ export var PlainConfluenceSearchConfigModal = function PlainConfluenceSearchConf
|
|
|
315
315
|
}, jsx(ConfluenceSearchContainer, {
|
|
316
316
|
isSearching: status === 'loading',
|
|
317
317
|
onSearch: onSearch,
|
|
318
|
-
parameters: parameters &&
|
|
318
|
+
parameters: parameters !== null && parameters !== void 0 ? parameters : {
|
|
319
319
|
cloudId: ''
|
|
320
320
|
}
|
|
321
321
|
})), currentViewMode === 'inline' ? renderInlineLinkModalContent() : renderTableModalContent()) : jsx(NoInstancesView, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-datasource",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.5",
|
|
4
4
|
"description": "UI Components to support linking platform dataset feature",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@atlaskit/icon": "^22.14.0",
|
|
53
53
|
"@atlaskit/icon-object": "^6.5.0",
|
|
54
54
|
"@atlaskit/image": "^1.3.0",
|
|
55
|
-
"@atlaskit/inline-edit": "^13.
|
|
55
|
+
"@atlaskit/inline-edit": "^13.7.0",
|
|
56
56
|
"@atlaskit/intl-messages-provider": "^1.0.0",
|
|
57
57
|
"@atlaskit/jql-ast": "^3.3.0",
|
|
58
58
|
"@atlaskit/jql-editor": "^4.5.0",
|