@atlaskit/link-picker 1.36.2 → 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.
Files changed (88) hide show
  1. package/.eslintrc.js +22 -22
  2. package/CHANGELOG.md +517 -507
  3. package/CONTRIBUTING.md +3 -0
  4. package/LICENSE.md +6 -8
  5. package/dist/cjs/ui/index.js +1 -1
  6. package/dist/cjs/ui/link-picker/announcer.js +1 -0
  7. package/dist/cjs/ui/link-picker/index.js +1 -1
  8. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +3 -1
  9. package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/styles.js +4 -0
  10. package/dist/cjs/ui/link-picker/styled.js +1 -1
  11. package/dist/es2019/ui/index.js +1 -1
  12. package/dist/es2019/ui/link-picker/announcer.js +1 -0
  13. package/dist/es2019/ui/link-picker/index.js +1 -1
  14. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +3 -1
  15. package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/styles.js +4 -0
  16. package/dist/es2019/ui/link-picker/styled.js +8 -8
  17. package/dist/esm/ui/index.js +1 -1
  18. package/dist/esm/ui/link-picker/announcer.js +1 -0
  19. package/dist/esm/ui/link-picker/index.js +1 -1
  20. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +3 -1
  21. package/dist/esm/ui/link-picker/search-results/scrolling-tabs/styles.js +4 -0
  22. package/dist/esm/ui/link-picker/styled.js +1 -1
  23. package/dist/types/common/analytics/context.d.ts +2 -2
  24. package/dist/types/common/analytics/experiences.d.ts +1 -1
  25. package/dist/types/common/analytics/index.d.ts +1 -1
  26. package/dist/types/common/analytics/input-field-tracking.d.ts +1 -1
  27. package/dist/types/common/types.d.ts +2 -2
  28. package/dist/types/common/ui/empty-state/index.d.ts +1 -1
  29. package/dist/types/common/utils/handleNavKeyDown.d.ts +1 -1
  30. package/dist/types/controllers/session-provider/index.d.ts +2 -2
  31. package/dist/types/services/use-plugins/reducer.d.ts +1 -1
  32. package/dist/types/services/use-plugins/utils.d.ts +1 -1
  33. package/dist/types/services/use-search-query/index.d.ts +1 -1
  34. package/dist/types/ui/error-boundary/error-boundary-base/index.d.ts +1 -1
  35. package/dist/types/ui/error-boundary/index.d.ts +1 -1
  36. package/dist/types/ui/index.d.ts +2 -2
  37. package/dist/types/ui/link-picker/announcer.d.ts +1 -1
  38. package/dist/types/ui/link-picker/form-footer/index.d.ts +2 -2
  39. package/dist/types/ui/link-picker/form-footer/utils.d.ts +1 -1
  40. package/dist/types/ui/link-picker/index.d.ts +3 -3
  41. package/dist/types/ui/link-picker/search-results/index.d.ts +2 -2
  42. package/dist/types/ui/link-picker/search-results/link-search-list/index.d.ts +2 -2
  43. package/dist/types/ui/link-picker/search-results/link-search-list/list-item/index.d.ts +2 -2
  44. package/dist/types/ui/link-picker/search-results/link-search-list/use-track-results-shown/index.d.ts +1 -1
  45. package/dist/types/ui/link-picker/search-results/scrolling-tabs/scrolling-tabs.d.ts +1 -1
  46. package/dist/types/ui/link-picker/search-results/scrolling-tabs/styles.d.ts +1 -1
  47. package/dist/types/ui/link-picker/search-results/track-tab-viewed/index.d.ts +2 -2
  48. package/dist/types/ui/link-picker/text-input/conditional-spotlight-target-wrapper/index.d.ts +1 -1
  49. package/dist/types/ui/link-picker/text-input/index.d.ts +2 -2
  50. package/dist/types/ui/link-picker/text-input/utils.d.ts +1 -1
  51. package/dist/types/ui/link-picker/transformTimeStamp.d.ts +1 -1
  52. package/dist/types/ui/link-picker/utils.d.ts +2 -2
  53. package/dist/types/ui/messages-provider/lazy-messages-provider/index.d.ts +1 -1
  54. package/dist/types/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.d.ts +1 -1
  55. package/dist/types-ts4.5/common/analytics/context.d.ts +2 -2
  56. package/dist/types-ts4.5/common/analytics/experiences.d.ts +1 -1
  57. package/dist/types-ts4.5/common/analytics/index.d.ts +1 -1
  58. package/dist/types-ts4.5/common/analytics/input-field-tracking.d.ts +1 -1
  59. package/dist/types-ts4.5/common/types.d.ts +2 -2
  60. package/dist/types-ts4.5/common/ui/empty-state/index.d.ts +1 -1
  61. package/dist/types-ts4.5/common/utils/handleNavKeyDown.d.ts +1 -1
  62. package/dist/types-ts4.5/controllers/session-provider/index.d.ts +2 -2
  63. package/dist/types-ts4.5/services/use-plugins/reducer.d.ts +1 -1
  64. package/dist/types-ts4.5/services/use-plugins/utils.d.ts +1 -1
  65. package/dist/types-ts4.5/services/use-search-query/index.d.ts +1 -1
  66. package/dist/types-ts4.5/ui/error-boundary/error-boundary-base/index.d.ts +1 -1
  67. package/dist/types-ts4.5/ui/error-boundary/index.d.ts +1 -1
  68. package/dist/types-ts4.5/ui/index.d.ts +2 -2
  69. package/dist/types-ts4.5/ui/link-picker/announcer.d.ts +1 -1
  70. package/dist/types-ts4.5/ui/link-picker/form-footer/index.d.ts +2 -2
  71. package/dist/types-ts4.5/ui/link-picker/form-footer/utils.d.ts +1 -1
  72. package/dist/types-ts4.5/ui/link-picker/index.d.ts +3 -3
  73. package/dist/types-ts4.5/ui/link-picker/search-results/index.d.ts +2 -2
  74. package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/index.d.ts +2 -2
  75. package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/list-item/index.d.ts +2 -2
  76. package/dist/types-ts4.5/ui/link-picker/search-results/link-search-list/use-track-results-shown/index.d.ts +1 -1
  77. package/dist/types-ts4.5/ui/link-picker/search-results/scrolling-tabs/scrolling-tabs.d.ts +1 -1
  78. package/dist/types-ts4.5/ui/link-picker/search-results/scrolling-tabs/styles.d.ts +1 -1
  79. package/dist/types-ts4.5/ui/link-picker/search-results/track-tab-viewed/index.d.ts +2 -2
  80. package/dist/types-ts4.5/ui/link-picker/text-input/conditional-spotlight-target-wrapper/index.d.ts +1 -1
  81. package/dist/types-ts4.5/ui/link-picker/text-input/index.d.ts +2 -2
  82. package/dist/types-ts4.5/ui/link-picker/text-input/utils.d.ts +1 -1
  83. package/dist/types-ts4.5/ui/link-picker/transformTimeStamp.d.ts +1 -1
  84. package/dist/types-ts4.5/ui/link-picker/utils.d.ts +2 -2
  85. package/dist/types-ts4.5/ui/messages-provider/lazy-messages-provider/index.d.ts +1 -1
  86. package/dist/types-ts4.5/ui/messages-provider/lazy-messages-provider/utils/fetch-messages-for-locale.d.ts +1 -1
  87. package/package.json +13 -15
  88. package/report.api.md +75 -82
