@atlaskit/link-picker 6.2.1 → 6.2.3
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 +23 -0
- package/dist/cjs/entry-points/loader-fallback.js +2 -2
- package/dist/cjs/ui/link-picker/search-results/link-search-error/index.js +2 -2
- package/dist/cjs/ui/link-picker/text-input/conditional-spotlight-target-wrapper/index.js +3 -2
- package/dist/cjs/ui/main.js +1 -1
- package/dist/es2019/entry-points/loader-fallback.js +1 -1
- package/dist/es2019/ui/link-picker/search-results/link-search-error/index.js +1 -1
- package/dist/es2019/ui/link-picker/text-input/conditional-spotlight-target-wrapper/index.js +2 -1
- package/dist/es2019/ui/main.js +1 -1
- package/dist/esm/entry-points/loader-fallback.js +1 -1
- package/dist/esm/ui/link-picker/search-results/link-search-error/index.js +1 -1
- package/dist/esm/ui/link-picker/text-input/conditional-spotlight-target-wrapper/index.js +2 -1
- package/dist/esm/ui/main.js +1 -1
- package/dist/types/entry-points/loader-fallback.d.ts +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/link-picker
|
|
2
2
|
|
|
3
|
+
## 6.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b1cf9e336f0f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b1cf9e336f0f0) -
|
|
8
|
+
Migrate consumers of @atlaskit/atlassian-context from barrel imports to direct subpath imports,
|
|
9
|
+
and remove the deprecated `./domain-lookup`, `./generalized-domain-lookup`, and `./perimeter`
|
|
10
|
+
entry-point exports (all symbols remain available via their per-export subpaths).
|
|
11
|
+
|
|
12
|
+
Also extends the `no-restricted-fedramp-imports` ESLint rule to cover the new
|
|
13
|
+
`@atlaskit/atlassian-context/is-fedramp` and `@atlaskit/atlassian-context/is-isolated-cloud`
|
|
14
|
+
subpaths, so the FedRamp/IsolatedCloud deprecation guardrail keeps firing after the migration.
|
|
15
|
+
|
|
16
|
+
- [`f2ec2ee8b495e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2ec2ee8b495e) -
|
|
17
|
+
Update `@atlaskit/spotlight` imports to use de-barrelled entry-points.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
20
|
+
## 6.2.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 6.2.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "LoaderFallback", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function get() {
|
|
9
|
-
return
|
|
9
|
+
return _index.LoaderFallback;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
|
-
var
|
|
12
|
+
var _index = require("../ui/loader-fallback/index");
|
|
@@ -8,7 +8,7 @@ exports.testIds = exports.messages = exports.LinkSearchError = exports.CONTACT_S
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _reactIntl = require("react-intl");
|
|
11
|
-
var
|
|
11
|
+
var _isFedramp = require("@atlaskit/atlassian-context/is-fedramp");
|
|
12
12
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
13
13
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
14
14
|
var _genericErrorSvg = require("../../../../common/generic-error-svg");
|
|
@@ -45,7 +45,7 @@ var LinkSearchError = exports.LinkSearchError = function LinkSearchError(_ref) {
|
|
|
45
45
|
values: {
|
|
46
46
|
a: function a(label) {
|
|
47
47
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
48
|
-
href: (0,
|
|
48
|
+
href: (0, _isFedramp.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
49
49
|
target: "_blank",
|
|
50
50
|
rel: "noopener noreferrer"
|
|
51
51
|
}, label);
|
|
@@ -6,12 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ConditionalSpotlightTargetWrapper = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _popoverProvider = require("@atlaskit/spotlight/popover-provider");
|
|
10
|
+
var _popoverTarget = require("@atlaskit/spotlight/popover-target");
|
|
10
11
|
var ConditionalSpotlightTargetWrapper = exports.ConditionalSpotlightTargetWrapper = function ConditionalSpotlightTargetWrapper(_ref) {
|
|
11
12
|
var spotlightTargetName = _ref.spotlightTargetName,
|
|
12
13
|
children = _ref.children;
|
|
13
14
|
if (spotlightTargetName) {
|
|
14
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_popoverProvider.PopoverProvider, null, /*#__PURE__*/_react.default.createElement(_popoverTarget.PopoverTarget, null, children));
|
|
15
16
|
}
|
|
16
17
|
return children;
|
|
17
18
|
};
|
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.2.
|
|
29
|
+
packageVersion: "6.2.2" || '',
|
|
30
30
|
componentName: _constants.COMPONENT_NAME,
|
|
31
31
|
source: _constants.COMPONENT_NAME
|
|
32
32
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LoaderFallback } from '../ui/loader-fallback';
|
|
1
|
+
export { LoaderFallback } from '../ui/loader-fallback/index';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
|
4
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
4
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
5
5
|
import Button from '@atlaskit/button/new';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
7
7
|
import { GenericErrorSVG } from '../../../../common/generic-error-svg';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PopoverProvider
|
|
2
|
+
import { PopoverProvider } from '@atlaskit/spotlight/popover-provider';
|
|
3
|
+
import { PopoverTarget } from '@atlaskit/spotlight/popover-target';
|
|
3
4
|
export const ConditionalSpotlightTargetWrapper = ({
|
|
4
5
|
spotlightTargetName,
|
|
5
6
|
children
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LoaderFallback } from '../ui/loader-fallback';
|
|
1
|
+
export { LoaderFallback } from '../ui/loader-fallback/index';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';
|
|
4
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
4
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
5
5
|
import Button from '@atlaskit/button/new';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
7
7
|
import { GenericErrorSVG } from '../../../../common/generic-error-svg';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { PopoverProvider
|
|
2
|
+
import { PopoverProvider } from '@atlaskit/spotlight/popover-provider';
|
|
3
|
+
import { PopoverTarget } from '@atlaskit/spotlight/popover-target';
|
|
3
4
|
export var ConditionalSpotlightTargetWrapper = function ConditionalSpotlightTargetWrapper(_ref) {
|
|
4
5
|
var spotlightTargetName = _ref.spotlightTargetName,
|
|
5
6
|
children = _ref.children;
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { LoaderFallback } from '../ui/loader-fallback';
|
|
1
|
+
export { LoaderFallback } from '../ui/loader-fallback/index';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-picker",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.3",
|
|
4
4
|
"description": "Standalone link picker",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
@@ -46,27 +46,27 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@atlaskit/afm-i18n-platform-linking-platform-link-picker": "2.7.0",
|
|
49
|
-
"@atlaskit/analytics-next": "^12.
|
|
50
|
-
"@atlaskit/atlassian-context": "^1.
|
|
49
|
+
"@atlaskit/analytics-next": "^12.3.0",
|
|
50
|
+
"@atlaskit/atlassian-context": "^1.1.0",
|
|
51
51
|
"@atlaskit/button": "^24.3.0",
|
|
52
52
|
"@atlaskit/css": "^1.0.0",
|
|
53
53
|
"@atlaskit/form": "^16.1.0",
|
|
54
54
|
"@atlaskit/frontend-utilities": "^4.1.0",
|
|
55
|
-
"@atlaskit/heading": "^6.
|
|
56
|
-
"@atlaskit/icon": "^
|
|
55
|
+
"@atlaskit/heading": "^6.2.0",
|
|
56
|
+
"@atlaskit/icon": "^37.0.0",
|
|
57
57
|
"@atlaskit/intl-messages-provider": "^4.1.0",
|
|
58
|
-
"@atlaskit/link": "^4.
|
|
59
|
-
"@atlaskit/link-provider": "^5.
|
|
58
|
+
"@atlaskit/link": "^4.3.0",
|
|
59
|
+
"@atlaskit/link-provider": "^5.2.0",
|
|
60
60
|
"@atlaskit/linking-common": "^11.0.0",
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
62
|
-
"@atlaskit/primitives": "^20.
|
|
62
|
+
"@atlaskit/primitives": "^20.6.0",
|
|
63
63
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
64
|
-
"@atlaskit/smart-card": "^45.
|
|
64
|
+
"@atlaskit/smart-card": "^45.9.0",
|
|
65
65
|
"@atlaskit/spinner": "^20.1.0",
|
|
66
|
-
"@atlaskit/spotlight": "^
|
|
66
|
+
"@atlaskit/spotlight": "^3.0.0",
|
|
67
67
|
"@atlaskit/tabs": "^20.1.0",
|
|
68
68
|
"@atlaskit/textfield": "^9.1.0",
|
|
69
|
-
"@atlaskit/tokens": "^15.
|
|
69
|
+
"@atlaskit/tokens": "^15.8.0",
|
|
70
70
|
"@atlaskit/tooltip": "^23.1.0",
|
|
71
71
|
"@atlaskit/ufo": "^1.0.0",
|
|
72
72
|
"@atlaskit/visually-hidden": "^4.1.0",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"@atlaskit/link-test-helpers": "^11.0.0",
|
|
92
92
|
"@atlassian/a11y-jest-testing": "^0.13.0",
|
|
93
93
|
"@atlassian/a11y-playwright-testing": "^0.10.0",
|
|
94
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
94
|
+
"@atlassian/feature-flags-test-utils": "^1.2.0",
|
|
95
95
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
96
96
|
"@testing-library/dom": "^10.1.0",
|
|
97
97
|
"@testing-library/jest-dom": "^6.4.5",
|