@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e3f36b94557`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f36b94557) - Inlines svg assets directly into the UI
8
+
3
9
  ## 1.6.0
4
10
 
5
11
  ### Minor Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.6.0",
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.3.5",
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. It is a report generated by [API Extractor](https://api-extractor.com/).
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.FC<
16
- WithIntlProps<WrappedComponentProps<'intl'> & LinkPickerProps>
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. */