@atlaskit/link-picker 1.30.8 → 1.30.9
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 +6 -0
- package/dist/cjs/ui/index.js +1 -1
- package/dist/es2019/ui/index.js +1 -1
- package/dist/esm/ui/index.js +1 -1
- package/package.json +2 -2
- package/tmp/api-report-tmp.d.ts +0 -128
package/CHANGELOG.md
CHANGED
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.30.
|
|
29
|
+
packageVersion: "1.30.9" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
package/dist/es2019/ui/index.js
CHANGED
package/dist/esm/ui/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "1.30.
|
|
3
|
+
"version": "1.30.9",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@atlaskit/frontend-utilities": "^2.7.0",
|
|
63
63
|
"@atlaskit/icon": "^22.0.0",
|
|
64
64
|
"@atlaskit/linking-common": "^4.21.0",
|
|
65
|
-
"@atlaskit/onboarding": "^
|
|
65
|
+
"@atlaskit/onboarding": "^11.0.0",
|
|
66
66
|
"@atlaskit/platform-feature-flags": "^0.2.1",
|
|
67
67
|
"@atlaskit/spinner": "^16.0.0",
|
|
68
68
|
"@atlaskit/tabs": "^14.0.0",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/link-picker"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
/// <reference types="react" />
|
|
8
|
-
|
|
9
|
-
import { jsx } from '@emotion/react';
|
|
10
|
-
import { MessageDescriptor } from 'react-intl-next';
|
|
11
|
-
import { default as React_2 } from 'react';
|
|
12
|
-
import { ReactNode } from 'react';
|
|
13
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
14
|
-
|
|
15
|
-
// @public (undocumented)
|
|
16
|
-
export type LinkInputType = 'manual' | 'typeAhead';
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
export const LinkPicker: React_2.MemoExoticComponent<(props: LinkPickerProps) => jsx.JSX.Element>;
|
|
20
|
-
|
|
21
|
-
// @public (undocumented)
|
|
22
|
-
export interface LinkPickerPlugin {
|
|
23
|
-
action?: LinkPickerPluginAction;
|
|
24
|
-
emptyStateNoResults?: LinkPickerPluginEmptyStateNoResults;
|
|
25
|
-
errorFallback?: LinkPickerPluginErrorFallback;
|
|
26
|
-
meta?: {
|
|
27
|
-
source?: string;
|
|
28
|
-
};
|
|
29
|
-
// (undocumented)
|
|
30
|
-
resolve: (state: LinkPickerState) => AsyncGenerator<ResolveResult, ResolveResult> | Promise<ResolveResult>;
|
|
31
|
-
tabKey?: string;
|
|
32
|
-
tabTitle?: string;
|
|
33
|
-
UNSAFE_onActivation?: () => void;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// @public (undocumented)
|
|
37
|
-
export interface LinkPickerPluginAction {
|
|
38
|
-
// (undocumented)
|
|
39
|
-
callback: () => void;
|
|
40
|
-
// (undocumented)
|
|
41
|
-
label: MessageDescriptor | string;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
// @public (undocumented)
|
|
45
|
-
export type LinkPickerPluginEmptyStateNoResults = () => ReactNode;
|
|
46
|
-
|
|
47
|
-
// @public (undocumented)
|
|
48
|
-
export type LinkPickerPluginErrorFallback = (error: unknown, retry: () => void) => ReactNode;
|
|
49
|
-
|
|
50
|
-
// @public (undocumented)
|
|
51
|
-
export interface LinkPickerProps {
|
|
52
|
-
component?: React.ComponentType<Partial<LinkPickerProps> & {
|
|
53
|
-
children: React.ReactElement;
|
|
54
|
-
}>;
|
|
55
|
-
disableWidth?: boolean;
|
|
56
|
-
displayText?: null | string;
|
|
57
|
-
// (undocumented)
|
|
58
|
-
featureFlags?: Record<string, unknown>;
|
|
59
|
-
hideDisplayText?: boolean;
|
|
60
|
-
isLoadingPlugins?: boolean;
|
|
61
|
-
onCancel: () => void;
|
|
62
|
-
onContentResize?: () => void;
|
|
63
|
-
onSubmit: (arg: OnSubmitParameter, analytic?: UIAnalyticsEvent | null) => void;
|
|
64
|
-
paddingBottom?: string;
|
|
65
|
-
paddingLeft?: string;
|
|
66
|
-
paddingRight?: string;
|
|
67
|
-
paddingTop?: string;
|
|
68
|
-
plugins?: LinkPickerPlugin[];
|
|
69
|
-
url?: string;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
export interface LinkPickerState {
|
|
74
|
-
query: string;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// @public (undocumented)
|
|
78
|
-
export interface LinkSearchListItemData {
|
|
79
|
-
container?: string;
|
|
80
|
-
icon: React.ComponentType<{
|
|
81
|
-
alt: string;
|
|
82
|
-
}> | string;
|
|
83
|
-
iconAlt: MessageDescriptor | string;
|
|
84
|
-
lastUpdatedDate?: Date;
|
|
85
|
-
lastViewedDate?: Date;
|
|
86
|
-
meta?: {
|
|
87
|
-
source?: string;
|
|
88
|
-
};
|
|
89
|
-
name: string;
|
|
90
|
-
objectId: string;
|
|
91
|
-
prefetch?: boolean;
|
|
92
|
-
url: string;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// @public (undocumented)
|
|
96
|
-
interface Meta {
|
|
97
|
-
inputMethod: LinkInputType;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// @public (undocumented)
|
|
101
|
-
interface OnSubmitParameter {
|
|
102
|
-
displayText: null | string;
|
|
103
|
-
meta: Meta;
|
|
104
|
-
rawUrl?: string;
|
|
105
|
-
title: null | string;
|
|
106
|
-
url: string;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// @public (undocumented)
|
|
110
|
-
interface ResolveResult {
|
|
111
|
-
// (undocumented)
|
|
112
|
-
data: LinkSearchListItemData[];
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
// @public (undocumented)
|
|
116
|
-
export class UnauthenticatedError extends Error {
|
|
117
|
-
constructor(iconUrl: string, authUrl: string, description: string);
|
|
118
|
-
// (undocumented)
|
|
119
|
-
authUrl: string;
|
|
120
|
-
// (undocumented)
|
|
121
|
-
description: string;
|
|
122
|
-
// (undocumented)
|
|
123
|
-
iconUrl: string;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// (No @packageDocumentation comment for this package)
|
|
127
|
-
|
|
128
|
-
```
|