@atlaskit/link-picker 6.11.0 → 6.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 +7 -0
- package/dist/cjs/services/use-plugins/index.js +1 -2
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +1 -2
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/services/use-plugins/index.js +1 -2
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +1 -2
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/services/use-plugins/index.js +1 -2
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js +1 -2
- package/dist/esm/ui/main.js +1 -1
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 6.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a2aa20fe5fe06`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2aa20fe5fe06) -
|
|
8
|
+
Remove the fully shipped aifc_create_enabled feature gate, keeping creation behavior enabled.
|
|
9
|
+
|
|
3
10
|
## 6.11.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -11,7 +11,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
11
11
|
var _react = require("react");
|
|
12
12
|
var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
|
|
13
13
|
var _convertToError = require("@atlaskit/frontend-utilities/convert-to-error");
|
|
14
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
15
14
|
var _analytics = require("../../common/analytics");
|
|
16
15
|
var _constants = require("../../common/constants");
|
|
17
16
|
var _analytics2 = _interopRequireDefault(require("../../common/utils/analytics/analytics.codegen"));
|
|
@@ -79,7 +78,7 @@ function usePlugins(state, activeTab, plugins, recentSearchListSize, alwaysShowT
|
|
|
79
78
|
dispatch({
|
|
80
79
|
type: 'SUCCESS',
|
|
81
80
|
payload: {
|
|
82
|
-
items: limit(value.data,
|
|
81
|
+
items: limit(value.data, recentSearchListSize),
|
|
83
82
|
isLoading: !done
|
|
84
83
|
}
|
|
85
84
|
});
|
package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js
CHANGED
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.testIds = exports.messages = exports.NoResults = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactIntl = require("react-intl");
|
|
10
|
-
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
11
10
|
var _emptyState = require("../../../../../common/ui/empty-state");
|
|
12
11
|
var _noResultsSvg = require("./no-results-svg");
|
|
13
12
|
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
@@ -33,7 +32,7 @@ var NoResults = exports.NoResults = function NoResults(_ref) {
|
|
|
33
32
|
testId: testIds.emptyResultPage,
|
|
34
33
|
header: intl.formatMessage(messages.noResults),
|
|
35
34
|
description: intl.formatMessage(messages.noResultsDescription),
|
|
36
|
-
renderImage: !shouldRenderImage
|
|
35
|
+
renderImage: !shouldRenderImage ? undefined : function () {
|
|
37
36
|
return /*#__PURE__*/_react.default.createElement(_noResultsSvg.NoResultsSVG, null);
|
|
38
37
|
}
|
|
39
38
|
});
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -26,7 +26,7 @@ var testIds = exports.testIds = {
|
|
|
26
26
|
};
|
|
27
27
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
28
28
|
packageName: "@atlaskit/link-picker" || '',
|
|
29
|
-
packageVersion: "6.
|
|
29
|
+
packageVersion: "6.11.0" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
2
2
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
3
3
|
import { convertToError } from '@atlaskit/frontend-utilities/convert-to-error';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
4
|
import { useLinkPickerAnalytics } from '../../common/analytics';
|
|
6
5
|
import { ANALYTICS_CHANNEL, RECENT_SEARCH_LIST_SIZE } from '../../common/constants';
|
|
7
6
|
import createEventPayload from '../../common/utils/analytics/analytics.codegen';
|
|
@@ -55,7 +54,7 @@ export function usePlugins(state, activeTab, plugins, recentSearchListSize, alwa
|
|
|
55
54
|
dispatch({
|
|
56
55
|
type: 'SUCCESS',
|
|
57
56
|
payload: {
|
|
58
|
-
items: limit(value.data,
|
|
57
|
+
items: limit(value.data, recentSearchListSize),
|
|
59
58
|
isLoading: !done
|
|
60
59
|
}
|
|
61
60
|
});
|
package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defineMessages, useIntl } from 'react-intl';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
4
3
|
import { EmptyState } from '../../../../../common/ui/empty-state';
|
|
5
4
|
import { NoResultsSVG } from './no-results-svg';
|
|
6
5
|
export const messages = defineMessages({
|
|
@@ -26,6 +25,6 @@ export const NoResults = ({
|
|
|
26
25
|
testId: testIds.emptyResultPage,
|
|
27
26
|
header: intl.formatMessage(messages.noResults),
|
|
28
27
|
description: intl.formatMessage(messages.noResultsDescription),
|
|
29
|
-
renderImage: !shouldRenderImage
|
|
28
|
+
renderImage: !shouldRenderImage ? undefined : () => /*#__PURE__*/React.createElement(NoResultsSVG, null)
|
|
30
29
|
});
|
|
31
30
|
};
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -4,7 +4,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
4
4
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
5
5
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
6
6
|
import { convertToError } from '@atlaskit/frontend-utilities/convert-to-error';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
7
|
import { useLinkPickerAnalytics } from '../../common/analytics';
|
|
9
8
|
import { ANALYTICS_CHANNEL, RECENT_SEARCH_LIST_SIZE } from '../../common/constants';
|
|
10
9
|
import createEventPayload from '../../common/utils/analytics/analytics.codegen';
|
|
@@ -72,7 +71,7 @@ export function usePlugins(state, activeTab, plugins, recentSearchListSize, alwa
|
|
|
72
71
|
dispatch({
|
|
73
72
|
type: 'SUCCESS',
|
|
74
73
|
payload: {
|
|
75
|
-
items: limit(value.data,
|
|
74
|
+
items: limit(value.data, recentSearchListSize),
|
|
76
75
|
isLoading: !done
|
|
77
76
|
}
|
|
78
77
|
});
|
package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defineMessages, useIntl } from 'react-intl';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
4
3
|
import { EmptyState } from '../../../../../common/ui/empty-state';
|
|
5
4
|
import { NoResultsSVG } from './no-results-svg';
|
|
6
5
|
export var messages = defineMessages({
|
|
@@ -26,7 +25,7 @@ export var NoResults = function NoResults(_ref) {
|
|
|
26
25
|
testId: testIds.emptyResultPage,
|
|
27
26
|
header: intl.formatMessage(messages.noResults),
|
|
28
27
|
description: intl.formatMessage(messages.noResultsDescription),
|
|
29
|
-
renderImage: !shouldRenderImage
|
|
28
|
+
renderImage: !shouldRenderImage ? undefined : function () {
|
|
30
29
|
return /*#__PURE__*/React.createElement(NoResultsSVG, null);
|
|
31
30
|
}
|
|
32
31
|
});
|
package/dist/esm/ui/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.1",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -40,9 +40,6 @@
|
|
|
40
40
|
"platform_navx_3298_message_wrapper": {
|
|
41
41
|
"type": "boolean"
|
|
42
42
|
},
|
|
43
|
-
"aifc_create_enabled": {
|
|
44
|
-
"type": "boolean"
|
|
45
|
-
},
|
|
46
43
|
"add-disable-manual-url-capability-technical": {
|
|
47
44
|
"type": "boolean"
|
|
48
45
|
},
|