@atlaskit/link-picker 1.13.3 → 1.14.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 +6 -0
- package/README.md +1 -27
- package/dist/cjs/ui/index.js +4 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/ui/index.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,31 +1,5 @@
|
|
|
1
1
|
# Link Picker @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
-
> ⚠️ Currently under active development, use at your own risk ⚠️
|
|
4
|
-
|
|
5
3
|
The standalone link picker component allows users to insert relevant links without having to leave their current context.
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
```
|
|
10
|
-
import { LinkPicker } from '@atlaskit/link-picker';
|
|
11
|
-
|
|
12
|
-
const onSubmit = (href, title, displayText, inputMethod) => {...}
|
|
13
|
-
|
|
14
|
-
<LinkPicker onSubmit={onSubmit} />
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
### Props
|
|
19
|
-
|
|
20
|
-
```
|
|
21
|
-
{
|
|
22
|
-
onSubmit?: (
|
|
23
|
-
href: string,
|
|
24
|
-
title: string | undefined,
|
|
25
|
-
displayText: string | undefined,
|
|
26
|
-
inputMethod: LinkInputType,
|
|
27
|
-
) => void;
|
|
28
|
-
plugins?: [LinkPickerPlugin];
|
|
29
|
-
displayUrl?: string;
|
|
30
|
-
}
|
|
31
|
-
```
|
|
5
|
+
[Find examples and docs on Atlaskit](https://atlaskit.atlassian.com/packages/linking-platform/link-picker)
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.PACKAGE_DATA = exports.ComposedLinkPicker = void 0;
|
|
8
|
+
exports.default = exports.PACKAGE_DATA = exports.ComposedLinkPicker = void 0;
|
|
9
9
|
|
|
10
10
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
11
11
|
|
|
@@ -48,4 +48,6 @@ var ComposedLinkPicker = /*#__PURE__*/(0, _react.memo)(function (props) {
|
|
|
48
48
|
fallback: _loaderFallback.LoaderFallback
|
|
49
49
|
}, /*#__PURE__*/_react.default.createElement(LazyLinkPicker, props)))));
|
|
50
50
|
});
|
|
51
|
-
exports.ComposedLinkPicker = ComposedLinkPicker;
|
|
51
|
+
exports.ComposedLinkPicker = ComposedLinkPicker;
|
|
52
|
+
var _default = ComposedLinkPicker;
|
|
53
|
+
exports.default = _default;
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/ui/index.js
CHANGED
|
@@ -19,4 +19,5 @@ export const ComposedLinkPicker = /*#__PURE__*/memo(props => /*#__PURE__*/React.
|
|
|
19
19
|
data: PACKAGE_DATA
|
|
20
20
|
}, /*#__PURE__*/React.createElement(LinkPickerSessionProvider, null, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LazySuspense, {
|
|
21
21
|
fallback: LoaderFallback
|
|
22
|
-
}, /*#__PURE__*/React.createElement(LazyLinkPicker, props))))));
|
|
22
|
+
}, /*#__PURE__*/React.createElement(LazyLinkPicker, props))))));
|
|
23
|
+
export default ComposedLinkPicker;
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/ui/index.js
CHANGED
|
@@ -23,4 +23,5 @@ export var ComposedLinkPicker = /*#__PURE__*/memo(function (props) {
|
|
|
23
23
|
}, /*#__PURE__*/React.createElement(LinkPickerSessionProvider, null, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LazySuspense, {
|
|
24
24
|
fallback: LoaderFallback
|
|
25
25
|
}, /*#__PURE__*/React.createElement(LazyLinkPicker, props)))));
|
|
26
|
-
});
|
|
26
|
+
});
|
|
27
|
+
export default ComposedLinkPicker;
|
package/dist/esm/version.json
CHANGED
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ import { PackageMetaDataType } from '../analytics.codegen';
|
|
|
3
3
|
import { LinkPickerProps } from './link-picker';
|
|
4
4
|
export declare const PACKAGE_DATA: PackageMetaDataType;
|
|
5
5
|
export declare const ComposedLinkPicker: React.MemoExoticComponent<(props: LinkPickerProps) => JSX.Element>;
|
|
6
|
+
export default ComposedLinkPicker;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
"@atlaskit/visual-regression": "*",
|
|
74
74
|
"@atlaskit/webdriver-runner": "*",
|
|
75
75
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
76
|
-
"@atlassian/link-picker-atlassian-plugin": "^
|
|
77
|
-
"@atlassian/link-picker-plugins": "^
|
|
76
|
+
"@atlassian/link-picker-atlassian-plugin": "^24.0.0",
|
|
77
|
+
"@atlassian/link-picker-plugins": "^12.0.0",
|
|
78
78
|
"@atlassian/recent-work-client": "^1.6.0",
|
|
79
79
|
"@atlassian/search-provider": "^2.3.0",
|
|
80
80
|
"@testing-library/dom": "^8.17.1",
|