@atlaskit/link-picker 1.6.0 → 1.6.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 +6 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
- package/report.api.md +13 -11
package/CHANGELOG.md
CHANGED
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/activity-provider": "^2.3.2",
|
|
56
56
|
"@atlaskit/docs": "*",
|
|
57
57
|
"@atlaskit/link-test-helpers": "^1.3.0",
|
|
58
|
-
"@atlaskit/popup": "^1.
|
|
58
|
+
"@atlaskit/popup": "^1.4.0",
|
|
59
59
|
"@atlaskit/ssr": "*",
|
|
60
60
|
"@atlaskit/toggle": "^12.4.0",
|
|
61
61
|
"@atlaskit/visual-regression": "*",
|
package/report.api.md
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/link-picker"
|
|
1
|
+
## API Report File for "@atlaskit/link-picker".
|
|
2
2
|
|
|
3
|
-
> Do not edit this file.
|
|
3
|
+
> Do not edit this file. This report is auto-generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
[Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
4
6
|
|
|
5
7
|
```ts
|
|
6
8
|
/// <reference types="react" />
|
|
7
9
|
|
|
8
10
|
import { MessageDescriptor } from 'react-intl-next';
|
|
9
11
|
import { default as React_2 } from 'react';
|
|
10
|
-
import { WithIntlProps } from 'react-intl-next';
|
|
11
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
12
12
|
|
|
13
13
|
export declare type LinkInputType = 'manual' | 'typeAhead';
|
|
14
14
|
|
|
15
|
-
export declare const LinkPicker: React_2.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
WrappedComponent: React_2.ComponentType<
|
|
19
|
-
WrappedComponentProps<'intl'> & LinkPickerProps
|
|
20
|
-
>;
|
|
21
|
-
};
|
|
15
|
+
export declare const LinkPicker: React_2.MemoExoticComponent<(
|
|
16
|
+
props: LinkPickerProps,
|
|
17
|
+
) => JSX.Element>;
|
|
22
18
|
|
|
23
19
|
export declare interface LinkPickerPlugin {
|
|
20
|
+
/** Uniquely identify the tab */
|
|
21
|
+
tabKey?: string;
|
|
22
|
+
/** Human-readable label for the plugin */
|
|
23
|
+
tabTitle?: string;
|
|
24
24
|
resolve: (
|
|
25
25
|
state: LinkPickerState,
|
|
26
26
|
) => Promise<ResolveResult> | AsyncGenerator<ResolveResult, ResolveResult>;
|
|
@@ -31,6 +31,8 @@ export declare interface LinkPickerProps {
|
|
|
31
31
|
onSubmit: (arg: OnSubmitParameter) => void;
|
|
32
32
|
/** Callback to fire when the cancel button is clicked. */
|
|
33
33
|
onCancel: () => void;
|
|
34
|
+
/** Callback to fire when content is changed inside the link picker e.g. items, when loading, tabs */
|
|
35
|
+
onContentResize?: () => void;
|
|
34
36
|
/** The url of the linked resource for editing. */
|
|
35
37
|
url?: string;
|
|
36
38
|
/** The desired text to be displayed alternatively to the title of the linked resource for editing. */
|