@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 CHANGED
@@ -1,24 +1,24 @@
1
1
  module.exports = {
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
- ],
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
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.37.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.37.0
4
10
 
5
11
  ### Minor Changes
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
- you may not use this file except in compliance with the License.
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 under the License is distributed on an "AS IS" BASIS,
11
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- See the License for the specific language governing permissions and
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.
@@ -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.0" || '',
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
- the feature flag is enabled */,
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 width: ", ";\n padding-left: var(--link-picker-padding-left);\n padding-right: var(--link-picker-padding-right);\n padding-top: var(--link-picker-padding-top);\n padding-bottom: var(--link-picker-padding-bottom);\n box-sizing: border-box;\n line-height: initial;\n display: block !important;\n"])), (0, _platformFeatureFlags.getBooleanFF)('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
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
  });
@@ -16,7 +16,7 @@ export const testIds = {
16
16
  };
17
17
  export const PACKAGE_DATA = {
18
18
  packageName: "@atlaskit/link-picker" || '',
19
- packageVersion: "1.37.0" || '',
19
+ packageVersion: "1.37.1" || '',
20
20
  componentName: COMPONENT_NAME,
21
21
  source: COMPONENT_NAME
22
22
  };
@@ -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
- the feature flag is enabled */,
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
- 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;
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)"
@@ -17,7 +17,7 @@ export var testIds = {
17
17
  };
18
18
  export var PACKAGE_DATA = {
19
19
  packageName: "@atlaskit/link-picker" || '',
20
- packageVersion: "1.37.0" || '',
20
+ packageVersion: "1.37.1" || '',
21
21
  componentName: COMPONENT_NAME,
22
22
  source: COMPONENT_NAME
23
23
  };
@@ -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
- the feature flag is enabled */,
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 width: ", ";\n padding-left: var(--link-picker-padding-left);\n padding-right: var(--link-picker-padding-right);\n padding-top: var(--link-picker-padding-top);\n padding-bottom: var(--link-picker-padding-bottom);\n box-sizing: border-box;\n line-height: initial;\n display: block !important;\n"])), getBooleanFF('platform.linking-platform.link-picker.fixed-height-search-results') ? undefined : 'var(--link-picker-width)');
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, } from './context';
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, }: EmptyStateProps) => JSX.Element;
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, }: SessionProviderProps) => JSX.Element;
8
+ export declare const LinkPickerSessionProvider: ({ children }: SessionProviderProps) => JSX.Element;
9
9
  export declare const useLinkPickerSessionId: () => string;
10
10
  export {};
@@ -1,4 +1,4 @@
1
1
  import { type LinkPickerPlugin } from '../../../../common/types';
2
- export declare function TrackTabViewed({ activePlugin, }: {
2
+ export declare function TrackTabViewed({ activePlugin }: {
3
3
  activePlugin: LinkPickerPlugin | undefined;
4
4
  }): null;
@@ -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, }: LazyMessagesProviderProps) => JSX.Element;
5
+ export declare const LazyMessagesProvider: ({ children }: LazyMessagesProviderProps) => JSX.Element;
6
6
  export {};
@@ -1,2 +1,2 @@
1
- export { useLinkPickerAnalytics, withLinkPickerAnalyticsContext, } from './context';
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, }: EmptyStateProps) => JSX.Element;
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, }: SessionProviderProps) => JSX.Element;
8
+ export declare const LinkPickerSessionProvider: ({ children }: SessionProviderProps) => JSX.Element;
9
9
  export declare const useLinkPickerSessionId: () => string;
10
10
  export {};
@@ -1,4 +1,4 @@
1
1
  import { type LinkPickerPlugin } from '../../../../common/types';
2
- export declare function TrackTabViewed({ activePlugin, }: {
2
+ export declare function TrackTabViewed({ activePlugin }: {
3
3
  activePlugin: LinkPickerPlugin | undefined;
4
4
  }): null;
@@ -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, }: LazyMessagesProviderProps) => JSX.Element;
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.0",
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.2.0",
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": "^6.4.0",
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.8.0",
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.10.0",
98
- "@atlaskit/link-provider": "^1.9.0",
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": "^5.16.5",
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 [API Extractor](https://api-extractor.com/).
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
- action?: LinkPickerPluginAction;
37
- emptyStateNoResults?: LinkPickerPluginEmptyStateNoResults;
38
- errorFallback?: LinkPickerPluginErrorFallback;
39
- meta?: {
40
- source?: string;
41
- };
42
- // (undocumented)
43
- resolve: (
44
- state: LinkPickerState,
45
- ) => AsyncGenerator<ResolveResult, ResolveResult> | Promise<ResolveResult>;
46
- tabKey?: string;
47
- tabTitle?: string;
48
- UNSAFE_onActivation?: () => void;
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
- // (undocumented)
54
- callback: () => void;
55
- // (undocumented)
56
- label: MessageDescriptor | string;
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
- component?: React.ComponentType<
71
- Partial<LinkPickerProps> & {
72
- children: React.ReactElement;
73
- }
74
- >;
75
- disableWidth?: boolean;
76
- displayText?: null | string;
77
- // (undocumented)
78
- featureFlags?: Record<string, unknown>;
79
- hideDisplayText?: boolean;
80
- isLoadingPlugins?: boolean;
81
- onCancel: () => void;
82
- onContentResize?: () => void;
83
- onSubmit: (
84
- arg: OnSubmitParameter,
85
- analytic?: UIAnalyticsEvent | null,
86
- ) => void;
87
- paddingBottom?: string;
88
- paddingLeft?: string;
89
- paddingRight?: string;
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
- query: string;
90
+ query: string;
98
91
  }
99
92
 
100
93
  // @public (undocumented)
101
94
  export interface LinkSearchListItemData {
102
- container?: string;
103
- icon:
104
- | React.ComponentType<{
105
- alt: string;
106
- }>
107
- | string;
108
- iconAlt: MessageDescriptor | string;
109
- lastUpdatedDate?: Date;
110
- lastViewedDate?: Date;
111
- meta?: {
112
- source?: string;
113
- };
114
- name: string;
115
- objectId: string;
116
- prefetch?: boolean;
117
- url: string;
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
- inputMethod: LinkInputType;
115
+ inputMethod: LinkInputType;
123
116
  }
124
117
 
125
118
  // @public (undocumented)
126
119
  interface OnSubmitParameter {
127
- displayText: null | string;
128
- meta: Meta;
129
- rawUrl?: string;
130
- title: null | string;
131
- url: string;
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
- // (undocumented)
137
- data: LinkSearchListItemData[];
129
+ // (undocumented)
130
+ data: LinkSearchListItemData[];
138
131
  }
139
132
 
140
133
  // @public (undocumented)
141
134
  export class UnauthenticatedError extends Error {
142
- constructor(iconUrl: string, authUrl: string, description: string);
143
- // (undocumented)
144
- authUrl: string;
145
- // (undocumented)
146
- description: string;
147
- // (undocumented)
148
- iconUrl: string;
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
- "react": "^16.8.0",
163
- "react-intl-next": "npm:react-intl@^5.18.1"
155
+ "react": "^16.8.0",
156
+ "react-intl-next": "npm:react-intl@^5.18.1"
164
157
  }
165
158
  ```
166
159