@atlaskit/link-create 4.5.27 → 5.0.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 +25 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/messages.js +2 -2
- package/dist/cjs/common/ui/confirm-dismiss-dialog/main.js +2 -2
- package/dist/cjs/common/ui/confirm-dismiss-dialog/messages.js +2 -2
- package/dist/cjs/common/ui/error-boundary-ui/index.js +3 -3
- package/dist/cjs/common/ui/error-boundary-ui/messages.js +2 -2
- package/dist/cjs/common/ui/icon/index.js +3 -3
- package/dist/cjs/common/ui/icon/messages.js +2 -2
- package/dist/cjs/ui/create-form/async-select/main.js +2 -2
- package/dist/cjs/ui/create-form/form-footer/edit-button/index.js +2 -2
- package/dist/cjs/ui/create-form/form-footer/edit-button/messages.js +2 -2
- package/dist/cjs/ui/create-form/form-footer/main.js +2 -2
- package/dist/cjs/ui/create-form/form-footer/messages.js +2 -2
- package/dist/cjs/ui/create-form/form-footer/submit-button/index.js +2 -2
- package/dist/cjs/ui/create-form/main.js +2 -2
- package/dist/cjs/ui/create-form/select/main.js +2 -2
- package/dist/cjs/ui/create-form/select/messages.js +2 -2
- package/dist/cjs/ui/modal-create/main.js +2 -2
- package/dist/cjs/ui/modal-create/messages.js +2 -2
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/common/messages.js +1 -1
- package/dist/es2019/common/ui/confirm-dismiss-dialog/main.js +1 -1
- package/dist/es2019/common/ui/confirm-dismiss-dialog/messages.js +1 -1
- package/dist/es2019/common/ui/error-boundary-ui/index.js +1 -1
- package/dist/es2019/common/ui/error-boundary-ui/messages.js +1 -1
- package/dist/es2019/common/ui/icon/index.js +1 -1
- package/dist/es2019/common/ui/icon/messages.js +1 -1
- package/dist/es2019/ui/create-form/async-select/main.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/edit-button/index.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/edit-button/messages.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/main.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/messages.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/submit-button/index.js +1 -1
- package/dist/es2019/ui/create-form/main.js +1 -1
- package/dist/es2019/ui/create-form/select/main.js +1 -1
- package/dist/es2019/ui/create-form/select/messages.js +1 -1
- package/dist/es2019/ui/modal-create/main.js +1 -1
- package/dist/es2019/ui/modal-create/messages.js +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/messages.js +1 -1
- package/dist/esm/common/ui/confirm-dismiss-dialog/main.js +1 -1
- package/dist/esm/common/ui/confirm-dismiss-dialog/messages.js +1 -1
- package/dist/esm/common/ui/error-boundary-ui/index.js +1 -1
- package/dist/esm/common/ui/error-boundary-ui/messages.js +1 -1
- package/dist/esm/common/ui/icon/index.js +1 -1
- package/dist/esm/common/ui/icon/messages.js +1 -1
- package/dist/esm/ui/create-form/async-select/main.js +1 -1
- package/dist/esm/ui/create-form/form-footer/edit-button/index.js +1 -1
- package/dist/esm/ui/create-form/form-footer/edit-button/messages.js +1 -1
- package/dist/esm/ui/create-form/form-footer/main.js +1 -1
- package/dist/esm/ui/create-form/form-footer/messages.js +1 -1
- package/dist/esm/ui/create-form/form-footer/submit-button/index.js +1 -1
- package/dist/esm/ui/create-form/main.js +1 -1
- package/dist/esm/ui/create-form/select/main.js +1 -1
- package/dist/esm/ui/create-form/select/messages.js +1 -1
- package/dist/esm/ui/modal-create/main.js +1 -1
- package/dist/esm/ui/modal-create/messages.js +1 -1
- package/dist/types/common/ui/Button/index.d.ts +1 -1
- package/dist/types/common/ui/message/index.d.ts +1 -1
- package/dist/types/controllers/exit-warning-modal-context/index.d.ts +1 -1
- package/dist/types/ui/create-form/main.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/Button/index.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/message/index.d.ts +1 -1
- package/dist/types-ts4.5/controllers/exit-warning-modal-context/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/create-form/main.d.ts +1 -1
- package/example-helpers/mock-disclaimer.tsx +1 -1
- package/package.json +6 -5
- package/report.api.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 5.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`9f6bcd21611f3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f6bcd21611f3) -
|
|
8
|
+
Removed `react-intl-next` alias and replaced all usages with `react-intl` directly.
|
|
9
|
+
|
|
10
|
+
What changed: The `react-intl-next` npm alias (which resolved to `react-intl@^5`) has been
|
|
11
|
+
removed. All imports now reference `react-intl` directly, and `peerDependencies` have been updated
|
|
12
|
+
to `"^5.25.1 || ^6.0.0 || ^7.0.0"`.
|
|
13
|
+
|
|
14
|
+
How consumer should update their code: Ensure `react-intl` is installed at a version satisfying
|
|
15
|
+
`^5.25.1 || ^6.0.0 || ^7.0.0`. If your application was using `react-intl-next` as an npm alias, it
|
|
16
|
+
can be safely removed. Replace any remaining `react-intl-next` imports with `react-intl`.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
22
|
+
## 4.5.28
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 4.5.27
|
|
4
29
|
|
|
5
30
|
### 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: "5.0.0" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var
|
|
8
|
-
var _default_1 = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var _default_1 = (0, _reactIntl.defineMessages)({
|
|
9
9
|
genericErrorMessage: {
|
|
10
10
|
id: 'link-create.unknown-error.heading',
|
|
11
11
|
defaultMessage: 'Something went wrong.',
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ConfirmDismissDialog = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _reactIntl = require("react-intl");
|
|
10
10
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
11
11
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
12
12
|
var _Button = require("../Button");
|
|
@@ -21,7 +21,7 @@ var ConfirmDismissDialog = exports.ConfirmDismissDialog = function ConfirmDismis
|
|
|
21
21
|
var active = _ref.active,
|
|
22
22
|
onClose = _ref.onClose,
|
|
23
23
|
onCancel = _ref.onCancel;
|
|
24
|
-
var intl = (0,
|
|
24
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
25
25
|
var onCancelDismiss = function onCancelDismiss() {
|
|
26
26
|
return onClose();
|
|
27
27
|
};
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var
|
|
8
|
-
var _default_1 = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var _default_1 = (0, _reactIntl.defineMessages)({
|
|
9
9
|
title: {
|
|
10
10
|
id: 'linkCreate.confirm-dismiss-dialog.modal.title',
|
|
11
11
|
defaultMessage: 'Your changes won’t be saved',
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.ErrorBoundaryUI = exports.CONTACT_SUPPORT_LINK_FEDRAMP = exports.CONTACT_SUPPORT_LINK = void 0;
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _atlassianContext = require("@atlaskit/atlassian-context");
|
|
12
12
|
var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
|
|
13
13
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
@@ -17,13 +17,13 @@ var _messages2 = _interopRequireDefault(require("./messages"));
|
|
|
17
17
|
var CONTACT_SUPPORT_LINK = exports.CONTACT_SUPPORT_LINK = 'https://support.atlassian.com/contact/';
|
|
18
18
|
var CONTACT_SUPPORT_LINK_FEDRAMP = exports.CONTACT_SUPPORT_LINK_FEDRAMP = 'https://gcs.atlassian-us-gov-mod.net/servicedesk/customer/portals';
|
|
19
19
|
var ErrorBoundaryUI = exports.ErrorBoundaryUI = function ErrorBoundaryUI() {
|
|
20
|
-
var intl = (0,
|
|
20
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
21
21
|
return /*#__PURE__*/_react.default.createElement(_emptyState.default, {
|
|
22
22
|
maxImageWidth: 82,
|
|
23
23
|
testId: 'link-create-error-boundary-ui',
|
|
24
24
|
header: intl.formatMessage(_messages.default.genericErrorMessage),
|
|
25
25
|
headingLevel: 2,
|
|
26
|
-
description: /*#__PURE__*/_react.default.createElement(
|
|
26
|
+
description: /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, (0, _extends2.default)({}, _messages2.default.description, {
|
|
27
27
|
values: {
|
|
28
28
|
a: function a(label) {
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
var
|
|
8
|
-
var _default_1 = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var _default_1 = (0, _reactIntl.defineMessages)({
|
|
9
9
|
description: {
|
|
10
10
|
id: 'link-create.unknown-error.description',
|
|
11
11
|
defaultMessage: 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
|
|
@@ -9,7 +9,7 @@ exports.UrlIcon = exports.PageIcon = exports.LiveDocIcon = void 0;
|
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _reactIntl = require("react-intl");
|
|
13
13
|
var _8 = _interopRequireDefault(require("@atlaskit/icon-file-type/glyph/document/16"));
|
|
14
14
|
var _9 = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page-live-doc/16"));
|
|
15
15
|
var _messages = require("./messages");
|
|
@@ -25,13 +25,13 @@ var UrlIcon = exports.UrlIcon = function UrlIcon(_ref) {
|
|
|
25
25
|
}, children);
|
|
26
26
|
};
|
|
27
27
|
var PageIcon = exports.PageIcon = function PageIcon() {
|
|
28
|
-
var intl = (0,
|
|
28
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_8.default, {
|
|
30
30
|
label: intl.formatMessage(_messages.iconLabelMessages.pageIconLabel)
|
|
31
31
|
});
|
|
32
32
|
};
|
|
33
33
|
var LiveDocIcon = exports.LiveDocIcon = function LiveDocIcon() {
|
|
34
|
-
var intl = (0,
|
|
34
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
35
35
|
return /*#__PURE__*/_react.default.createElement(_9.default, {
|
|
36
36
|
label: intl.formatMessage(_messages.iconLabelMessages.pageIconLabel)
|
|
37
37
|
});
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.iconLabelMessages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var iconLabelMessages = exports.iconLabelMessages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var iconLabelMessages = exports.iconLabelMessages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
pageIconLabel: {
|
|
10
10
|
id: 'link-create.page-icon-label',
|
|
11
11
|
defaultMessage: 'Page',
|
|
@@ -15,7 +15,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _debouncePromise = _interopRequireDefault(require("debounce-promise"));
|
|
17
17
|
var _reactFinalForm = require("react-final-form");
|
|
18
|
-
var
|
|
18
|
+
var _reactIntl = require("react-intl");
|
|
19
19
|
var _select = require("@atlaskit/select");
|
|
20
20
|
var _messages = _interopRequireDefault(require("../../../common/messages"));
|
|
21
21
|
var _callbackContext = require("../../../controllers/callback-context");
|
|
@@ -50,7 +50,7 @@ function AsyncSelect(_ref) {
|
|
|
50
50
|
onFailure = _useLinkCreateCallbac.onFailure;
|
|
51
51
|
var _useFormContext = (0, _formContext.useFormContext)(),
|
|
52
52
|
setFormErrorMessage = _useFormContext.setFormErrorMessage;
|
|
53
|
-
var intl = (0,
|
|
53
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
54
54
|
var _useState = (0, _react.useState)(propsDefaultValue),
|
|
55
55
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
56
56
|
defaultValue = _useState2[0],
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.EditButton = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactFinalForm = require("react-final-form");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
12
12
|
var _loadingButton = _interopRequireDefault(require("@atlaskit/button/loading-button"));
|
|
13
13
|
var _constants = require("../../../../common/constants");
|
|
@@ -18,7 +18,7 @@ var _messages = require("./messages");
|
|
|
18
18
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
19
19
|
|
|
20
20
|
var EditButton = exports.EditButton = function EditButton() {
|
|
21
|
-
var intl = (0,
|
|
21
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
22
22
|
var _useAnalyticsEvents = (0, _analyticsNext.useAnalyticsEvents)(),
|
|
23
23
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
24
24
|
var _useFormState = (0, _reactFinalForm.useFormState)(),
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
createAndOpen: {
|
|
10
10
|
id: 'linkCreate.createForm.button.createAndOpen',
|
|
11
11
|
defaultMessage: 'Create + Open',
|
|
@@ -10,7 +10,7 @@ exports.CreateFormFooter = void 0;
|
|
|
10
10
|
require("./main.compiled.css");
|
|
11
11
|
var React = _interopRequireWildcard(require("react"));
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
|
-
var
|
|
13
|
+
var _reactIntl = require("react-intl");
|
|
14
14
|
var _button = require("@atlaskit/button");
|
|
15
15
|
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
16
16
|
var _Button = require("../../../common/ui/Button");
|
|
@@ -29,7 +29,7 @@ var CreateFormFooter = exports.CreateFormFooter = function CreateFormFooter(_ref
|
|
|
29
29
|
var formErrorMessage = _ref.formErrorMessage,
|
|
30
30
|
handleCancel = _ref.handleCancel,
|
|
31
31
|
testId = _ref.testId;
|
|
32
|
-
var intl = (0,
|
|
32
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
33
33
|
return /*#__PURE__*/React.createElement("footer", {
|
|
34
34
|
"data-testid": "".concat(testId, "-footer"),
|
|
35
35
|
className: (0, _runtime.ax)(["_1e0c1txw _19pk1ejb _1bahesu3"])
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
close: {
|
|
10
10
|
id: 'linkCreate.createForm.button.close',
|
|
11
11
|
defaultMessage: 'Close',
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.SubmitButton = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactFinalForm = require("react-final-form");
|
|
10
|
-
var
|
|
10
|
+
var _reactIntl = require("react-intl");
|
|
11
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
12
12
|
var _loadingButton = _interopRequireDefault(require("@atlaskit/button/loading-button"));
|
|
13
13
|
var _constants = require("../../../../common/constants");
|
|
@@ -19,7 +19,7 @@ var _messages = require("../messages");
|
|
|
19
19
|
// eslint-disable-next-line @atlassian/tangerine/import/no-parent-imports
|
|
20
20
|
|
|
21
21
|
var SubmitButton = exports.SubmitButton = function SubmitButton() {
|
|
22
|
-
var intl = (0,
|
|
22
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
23
23
|
var _useAnalyticsEvents = (0, _analyticsNext.useAnalyticsEvents)(),
|
|
24
24
|
createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
|
|
25
25
|
var _useFormState = (0, _reactFinalForm.useFormState)(),
|
|
@@ -17,7 +17,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
17
17
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
18
18
|
var _finalForm = require("final-form");
|
|
19
19
|
var _reactFinalForm = require("react-final-form");
|
|
20
|
-
var
|
|
20
|
+
var _reactIntl = require("react-intl");
|
|
21
21
|
var _form = require("@atlaskit/form");
|
|
22
22
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
23
23
|
var _constants = require("../../common/constants");
|
|
@@ -48,7 +48,7 @@ var CreateForm = exports.CreateForm = function CreateForm(_ref) {
|
|
|
48
48
|
setFormErrorMessage = _useFormContext.setFormErrorMessage,
|
|
49
49
|
formErrorMessage = _useFormContext.formErrorMessage,
|
|
50
50
|
enableEditView = _useFormContext.enableEditView;
|
|
51
|
-
var intl = (0,
|
|
51
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
52
52
|
var _useExitWarningModal = (0, _exitWarningModalContext.useExitWarningModal)(),
|
|
53
53
|
setShouldShowWarning = _useExitWarningModal.setShouldShowWarning;
|
|
54
54
|
var _useLinkCreateCallbac = (0, _callbackContext.useLinkCreateCallback)(),
|
|
@@ -11,7 +11,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
11
11
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
12
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
13
|
var _react = _interopRequireDefault(require("react"));
|
|
14
|
-
var
|
|
14
|
+
var _reactIntl = require("react-intl");
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
16
|
var _select = _interopRequireWildcard(require("@atlaskit/select"));
|
|
17
17
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -65,7 +65,7 @@ var SiteSelect = exports.SiteSelect = function SiteSelect(_ref3) {
|
|
|
65
65
|
var options = _ref3.options,
|
|
66
66
|
name = _ref3.name,
|
|
67
67
|
testId = _ref3.testId;
|
|
68
|
-
var intl = (0,
|
|
68
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
69
69
|
var siteTestId = testId ? testId : 'link-create-site-picker';
|
|
70
70
|
return /*#__PURE__*/_react.default.createElement(Select, {
|
|
71
71
|
isRequired: true,
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
siteLabel: {
|
|
10
10
|
id: 'linkCreate.CreateConfluencePage.form.site.label',
|
|
11
11
|
defaultMessage: 'Site',
|
|
@@ -10,7 +10,7 @@ var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"))
|
|
|
10
10
|
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
|
-
var
|
|
13
|
+
var _reactIntl = require("react-intl");
|
|
14
14
|
var _modalDialog = require("@atlaskit/modal-dialog");
|
|
15
15
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
16
|
var _constants = require("../../common/constants");
|
|
@@ -41,7 +41,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
|
|
|
41
41
|
plugins = _ref.plugins,
|
|
42
42
|
entityKey = _ref.entityKey,
|
|
43
43
|
modalHero = _ref.modalHero;
|
|
44
|
-
var intl = (0,
|
|
44
|
+
var intl = (0, _reactIntl.useIntl)();
|
|
45
45
|
var _useExitWarningModal = (0, _exitWarningModalContext.useExitWarningModal)(),
|
|
46
46
|
withExitWarning = _useExitWarningModal.withExitWarning,
|
|
47
47
|
showExitWarning = _useExitWarningModal.showExitWarning,
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.messages = void 0;
|
|
7
|
-
var
|
|
8
|
-
var messages = exports.messages = (0,
|
|
7
|
+
var _reactIntl = require("react-intl");
|
|
8
|
+
var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
9
9
|
heading: {
|
|
10
10
|
id: 'linkCreate.modal.heading',
|
|
11
11
|
defaultMessage: 'Create new',
|
|
@@ -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: "5.0.0" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
5
|
import { Button } from '../Button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { FormattedMessage, useIntl } from 'react-intl
|
|
3
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
4
4
|
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
5
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import Document16Icon from '@atlaskit/icon-file-type/glyph/document/16';
|
|
7
7
|
import PageLiveDoc16Icon from '@atlaskit/icon-object/glyph/page-live-doc/16';
|
|
8
8
|
import { iconLabelMessages } from './messages';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
3
3
|
import debounce from 'debounce-promise';
|
|
4
4
|
import { useForm } from 'react-final-form';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { AsyncSelect as AkAsyncSelect } from '@atlaskit/select';
|
|
7
7
|
import messages from '../../../common/messages';
|
|
8
8
|
import { useLinkCreateCallback } from '../../../controllers/callback-context';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useForm, useFormState } from 'react-final-form';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
5
|
import LoadingButton from '@atlaskit/button/loading-button';
|
|
6
6
|
import { ANALYTICS_CHANNEL, LINK_CREATE_FORM_POST_CREATE_FIELD } from '../../../../common/constants';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./main.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ButtonGroup } from '@atlaskit/button';
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
8
8
|
import { Button } from '../../../common/ui/Button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useForm, useFormState } from 'react-final-form';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
5
|
import LoadingButton from '@atlaskit/button/loading-button';
|
|
6
6
|
import { ANALYTICS_CHANNEL, LINK_CREATE_FORM_POST_CREATE_FIELD } from '../../../../common/constants';
|
|
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
5
5
|
import { useCallback } from 'react';
|
|
6
6
|
import { FORM_ERROR } from 'final-form';
|
|
7
7
|
import { Form, FormSpy } from 'react-final-form';
|
|
8
|
-
import { useIntl } from 'react-intl
|
|
8
|
+
import { useIntl } from 'react-intl';
|
|
9
9
|
import { RequiredAsterisk } from '@atlaskit/form';
|
|
10
10
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import { LINK_CREATE_FORM_POST_CREATE_FIELD } from '../../common/constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { Inline } from '@atlaskit/primitives/compiled';
|
|
5
5
|
import AkSelect, { components } from '@atlaskit/select';
|
|
6
6
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { useLayoutEffect, useRef } from 'react';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
5
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
6
6
|
import { CREATE_FORM_MAX_WIDTH_IN_PX, DEFAULT_TEST_ID, SCREEN_ID } from '../../common/constants';
|
|
@@ -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: "5.0.0" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { useIntl } from 'react-intl
|
|
2
|
+
import { useIntl } from 'react-intl';
|
|
3
3
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
4
4
|
import { ModalBody, ModalFooter, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
5
5
|
import { Button } from '../Button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { FormattedMessage, useIntl } from 'react-intl
|
|
3
|
+
import { FormattedMessage, useIntl } from 'react-intl';
|
|
4
4
|
import { isFedRamp } from '@atlaskit/atlassian-context';
|
|
5
5
|
import EmptyState from '@atlaskit/empty-state';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import Document16Icon from '@atlaskit/icon-file-type/glyph/document/16';
|
|
7
7
|
import PageLiveDoc16Icon from '@atlaskit/icon-object/glyph/page-live-doc/16';
|
|
8
8
|
import { iconLabelMessages } from './messages';
|
|
@@ -8,7 +8,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
|
8
8
|
import React, { useEffect, useMemo, useState } from 'react';
|
|
9
9
|
import debounce from 'debounce-promise';
|
|
10
10
|
import { useForm } from 'react-final-form';
|
|
11
|
-
import { useIntl } from 'react-intl
|
|
11
|
+
import { useIntl } from 'react-intl';
|
|
12
12
|
import { AsyncSelect as AkAsyncSelect } from '@atlaskit/select';
|
|
13
13
|
import messages from '../../../common/messages';
|
|
14
14
|
import { useLinkCreateCallback } from '../../../controllers/callback-context';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useForm, useFormState } from 'react-final-form';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
5
|
import LoadingButton from '@atlaskit/button/loading-button';
|
|
6
6
|
import { ANALYTICS_CHANNEL, LINK_CREATE_FORM_POST_CREATE_FIELD } from '../../../../common/constants';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./main.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ButtonGroup } from '@atlaskit/button';
|
|
7
7
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
8
8
|
import { Button } from '../../../common/ui/Button';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useForm, useFormState } from 'react-final-form';
|
|
3
|
-
import { useIntl } from 'react-intl
|
|
3
|
+
import { useIntl } from 'react-intl';
|
|
4
4
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
5
5
|
import LoadingButton from '@atlaskit/button/loading-button';
|
|
6
6
|
import { ANALYTICS_CHANNEL, LINK_CREATE_FORM_POST_CREATE_FIELD } from '../../../../common/constants';
|
|
@@ -13,7 +13,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
13
13
|
import { useCallback } from 'react';
|
|
14
14
|
import { FORM_ERROR } from 'final-form';
|
|
15
15
|
import { Form, FormSpy } from 'react-final-form';
|
|
16
|
-
import { useIntl } from 'react-intl
|
|
16
|
+
import { useIntl } from 'react-intl';
|
|
17
17
|
import { RequiredAsterisk } from '@atlaskit/form';
|
|
18
18
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
19
19
|
import { LINK_CREATE_FORM_POST_CREATE_FIELD } from '../../common/constants';
|
|
@@ -8,7 +8,7 @@ var _excluded = ["id", "name", "label", "isRequired", "validators", "validationH
|
|
|
8
8
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
9
9
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
10
10
|
import React from 'react';
|
|
11
|
-
import { useIntl } from 'react-intl
|
|
11
|
+
import { useIntl } from 'react-intl';
|
|
12
12
|
import { Inline } from '@atlaskit/primitives/compiled';
|
|
13
13
|
import AkSelect, { components } from '@atlaskit/select';
|
|
14
14
|
import { layers } from '@atlaskit/theme/constants';
|
|
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
3
3
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
4
4
|
import React, { useLayoutEffect, useRef } from 'react';
|
|
5
|
-
import { useIntl } from 'react-intl
|
|
5
|
+
import { useIntl } from 'react-intl';
|
|
6
6
|
import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
|
|
7
7
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
8
|
import { CREATE_FORM_MAX_WIDTH_IN_PX, DEFAULT_TEST_ID, SCREEN_ID } from '../../common/constants';
|
|
@@ -6,5 +6,5 @@ type ButtonProps = React.ComponentProps<typeof AkButton> & {
|
|
|
6
6
|
[Key in keyof AnalyticsEventAttributes as Key extends `ui.button.clicked.${infer ActionSubjectId}` ? ActionSubjectId : never]: any;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps,
|
|
9
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, 'ref'> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
export {};
|
|
@@ -10,5 +10,5 @@ type MessageProps = {
|
|
|
10
10
|
testId?: string;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare const Message: ({ children, appearance, id, testId }: MessageProps) => JSX.Element;
|
|
13
|
+
export declare const Message: ({ children, appearance, id, testId, }: MessageProps) => JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -10,5 +10,5 @@ export declare const ExitWarningModalProvider: ({ children, }: {
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export declare const useExitWarningModal: () => ExitWarningModalContextValue;
|
|
13
|
-
export declare const useWithExitWarning: () => (callback?: () => void) => () => boolean;
|
|
13
|
+
export declare const useWithExitWarning: () => ((callback?: () => void) => () => boolean);
|
|
14
14
|
export {};
|
|
@@ -6,7 +6,7 @@ import { type ReactNode } from 'react';
|
|
|
6
6
|
type ReservedFields = {
|
|
7
7
|
[Field in (typeof RESERVED_FIELDS)[number]]?: unknown;
|
|
8
8
|
};
|
|
9
|
-
declare const RESERVED_FIELDS: readonly [
|
|
9
|
+
declare const RESERVED_FIELDS: readonly ['__post_create__'];
|
|
10
10
|
type DisallowReservedFields<T> = T & {
|
|
11
11
|
[Field in (typeof RESERVED_FIELDS)[number]]?: never;
|
|
12
12
|
};
|
|
@@ -6,5 +6,5 @@ type ButtonProps = React.ComponentProps<typeof AkButton> & {
|
|
|
6
6
|
[Key in keyof AnalyticsEventAttributes as Key extends `ui.button.clicked.${infer ActionSubjectId}` ? ActionSubjectId : never]: any;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
-
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps,
|
|
9
|
+
export declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, 'ref'> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
export {};
|
|
@@ -10,5 +10,5 @@ type MessageProps = {
|
|
|
10
10
|
testId?: string;
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
};
|
|
13
|
-
export declare const Message: ({ children, appearance, id, testId }: MessageProps) => JSX.Element;
|
|
13
|
+
export declare const Message: ({ children, appearance, id, testId, }: MessageProps) => JSX.Element;
|
|
14
14
|
export {};
|
|
@@ -10,5 +10,5 @@ export declare const ExitWarningModalProvider: ({ children, }: {
|
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
}) => React.JSX.Element;
|
|
12
12
|
export declare const useExitWarningModal: () => ExitWarningModalContextValue;
|
|
13
|
-
export declare const useWithExitWarning: () => (callback?: () => void) => () => boolean;
|
|
13
|
+
export declare const useWithExitWarning: () => ((callback?: () => void) => () => boolean);
|
|
14
14
|
export {};
|
|
@@ -7,7 +7,7 @@ type ReservedFields = {
|
|
|
7
7
|
[Field in (typeof RESERVED_FIELDS)[number]]?: unknown;
|
|
8
8
|
};
|
|
9
9
|
declare const RESERVED_FIELDS: readonly [
|
|
10
|
-
|
|
10
|
+
'__post_create__'
|
|
11
11
|
];
|
|
12
12
|
type DisallowReservedFields<T> = T & {
|
|
13
13
|
[Field in (typeof RESERVED_FIELDS)[number]]?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -54,13 +54,13 @@
|
|
|
54
54
|
"@atlaskit/linking-common": "^9.11.0",
|
|
55
55
|
"@atlaskit/modal-dialog": "^14.15.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
57
|
-
"@atlaskit/primitives": "^
|
|
57
|
+
"@atlaskit/primitives": "^19.0.0",
|
|
58
58
|
"@atlaskit/select": "^21.10.0",
|
|
59
59
|
"@atlaskit/smart-user-picker": "^9.2.0",
|
|
60
60
|
"@atlaskit/spinner": "^19.1.0",
|
|
61
61
|
"@atlaskit/textfield": "^8.3.0",
|
|
62
62
|
"@atlaskit/theme": "^23.0.0",
|
|
63
|
-
"@atlaskit/tokens": "^
|
|
63
|
+
"@atlaskit/tokens": "^13.0.0",
|
|
64
64
|
"@babel/runtime": "^7.0.0",
|
|
65
65
|
"@compiled/react": "^0.20.0",
|
|
66
66
|
"debounce-promise": "^3.1.2",
|
|
@@ -69,14 +69,14 @@
|
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
71
|
"react": "^18.2.0",
|
|
72
|
-
"react-intl
|
|
72
|
+
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@af/accessibility-testing": "workspace:^",
|
|
76
76
|
"@af/integration-testing": "workspace:^",
|
|
77
77
|
"@af/visual-regression": "workspace:^",
|
|
78
78
|
"@atlaskit/drawer": "^12.0.0",
|
|
79
|
-
"@atlaskit/link-test-helpers": "^
|
|
79
|
+
"@atlaskit/link-test-helpers": "^10.0.0",
|
|
80
80
|
"@atlaskit/popup": "^4.16.0",
|
|
81
81
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
82
82
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"@types/debounce-promise": "^3.1.2",
|
|
87
87
|
"fetch-mock": "^8.0.0",
|
|
88
88
|
"react-dom": "^18.2.0",
|
|
89
|
+
"react-intl": "^6.6.2",
|
|
89
90
|
"wait-for-expect": "^1.2.0"
|
|
90
91
|
},
|
|
91
92
|
"scripts": {
|