@atlaskit/link-create 4.4.8 → 4.5.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 +17 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/ui/modal-create/main.js +2 -9
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/ui/modal-create/main.js +2 -9
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/ui/modal-create/main.js +2 -9
- package/package.json +10 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 4.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`2c8e6f2ebadef`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2c8e6f2ebadef) -
|
|
8
|
+
Removes FG that migrates layering component to use tree structure
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 4.4.9
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 4.4.8
|
|
4
21
|
|
|
5
22
|
### 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: "
|
|
19
|
+
packageVersion: "0.0.0-development" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -11,7 +11,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
11
11
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
|
-
var _layering = require("@atlaskit/layering");
|
|
15
14
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
16
15
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
17
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -76,7 +75,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
76
75
|
}, /*#__PURE__*/_react.default.createElement(_errorBoundary.ErrorBoundary, null, /*#__PURE__*/_react.default.createElement(_linkCreateContent.LinkCreateContent, {
|
|
77
76
|
plugins: plugins,
|
|
78
77
|
entityKey: entityKey
|
|
79
|
-
})))),
|
|
78
|
+
})))), /*#__PURE__*/_react.default.createElement(_confirmDismissDialog.ConfirmDismissDialog, {
|
|
80
79
|
active: showExitWarning,
|
|
81
80
|
onClose: handleCloseExitWarning,
|
|
82
81
|
onCancel: onCancel
|
|
@@ -85,13 +84,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
85
84
|
onClose: onComplete,
|
|
86
85
|
editViewPayload: editViewPayload,
|
|
87
86
|
activePlugin: activePlugin
|
|
88
|
-
})
|
|
89
|
-
isDisabled: false
|
|
90
|
-
}, /*#__PURE__*/_react.default.createElement(_confirmDismissDialog.ConfirmDismissDialog, {
|
|
91
|
-
active: showExitWarning,
|
|
92
|
-
onClose: handleCloseExitWarning,
|
|
93
|
-
onCancel: onCancel
|
|
94
|
-
})));
|
|
87
|
+
}));
|
|
95
88
|
};
|
|
96
89
|
var LinkCreateModal = function LinkCreateModal(props) {
|
|
97
90
|
var shouldCallCloseComplete = (0, _react.useRef)(!props.active);
|
|
@@ -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: "
|
|
13
|
+
packageVersion: "0.0.0-development" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useLayoutEffect, useRef } from 'react';
|
|
3
3
|
import { useIntl } from 'react-intl-next';
|
|
4
|
-
import { Layering } from '@atlaskit/layering';
|
|
5
4
|
import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
6
5
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
6
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -66,7 +65,7 @@ const LinkCreateWithModal = ({
|
|
|
66
65
|
}, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LinkCreateContent, {
|
|
67
66
|
plugins: plugins,
|
|
68
67
|
entityKey: entityKey
|
|
69
|
-
})))),
|
|
68
|
+
})))), /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
|
|
70
69
|
active: showExitWarning,
|
|
71
70
|
onClose: handleCloseExitWarning,
|
|
72
71
|
onCancel: onCancel
|
|
@@ -75,13 +74,7 @@ const LinkCreateWithModal = ({
|
|
|
75
74
|
onClose: onComplete,
|
|
76
75
|
editViewPayload: editViewPayload,
|
|
77
76
|
activePlugin: activePlugin
|
|
78
|
-
})
|
|
79
|
-
isDisabled: false
|
|
80
|
-
}, /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
|
|
81
|
-
active: showExitWarning,
|
|
82
|
-
onClose: handleCloseExitWarning,
|
|
83
|
-
onCancel: onCancel
|
|
84
|
-
})));
|
|
77
|
+
}));
|
|
85
78
|
};
|
|
86
79
|
const LinkCreateModal = props => {
|
|
87
80
|
const shouldCallCloseComplete = useRef(!props.active);
|
|
@@ -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: "
|
|
13
|
+
packageVersion: "0.0.0-development" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -3,7 +3,6 @@ import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React, { useLayoutEffect, useRef } from 'react';
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
|
-
import { Layering } from '@atlaskit/layering';
|
|
7
6
|
import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
8
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -67,7 +66,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
67
66
|
}, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LinkCreateContent, {
|
|
68
67
|
plugins: plugins,
|
|
69
68
|
entityKey: entityKey
|
|
70
|
-
})))),
|
|
69
|
+
})))), /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
|
|
71
70
|
active: showExitWarning,
|
|
72
71
|
onClose: handleCloseExitWarning,
|
|
73
72
|
onCancel: onCancel
|
|
@@ -76,13 +75,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
76
75
|
onClose: onComplete,
|
|
77
76
|
editViewPayload: editViewPayload,
|
|
78
77
|
activePlugin: activePlugin
|
|
79
|
-
})
|
|
80
|
-
isDisabled: false
|
|
81
|
-
}, /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
|
|
82
|
-
active: showExitWarning,
|
|
83
|
-
onClose: handleCloseExitWarning,
|
|
84
|
-
onCancel: onCancel
|
|
85
|
-
})));
|
|
78
|
+
}));
|
|
86
79
|
};
|
|
87
80
|
var LinkCreateModal = function LinkCreateModal(props) {
|
|
88
81
|
var shouldCallCloseComplete = useRef(!props.active);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,26 +35,26 @@
|
|
|
35
35
|
"@atlaskit/afm-i18n-platform-linking-platform-link-create": "2.7.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
37
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
38
|
-
"@atlaskit/button": "^23.
|
|
38
|
+
"@atlaskit/button": "^23.5.0",
|
|
39
39
|
"@atlaskit/css": "^0.14.0",
|
|
40
40
|
"@atlaskit/empty-state": "^10.1.0",
|
|
41
|
-
"@atlaskit/form": "^
|
|
42
|
-
"@atlaskit/icon": "^28.
|
|
41
|
+
"@atlaskit/form": "^14.2.0",
|
|
42
|
+
"@atlaskit/icon": "^28.5.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
44
|
"@atlaskit/icon-object": "^7.2.0",
|
|
45
45
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
46
|
-
"@atlaskit/layering": "^3.
|
|
46
|
+
"@atlaskit/layering": "^3.1.0",
|
|
47
47
|
"@atlaskit/link": "^3.2.0",
|
|
48
|
-
"@atlaskit/linking-common": "^9.
|
|
49
|
-
"@atlaskit/modal-dialog": "^14.
|
|
48
|
+
"@atlaskit/linking-common": "^9.7.0",
|
|
49
|
+
"@atlaskit/modal-dialog": "^14.4.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/primitives": "^14.15.0",
|
|
52
52
|
"@atlaskit/select": "^21.3.0",
|
|
53
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
53
|
+
"@atlaskit/smart-user-picker": "^8.3.0",
|
|
54
54
|
"@atlaskit/spinner": "^19.0.0",
|
|
55
55
|
"@atlaskit/textfield": "^8.0.0",
|
|
56
56
|
"@atlaskit/theme": "^21.0.0",
|
|
57
|
-
"@atlaskit/tokens": "^6.
|
|
57
|
+
"@atlaskit/tokens": "^6.4.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
59
59
|
"@compiled/react": "^0.18.3",
|
|
60
60
|
"debounce-promise": "^3.1.2",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@af/integration-testing": "workspace:^",
|
|
71
71
|
"@af/visual-regression": "workspace:^",
|
|
72
72
|
"@atlaskit/drawer": "^11.0.0",
|
|
73
|
-
"@atlaskit/link-test-helpers": "^8.
|
|
73
|
+
"@atlaskit/link-test-helpers": "^8.4.0",
|
|
74
74
|
"@atlaskit/popup": "^4.4.0",
|
|
75
75
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
76
76
|
"@testing-library/react": "^13.4.0",
|
|
@@ -127,9 +127,6 @@
|
|
|
127
127
|
"should-render-to-parent-should-be-true-linking-pla": {
|
|
128
128
|
"type": "boolean"
|
|
129
129
|
},
|
|
130
|
-
"layering-tree-graph": {
|
|
131
|
-
"type": "boolean"
|
|
132
|
-
},
|
|
133
130
|
"navx-1483-a11y-close-button-in-modal-updates": {
|
|
134
131
|
"type": "boolean"
|
|
135
132
|
}
|