@atlaskit/link-picker 6.5.0 → 6.6.0
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 +11 -0
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/ui/main.js +1 -1
- package/package.json +33 -33
- package/report.api.md +0 -160
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 6.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
|
|
8
|
+
Remove stale API report artifacts from published Platform packages.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 6.5.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
package/dist/cjs/ui/main.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: "6.
|
|
29
|
+
packageVersion: "6.5.0" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
package/dist/es2019/ui/main.js
CHANGED
package/dist/esm/ui/main.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -49,30 +49,30 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.201.0",
|
|
52
|
-
"@atlaskit/analytics-next": "^12.
|
|
52
|
+
"@atlaskit/analytics-next": "^12.5.0",
|
|
53
53
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
54
|
-
"@atlaskit/button": "^25.
|
|
55
|
-
"@atlaskit/css": "^1.
|
|
56
|
-
"@atlaskit/form": "^17.
|
|
57
|
-
"@atlaskit/frontend-utilities": "^4.
|
|
58
|
-
"@atlaskit/heading": "^7.
|
|
59
|
-
"@atlaskit/icon": "^37.
|
|
60
|
-
"@atlaskit/intl-messages-provider": "^4.
|
|
54
|
+
"@atlaskit/button": "^25.3.0",
|
|
55
|
+
"@atlaskit/css": "^1.1.0",
|
|
56
|
+
"@atlaskit/form": "^17.2.0",
|
|
57
|
+
"@atlaskit/frontend-utilities": "^4.2.0",
|
|
58
|
+
"@atlaskit/heading": "^7.2.0",
|
|
59
|
+
"@atlaskit/icon": "^37.6.0",
|
|
60
|
+
"@atlaskit/intl-messages-provider": "^4.3.0",
|
|
61
61
|
"@atlaskit/link": "^5.1.0",
|
|
62
|
-
"@atlaskit/link-provider": "^5.
|
|
63
|
-
"@atlaskit/linking-common": "^12.
|
|
64
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
65
|
-
"@atlaskit/primitives": "^22.
|
|
62
|
+
"@atlaskit/link-provider": "^5.5.0",
|
|
63
|
+
"@atlaskit/linking-common": "^12.1.0",
|
|
64
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
65
|
+
"@atlaskit/primitives": "^22.5.0",
|
|
66
66
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
67
|
-
"@atlaskit/smart-card": "^45.
|
|
68
|
-
"@atlaskit/spinner": "^20.
|
|
67
|
+
"@atlaskit/smart-card": "^45.19.0",
|
|
68
|
+
"@atlaskit/spinner": "^20.4.0",
|
|
69
69
|
"@atlaskit/spotlight": "^4.2.0",
|
|
70
|
-
"@atlaskit/tabs": "^21.
|
|
71
|
-
"@atlaskit/textfield": "^10.
|
|
72
|
-
"@atlaskit/tokens": "^16.
|
|
73
|
-
"@atlaskit/tooltip": "^24.
|
|
74
|
-
"@atlaskit/ufo": "^1.
|
|
75
|
-
"@atlaskit/visually-hidden": "^4.
|
|
70
|
+
"@atlaskit/tabs": "^21.2.0",
|
|
71
|
+
"@atlaskit/textfield": "^10.2.0",
|
|
72
|
+
"@atlaskit/tokens": "^16.10.0",
|
|
73
|
+
"@atlaskit/tooltip": "^24.3.0",
|
|
74
|
+
"@atlaskit/ufo": "^1.1.0",
|
|
75
|
+
"@atlaskit/visually-hidden": "^4.4.0",
|
|
76
76
|
"@babel/runtime": "^7.0.0",
|
|
77
77
|
"@compiled/react": "^1.0.2",
|
|
78
78
|
"@react-loosely-lazy/manifest": "^1.0.0",
|
|
@@ -90,18 +90,18 @@
|
|
|
90
90
|
"@af/analytics-codegen": "workspace:^",
|
|
91
91
|
"@af/integration-testing": "workspace:^",
|
|
92
92
|
"@af/visual-regression": "workspace:^",
|
|
93
|
-
"@atlaskit/dropdown-menu": "^18.
|
|
94
|
-
"@atlaskit/link-analytics": "^12.
|
|
95
|
-
"@atlaskit/link-test-helpers": "^11.
|
|
96
|
-
"@atlaskit/popup": "^6.
|
|
97
|
-
"@atlaskit/range": "^12.
|
|
98
|
-
"@atlaskit/toggle": "^17.
|
|
99
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
100
|
-
"@atlassian/a11y-playwright-testing": "^0.
|
|
101
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
102
|
-
"@atlassian/link-picker-atlassian-plugin": "^39.
|
|
103
|
-
"@atlassian/link-picker-plugins": "^32.
|
|
104
|
-
"@atlassian/recent-work-client": "^2.
|
|
93
|
+
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
94
|
+
"@atlaskit/link-analytics": "^12.3.0",
|
|
95
|
+
"@atlaskit/link-test-helpers": "^11.2.0",
|
|
96
|
+
"@atlaskit/popup": "^6.3.0",
|
|
97
|
+
"@atlaskit/range": "^12.2.0",
|
|
98
|
+
"@atlaskit/toggle": "^17.3.0",
|
|
99
|
+
"@atlassian/a11y-jest-testing": "^0.17.0",
|
|
100
|
+
"@atlassian/a11y-playwright-testing": "^0.12.0",
|
|
101
|
+
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
102
|
+
"@atlassian/link-picker-atlassian-plugin": "^39.5.0",
|
|
103
|
+
"@atlassian/link-picker-plugins": "^32.3.0",
|
|
104
|
+
"@atlassian/recent-work-client": "^2.22.0",
|
|
105
105
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
106
106
|
"@testing-library/dom": "^10.1.0",
|
|
107
107
|
"@testing-library/jest-dom": "^6.4.5",
|
package/report.api.md
DELETED
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
<!-- API Report Version: 2.3 -->
|
|
2
|
-
|
|
3
|
-
## API Report File for "@atlaskit/link-picker"
|
|
4
|
-
|
|
5
|
-
> Do not edit this file. This report is auto-generated using
|
|
6
|
-
> [API Extractor](https://api-extractor.com/).
|
|
7
|
-
> [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
|
|
8
|
-
|
|
9
|
-
### Table of contents
|
|
10
|
-
|
|
11
|
-
- [Main Entry Types](#main-entry-types)
|
|
12
|
-
- [Peer Dependencies](#peer-dependencies)
|
|
13
|
-
|
|
14
|
-
### Main Entry Types
|
|
15
|
-
|
|
16
|
-
<!--SECTION START: Main Entry Types-->
|
|
17
|
-
|
|
18
|
-
```ts
|
|
19
|
-
/// <reference types="react" />
|
|
20
|
-
|
|
21
|
-
import { jsx } from '@compiled/react';
|
|
22
|
-
import { MessageDescriptor } from 'react-intl';
|
|
23
|
-
import { default as React_2 } from 'react';
|
|
24
|
-
import { ReactNode } from 'react';
|
|
25
|
-
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
26
|
-
|
|
27
|
-
// @public (undocumented)
|
|
28
|
-
export type LinkInputType = 'manual' | 'typeAhead';
|
|
29
|
-
|
|
30
|
-
// @public (undocumented)
|
|
31
|
-
export const LinkPicker: React_2.MemoExoticComponent<(props: LinkPickerProps) => jsx.JSX.Element>;
|
|
32
|
-
|
|
33
|
-
// @public (undocumented)
|
|
34
|
-
export interface LinkPickerPlugin {
|
|
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;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
// @public (undocumented)
|
|
51
|
-
export interface LinkPickerPluginAction {
|
|
52
|
-
// (undocumented)
|
|
53
|
-
callback: () => void;
|
|
54
|
-
// (undocumented)
|
|
55
|
-
label: MessageDescriptor | string;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// @public (undocumented)
|
|
59
|
-
export type LinkPickerPluginEmptyStateNoResults = () => ReactNode;
|
|
60
|
-
|
|
61
|
-
// @public (undocumented)
|
|
62
|
-
export type LinkPickerPluginErrorFallback = (error: unknown, retry: () => void) => ReactNode;
|
|
63
|
-
|
|
64
|
-
// @public (undocumented)
|
|
65
|
-
export interface LinkPickerProps {
|
|
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;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
// @public (undocumented)
|
|
89
|
-
export interface LinkPickerState {
|
|
90
|
-
query: string;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// @public (undocumented)
|
|
94
|
-
export interface LinkSearchListItemData {
|
|
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;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
// @public (undocumented)
|
|
114
|
-
interface Meta {
|
|
115
|
-
inputMethod: LinkInputType;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
// @public (undocumented)
|
|
119
|
-
interface OnSubmitParameter {
|
|
120
|
-
displayText: null | string;
|
|
121
|
-
meta: Meta;
|
|
122
|
-
rawUrl?: string;
|
|
123
|
-
title: null | string;
|
|
124
|
-
url: string;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
// @public (undocumented)
|
|
128
|
-
interface ResolveResult {
|
|
129
|
-
// (undocumented)
|
|
130
|
-
data: LinkSearchListItemData[];
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
// @public (undocumented)
|
|
134
|
-
export class UnauthenticatedError extends Error {
|
|
135
|
-
constructor(iconUrl: string, authUrl: string, description: string);
|
|
136
|
-
// (undocumented)
|
|
137
|
-
authUrl: string;
|
|
138
|
-
// (undocumented)
|
|
139
|
-
description: string;
|
|
140
|
-
// (undocumented)
|
|
141
|
-
iconUrl: string;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
// (No @packageDocumentation comment for this package)
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
<!--SECTION END: Main Entry Types-->
|
|
148
|
-
|
|
149
|
-
### Peer Dependencies
|
|
150
|
-
|
|
151
|
-
<!--SECTION START: Peer Dependencies-->
|
|
152
|
-
|
|
153
|
-
```json
|
|
154
|
-
{
|
|
155
|
-
"react": "^16.8.0",
|
|
156
|
-
"react-intl": "npm:react-intl@^5.18.1"
|
|
157
|
-
}
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
<!--SECTION END: Peer Dependencies-->
|