@atlaskit/link-create 4.1.6 → 4.1.8

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 CHANGED
@@ -1,5 +1,23 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 4.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#172990](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/172990)
8
+ [`72746250a3966`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72746250a3966) -
9
+ Implemented tree graph for ADS Layering and removed old FG
10
+ - Updated dependencies
11
+
12
+ ## 4.1.7
13
+
14
+ ### Patch Changes
15
+
16
+ - [#178915](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178915)
17
+ [`88ef2ded109f8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/88ef2ded109f8) -
18
+ Adds support for `/Create Confluence page` one step extension to insert view page link when draft
19
+ redirect is enabled
20
+
3
21
  ## 4.1.6
4
22
 
5
23
  ### 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: "4.1.5" || '',
19
+ packageVersion: "4.1.7" || '',
20
20
  component: COMPONENT_NAME,
21
21
  componentName: COMPONENT_NAME
22
22
  };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /* prettier-ignore */
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //Slovenian (Slovenia) [sl-SI]
15
+ var _default = exports.default = {
16
+ 'link-create.live-doc-icon-label': 'Dokument v živo',
17
+ 'link-create.page-icon-label': 'Stran',
18
+ 'link-create.unknown-error.description': 'Če se to ponavlja, osvežite stran ali se obrnite na <a>podporo družbe Atlassian</a>.',
19
+ 'link-create.unknown-error.heading': 'Prišlo je do napake.',
20
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Spletno mesto',
21
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Nazaj',
22
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Zavrzi',
23
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Če zapustite to stran, vaših podatkov ne bo mogoče shraniti.',
24
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Vaše spremembe ne bodo shranjene',
25
+ 'linkCreate.createForm.button.close': 'Zapri',
26
+ 'linkCreate.createForm.button.create': 'Ustvari',
27
+ 'linkCreate.createForm.button.createAndOpen': 'Ustvari + odpri',
28
+ 'linkCreate.form.requiredField.instruction': 'Obvezna polja so označena z zvezdico',
29
+ 'linkCreate.modal.heading': 'Ustvari novo'
30
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /* prettier-ignore */
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //Serbian (Serbia) [sr-RS]
15
+ var _default = exports.default = {
16
+ 'link-create.live-doc-icon-label': 'Dokument u realnom vremenu',
17
+ 'link-create.page-icon-label': 'Stranica',
18
+ 'link-create.unknown-error.description': 'Osvežite stranicu ili se obratite <a>Atlassian podršci</a> ako se problem nastavi.',
19
+ 'link-create.unknown-error.heading': 'Došlo je do greške.',
20
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Sajt',
21
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Nazad',
22
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Odbaci',
23
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Informacije ne mogu da se sačuvaju ako napustite ovu stranicu.',
24
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Promene neće biti sačuvane',
25
+ 'linkCreate.createForm.button.close': 'Zatvori',
26
+ 'linkCreate.createForm.button.create': 'Napravi',
27
+ 'linkCreate.createForm.button.createAndOpen': 'Napravi + Otvori',
28
+ 'linkCreate.form.requiredField.instruction': 'Obavezni atributi su označeni zvezdicom',
29
+ 'linkCreate.modal.heading': 'Napravi novo'
30
+ };
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+ /* prettier-ignore */
8
+ /**
9
+ * NOTE:
10
+ *
11
+ * This file is automatically generated by Traduki 2.0.
12
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
+ */
14
+ //Serbian (Cyrillic) [sr-YR]
15
+ var _default = exports.default = {
16
+ 'link-create.live-doc-icon-label': 'Документ у реалном времену',
17
+ 'link-create.page-icon-label': 'Страница',
18
+ 'link-create.unknown-error.description': 'Освежите страницу или се обратите <a>Atlassian подршци</a> ако се проблем настави.',
19
+ 'link-create.unknown-error.heading': 'Дошло је до грешке.',
20
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Сајт',
21
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Назад',
22
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Одбаци',
23
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Информације не могу да се сачувају ако напустите ову страницу.',
24
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Промене неће бити сачуване',
25
+ 'linkCreate.createForm.button.close': 'Затвори',
26
+ 'linkCreate.createForm.button.create': 'Направи',
27
+ 'linkCreate.createForm.button.createAndOpen': 'Направи + Отвори',
28
+ 'linkCreate.form.requiredField.instruction': 'Обавезни атрибути су означени звездицом',
29
+ 'linkCreate.modal.heading': 'Направите ново'
30
+ };
@@ -13,6 +13,7 @@ var _react = _interopRequireWildcard(require("react"));
13
13
  var _reactIntlNext = require("react-intl-next");
14
14
  var _layering = require("@atlaskit/layering");
15
15
  var _modalDialog = require("@atlaskit/modal-dialog");
16
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
17
  var _compiled = require("@atlaskit/primitives/compiled");
17
18
  var _constants = require("../../common/constants");
18
19
  var _confirmDismissDialog = require("../../common/ui/confirm-dismiss-dialog");
@@ -73,12 +74,16 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
73
74
  }, /*#__PURE__*/_react.default.createElement(_errorBoundary.ErrorBoundary, null, /*#__PURE__*/_react.default.createElement(_linkCreateContent.LinkCreateContent, {
74
75
  plugins: plugins,
75
76
  entityKey: entityKey
76
- })))))), onComplete && /*#__PURE__*/_react.default.createElement(_editModal.EditModal, {
77
+ })))), (0, _platformFeatureFlags.fg)('layering-tree-graph') && /*#__PURE__*/_react.default.createElement(_confirmDismissDialog.ConfirmDismissDialog, {
78
+ active: showExitWarning,
79
+ onClose: handleCloseExitWarning,
80
+ onCancel: onCancel
81
+ }))), onComplete && /*#__PURE__*/_react.default.createElement(_editModal.EditModal, {
77
82
  onCloseComplete: onCloseComplete,
78
83
  onClose: onComplete,
79
84
  editViewPayload: editViewPayload,
80
85
  activePlugin: activePlugin
81
- }), /*#__PURE__*/_react.default.createElement(_layering.Layering, {
86
+ }), !(0, _platformFeatureFlags.fg)('layering-tree-graph') && /*#__PURE__*/_react.default.createElement(_layering.Layering, {
82
87
  isDisabled: false
83
88
  }, /*#__PURE__*/_react.default.createElement(_confirmDismissDialog.ConfirmDismissDialog, {
84
89
  active: showExitWarning,
@@ -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.1.5" || '',
13
+ packageVersion: "4.1.7" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -0,0 +1,24 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Slovenian (Slovenia) [sl-SI]
9
+ export default {
10
+ 'link-create.live-doc-icon-label': 'Dokument v živo',
11
+ 'link-create.page-icon-label': 'Stran',
12
+ 'link-create.unknown-error.description': 'Če se to ponavlja, osvežite stran ali se obrnite na <a>podporo družbe Atlassian</a>.',
13
+ 'link-create.unknown-error.heading': 'Prišlo je do napake.',
14
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Spletno mesto',
15
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Nazaj',
16
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Zavrzi',
17
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Če zapustite to stran, vaših podatkov ne bo mogoče shraniti.',
18
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Vaše spremembe ne bodo shranjene',
19
+ 'linkCreate.createForm.button.close': 'Zapri',
20
+ 'linkCreate.createForm.button.create': 'Ustvari',
21
+ 'linkCreate.createForm.button.createAndOpen': 'Ustvari + odpri',
22
+ 'linkCreate.form.requiredField.instruction': 'Obvezna polja so označena z zvezdico',
23
+ 'linkCreate.modal.heading': 'Ustvari novo'
24
+ };
@@ -0,0 +1,24 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Serbian (Serbia) [sr-RS]
9
+ export default {
10
+ 'link-create.live-doc-icon-label': 'Dokument u realnom vremenu',
11
+ 'link-create.page-icon-label': 'Stranica',
12
+ 'link-create.unknown-error.description': 'Osvežite stranicu ili se obratite <a>Atlassian podršci</a> ako se problem nastavi.',
13
+ 'link-create.unknown-error.heading': 'Došlo je do greške.',
14
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Sajt',
15
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Nazad',
16
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Odbaci',
17
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Informacije ne mogu da se sačuvaju ako napustite ovu stranicu.',
18
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Promene neće biti sačuvane',
19
+ 'linkCreate.createForm.button.close': 'Zatvori',
20
+ 'linkCreate.createForm.button.create': 'Napravi',
21
+ 'linkCreate.createForm.button.createAndOpen': 'Napravi + Otvori',
22
+ 'linkCreate.form.requiredField.instruction': 'Obavezni atributi su označeni zvezdicom',
23
+ 'linkCreate.modal.heading': 'Napravi novo'
24
+ };
@@ -0,0 +1,24 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Serbian (Cyrillic) [sr-YR]
9
+ export default {
10
+ 'link-create.live-doc-icon-label': 'Документ у реалном времену',
11
+ 'link-create.page-icon-label': 'Страница',
12
+ 'link-create.unknown-error.description': 'Освежите страницу или се обратите <a>Atlassian подршци</a> ако се проблем настави.',
13
+ 'link-create.unknown-error.heading': 'Дошло је до грешке.',
14
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Сајт',
15
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Назад',
16
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Одбаци',
17
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Информације не могу да се сачувају ако напустите ову страницу.',
18
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Промене неће бити сачуване',
19
+ 'linkCreate.createForm.button.close': 'Затвори',
20
+ 'linkCreate.createForm.button.create': 'Направи',
21
+ 'linkCreate.createForm.button.createAndOpen': 'Направи + Отвори',
22
+ 'linkCreate.form.requiredField.instruction': 'Обавезни атрибути су означени звездицом',
23
+ 'linkCreate.modal.heading': 'Направите ново'
24
+ };
@@ -3,6 +3,7 @@ import React, { useLayoutEffect, useRef } from 'react';
3
3
  import { useIntl } from 'react-intl-next';
4
4
  import { Layering } from '@atlaskit/layering';
5
5
  import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
6
+ import { fg } from '@atlaskit/platform-feature-flags';
6
7
  import { Box } from '@atlaskit/primitives/compiled';
7
8
  import { CREATE_FORM_MAX_WIDTH_IN_PX, DEFAULT_TEST_ID, SCREEN_ID } from '../../common/constants';
8
9
  import { ConfirmDismissDialog } from '../../common/ui/confirm-dismiss-dialog';
@@ -63,12 +64,16 @@ const LinkCreateWithModal = ({
63
64
  }, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LinkCreateContent, {
64
65
  plugins: plugins,
65
66
  entityKey: entityKey
66
- })))))), onComplete && /*#__PURE__*/React.createElement(EditModal, {
67
+ })))), fg('layering-tree-graph') && /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
68
+ active: showExitWarning,
69
+ onClose: handleCloseExitWarning,
70
+ onCancel: onCancel
71
+ }))), onComplete && /*#__PURE__*/React.createElement(EditModal, {
67
72
  onCloseComplete: onCloseComplete,
68
73
  onClose: onComplete,
69
74
  editViewPayload: editViewPayload,
70
75
  activePlugin: activePlugin
71
- }), /*#__PURE__*/React.createElement(Layering, {
76
+ }), !fg('layering-tree-graph') && /*#__PURE__*/React.createElement(Layering, {
72
77
  isDisabled: false
73
78
  }, /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
74
79
  active: showExitWarning,
@@ -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.1.5" || '',
13
+ packageVersion: "4.1.7" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -0,0 +1,24 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Slovenian (Slovenia) [sl-SI]
9
+ export default {
10
+ 'link-create.live-doc-icon-label': 'Dokument v živo',
11
+ 'link-create.page-icon-label': 'Stran',
12
+ 'link-create.unknown-error.description': 'Če se to ponavlja, osvežite stran ali se obrnite na <a>podporo družbe Atlassian</a>.',
13
+ 'link-create.unknown-error.heading': 'Prišlo je do napake.',
14
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Spletno mesto',
15
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Nazaj',
16
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Zavrzi',
17
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Če zapustite to stran, vaših podatkov ne bo mogoče shraniti.',
18
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Vaše spremembe ne bodo shranjene',
19
+ 'linkCreate.createForm.button.close': 'Zapri',
20
+ 'linkCreate.createForm.button.create': 'Ustvari',
21
+ 'linkCreate.createForm.button.createAndOpen': 'Ustvari + odpri',
22
+ 'linkCreate.form.requiredField.instruction': 'Obvezna polja so označena z zvezdico',
23
+ 'linkCreate.modal.heading': 'Ustvari novo'
24
+ };
@@ -0,0 +1,24 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Serbian (Serbia) [sr-RS]
9
+ export default {
10
+ 'link-create.live-doc-icon-label': 'Dokument u realnom vremenu',
11
+ 'link-create.page-icon-label': 'Stranica',
12
+ 'link-create.unknown-error.description': 'Osvežite stranicu ili se obratite <a>Atlassian podršci</a> ako se problem nastavi.',
13
+ 'link-create.unknown-error.heading': 'Došlo je do greške.',
14
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Sajt',
15
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Nazad',
16
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Odbaci',
17
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Informacije ne mogu da se sačuvaju ako napustite ovu stranicu.',
18
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Promene neće biti sačuvane',
19
+ 'linkCreate.createForm.button.close': 'Zatvori',
20
+ 'linkCreate.createForm.button.create': 'Napravi',
21
+ 'linkCreate.createForm.button.createAndOpen': 'Napravi + Otvori',
22
+ 'linkCreate.form.requiredField.instruction': 'Obavezni atributi su označeni zvezdicom',
23
+ 'linkCreate.modal.heading': 'Napravi novo'
24
+ };
@@ -0,0 +1,24 @@
1
+ /* prettier-ignore */
2
+ /**
3
+ * NOTE:
4
+ *
5
+ * This file is automatically generated by Traduki 2.0.
6
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
7
+ */
8
+ //Serbian (Cyrillic) [sr-YR]
9
+ export default {
10
+ 'link-create.live-doc-icon-label': 'Документ у реалном времену',
11
+ 'link-create.page-icon-label': 'Страница',
12
+ 'link-create.unknown-error.description': 'Освежите страницу или се обратите <a>Atlassian подршци</a> ако се проблем настави.',
13
+ 'link-create.unknown-error.heading': 'Дошло је до грешке.',
14
+ 'linkCreate.CreateConfluencePage.form.site.label': 'Сајт',
15
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': 'Назад',
16
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': 'Одбаци',
17
+ 'linkCreate.confirm-dismiss-dialog.modal.description': 'Информације не могу да се сачувају ако напустите ову страницу.',
18
+ 'linkCreate.confirm-dismiss-dialog.modal.title': 'Промене неће бити сачуване',
19
+ 'linkCreate.createForm.button.close': 'Затвори',
20
+ 'linkCreate.createForm.button.create': 'Направи',
21
+ 'linkCreate.createForm.button.createAndOpen': 'Направи + Отвори',
22
+ 'linkCreate.form.requiredField.instruction': 'Обавезни атрибути су означени звездицом',
23
+ 'linkCreate.modal.heading': 'Направите ново'
24
+ };
@@ -5,6 +5,7 @@ import React, { useLayoutEffect, useRef } from 'react';
5
5
  import { useIntl } from 'react-intl-next';
6
6
  import { Layering } from '@atlaskit/layering';
7
7
  import { ModalBody, ModalHeader, ModalTitle, ModalTransition } from '@atlaskit/modal-dialog';
8
+ import { fg } from '@atlaskit/platform-feature-flags';
8
9
  import { Box } from '@atlaskit/primitives/compiled';
9
10
  import { CREATE_FORM_MAX_WIDTH_IN_PX, DEFAULT_TEST_ID, SCREEN_ID } from '../../common/constants';
10
11
  import { ConfirmDismissDialog } from '../../common/ui/confirm-dismiss-dialog';
@@ -64,12 +65,16 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref) {
64
65
  }, /*#__PURE__*/React.createElement(ErrorBoundary, null, /*#__PURE__*/React.createElement(LinkCreateContent, {
65
66
  plugins: plugins,
66
67
  entityKey: entityKey
67
- })))))), onComplete && /*#__PURE__*/React.createElement(EditModal, {
68
+ })))), fg('layering-tree-graph') && /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
69
+ active: showExitWarning,
70
+ onClose: handleCloseExitWarning,
71
+ onCancel: onCancel
72
+ }))), onComplete && /*#__PURE__*/React.createElement(EditModal, {
68
73
  onCloseComplete: onCloseComplete,
69
74
  onClose: onComplete,
70
75
  editViewPayload: editViewPayload,
71
76
  activePlugin: activePlugin
72
- }), /*#__PURE__*/React.createElement(Layering, {
77
+ }), !fg('layering-tree-graph') && /*#__PURE__*/React.createElement(Layering, {
73
78
  isDisabled: false
74
79
  }, /*#__PURE__*/React.createElement(ConfirmDismissDialog, {
75
80
  active: showExitWarning,
@@ -62,6 +62,8 @@ export interface LinkCreatePlugin<Key = string> {
62
62
  export type CreatePayload = {
63
63
  /** The url to the resource created by the create plugin */
64
64
  url: string;
65
+ /** The url to be opened on create if this is different from `url` created*/
66
+ linkToOpen?: string;
65
67
  /**
66
68
  * ARI of the created resource.
67
69
  * https://developer.atlassian.com/platform/atlassian-resource-identifier/spec/ari-latest/
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'link-create.live-doc-icon-label': string;
9
+ 'link-create.page-icon-label': string;
10
+ 'link-create.unknown-error.description': string;
11
+ 'link-create.unknown-error.heading': string;
12
+ 'linkCreate.CreateConfluencePage.form.site.label': string;
13
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': string;
14
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': string;
15
+ 'linkCreate.confirm-dismiss-dialog.modal.description': string;
16
+ 'linkCreate.confirm-dismiss-dialog.modal.title': string;
17
+ 'linkCreate.createForm.button.close': string;
18
+ 'linkCreate.createForm.button.create': string;
19
+ 'linkCreate.createForm.button.createAndOpen': string;
20
+ 'linkCreate.form.requiredField.instruction': string;
21
+ 'linkCreate.modal.heading': string;
22
+ };
23
+ export default _default;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'link-create.live-doc-icon-label': string;
9
+ 'link-create.page-icon-label': string;
10
+ 'link-create.unknown-error.description': string;
11
+ 'link-create.unknown-error.heading': string;
12
+ 'linkCreate.CreateConfluencePage.form.site.label': string;
13
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': string;
14
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': string;
15
+ 'linkCreate.confirm-dismiss-dialog.modal.description': string;
16
+ 'linkCreate.confirm-dismiss-dialog.modal.title': string;
17
+ 'linkCreate.createForm.button.close': string;
18
+ 'linkCreate.createForm.button.create': string;
19
+ 'linkCreate.createForm.button.createAndOpen': string;
20
+ 'linkCreate.form.requiredField.instruction': string;
21
+ 'linkCreate.modal.heading': string;
22
+ };
23
+ export default _default;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'link-create.live-doc-icon-label': string;
9
+ 'link-create.page-icon-label': string;
10
+ 'link-create.unknown-error.description': string;
11
+ 'link-create.unknown-error.heading': string;
12
+ 'linkCreate.CreateConfluencePage.form.site.label': string;
13
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': string;
14
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': string;
15
+ 'linkCreate.confirm-dismiss-dialog.modal.description': string;
16
+ 'linkCreate.confirm-dismiss-dialog.modal.title': string;
17
+ 'linkCreate.createForm.button.close': string;
18
+ 'linkCreate.createForm.button.create': string;
19
+ 'linkCreate.createForm.button.createAndOpen': string;
20
+ 'linkCreate.form.requiredField.instruction': string;
21
+ 'linkCreate.modal.heading': string;
22
+ };
23
+ export default _default;
@@ -62,6 +62,8 @@ export interface LinkCreatePlugin<Key = string> {
62
62
  export type CreatePayload = {
63
63
  /** The url to the resource created by the create plugin */
64
64
  url: string;
65
+ /** The url to be opened on create if this is different from `url` created*/
66
+ linkToOpen?: string;
65
67
  /**
66
68
  * ARI of the created resource.
67
69
  * https://developer.atlassian.com/platform/atlassian-resource-identifier/spec/ari-latest/
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'link-create.live-doc-icon-label': string;
9
+ 'link-create.page-icon-label': string;
10
+ 'link-create.unknown-error.description': string;
11
+ 'link-create.unknown-error.heading': string;
12
+ 'linkCreate.CreateConfluencePage.form.site.label': string;
13
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': string;
14
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': string;
15
+ 'linkCreate.confirm-dismiss-dialog.modal.description': string;
16
+ 'linkCreate.confirm-dismiss-dialog.modal.title': string;
17
+ 'linkCreate.createForm.button.close': string;
18
+ 'linkCreate.createForm.button.create': string;
19
+ 'linkCreate.createForm.button.createAndOpen': string;
20
+ 'linkCreate.form.requiredField.instruction': string;
21
+ 'linkCreate.modal.heading': string;
22
+ };
23
+ export default _default;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'link-create.live-doc-icon-label': string;
9
+ 'link-create.page-icon-label': string;
10
+ 'link-create.unknown-error.description': string;
11
+ 'link-create.unknown-error.heading': string;
12
+ 'linkCreate.CreateConfluencePage.form.site.label': string;
13
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': string;
14
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': string;
15
+ 'linkCreate.confirm-dismiss-dialog.modal.description': string;
16
+ 'linkCreate.confirm-dismiss-dialog.modal.title': string;
17
+ 'linkCreate.createForm.button.close': string;
18
+ 'linkCreate.createForm.button.create': string;
19
+ 'linkCreate.createForm.button.createAndOpen': string;
20
+ 'linkCreate.form.requiredField.instruction': string;
21
+ 'linkCreate.modal.heading': string;
22
+ };
23
+ export default _default;
@@ -0,0 +1,23 @@
1
+ /**
2
+ * NOTE:
3
+ *
4
+ * This file is automatically generated by Traduki 2.0.
5
+ * DO NOT CHANGE IT BY HAND or your changes will be lost.
6
+ */
7
+ declare const _default: {
8
+ 'link-create.live-doc-icon-label': string;
9
+ 'link-create.page-icon-label': string;
10
+ 'link-create.unknown-error.description': string;
11
+ 'link-create.unknown-error.heading': string;
12
+ 'linkCreate.CreateConfluencePage.form.site.label': string;
13
+ 'linkCreate.confirm-dismiss-dialog.modal.cancel-button-label': string;
14
+ 'linkCreate.confirm-dismiss-dialog.modal.confirm-button-label': string;
15
+ 'linkCreate.confirm-dismiss-dialog.modal.description': string;
16
+ 'linkCreate.confirm-dismiss-dialog.modal.title': string;
17
+ 'linkCreate.createForm.button.close': string;
18
+ 'linkCreate.createForm.button.create': string;
19
+ 'linkCreate.createForm.button.createAndOpen': string;
20
+ 'linkCreate.form.requiredField.instruction': string;
21
+ 'linkCreate.modal.heading': string;
22
+ };
23
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "4.1.6",
3
+ "version": "4.1.8",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -12,8 +12,7 @@
12
12
  "website": {
13
13
  "name": "LinkCreate"
14
14
  },
15
- "i18n": true,
16
- "runReact18": true
15
+ "i18n": true
17
16
  },
18
17
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
19
18
  "main": "dist/cjs/index.js",
@@ -134,6 +133,9 @@
134
133
  },
135
134
  "should-render-to-parent-should-be-true-linking-pla": {
136
135
  "type": "boolean"
136
+ },
137
+ "layering-tree-graph": {
138
+ "type": "boolean"
137
139
  }
138
140
  },
139
141
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/5ebc0bfb-9b6d-4ec0-adbe-e4d5e88ace44"