@@ -1,4 +1,4 @@
1
- import React, { Component, ReactNode } from 'react';
1
+ import React, { Component, type ReactNode } from 'react';
2
2
  export type ErrorBoundaryErrorInfo = {
3
3
  componentStack: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  interface ErrorBoundaryProps {
3
3
  children: ReactNode;
4
4
  }
@@ -1,8 +1,8 @@
1
1
  /** @jsx jsx */
2
2
  import React from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { PackageMetaDataType } from '../common/utils/analytics/analytics.codegen';
5
- import { LinkPickerProps } from './link-picker';
4
+ import { type PackageMetaDataType } from '../common/utils/analytics/analytics.codegen';
5
+ import { type LinkPickerProps } from './link-picker';
6
6
  export declare const testIds: {
7
7
  linkPickerRoot: string;
8
8
  };
@@ -1,4 +1,4 @@
1
- import React, { AriaAttributes, Ref } from 'react';
1
+ import React, { type AriaAttributes, type Ref } from 'react';
2
2
  type AnnouncerProps = {
3
3
  ref?: Ref<HTMLDivElement>;
4
4
  /** Set 'false' for announcing only changed text
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import { jsx } from '@emotion/react';
3
- import { MessageDescriptor } from 'react-intl-next';
4
- import { LinkPickerPluginAction, LinkPickerState, LinkSearchListItemData } from '../../../common/types';
3
+ import { type MessageDescriptor } from 'react-intl-next';
4
+ import { type LinkPickerPluginAction, type LinkPickerState, type LinkSearchListItemData } from '../../../common/types';
5
5
  export declare const messages: {
6
6
  cancelButton: {
7
7
  id: string;
@@ -1,2 +1,2 @@
1
- import { LinkPickerState, LinkSearchListItemData } from '../../../common/types';
1
+ import { type LinkPickerState, type LinkSearchListItemData } from '../../../common/types';
2
2
  export declare const checkSubmitDisabled: (isLoading: boolean, isSubmitting: boolean, error: unknown | null, url: string, queryState: LinkPickerState | null, items: LinkSearchListItemData[] | null) => boolean;
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { MessageDescriptor } from 'react-intl-next';
3
- import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
4
- import { LinkInputType, LinkPickerPlugin } from '../../common/types';
2
+ import { type MessageDescriptor } from 'react-intl-next';
3
+ import { type UIAnalyticsEvent } from '@atlaskit/analytics-next';
4
+ import { type LinkInputType, type LinkPickerPlugin } from '../../common/types';
5
5
  export declare const testIds: {
6
6
  readonly urlError: string;
7
7
  readonly clearUrlButton: string;
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { KeyboardEvent } from 'react';
2
+ import { type KeyboardEvent } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { LinkPickerPlugin, LinkSearchListItemData } from '../../../common/types';
4
+ import { type LinkPickerPlugin, type LinkSearchListItemData } from '../../../common/types';
5
5
  export declare const testIds: {
6
6
  tabsLoadingIndicator: string;
7
7
  tabList: string;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
- import { KeyboardEvent } from 'react';
3
- import { LinkPickerPlugin, LinkSearchListItemData } from '../../../../common/types';
2
+ import { type KeyboardEvent } from 'react';
3
+ import { type LinkPickerPlugin, type LinkSearchListItemData } from '../../../../common/types';
4
4
  export declare const messages: {
5
5
  titleRecentlyViewed: {
6
6
  id: string;
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
- import { KeyboardEvent } from 'react';
3
- import { LinkSearchListItemData } from '../../../../../common/types';
2
+ import { type KeyboardEvent } from 'react';
3
+ import { type LinkSearchListItemData } from '../../../../../common/types';
4
4
  export declare const testIds: {
5
5
  searchResultItem: string;
6
6
  searchResultIcon: string;
@@ -1,2 +1,2 @@
1
- import { LinkSearchListItemData } from '../../../../../common/types';
1
+ import { type LinkSearchListItemData } from '../../../../../common/types';
2
2
  export declare const useTrackResultsShown: (isLoading: boolean, items?: LinkSearchListItemData[] | null | undefined, hasSearchTerm?: boolean) => void;
@@ -1,4 +1,4 @@
1
- import { RefObject } from 'react';
1
+ import { type RefObject } from 'react';
2
2
  export interface ConditionalButtons {
3
3
  back: boolean;
4
4
  forward: boolean;
@@ -1,4 +1,4 @@
1
- import { SerializedStyles } from '@emotion/react';
1
+ import { type SerializedStyles } from '@emotion/react';
2
2
  export declare const scrollingContainerStyles: SerializedStyles;
3
3
  export declare const containerStyles: SerializedStyles;
4
4
  export declare const buttonContainerStyles: SerializedStyles;
@@ -1,4 +1,4 @@
1
- import { LinkPickerPlugin } from '../../../../common/types';
2
- export declare function TrackTabViewed({ activePlugin, }: {
1
+ import { type LinkPickerPlugin } from '../../../../common/types';
2
+ export declare function TrackTabViewed({ activePlugin }: {
3
3
  activePlugin: LinkPickerPlugin | undefined;
4
4
  }): null;
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import React, { type FunctionComponent } from 'react';
2
2
  export interface ConditionalSpotlightTargetWrapperProps {
3
3
  spotlightTargetName?: string;
4
4
  children: React.ReactElement;
@@ -1,6 +1,6 @@
1
1
  import { jsx } from '@emotion/react';
2
- import { TextFieldProps } from '@atlaskit/textfield';
3
- import { ConditionalSpotlightTargetWrapperProps } from './conditional-spotlight-target-wrapper';
2
+ import { type TextFieldProps } from '@atlaskit/textfield';
3
+ import { type ConditionalSpotlightTargetWrapperProps } from './conditional-spotlight-target-wrapper';
4
4
  export type TextInputProps = Omit<TextFieldProps, 'name' | 'value'> & Pick<ConditionalSpotlightTargetWrapperProps, 'spotlightTargetName'> & {
5
5
  name: string;
6
6
  value: string;
@@ -1,3 +1,3 @@
1
- import { KeyboardEvent } from 'react';
1
+ import { type KeyboardEvent } from 'react';
2
2
  export declare const isUndoEvent: (e: KeyboardEvent<HTMLInputElement>) => boolean;
3
3
  export declare const isRedoEvent: (e: KeyboardEvent<HTMLInputElement>) => boolean;
@@ -1,2 +1,2 @@
1
- import { IntlShape } from 'react-intl-next';
1
+ import { type IntlShape } from 'react-intl-next';
2
2
  export declare const transformTimeStamp: (intl: IntlShape, lastViewedDate?: Date, lastUpdatedDate?: Date) => string | undefined;
@@ -1,5 +1,5 @@
1
- import { IntlShape } from 'react-intl-next';
2
- import { LinkPickerPlugin, LinkSearchListItemData } from '../../common/types';
1
+ import { type IntlShape } from 'react-intl-next';
2
+ import { type LinkPickerPlugin, type LinkSearchListItemData } from '../../common/types';
3
3
  /**
4
4
  * Retrieve the data source for a link given the item and the plugin that resolved it
5
5
  */
@@ -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
- import { I18NMessages } from '@atlaskit/intl-messages-provider';
1
+ import { type I18NMessages } from '@atlaskit/intl-messages-provider';
2
2
  export declare const fetchMessagesForLocale: (locale: string) => Promise<I18NMessages | undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.36.2",
3
+ "version": "1.37.1",
4
4
  "description": "Standalone link picker",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -59,23 +59,23 @@
59
59
  },
60
60
  "dependencies": {
61
61
  "@atlaskit/analytics-next": "^9.3.0",
62
- "@atlaskit/button": "^17.14.0",
62
+ "@atlaskit/button": "^17.17.0",
63
63
  "@atlaskit/empty-state": "^7.8.0",
64
- "@atlaskit/form": "^10.0.0",
64
+ "@atlaskit/form": "^10.3.0",
65
65
  "@atlaskit/frontend-utilities": "^2.7.0",
66
66
  "@atlaskit/heading": "^2.3.0",
67
- "@atlaskit/icon": "^22.1.0",
67
+ "@atlaskit/icon": "^22.3.0",
68
68
  "@atlaskit/intl-messages-provider": "^1.0.2",
69
- "@atlaskit/linking-common": "^5.6.0",
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.1.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",
77
- "@atlaskit/tokens": "^1.47.0",
78
- "@atlaskit/tooltip": "^18.3.0",
76
+ "@atlaskit/theme": "^12.9.0",
77
+ "@atlaskit/tokens": "^1.49.0",
78
+ "@atlaskit/tooltip": "^18.4.0",
79
79
  "@atlaskit/ufo": "^0.2.0",
80
80
  "@atlaskit/visually-hidden": "^1.3.0",
81
81
  "@babel/runtime": "^7.0.0",
@@ -94,14 +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
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
102
101
  "@atlassian/feature-flags-test-utils": "*",
103
102
  "@testing-library/dom": "^8.17.1",
104
- "@testing-library/jest-dom": "^5.16.5",
103
+ "@testing-library/jest-dom": "^6.4.5",
105
104
  "@testing-library/react": "^12.1.5",
106
105
  "@testing-library/react-hooks": "^8.0.1",
107
106
  "@testing-library/user-event": "^14.4.3",
@@ -145,6 +144,5 @@
145
144
  "stricter": [
146
145
  "@atlassian/tangerine/project-structure"
147
146
  ]
148
- },
149
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
147
+ }
150
148
  }
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