@atlaskit/link-picker 1.37.0 → 1.37.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/.eslintrc.js +22 -22
- package/CHANGELOG.md +6 -0
- package/LICENSE.md +6 -8
- package/dist/cjs/ui/index.js +1 -1
- package/dist/cjs/ui/link-picker/index.js +1 -1
- package/dist/cjs/ui/link-picker/styled.js +1 -1
- package/dist/es2019/ui/index.js +1 -1
- package/dist/es2019/ui/link-picker/index.js +1 -1
- package/dist/es2019/ui/link-picker/styled.js +8 -8
- package/dist/esm/ui/index.js +1 -1
- package/dist/esm/ui/link-picker/index.js +1 -1
- package/dist/esm/ui/link-picker/styled.js +1 -1
- package/dist/types/common/analytics/index.d.ts +1 -1
- package/dist/types/common/ui/empty-state/index.d.ts +1 -1
- package/dist/types/controllers/session-provider/index.d.ts +1 -1
- package/dist/types/ui/link-picker/search-results/track-tab-viewed/index.d.ts +1 -1
- package/dist/types/ui/messages-provider/lazy-messages-provider/index.d.ts +1 -1
- package/dist/types-ts4.5/common/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/empty-state/index.d.ts +1 -1
- package/dist/types-ts4.5/controllers/session-provider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/link-picker/search-results/track-tab-viewed/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/messages-provider/lazy-messages-provider/index.d.ts +1 -1
- package/package.json +7 -7
- package/report.api.md +75 -82
package/.eslintrc.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
module.exports = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
2
|
+
rules: {
|
|
3
|
+
'import/no-default-export': ['warn'],
|
|
4
|
+
},
|
|
5
|
+
overrides: [
|
|
6
|
+
{
|
|
7
|
+
files: [
|
|
8
|
+
'**/__tests__/**/*.{js,ts,tsx}',
|
|
9
|
+
'examples/**/*.{js,ts,tsx}',
|
|
10
|
+
'docs/**/*.{js,ts,tsx}',
|
|
11
|
+
'src/i18n/**/*.{js,ts,tsx}',
|
|
12
|
+
],
|
|
13
|
+
rules: {
|
|
14
|
+
'import/no-default-export': ['off'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
files: ['src/**/*.vr.{js,ts,tsx}'],
|
|
19
|
+
rules: {
|
|
20
|
+
'@atlassian/tangerine/import/no-parent-imports': ['off'],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
24
|
};
|
package/CHANGELOG.md
CHANGED
package/LICENSE.md
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
Copyright 2022 Atlassian Pty Ltd
|
|
2
2
|
|
|
3
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
|
|
5
|
-
You may obtain a copy of the License at
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
|
|
4
|
+
compliance with the License. You may obtain a copy of the License at
|
|
6
5
|
|
|
7
6
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
7
|
|
|
9
|
-
Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
distributed
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
limitations under the License.
|
|
8
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is
|
|
9
|
+
distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
10
|
+
implied. See the License for the specific language governing permissions and limitations under the
|
|
11
|
+
License.
|
package/dist/cjs/ui/index.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: "1.37.
|
|
29
|
+
packageVersion: "1.37.1" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -385,7 +385,7 @@ var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsCont
|
|
|
385
385
|
action: pluginAction,
|
|
386
386
|
css: !queryState || !(plugins !== null && plugins !== void 0 && plugins.length) ? _styled.formFooterMargin : undefined
|
|
387
387
|
/* Show the feature discovery pulse when we're on the Jira tab, we haven't started typing a url and
|
|
388
|
-
|
|
388
|
+
the feature flag is enabled */,
|
|
389
389
|
createFeatureDiscovery: (activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.tabKey) === 'jira' && allowCreateFeatureDiscovery && (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.enable-jira-create'),
|
|
390
390
|
customSubmitButtonLabel: customMessages !== null && customMessages !== void 0 && customMessages.submitButtonLabel ? customMessages.submitButtonLabel : undefined
|
|
391
391
|
}));
|
|
@@ -10,7 +10,7 @@ var _react = require("@emotion/react");
|
|
|
10
10
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
11
|
var _templateObject;
|
|
12
12
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
13
|
-
var rootContainerStyles = exports.rootContainerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
13
|
+
var rootContainerStyles = exports.rootContainerStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
|
|
14
14
|
var formFooterMargin = exports.formFooterMargin = (0, _react.css)({
|
|
15
15
|
marginTop: "var(--ds-space-200, 16px)"
|
|
16
16
|
});
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -387,7 +387,7 @@ export const LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(({
|
|
|
387
387
|
action: pluginAction,
|
|
388
388
|
css: !queryState || !(plugins !== null && plugins !== void 0 && plugins.length) ? formFooterMargin : undefined
|
|
389
389
|
/* Show the feature discovery pulse when we're on the Jira tab, we haven't started typing a url and
|
|
390
|
-
|
|
390
|
+
the feature flag is enabled */,
|
|
391
391
|
createFeatureDiscovery: (activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.tabKey) === 'jira' && allowCreateFeatureDiscovery && getBooleanFF('platform.linking-platform.link-picker.enable-jira-create'),
|
|
392
392
|
customSubmitButtonLabel: customMessages !== null && customMessages !== void 0 && customMessages.submitButtonLabel ? customMessages.submitButtonLabel : undefined
|
|
393
393
|
}));
|
|
@@ -2,14 +2,14 @@ import { css } from '@emotion/react';
|
|
|
2
2
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
4
4
|
export const rootContainerStyles = css`
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
width: ${getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)'};
|
|
6
|
+
padding-left: var(--link-picker-padding-left);
|
|
7
|
+
padding-right: var(--link-picker-padding-right);
|
|
8
|
+
padding-top: var(--link-picker-padding-top);
|
|
9
|
+
padding-bottom: var(--link-picker-padding-bottom);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
line-height: initial;
|
|
12
|
+
display: block !important;
|
|
13
13
|
`;
|
|
14
14
|
export const formFooterMargin = css({
|
|
15
15
|
marginTop: "var(--ds-space-200, 16px)"
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -379,7 +379,7 @@ export var LinkPicker = withLinkPickerAnalyticsContext( /*#__PURE__*/memo(functi
|
|
|
379
379
|
action: pluginAction,
|
|
380
380
|
css: !queryState || !(plugins !== null && plugins !== void 0 && plugins.length) ? formFooterMargin : undefined
|
|
381
381
|
/* Show the feature discovery pulse when we're on the Jira tab, we haven't started typing a url and
|
|
382
|
-
|
|
382
|
+
the feature flag is enabled */,
|
|
383
383
|
createFeatureDiscovery: (activePlugin === null || activePlugin === void 0 ? void 0 : activePlugin.tabKey) === 'jira' && allowCreateFeatureDiscovery && getBooleanFF('platform.linking-platform.link-picker.enable-jira-create'),
|
|
384
384
|
customSubmitButtonLabel: customMessages !== null && customMessages !== void 0 && customMessages.submitButtonLabel ? customMessages.submitButtonLabel : undefined
|
|
385
385
|
}));
|
|
@@ -3,7 +3,7 @@ var _templateObject;
|
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
5
5
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- needs manual remediation
|
|
6
|
-
export var rootContainerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n
|
|
6
|
+
export var rootContainerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\twidth: ", ";\n\tpadding-left: var(--link-picker-padding-left);\n\tpadding-right: var(--link-picker-padding-right);\n\tpadding-top: var(--link-picker-padding-top);\n\tpadding-bottom: var(--link-picker-padding-bottom);\n\tbox-sizing: border-box;\n\tline-height: initial;\n\tdisplay: block !important;\n"])), getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
|
|
7
7
|
export var formFooterMargin = css({
|
|
8
8
|
marginTop: "var(--ds-space-200, 16px)"
|
|
9
9
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLinkPickerAnalytics, withLinkPickerAnalyticsContext
|
|
1
|
+
export { useLinkPickerAnalytics, withLinkPickerAnalyticsContext } from './context';
|
|
2
2
|
export { withInputFieldTracking } from './input-field-tracking';
|
|
@@ -5,5 +5,5 @@ type EmptyStateProps = {
|
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
renderImage?: () => React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare const EmptyState: ({ testId, header, description, renderImage
|
|
8
|
+
export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -5,6 +5,6 @@ export declare const SessionContext: React.Context<string>;
|
|
|
5
5
|
interface SessionProviderProps {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const LinkPickerSessionProvider: ({ children
|
|
8
|
+
export declare const LinkPickerSessionProvider: ({ children }: SessionProviderProps) => JSX.Element;
|
|
9
9
|
export declare const useLinkPickerSessionId: () => string;
|
|
10
10
|
export {};
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
type LazyMessagesProviderProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare const LazyMessagesProvider: ({ children
|
|
5
|
+
export declare const LazyMessagesProvider: ({ children }: LazyMessagesProviderProps) => JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { useLinkPickerAnalytics, withLinkPickerAnalyticsContext
|
|
1
|
+
export { useLinkPickerAnalytics, withLinkPickerAnalyticsContext } from './context';
|
|
2
2
|
export { withInputFieldTracking } from './input-field-tracking';
|
|
@@ -5,5 +5,5 @@ type EmptyStateProps = {
|
|
|
5
5
|
description?: React.ReactNode;
|
|
6
6
|
renderImage?: () => React.ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare const EmptyState: ({ testId, header, description, renderImage
|
|
8
|
+
export declare const EmptyState: ({ testId, header, description, renderImage }: EmptyStateProps) => JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -5,6 +5,6 @@ export declare const SessionContext: React.Context<string>;
|
|
|
5
5
|
interface SessionProviderProps {
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
}
|
|
8
|
-
export declare const LinkPickerSessionProvider: ({ children
|
|
8
|
+
export declare const LinkPickerSessionProvider: ({ children }: SessionProviderProps) => JSX.Element;
|
|
9
9
|
export declare const useLinkPickerSessionId: () => string;
|
|
10
10
|
export {};
|
|
@@ -2,5 +2,5 @@ import React from 'react';
|
|
|
2
2
|
type LazyMessagesProviderProps = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
};
|
|
5
|
-
export declare const LazyMessagesProvider: ({ children
|
|
5
|
+
export declare const LazyMessagesProvider: ({ children }: LazyMessagesProviderProps) => JSX.Element;
|
|
6
6
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "1.37.
|
|
3
|
+
"version": "1.37.1",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
62
62
|
"@atlaskit/button": "^17.17.0",
|
|
63
63
|
"@atlaskit/empty-state": "^7.8.0",
|
|
64
|
-
"@atlaskit/form": "^10.
|
|
64
|
+
"@atlaskit/form": "^10.3.0",
|
|
65
65
|
"@atlaskit/frontend-utilities": "^2.7.0",
|
|
66
66
|
"@atlaskit/heading": "^2.3.0",
|
|
67
67
|
"@atlaskit/icon": "^22.3.0",
|
|
@@ -69,11 +69,11 @@
|
|
|
69
69
|
"@atlaskit/linking-common": "^5.7.0",
|
|
70
70
|
"@atlaskit/onboarding": "^11.5.0",
|
|
71
71
|
"@atlaskit/platform-feature-flags": "^0.2.1",
|
|
72
|
-
"@atlaskit/primitives": "^
|
|
72
|
+
"@atlaskit/primitives": "^7.0.0",
|
|
73
73
|
"@atlaskit/spinner": "^16.1.0",
|
|
74
74
|
"@atlaskit/tabs": "^16.1.0",
|
|
75
75
|
"@atlaskit/textfield": "^6.3.0",
|
|
76
|
-
"@atlaskit/theme": "^12.
|
|
76
|
+
"@atlaskit/theme": "^12.9.0",
|
|
77
77
|
"@atlaskit/tokens": "^1.49.0",
|
|
78
78
|
"@atlaskit/tooltip": "^18.4.0",
|
|
79
79
|
"@atlaskit/ufo": "^0.2.0",
|
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
"@af/analytics-codegen": "^0.1.0",
|
|
95
95
|
"@af/integration-testing": "*",
|
|
96
96
|
"@af/visual-regression": "*",
|
|
97
|
-
"@atlaskit/dropdown-menu": "^12.
|
|
98
|
-
"@atlaskit/link-provider": "^1.
|
|
97
|
+
"@atlaskit/dropdown-menu": "^12.11.0",
|
|
98
|
+
"@atlaskit/link-provider": "^1.10.0",
|
|
99
99
|
"@atlaskit/link-test-helpers": "^7.0.0",
|
|
100
100
|
"@atlaskit/visual-regression": "*",
|
|
101
101
|
"@atlassian/feature-flags-test-utils": "*",
|
|
102
102
|
"@testing-library/dom": "^8.17.1",
|
|
103
|
-
"@testing-library/jest-dom": "^
|
|
103
|
+
"@testing-library/jest-dom": "^6.4.5",
|
|
104
104
|
"@testing-library/react": "^12.1.5",
|
|
105
105
|
"@testing-library/react-hooks": "^8.0.1",
|
|
106
106
|
"@testing-library/user-event": "^14.4.3",
|
package/report.api.md
CHANGED
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
## API Report File for "@atlaskit/link-picker"
|
|
4
4
|
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
5
|
+
> Do not edit this file. This report is auto-generated using
|
|
6
|
+
> [API Extractor](https://api-extractor.com/).
|
|
6
7
|
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
7
8
|
|
|
8
9
|
### Table of contents
|
|
@@ -27,125 +28,117 @@ import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
|
27
28
|
export type LinkInputType = 'manual' | 'typeAhead';
|
|
28
29
|
|
|
29
30
|
// @public (undocumented)
|
|
30
|
-
export const LinkPicker: React_2.MemoExoticComponent<
|
|
31
|
-
(props: LinkPickerProps) => jsx.JSX.Element
|
|
32
|
-
>;
|
|
31
|
+
export const LinkPicker: React_2.MemoExoticComponent<(props: LinkPickerProps) => jsx.JSX.Element>;
|
|
33
32
|
|
|
34
33
|
// @public (undocumented)
|
|
35
34
|
export interface LinkPickerPlugin {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
35
|
+
action?: LinkPickerPluginAction;
|
|
36
|
+
emptyStateNoResults?: LinkPickerPluginEmptyStateNoResults;
|
|
37
|
+
errorFallback?: LinkPickerPluginErrorFallback;
|
|
38
|
+
meta?: {
|
|
39
|
+
source?: string;
|
|
40
|
+
};
|
|
41
|
+
// (undocumented)
|
|
42
|
+
resolve: (
|
|
43
|
+
state: LinkPickerState,
|
|
44
|
+
) => AsyncGenerator<ResolveResult, ResolveResult> | Promise<ResolveResult>;
|
|
45
|
+
tabKey?: string;
|
|
46
|
+
tabTitle?: string;
|
|
47
|
+
UNSAFE_onActivation?: () => void;
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
// @public (undocumented)
|
|
52
51
|
export interface LinkPickerPluginAction {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
// (undocumented)
|
|
53
|
+
callback: () => void;
|
|
54
|
+
// (undocumented)
|
|
55
|
+
label: MessageDescriptor | string;
|
|
57
56
|
}
|
|
58
57
|
|
|
59
58
|
// @public (undocumented)
|
|
60
59
|
export type LinkPickerPluginEmptyStateNoResults = () => ReactNode;
|
|
61
60
|
|
|
62
61
|
// @public (undocumented)
|
|
63
|
-
export type LinkPickerPluginErrorFallback = (
|
|
64
|
-
error: unknown,
|
|
65
|
-
retry: () => void,
|
|
66
|
-
) => ReactNode;
|
|
62
|
+
export type LinkPickerPluginErrorFallback = (error: unknown, retry: () => void) => ReactNode;
|
|
67
63
|
|
|
68
64
|
// @public (undocumented)
|
|
69
65
|
export interface LinkPickerProps {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
paddingTop?: string;
|
|
91
|
-
plugins?: LinkPickerPlugin[];
|
|
92
|
-
url?: string;
|
|
66
|
+
component?: React.ComponentType<
|
|
67
|
+
Partial<LinkPickerProps> & {
|
|
68
|
+
children: React.ReactElement;
|
|
69
|
+
}
|
|
70
|
+
>;
|
|
71
|
+
disableWidth?: boolean;
|
|
72
|
+
displayText?: null | string;
|
|
73
|
+
// (undocumented)
|
|
74
|
+
featureFlags?: Record<string, unknown>;
|
|
75
|
+
hideDisplayText?: boolean;
|
|
76
|
+
isLoadingPlugins?: boolean;
|
|
77
|
+
onCancel: () => void;
|
|
78
|
+
onContentResize?: () => void;
|
|
79
|
+
onSubmit: (arg: OnSubmitParameter, analytic?: UIAnalyticsEvent | null) => void;
|
|
80
|
+
paddingBottom?: string;
|
|
81
|
+
paddingLeft?: string;
|
|
82
|
+
paddingRight?: string;
|
|
83
|
+
paddingTop?: string;
|
|
84
|
+
plugins?: LinkPickerPlugin[];
|
|
85
|
+
url?: string;
|
|
93
86
|
}
|
|
94
87
|
|
|
95
88
|
// @public (undocumented)
|
|
96
89
|
export interface LinkPickerState {
|
|
97
|
-
|
|
90
|
+
query: string;
|
|
98
91
|
}
|
|
99
92
|
|
|
100
93
|
// @public (undocumented)
|
|
101
94
|
export interface LinkSearchListItemData {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
95
|
+
container?: string;
|
|
96
|
+
icon:
|
|
97
|
+
| React.ComponentType<{
|
|
98
|
+
alt: string;
|
|
99
|
+
}>
|
|
100
|
+
| string;
|
|
101
|
+
iconAlt: MessageDescriptor | string;
|
|
102
|
+
lastUpdatedDate?: Date;
|
|
103
|
+
lastViewedDate?: Date;
|
|
104
|
+
meta?: {
|
|
105
|
+
source?: string;
|
|
106
|
+
};
|
|
107
|
+
name: string;
|
|
108
|
+
objectId: string;
|
|
109
|
+
prefetch?: boolean;
|
|
110
|
+
url: string;
|
|
118
111
|
}
|
|
119
112
|
|
|
120
113
|
// @public (undocumented)
|
|
121
114
|
interface Meta {
|
|
122
|
-
|
|
115
|
+
inputMethod: LinkInputType;
|
|
123
116
|
}
|
|
124
117
|
|
|
125
118
|
// @public (undocumented)
|
|
126
119
|
interface OnSubmitParameter {
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
120
|
+
displayText: null | string;
|
|
121
|
+
meta: Meta;
|
|
122
|
+
rawUrl?: string;
|
|
123
|
+
title: null | string;
|
|
124
|
+
url: string;
|
|
132
125
|
}
|
|
133
126
|
|
|
134
127
|
// @public (undocumented)
|
|
135
128
|
interface ResolveResult {
|
|
136
|
-
|
|
137
|
-
|
|
129
|
+
// (undocumented)
|
|
130
|
+
data: LinkSearchListItemData[];
|
|
138
131
|
}
|
|
139
132
|
|
|
140
133
|
// @public (undocumented)
|
|
141
134
|
export class UnauthenticatedError extends Error {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
135
|
+
constructor(iconUrl: string, authUrl: string, description: string);
|
|
136
|
+
// (undocumented)
|
|
137
|
+
authUrl: string;
|
|
138
|
+
// (undocumented)
|
|
139
|
+
description: string;
|
|
140
|
+
// (undocumented)
|
|
141
|
+
iconUrl: string;
|
|
149
142
|
}
|
|
150
143
|
|
|
151
144
|
// (No @packageDocumentation comment for this package)
|
|
@@ -159,8 +152,8 @@ export class UnauthenticatedError extends Error {
|
|
|
159
152
|
|
|
160
153
|
```json
|
|
161
154
|
{
|
|
162
|
-
|
|
163
|
-
|
|
155
|
+
"react": "^16.8.0",
|
|
156
|
+
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
164
157
|
}
|
|
165
158
|
```
|
|
166
159
|
|