@atlaskit/link-picker 1.13.2 → 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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/link-picker
2
2
 
3
+ ## 1.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`3cbd9b63e96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3cbd9b63e96) - [ux] Added search for 1P tabs
8
+
9
+ ## 1.13.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`b4ed4bb728b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b4ed4bb728b) - EDM-4923: link picker display text label has been changed from Link description to Link display text
14
+
3
15
  ## 1.13.2
4
16
 
5
17
  ### Patch Changes
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
- ### Usage
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)
@@ -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;
@@ -59,18 +59,18 @@ exports.formMessages = formMessages;
59
59
  var linkTextMessages = (0, _reactIntlNext.defineMessages)({
60
60
  linkTextLabel: {
61
61
  id: 'fabric.linkPicker.linkTextLabel',
62
- defaultMessage: 'Add a description (optional)',
63
- description: 'Label for the link description input'
62
+ defaultMessage: 'Display text (optional)',
63
+ description: 'Label for the link display input'
64
64
  },
65
65
  linkTextAriaLabel: {
66
66
  id: 'fabric.linkPicker.linkTextAriaLabel',
67
- defaultMessage: 'Link description',
68
- description: 'Aria label for the link description input'
67
+ defaultMessage: 'Link display text',
68
+ description: 'Aria label for the link display input'
69
69
  },
70
70
  linkTextPlaceholder: {
71
71
  id: 'fabric.linkPicker.linkTextPlaceholder',
72
- defaultMessage: 'Give this link a title or description',
73
- description: 'Placeholder text for the link description input'
72
+ defaultMessage: 'Text to display',
73
+ description: 'Placeholder text for the link display input'
74
74
  },
75
75
  clearLinkText: {
76
76
  id: 'fabric.linkPicker.clearLinkText',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "sideEffects": false
5
5
  }
@@ -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;
@@ -48,18 +48,18 @@ export const formMessages = defineMessages({
48
48
  export const linkTextMessages = defineMessages({
49
49
  linkTextLabel: {
50
50
  id: 'fabric.linkPicker.linkTextLabel',
51
- defaultMessage: 'Add a description (optional)',
52
- description: 'Label for the link description input'
51
+ defaultMessage: 'Display text (optional)',
52
+ description: 'Label for the link display input'
53
53
  },
54
54
  linkTextAriaLabel: {
55
55
  id: 'fabric.linkPicker.linkTextAriaLabel',
56
- defaultMessage: 'Link description',
57
- description: 'Aria label for the link description input'
56
+ defaultMessage: 'Link display text',
57
+ description: 'Aria label for the link display input'
58
58
  },
59
59
  linkTextPlaceholder: {
60
60
  id: 'fabric.linkPicker.linkTextPlaceholder',
61
- defaultMessage: 'Give this link a title or description',
62
- description: 'Placeholder text for the link description input'
61
+ defaultMessage: 'Text to display',
62
+ description: 'Placeholder text for the link display input'
63
63
  },
64
64
  clearLinkText: {
65
65
  id: 'fabric.linkPicker.clearLinkText',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "sideEffects": false
5
5
  }
@@ -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;
@@ -48,18 +48,18 @@ export var formMessages = defineMessages({
48
48
  export var linkTextMessages = defineMessages({
49
49
  linkTextLabel: {
50
50
  id: 'fabric.linkPicker.linkTextLabel',
51
- defaultMessage: 'Add a description (optional)',
52
- description: 'Label for the link description input'
51
+ defaultMessage: 'Display text (optional)',
52
+ description: 'Label for the link display input'
53
53
  },
54
54
  linkTextAriaLabel: {
55
55
  id: 'fabric.linkPicker.linkTextAriaLabel',
56
- defaultMessage: 'Link description',
57
- description: 'Aria label for the link description input'
56
+ defaultMessage: 'Link display text',
57
+ description: 'Aria label for the link display input'
58
58
  },
59
59
  linkTextPlaceholder: {
60
60
  id: 'fabric.linkPicker.linkTextPlaceholder',
61
- defaultMessage: 'Give this link a title or description',
62
- description: 'Placeholder text for the link description input'
61
+ defaultMessage: 'Text to display',
62
+ description: 'Placeholder text for the link display input'
63
63
  },
64
64
  clearLinkText: {
65
65
  id: 'fabric.linkPicker.clearLinkText',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-picker",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "sideEffects": false
5
5
  }
@@ -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.13.2",
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": "^23.0.0",
77
- "@atlassian/link-picker-plugins": "^11.1.0",
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",