@atlaskit/link-picker 6.8.0 → 6.8.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/common/generic-error-svg/index.js +1 -1
- package/dist/cjs/common/ui/empty-state/index.js +1 -1
- package/dist/cjs/common/ui/min-height-container/index.js +1 -1
- package/dist/cjs/ui/error-boundary/error-boundary-fallback/index.js +1 -1
- package/dist/cjs/ui/link-picker/form-footer/index.js +1 -1
- package/dist/cjs/ui/link-picker/index.js +3 -3
- package/dist/cjs/ui/link-picker/search-results/index.js +1 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/index.js +1 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +1 -1
- package/dist/cjs/ui/link-picker/search-results/link-search-list/list-item/index.js +1 -1
- package/dist/cjs/ui/link-picker/search-results/scrolling-tabs/index.js +1 -1
- package/dist/cjs/ui/link-picker/search-results/search-results-container/index.js +1 -1
- package/dist/cjs/ui/link-picker/text-input/index.js +1 -1
- package/dist/cjs/ui/loader-fallback/index.js +1 -1
- package/dist/cjs/ui/main.js +2 -2
- package/dist/es2019/common/generic-error-svg/index.js +1 -1
- package/dist/es2019/common/ui/empty-state/index.js +1 -1
- package/dist/es2019/common/ui/min-height-container/index.js +1 -1
- package/dist/es2019/ui/error-boundary/error-boundary-fallback/index.js +1 -1
- package/dist/es2019/ui/link-picker/form-footer/index.js +1 -1
- package/dist/es2019/ui/link-picker/index.js +2 -2
- package/dist/es2019/ui/link-picker/search-results/index.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/index.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-list/list-item/index.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/scrolling-tabs/index.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/search-results-container/index.js +1 -1
- package/dist/es2019/ui/link-picker/text-input/index.js +1 -1
- package/dist/es2019/ui/loader-fallback/index.js +1 -1
- package/dist/es2019/ui/main.js +2 -2
- package/dist/esm/common/generic-error-svg/index.js +1 -1
- package/dist/esm/common/ui/empty-state/index.js +1 -1
- package/dist/esm/common/ui/min-height-container/index.js +1 -1
- package/dist/esm/ui/error-boundary/error-boundary-fallback/index.js +1 -1
- package/dist/esm/ui/link-picker/form-footer/index.js +1 -1
- package/dist/esm/ui/link-picker/index.js +2 -2
- package/dist/esm/ui/link-picker/search-results/index.js +1 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/index.js +1 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/link-search-no-results/no-results-svg/index.js +1 -1
- package/dist/esm/ui/link-picker/search-results/link-search-list/list-item/index.js +1 -1
- package/dist/esm/ui/link-picker/search-results/scrolling-tabs/index.js +1 -1
- package/dist/esm/ui/link-picker/search-results/search-results-container/index.js +1 -1
- package/dist/esm/ui/link-picker/text-input/index.js +1 -1
- package/dist/esm/ui/loader-fallback/index.js +1 -1
- package/dist/esm/ui/main.js +2 -2
- package/dist/types/common/types.d.ts +1 -1
- package/package.json +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -19,7 +19,7 @@ var _reactIntl = require("react-intl");
|
|
|
19
19
|
var _useCallbackRef = require("use-callback-ref");
|
|
20
20
|
var _uuid = require("uuid");
|
|
21
21
|
var _useAnalyticsEvents2 = require("@atlaskit/analytics-next/useAnalyticsEvents");
|
|
22
|
-
var
|
|
22
|
+
var _client = _interopRequireDefault(require("@atlaskit/link-provider/client"));
|
|
23
23
|
var _url2 = require("@atlaskit/linking-common/url");
|
|
24
24
|
var _userAgent = require("@atlaskit/linking-common/user-agent");
|
|
25
25
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
@@ -91,7 +91,7 @@ var LinkInputField = (0, _analytics.withInputFieldTracking)(_textInput.TextInput
|
|
|
91
91
|
});
|
|
92
92
|
});
|
|
93
93
|
var DisplayTextInputField = (0, _analytics.withInputFieldTracking)(_textInput.TextInput, 'displayText');
|
|
94
|
-
var client = new
|
|
94
|
+
var client = new _client.default();
|
|
95
95
|
var LinkPicker = exports.LinkPicker = (0, _analytics.withLinkPickerAnalyticsContext)( /*#__PURE__*/(0, _react.memo)(function (_ref) {
|
|
96
96
|
var _customMessages$linkH;
|
|
97
97
|
var onSubmit = _ref.onSubmit,
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* main.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -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.8.0" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -8,7 +8,7 @@ import { useMergeRefs } from 'use-callback-ref';
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
9
9
|
import { v4 as uuid } from 'uuid';
|
|
10
10
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
11
|
-
import
|
|
11
|
+
import CardClient from '@atlaskit/link-provider/client';
|
|
12
12
|
import { isSafeUrl, normalizeUrl } from '@atlaskit/linking-common/url';
|
|
13
13
|
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* main.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./main.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -16,7 +16,7 @@ export const testIds = {
|
|
|
16
16
|
};
|
|
17
17
|
export const PACKAGE_DATA = {
|
|
18
18
|
packageName: "@atlaskit/link-picker" || '',
|
|
19
|
-
packageVersion: "6.
|
|
19
|
+
packageVersion: "6.8.0" || '',
|
|
20
20
|
componentName: COMPONENT_NAME,
|
|
21
21
|
source: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["isLoading", "isSubmitting", "error", "url", "queryState", "items", "isEditing", "onCancel", "action", "customSubmitButtonLabel", "submitMessageId", "hideSubmitButton", "disableManualUrlInsert", "className"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
4
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
@@ -14,7 +14,7 @@ import { useMergeRefs } from 'use-callback-ref';
|
|
|
14
14
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
15
15
|
import { v4 as uuid } from 'uuid';
|
|
16
16
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
|
|
17
|
-
import
|
|
17
|
+
import CardClient from '@atlaskit/link-provider/client';
|
|
18
18
|
import { isSafeUrl, normalizeUrl } from '@atlaskit/linking-common/url';
|
|
19
19
|
import { browser } from '@atlaskit/linking-common/user-agent';
|
|
20
20
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./index.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* index.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
var _excluded = ["name", "label", "autoFocus", "onRedo", "onUndo", "onKeyDown", "onClear", "clearLabel", "error", "spotlightTargetName", "inputRef", "isRequired", "helperMessage"];
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* main.tsx generated by @compiled/babel-plugin v3.0.1 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _extends from "@babel/runtime/helpers/extends";
|
|
4
4
|
import "./main.compiled.css";
|
|
@@ -17,7 +17,7 @@ export var testIds = {
|
|
|
17
17
|
};
|
|
18
18
|
export var PACKAGE_DATA = {
|
|
19
19
|
packageName: "@atlaskit/link-picker" || '',
|
|
20
|
-
packageVersion: "6.
|
|
20
|
+
packageVersion: "6.8.0" || '',
|
|
21
21
|
componentName: COMPONENT_NAME,
|
|
22
22
|
source: COMPONENT_NAME
|
|
23
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ReactNode, Ref } from 'react';
|
|
2
2
|
import type { MessageDescriptor } from 'react-intl';
|
|
3
3
|
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
4
|
-
import type { CardAppearance } from '@atlaskit/linking-common';
|
|
4
|
+
import type { CardAppearance } from '@atlaskit/linking-common/types';
|
|
5
5
|
export type LinkInputType = 'manual' | 'typeAhead';
|
|
6
6
|
export interface LinkSearchListItemData {
|
|
7
7
|
/** Unique identifiable attribute for the item */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.1",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -48,31 +48,31 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
|
-
"codegen-analytics": "yarn run ts-analytics-codegen --command='
|
|
51
|
+
"codegen-analytics": "yarn run ts-analytics-codegen --command='afm workspace @atlaskit/link-picker codegen-analytics'"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.242.0",
|
|
55
55
|
"@atlaskit/analytics-next": "^12.5.0",
|
|
56
|
-
"@atlaskit/atlassian-context": "^1.
|
|
56
|
+
"@atlaskit/atlassian-context": "^1.2.0",
|
|
57
57
|
"@atlaskit/button": "^25.3.0",
|
|
58
58
|
"@atlaskit/css": "^1.1.0",
|
|
59
59
|
"@atlaskit/form": "^17.2.0",
|
|
60
|
-
"@atlaskit/frontend-utilities": "^4.
|
|
60
|
+
"@atlaskit/frontend-utilities": "^4.5.0",
|
|
61
61
|
"@atlaskit/heading": "^7.2.0",
|
|
62
|
-
"@atlaskit/icon": "^37.
|
|
62
|
+
"@atlaskit/icon": "^37.7.0",
|
|
63
63
|
"@atlaskit/intl-messages-provider": "^4.3.0",
|
|
64
64
|
"@atlaskit/link": "^5.1.0",
|
|
65
|
-
"@atlaskit/link-provider": "^5.
|
|
66
|
-
"@atlaskit/linking-common": "^12.
|
|
65
|
+
"@atlaskit/link-provider": "^5.6.0",
|
|
66
|
+
"@atlaskit/linking-common": "^12.2.0",
|
|
67
67
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
68
68
|
"@atlaskit/primitives": "^22.5.0",
|
|
69
69
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
70
|
-
"@atlaskit/smart-card": "^45.
|
|
70
|
+
"@atlaskit/smart-card": "^45.23.0",
|
|
71
71
|
"@atlaskit/spinner": "^20.4.0",
|
|
72
72
|
"@atlaskit/spotlight": "^4.2.0",
|
|
73
73
|
"@atlaskit/tabs": "^21.2.0",
|
|
74
74
|
"@atlaskit/textfield": "^10.2.0",
|
|
75
|
-
"@atlaskit/tokens": "^
|
|
75
|
+
"@atlaskit/tokens": "^17.0.0",
|
|
76
76
|
"@atlaskit/tooltip": "^24.3.0",
|
|
77
77
|
"@atlaskit/ufo": "^1.2.0",
|
|
78
78
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"@af/integration-testing": "workspace:^",
|
|
95
95
|
"@af/visual-regression": "workspace:^",
|
|
96
96
|
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
97
|
-
"@atlaskit/link-analytics": "^12.
|
|
97
|
+
"@atlaskit/link-analytics": "^12.4.0",
|
|
98
98
|
"@atlaskit/link-test-helpers": "^11.2.0",
|
|
99
99
|
"@atlaskit/popup": "^6.3.0",
|
|
100
100
|
"@atlaskit/range": "^12.2.0",
|
|
@@ -103,9 +103,10 @@
|
|
|
103
103
|
"@atlassian/a11y-playwright-testing": "^0.12.0",
|
|
104
104
|
"@atlassian/feature-flags-test-utils": "^1.3.0",
|
|
105
105
|
"@atlassian/link-picker-atlassian-plugin": "^39.7.0",
|
|
106
|
-
"@atlassian/link-picker-plugins": "^32.
|
|
107
|
-
"@atlassian/recent-work-client": "^2.
|
|
106
|
+
"@atlassian/link-picker-plugins": "^32.4.0",
|
|
107
|
+
"@atlassian/recent-work-client": "^2.23.0",
|
|
108
108
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
109
|
+
"@atlassian/workbench": "workspace:*",
|
|
109
110
|
"@testing-library/dom": "^10.1.0",
|
|
110
111
|
"@testing-library/jest-dom": "^6.4.5",
|
|
111
112
|
"@testing-library/react": "^16.3.0",
|