@atlaskit/link-create 4.2.1 → 4.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 +17 -0
- package/compass.yml +5 -5
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/ui/error-boundary-ui/index.js +1 -9
- package/dist/cjs/ui/create-form/form-footer/main.js +2 -2
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/common/ui/error-boundary-ui/index.js +1 -9
- package/dist/es2019/ui/create-form/form-footer/main.js +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/ui/error-boundary-ui/index.js +1 -9
- package/dist/esm/ui/create-form/form-footer/main.js +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 4.2.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
|
|
8
|
+
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
|
|
9
|
+
Migrated usage of renamed/deprecated icons
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 4.2.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#186419](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/186419)
|
|
17
|
+
[`4464c7e383adf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4464c7e383adf) -
|
|
18
|
+
NAVX-1054 cleaning up platform link create button migration fg
|
|
19
|
+
|
|
3
20
|
## 4.2.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/compass.yml
CHANGED
|
@@ -5,7 +5,7 @@ description:
|
|
|
5
5
|
creating Jira & Confluence links across all Atlassian products.
|
|
6
6
|
configVersion: 1
|
|
7
7
|
typeId: CAPABILITY
|
|
8
|
-
ownerId: 'ari:cloud:identity::team/
|
|
8
|
+
ownerId: 'ari:cloud:identity::team/e738fbc3-d778-4660-aa11-5697a458ffa7'
|
|
9
9
|
fields:
|
|
10
10
|
isMonorepoProject: false
|
|
11
11
|
tier: 4
|
|
@@ -16,13 +16,13 @@ links:
|
|
|
16
16
|
url: 'https://atlassian.signalfx.com/#/dashboard/Fw3wdDxA0AE?groupId=Fcva05QA4AA&configId=Fw3wdQCAwAA&startTime=-1d&endTime=Now'
|
|
17
17
|
- name: ''
|
|
18
18
|
type: PROJECT
|
|
19
|
-
url: 'https://
|
|
19
|
+
url: 'https://hello.jira.atlassian.cloud/jira/software/projects/NAVX/boards/14605'
|
|
20
20
|
- name: ''
|
|
21
21
|
type: CHAT_CHANNEL
|
|
22
|
-
url: 'https://atlassian.enterprise.slack.com/archives/
|
|
22
|
+
url: 'https://atlassian.enterprise.slack.com/archives/C07TNMDEVHC'
|
|
23
23
|
- name: ''
|
|
24
24
|
type: ON_CALL
|
|
25
|
-
url: 'https://
|
|
25
|
+
url: 'https://hello.jira.atlassian.cloud/jira/ops/teams/e738fbc3-d778-4660-aa11-5697a458ffa7/on-call'
|
|
26
26
|
relationships: null
|
|
27
27
|
labels: null
|
|
28
28
|
customFields:
|
|
@@ -38,7 +38,7 @@ customFields:
|
|
|
38
38
|
- 6abcbe4f-1063-4cf7-8b32-58ebd01078da
|
|
39
39
|
- name: Engineering Manager
|
|
40
40
|
type: user
|
|
41
|
-
value: 'ari:cloud:identity::user/712020:
|
|
41
|
+
value: 'ari:cloud:identity::user/712020:3eb290b3-ff87-40f2-a7ef-4ee9d0ae10bd'
|
|
42
42
|
- name: FFP per month
|
|
43
43
|
type: number
|
|
44
44
|
value: null
|
|
@@ -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: "4.2.
|
|
19
|
+
packageVersion: "4.2.2" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -9,10 +9,8 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _atlassianContext = require("@atlaskit/atlassian-context");
|
|
12
|
-
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
13
12
|
var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
14
13
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
14
|
var _messages = _interopRequireDefault(require("../../messages"));
|
|
17
15
|
var _errorSvg = _interopRequireDefault(require("./error-svg"));
|
|
18
16
|
var _messages2 = _interopRequireDefault(require("./messages"));
|
|
@@ -28,13 +26,7 @@ var ErrorBoundaryUI = exports.ErrorBoundaryUI = function ErrorBoundaryUI() {
|
|
|
28
26
|
description: /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages2.default.description, {
|
|
29
27
|
values: {
|
|
30
28
|
a: function a(label) {
|
|
31
|
-
return
|
|
32
|
-
href: (0, _atlassianContext.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
33
|
-
target: "_blank",
|
|
34
|
-
rel: "noopener noreferrer"
|
|
35
|
-
}, label) : /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
36
|
-
appearance: "link",
|
|
37
|
-
spacing: "none",
|
|
29
|
+
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
38
30
|
href: (0, _atlassianContext.isFedRamp)() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
39
31
|
target: "_blank",
|
|
40
32
|
rel: "noopener noreferrer"
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
14
|
var _button = require("@atlaskit/button");
|
|
15
|
-
var
|
|
15
|
+
var _statusErrorError = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-error--error"));
|
|
16
16
|
var _Button = require("../../../common/ui/Button");
|
|
17
17
|
var _editButton = require("./edit-button");
|
|
18
18
|
var _messages = require("./messages");
|
|
@@ -37,7 +37,7 @@ var CreateFormFooter = exports.CreateFormFooter = function CreateFormFooter(_ref
|
|
|
37
37
|
role: "alert",
|
|
38
38
|
"data-testid": "".concat(testId, "-error"),
|
|
39
39
|
className: (0, _runtime.ax)(["_1e0c1txw _4cvr1h6o _2hwx1wug"])
|
|
40
|
-
}, /*#__PURE__*/React.createElement(
|
|
40
|
+
}, /*#__PURE__*/React.createElement(_statusErrorError.default, {
|
|
41
41
|
label: formErrorMessage,
|
|
42
42
|
color: "var(--ds-icon-danger, #E34935)",
|
|
43
43
|
spacing: "spacious"
|
|
@@ -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: "4.2.
|
|
13
|
+
packageVersion: "4.2.2" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -2,10 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
4
4
|
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
5
|
-
import Button from '@atlaskit/button';
|
|
6
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
7
6
|
import Link from '@atlaskit/link';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
7
|
import commonMessages from '../../messages';
|
|
10
8
|
import ErrorSVG from './error-svg';
|
|
11
9
|
import messages from './messages';
|
|
@@ -20,13 +18,7 @@ export const ErrorBoundaryUI = () => {
|
|
|
20
18
|
headingLevel: 2,
|
|
21
19
|
description: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.description, {
|
|
22
20
|
values: {
|
|
23
|
-
a: label =>
|
|
24
|
-
href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
25
|
-
target: "_blank",
|
|
26
|
-
rel: "noopener noreferrer"
|
|
27
|
-
}, label) : /*#__PURE__*/React.createElement(Button, {
|
|
28
|
-
appearance: "link",
|
|
29
|
-
spacing: "none",
|
|
21
|
+
a: label => /*#__PURE__*/React.createElement(Link, {
|
|
30
22
|
href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
31
23
|
target: "_blank",
|
|
32
24
|
rel: "noopener noreferrer"
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
6
|
import { ButtonGroup } from '@atlaskit/button';
|
|
7
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
7
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
8
8
|
import { Button } from '../../../common/ui/Button';
|
|
9
9
|
import { EditButton } from './edit-button';
|
|
10
10
|
import { messages } 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: "4.2.
|
|
13
|
+
packageVersion: "4.2.2" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -2,10 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormattedMessage, useIntl } from 'react-intl-next';
|
|
4
4
|
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
5
|
-
import Button from '@atlaskit/button';
|
|
6
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
7
6
|
import Link from '@atlaskit/link';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
7
|
import commonMessages from '../../messages';
|
|
10
8
|
import ErrorSVG from './error-svg';
|
|
11
9
|
import messages from './messages';
|
|
@@ -21,13 +19,7 @@ export var ErrorBoundaryUI = function ErrorBoundaryUI() {
|
|
|
21
19
|
description: /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.description, {
|
|
22
20
|
values: {
|
|
23
21
|
a: function a(label) {
|
|
24
|
-
return
|
|
25
|
-
href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
26
|
-
target: "_blank",
|
|
27
|
-
rel: "noopener noreferrer"
|
|
28
|
-
}, label) : /*#__PURE__*/React.createElement(Button, {
|
|
29
|
-
appearance: "link",
|
|
30
|
-
spacing: "none",
|
|
22
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
31
23
|
href: isFedRamp() ? CONTACT_SUPPORT_LINK_FEDRAMP : CONTACT_SUPPORT_LINK,
|
|
32
24
|
target: "_blank",
|
|
33
25
|
rel: "noopener noreferrer"
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
6
|
import { ButtonGroup } from '@atlaskit/button';
|
|
7
|
-
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
7
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/status-error--error';
|
|
8
8
|
import { Button } from '../../../common/ui/Button';
|
|
9
9
|
import { EditButton } from './edit-button';
|
|
10
10
|
import { messages } from './messages';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,22 +41,22 @@
|
|
|
41
41
|
"@atlaskit/css": "^0.12.0",
|
|
42
42
|
"@atlaskit/empty-state": "^10.1.0",
|
|
43
43
|
"@atlaskit/form": "^12.0.0",
|
|
44
|
-
"@atlaskit/icon": "^27.
|
|
44
|
+
"@atlaskit/icon": "^27.5.0",
|
|
45
45
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
46
46
|
"@atlaskit/icon-object": "^7.1.0",
|
|
47
47
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
48
48
|
"@atlaskit/layering": "^3.0.0",
|
|
49
49
|
"@atlaskit/link": "^3.2.0",
|
|
50
|
-
"@atlaskit/linking-common": "^9.
|
|
51
|
-
"@atlaskit/modal-dialog": "^14.
|
|
50
|
+
"@atlaskit/linking-common": "^9.2.0",
|
|
51
|
+
"@atlaskit/modal-dialog": "^14.3.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/primitives": "^14.10.0",
|
|
54
|
-
"@atlaskit/select": "^21.
|
|
54
|
+
"@atlaskit/select": "^21.2.0",
|
|
55
55
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
56
56
|
"@atlaskit/spinner": "^18.0.0",
|
|
57
57
|
"@atlaskit/textfield": "^8.0.0",
|
|
58
58
|
"@atlaskit/theme": "^19.0.0",
|
|
59
|
-
"@atlaskit/tokens": "^5.
|
|
59
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@compiled/react": "^0.18.3",
|
|
62
62
|
"debounce-promise": "^3.1.2",
|
|
@@ -125,9 +125,6 @@
|
|
|
125
125
|
}
|
|
126
126
|
},
|
|
127
127
|
"platform-feature-flags": {
|
|
128
|
-
"platform-link-create-button-migration": {
|
|
129
|
-
"type": "boolean"
|
|
130
|
-
},
|
|
131
128
|
"dst-a11y__replace-anchor-with-link__linking-platfo": {
|
|
132
129
|
"type": "boolean"
|
|
133
130
|
},
|