@atlaskit/link-create 6.1.1 → 6.1.2
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 +15 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/ui/error-boundary-ui/index.js +2 -2
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/common/ui/error-boundary-ui/index.js +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/ui/error-boundary-ui/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 6.1.2
|
|
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
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 6.1.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -16,7 +16,7 @@ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
16
16
|
var LINK_CREATE_FORM_POST_CREATE_FIELD = exports.LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
17
17
|
var PACKAGE_DATA = exports.PACKAGE_DATA = {
|
|
18
18
|
packageName: "@atlaskit/link-create" || '',
|
|
19
|
-
packageVersion: "6.1.
|
|
19
|
+
packageVersion: "6.1.1" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -8,7 +8,7 @@ exports.ErrorBoundaryUI = exports.CONTACT_SUPPORT_LINK_FEDRAMP = exports.CONTACT
|
|
|
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 _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
13
13
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
14
14
|
var _messages = _interopRequireDefault(require("../../messages"));
|
|
@@ -27,7 +27,7 @@ var ErrorBoundaryUI = exports.ErrorBoundaryUI = function ErrorBoundaryUI() {
|
|
|
27
27
|
values: {
|
|
28
28
|
a: function a(label) {
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
30
|
-
href: (0,
|
|
30
|
+
href: (0, _isFedramp.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
31
31
|
target: "_blank",
|
|
32
32
|
rel: "noopener noreferrer"
|
|
33
33
|
}, label);
|
|
@@ -10,7 +10,7 @@ export const CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
10
10
|
export const LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
11
11
|
export const PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/link-create" || '',
|
|
13
|
-
packageVersion: "6.1.
|
|
13
|
+
packageVersion: "6.1.1" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
4
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
4
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
5
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
7
7
|
import commonMessages from '../../messages';
|
|
@@ -10,7 +10,7 @@ export var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
|
|
|
10
10
|
export var LINK_CREATE_FORM_POST_CREATE_FIELD = '__post_create__';
|
|
11
11
|
export var PACKAGE_DATA = {
|
|
12
12
|
packageName: "@atlaskit/link-create" || '',
|
|
13
|
-
packageVersion: "6.1.
|
|
13
|
+
packageVersion: "6.1.1" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
4
|
-
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
4
|
+
import { isFedRamp } from '@atlaskit/atlassian-context/is-fedramp';
|
|
5
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
7
7
|
import commonMessages from '../../messages';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"atlaskit:src": "src/index.ts",
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/afm-i18n-platform-linking-platform-link-create": "2.7.0",
|
|
35
|
-
"@atlaskit/analytics-next": "^12.
|
|
36
|
-
"@atlaskit/atlassian-context": "^1.
|
|
35
|
+
"@atlaskit/analytics-next": "^12.3.0",
|
|
36
|
+
"@atlaskit/atlassian-context": "^1.1.0",
|
|
37
37
|
"@atlaskit/button": "^24.3.0",
|
|
38
38
|
"@atlaskit/css": "^1.0.0",
|
|
39
39
|
"@atlaskit/empty-state": "^11.1.0",
|
|
@@ -41,19 +41,19 @@
|
|
|
41
41
|
"@atlaskit/icon": "^37.0.0",
|
|
42
42
|
"@atlaskit/icon-file-type": "^8.1.0",
|
|
43
43
|
"@atlaskit/intl-messages-provider": "^4.1.0",
|
|
44
|
-
"@atlaskit/link": "^4.
|
|
44
|
+
"@atlaskit/link": "^4.3.0",
|
|
45
45
|
"@atlaskit/linking-common": "^11.0.0",
|
|
46
46
|
"@atlaskit/modal-dialog": "^16.1.0",
|
|
47
47
|
"@atlaskit/object": "^2.2.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
49
|
-
"@atlaskit/primitives": "^20.
|
|
49
|
+
"@atlaskit/primitives": "^20.6.0",
|
|
50
50
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
51
51
|
"@atlaskit/select": "^22.5.0",
|
|
52
52
|
"@atlaskit/smart-user-picker": "^11.0.0",
|
|
53
53
|
"@atlaskit/spinner": "^20.1.0",
|
|
54
54
|
"@atlaskit/textfield": "^9.1.0",
|
|
55
55
|
"@atlaskit/theme": "^26.1.0",
|
|
56
|
-
"@atlaskit/tokens": "^15.
|
|
56
|
+
"@atlaskit/tokens": "^15.8.0",
|
|
57
57
|
"@babel/runtime": "^7.0.0",
|
|
58
58
|
"@compiled/react": "^0.20.0",
|
|
59
59
|
"debounce-promise": "^3.1.2",
|