@atlaskit/link-create 4.5.0 → 4.5.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 +13 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/ui/confirm-dismiss-dialog/main.js +1 -2
- package/dist/cjs/common/ui/error-boundary-modal/index.js +1 -2
- package/dist/cjs/ui/modal-create/main.js +1 -2
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/common/ui/confirm-dismiss-dialog/main.js +1 -2
- package/dist/es2019/common/ui/error-boundary-modal/index.js +1 -2
- package/dist/es2019/ui/modal-create/main.js +1 -2
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/ui/confirm-dismiss-dialog/main.js +1 -2
- package/dist/esm/common/ui/error-boundary-modal/index.js +1 -2
- package/dist/esm/ui/modal-create/main.js +1 -2
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 4.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.5.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`4f3b60691a4d6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4f3b60691a4d6) -
|
|
14
|
+
NAVX-1976 cleaning up navx-1483-a11y-close-button-in-modal-updates
|
|
15
|
+
|
|
3
16
|
## 4.5.0
|
|
4
17
|
|
|
5
18
|
### Minor 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: "4.5.1" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -9,7 +9,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
11
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _Button = require("../Button");
|
|
14
13
|
var _ModalDialog = require("../ModalDialog");
|
|
15
14
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
@@ -38,7 +37,7 @@ var ConfirmDismissDialog = exports.ConfirmDismissDialog = function ConfirmDismis
|
|
|
38
37
|
onClose: onCancelDismiss,
|
|
39
38
|
width: "small"
|
|
40
39
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader, {
|
|
41
|
-
hasCloseButton:
|
|
40
|
+
hasCloseButton: true
|
|
42
41
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTitle, null, intl.formatMessage(_messages.default.title))), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalBody, null, intl.formatMessage(_messages.default.description)), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalFooter, null, /*#__PURE__*/_react.default.createElement(_Button.Button, {
|
|
43
42
|
actionSubjectId: "cancel",
|
|
44
43
|
appearance: "subtle",
|
|
@@ -8,7 +8,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.ErrorBoundaryModal = void 0;
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
|
|
11
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
12
11
|
var _constants = require("../../constants");
|
|
13
12
|
var _errorBoundaryUi = require("../error-boundary-ui");
|
|
14
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -25,7 +24,7 @@ var ErrorBoundaryModal = exports.ErrorBoundaryModal = function ErrorBoundaryModa
|
|
|
25
24
|
onClose: onClose,
|
|
26
25
|
shouldScrollInViewport: true,
|
|
27
26
|
width: "".concat(_constants.CREATE_FORM_MAX_WIDTH_IN_PX, "px")
|
|
28
|
-
},
|
|
27
|
+
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader, {
|
|
29
28
|
hasCloseButton: true
|
|
30
29
|
}), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalBody, null, /*#__PURE__*/_react.default.createElement(_errorBoundaryUi.ErrorBoundaryUI, null))));
|
|
31
30
|
};
|
|
@@ -12,7 +12,6 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
14
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
15
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
17
16
|
var _constants = require("../../common/constants");
|
|
18
17
|
var _confirmDismissDialog = require("../../common/ui/confirm-dismiss-dialog");
|
|
@@ -69,7 +68,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
69
68
|
}, /*#__PURE__*/_react.default.createElement(_modalHero.ModalHero, {
|
|
70
69
|
hero: modalHero
|
|
71
70
|
}), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalHeader, {
|
|
72
|
-
hasCloseButton:
|
|
71
|
+
hasCloseButton: true
|
|
73
72
|
}, /*#__PURE__*/_react.default.createElement(_modalDialog.ModalTitle, null, modalTitle || intl.formatMessage(_messages.messages.heading))), /*#__PURE__*/_react.default.createElement(_modalDialog.ModalBody, null, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
74
73
|
testId: testId
|
|
75
74
|
}, /*#__PURE__*/_react.default.createElement(_errorBoundary.ErrorBoundary, null, /*#__PURE__*/_react.default.createElement(_linkCreateContent.LinkCreateContent, {
|
|
@@ -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: "4.5.1" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { Button } from '../Button';
|
|
7
6
|
import { Modal } from '../ModalDialog';
|
|
8
7
|
import messages from './messages';
|
|
@@ -30,7 +29,7 @@ export const ConfirmDismissDialog = ({
|
|
|
30
29
|
onClose: onCancelDismiss,
|
|
31
30
|
width: "small"
|
|
32
31
|
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
33
|
-
hasCloseButton:
|
|
32
|
+
hasCloseButton: true
|
|
34
33
|
}, /*#__PURE__*/React.createElement(ModalTitle, null, intl.formatMessage(messages.title))), /*#__PURE__*/React.createElement(ModalBody, null, intl.formatMessage(messages.description)), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
35
34
|
actionSubjectId: "cancel",
|
|
36
35
|
appearance: "subtle",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Modal, { ModalBody, ModalHeader, ModalTransition } from '@atlaskit/modal-dialog';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
import { CREATE_FORM_MAX_WIDTH_IN_PX } from '../../constants';
|
|
5
4
|
import { ErrorBoundaryUI } from '../error-boundary-ui';
|
|
6
5
|
|
|
@@ -18,7 +17,7 @@ export const ErrorBoundaryModal = ({
|
|
|
18
17
|
onClose: onClose,
|
|
19
18
|
shouldScrollInViewport: true,
|
|
20
19
|
width: `${CREATE_FORM_MAX_WIDTH_IN_PX}px`
|
|
21
|
-
},
|
|
20
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
22
21
|
hasCloseButton: true
|
|
23
22
|
}), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(ErrorBoundaryUI, null))));
|
|
24
23
|
};
|
|
@@ -2,7 +2,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React, { useLayoutEffect, useRef } from 'react';
|
|
3
3
|
import { useIntl } from 'react-intl-next';
|
|
4
4
|
import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
6
|
import { CREATE_FORM_MAX_WIDTH_IN_PX, DEFAULT_TEST_ID, SCREEN_ID } from '../../common/constants';
|
|
8
7
|
import { ConfirmDismissDialog } from '../../common/ui/confirm-dismiss-dialog';
|
|
@@ -59,7 +58,7 @@ const LinkCreateWithModal = ({
|
|
|
59
58
|
}, /*#__PURE__*/React.createElement(ModalHero, {
|
|
60
59
|
hero: modalHero
|
|
61
60
|
}), /*#__PURE__*/React.createElement(ModalHeader, {
|
|
62
|
-
hasCloseButton:
|
|
61
|
+
hasCloseButton: true
|
|
63
62
|
}, /*#__PURE__*/React.createElement(ModalTitle, null, modalTitle || intl.formatMessage(messages.heading))), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Box, {
|
|
64
63
|
testId: testId
|
|
65
64
|
}, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LinkCreateContent, {
|
|
@@ -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: "4.5.1" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -2,7 +2,6 @@ import React from 'react';
|
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { Button } from '../Button';
|
|
7
6
|
import { Modal } from '../ModalDialog';
|
|
8
7
|
import messages from './messages';
|
|
@@ -31,7 +30,7 @@ export var ConfirmDismissDialog = function ConfirmDismissDialog(_ref) {
|
|
|
31
30
|
onClose: onCancelDismiss,
|
|
32
31
|
width: "small"
|
|
33
32
|
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
34
|
-
hasCloseButton:
|
|
33
|
+
hasCloseButton: true
|
|
35
34
|
}, /*#__PURE__*/React.createElement(ModalTitle, null, intl.formatMessage(messages.title))), /*#__PURE__*/React.createElement(ModalBody, null, intl.formatMessage(messages.description)), /*#__PURE__*/React.createElement(ModalFooter, null, /*#__PURE__*/React.createElement(Button, {
|
|
36
35
|
actionSubjectId: "cancel",
|
|
37
36
|
appearance: "subtle",
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import Modal, { ModalBody, ModalHeader, ModalTransition } from '@atlaskit/modal-dialog';
|
|
3
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
3
|
import { CREATE_FORM_MAX_WIDTH_IN_PX } from '../../constants';
|
|
5
4
|
import { ErrorBoundaryUI } from '../error-boundary-ui';
|
|
6
5
|
|
|
@@ -17,7 +16,7 @@ export var ErrorBoundaryModal = function ErrorBoundaryModal(_ref) {
|
|
|
17
16
|
onClose: onClose,
|
|
18
17
|
shouldScrollInViewport: true,
|
|
19
18
|
width: "".concat(CREATE_FORM_MAX_WIDTH_IN_PX, "px")
|
|
20
|
-
},
|
|
19
|
+
}, /*#__PURE__*/React.createElement(ModalHeader, {
|
|
21
20
|
hasCloseButton: true
|
|
22
21
|
}), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(ErrorBoundaryUI, null))));
|
|
23
22
|
};
|
|
@@ -4,7 +4,6 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
4
4
|
import React, { useLayoutEffect, useRef } from 'react';
|
|
5
5
|
import { useIntl } from 'react-intl-next';
|
|
6
6
|
import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
8
|
import { CREATE_FORM_MAX_WIDTH_IN_PX, DEFAULT_TEST_ID, SCREEN_ID } from '../../common/constants';
|
|
10
9
|
import { ConfirmDismissDialog } from '../../common/ui/confirm-dismiss-dialog';
|
|
@@ -60,7 +59,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
60
59
|
}, /*#__PURE__*/React.createElement(ModalHero, {
|
|
61
60
|
hero: modalHero
|
|
62
61
|
}), /*#__PURE__*/React.createElement(ModalHeader, {
|
|
63
|
-
hasCloseButton:
|
|
62
|
+
hasCloseButton: true
|
|
64
63
|
}, /*#__PURE__*/React.createElement(ModalTitle, null, modalTitle || intl.formatMessage(messages.heading))), /*#__PURE__*/React.createElement(ModalBody, null, /*#__PURE__*/React.createElement(Box, {
|
|
65
64
|
testId: testId
|
|
66
65
|
}, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LinkCreateContent, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.2",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,25 +36,25 @@
|
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
37
|
"@atlaskit/atlassian-context": "^0.6.0",
|
|
38
38
|
"@atlaskit/button": "^23.5.0",
|
|
39
|
-
"@atlaskit/css": "^0.
|
|
39
|
+
"@atlaskit/css": "^0.15.0",
|
|
40
40
|
"@atlaskit/empty-state": "^10.1.0",
|
|
41
41
|
"@atlaskit/form": "^14.2.0",
|
|
42
42
|
"@atlaskit/icon": "^28.5.0",
|
|
43
43
|
"@atlaskit/icon-file-type": "^7.0.0",
|
|
44
|
-
"@atlaskit/icon-object": "^7.
|
|
44
|
+
"@atlaskit/icon-object": "^7.3.0",
|
|
45
45
|
"@atlaskit/intl-messages-provider": "^2.0.0",
|
|
46
46
|
"@atlaskit/layering": "^3.1.0",
|
|
47
47
|
"@atlaskit/link": "^3.2.0",
|
|
48
48
|
"@atlaskit/linking-common": "^9.7.0",
|
|
49
|
-
"@atlaskit/modal-dialog": "^14.
|
|
49
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
|
-
"@atlaskit/primitives": "^
|
|
51
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
52
52
|
"@atlaskit/select": "^21.3.0",
|
|
53
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.5.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|
|
59
59
|
"@compiled/react": "^0.18.3",
|
|
60
60
|
"debounce-promise": "^3.1.2",
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
},
|
|
127
127
|
"should-render-to-parent-should-be-true-linking-pla": {
|
|
128
128
|
"type": "boolean"
|
|
129
|
-
},
|
|
130
|
-
"navx-1483-a11y-close-button-in-modal-updates": {
|
|
131
|
-
"type": "boolean"
|
|
132
129
|
}
|
|
133
130
|
},
|
|
134
131
|
"compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/5ebc0bfb-9b6d-4ec0-adbe-e4d5e88ace44"
|