@atlaskit/link-picker 6.10.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 +18 -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 +7 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
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
|
+
|
|
10
|
+
## 6.11.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`a30367ae14f98`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a30367ae14f98) -
|
|
15
|
+
Update i18n NPM package versions for linking-platform,smart-experiences (Group 15)
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 6.10.0
|
|
4
22
|
|
|
5
23
|
### 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.
|
|
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
|
},
|
|
@@ -57,7 +54,7 @@
|
|
|
57
54
|
"codegen-analytics": "yarn run ts-analytics-codegen --command='afm workspace @atlaskit/link-picker codegen-analytics'"
|
|
58
55
|
},
|
|
59
56
|
"dependencies": {
|
|
60
|
-
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.
|
|
57
|
+
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.267.0",
|
|
61
58
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
62
59
|
"@atlaskit/atlassian-context": "^2.0.0",
|
|
63
60
|
"@atlaskit/button": "^25.4.0",
|
|
@@ -73,13 +70,13 @@
|
|
|
73
70
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
74
71
|
"@atlaskit/primitives": "^22.5.0",
|
|
75
72
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
76
|
-
"@atlaskit/smart-card": "^46.
|
|
73
|
+
"@atlaskit/smart-card": "^46.4.0",
|
|
77
74
|
"@atlaskit/spinner": "^20.4.0",
|
|
78
75
|
"@atlaskit/spotlight": "^4.2.0",
|
|
79
76
|
"@atlaskit/tabs": "^21.3.0",
|
|
80
77
|
"@atlaskit/textfield": "^10.2.0",
|
|
81
78
|
"@atlaskit/tokens": "^20.1.0",
|
|
82
|
-
"@atlaskit/tooltip": "^24.
|
|
79
|
+
"@atlaskit/tooltip": "^24.4.0",
|
|
83
80
|
"@atlaskit/ufo": "^2.0.0",
|
|
84
81
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
85
82
|
"@babel/runtime": "^7.0.0",
|
|
@@ -99,16 +96,16 @@
|
|
|
99
96
|
"@af/analytics-codegen": "workspace:^",
|
|
100
97
|
"@af/integration-testing": "workspace:^",
|
|
101
98
|
"@af/visual-regression": "workspace:^",
|
|
102
|
-
"@atlaskit/dropdown-menu": "^
|
|
99
|
+
"@atlaskit/dropdown-menu": "^21.0.0",
|
|
103
100
|
"@atlaskit/link-analytics": "^13.0.0",
|
|
104
101
|
"@atlaskit/link-test-helpers": "^11.2.0",
|
|
105
|
-
"@atlaskit/popup": "^
|
|
102
|
+
"@atlaskit/popup": "^9.0.0",
|
|
106
103
|
"@atlaskit/range": "^12.2.0",
|
|
107
104
|
"@atlaskit/toggle": "^17.3.0",
|
|
108
105
|
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
109
106
|
"@atlassian/a11y-playwright-testing": "^0.13.0",
|
|
110
107
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
111
|
-
"@atlassian/link-picker-atlassian-plugin": "^39.
|
|
108
|
+
"@atlassian/link-picker-atlassian-plugin": "^39.10.0",
|
|
112
109
|
"@atlassian/link-picker-plugins": "^33.0.0",
|
|
113
110
|
"@atlassian/recent-work-client": "^2.23.0",
|
|
114
111
|
"@atlassian/structured-docs-types": "workspace:^",
|