@atlaskit/link-create 0.7.1 → 0.8.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/i18n/cs.js +22 -0
  3. package/dist/cjs/i18n/en.js +22 -0
  4. package/dist/cjs/i18n/en_GB.js +22 -0
  5. package/dist/cjs/i18n/en_ZZ.js +22 -0
  6. package/dist/cjs/i18n/ko.js +22 -0
  7. package/dist/cjs/i18n/nl.js +22 -0
  8. package/dist/cjs/i18n/zh.js +22 -0
  9. package/dist/cjs/index.js +0 -13
  10. package/dist/cjs/version.json +1 -1
  11. package/dist/es2019/i18n/cs.js +15 -0
  12. package/dist/es2019/i18n/en.js +15 -0
  13. package/dist/es2019/i18n/en_GB.js +15 -0
  14. package/dist/es2019/i18n/en_ZZ.js +15 -0
  15. package/dist/es2019/i18n/ko.js +15 -0
  16. package/dist/es2019/i18n/nl.js +15 -0
  17. package/dist/es2019/i18n/zh.js +15 -0
  18. package/dist/es2019/index.js +1 -2
  19. package/dist/es2019/version.json +1 -1
  20. package/dist/esm/i18n/cs.js +15 -0
  21. package/dist/esm/i18n/en.js +15 -0
  22. package/dist/esm/i18n/en_GB.js +15 -0
  23. package/dist/esm/i18n/en_ZZ.js +15 -0
  24. package/dist/esm/i18n/ko.js +15 -0
  25. package/dist/esm/i18n/nl.js +15 -0
  26. package/dist/esm/i18n/zh.js +15 -0
  27. package/dist/esm/index.js +1 -2
  28. package/dist/esm/version.json +1 -1
  29. package/dist/types/i18n/cs.d.ts +14 -0
  30. package/dist/types/i18n/en.d.ts +14 -0
  31. package/dist/types/i18n/en_GB.d.ts +14 -0
  32. package/dist/types/i18n/en_ZZ.d.ts +14 -0
  33. package/dist/types/i18n/ko.d.ts +14 -0
  34. package/dist/types/i18n/nl.d.ts +14 -0
  35. package/dist/types/i18n/zh.d.ts +14 -0
  36. package/dist/types/index.d.ts +0 -1
  37. package/dist/types-ts4.5/i18n/cs.d.ts +14 -0
  38. package/dist/types-ts4.5/i18n/en.d.ts +14 -0
  39. package/dist/types-ts4.5/i18n/en_GB.d.ts +14 -0
  40. package/dist/types-ts4.5/i18n/en_ZZ.d.ts +14 -0
  41. package/dist/types-ts4.5/i18n/ko.d.ts +14 -0
  42. package/dist/types-ts4.5/i18n/nl.d.ts +14 -0
  43. package/dist/types-ts4.5/i18n/zh.d.ts +14 -0
  44. package/dist/types-ts4.5/index.d.ts +0 -1
  45. package/package.json +10 -7
  46. package/report.api.md +0 -18
  47. package/tmp/api-report-tmp.d.ts +0 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f3acb380cb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3acb380cb2) - EDM-7064: remove FormContextProvider export to prevent usage in external packages.
8
+
3
9
  ## 0.7.1
4
10
 
5
11
  ### Patch Changes
@@ -0,0 +1,22 @@
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
+ //Czech
15
+ var _default = {
16
+ 'link-create.unknown-error.description': 'Obnovte stránku nebo, pokud problém přetrvává, kontaktujte <a>podporu Atlassian</a>.',
17
+ 'link-create.unknown-error.heading': 'Něco se pokazilo',
18
+ 'linkCreate.createForm.button.close': 'Zavřít',
19
+ 'linkCreate.createForm.button.create': 'Vytvořit',
20
+ 'linkCreate.modal.heading': 'Vytvořit novou položku'
21
+ };
22
+ exports.default = _default;
@@ -0,0 +1,22 @@
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
+ //
15
+ var _default = {
16
+ 'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
17
+ 'link-create.unknown-error.heading': 'Something went wrong',
18
+ 'linkCreate.createForm.button.close': 'Close',
19
+ 'linkCreate.createForm.button.create': 'Create',
20
+ 'linkCreate.modal.heading': 'Create new'
21
+ };
22
+ exports.default = _default;
@@ -0,0 +1,22 @@
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
+ //English (United Kingdom)
15
+ var _default = {
16
+ 'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
17
+ 'link-create.unknown-error.heading': 'Something went wrong',
18
+ 'linkCreate.createForm.button.close': 'Close',
19
+ 'linkCreate.createForm.button.create': 'Create',
20
+ 'linkCreate.modal.heading': 'Create new'
21
+ };
22
+ exports.default = _default;
@@ -0,0 +1,22 @@
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
+ //
15
+ var _default = {
16
+ 'link-create.unknown-error.description': '⁣⁢Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.⁠‌؜⁡‍‌⁡؜⁠‌؜⁠⁣⁤',
17
+ 'link-create.unknown-error.heading': '⁣⁢Something went wrong‍‍⁡⁡‌‌⁠⁠‌⁡⁣⁤',
18
+ 'linkCreate.createForm.button.close': '⁣⁢Close‌‌‌⁡‍⁡⁡؜‌‍⁣⁤',
19
+ 'linkCreate.createForm.button.create': '⁣⁢Create‍⁡‌؜⁡؜‍‌‌⁣⁤',
20
+ 'linkCreate.modal.heading': '⁣⁢Create new‌‌⁠⁡؜‌⁠⁠⁣⁤'
21
+ };
22
+ exports.default = _default;
@@ -0,0 +1,22 @@
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
+ //Korean
15
+ var _default = {
16
+ 'link-create.unknown-error.description': '페이지를 새로 고치거나 문제가 계속 발생하는 경우 <a>Atlassian 고객 지원 팀</a>에 문의하세요.',
17
+ 'link-create.unknown-error.heading': '문제가 발생했습니다',
18
+ 'linkCreate.createForm.button.close': '닫기',
19
+ 'linkCreate.createForm.button.create': '만들기',
20
+ 'linkCreate.modal.heading': '새로 만들기'
21
+ };
22
+ exports.default = _default;
@@ -0,0 +1,22 @@
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
+ //Dutch (Netherlands)
15
+ var _default = {
16
+ 'link-create.unknown-error.description': 'Vernieuw de pagina of neem contact op met <a>Atlassian-support</a> als dit blijft gebeuren.',
17
+ 'link-create.unknown-error.heading': 'Er is iets misgegaan',
18
+ 'linkCreate.createForm.button.close': 'Sluiten',
19
+ 'linkCreate.createForm.button.create': 'Aanmaken',
20
+ 'linkCreate.modal.heading': 'Nieuwe aanmaken'
21
+ };
22
+ exports.default = _default;
@@ -0,0 +1,22 @@
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
+ //Chinese (Simplified)
15
+ var _default = {
16
+ 'link-create.unknown-error.description': '如果此问题依然存在,请刷新页面或联系 <a>Atlassian 支持团队</a>。',
17
+ 'link-create.unknown-error.heading': '出错了',
18
+ 'linkCreate.createForm.button.close': '关闭',
19
+ 'linkCreate.createForm.button.create': '创建',
20
+ 'linkCreate.modal.heading': '新建'
21
+ };
22
+ exports.default = _default;
package/dist/cjs/index.js CHANGED
@@ -22,12 +22,6 @@ Object.defineProperty(exports, "CreateFormLoader", {
22
22
  return _index.CreateFormLoader;
23
23
  }
24
24
  });
25
- Object.defineProperty(exports, "FormContextProvider", {
26
- enumerable: true,
27
- get: function get() {
28
- return _formContext.FormContextProvider;
29
- }
30
- });
31
25
  Object.defineProperty(exports, "LinkCreateCallbackProvider", {
32
26
  enumerable: true,
33
27
  get: function get() {
@@ -46,12 +40,6 @@ Object.defineProperty(exports, "default", {
46
40
  return _index.default;
47
41
  }
48
42
  });
49
- Object.defineProperty(exports, "useFormContext", {
50
- enumerable: true,
51
- get: function get() {
52
- return _formContext.useFormContext;
53
- }
54
- });
55
43
  Object.defineProperty(exports, "useLinkCreateCallback", {
56
44
  enumerable: true,
57
45
  get: function get() {
@@ -60,6 +48,5 @@ Object.defineProperty(exports, "useLinkCreateCallback", {
60
48
  });
61
49
  var _index = _interopRequireWildcard(require("./ui/index"));
62
50
  var _callbackContext = require("./controllers/callback-context");
63
- var _formContext = require("./controllers/form-context");
64
51
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
65
52
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "sideEffects": false
5
5
  }
@@ -0,0 +1,15 @@
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
+ //Czech
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Obnovte stránku nebo, pokud problém přetrvává, kontaktujte <a>podporu Atlassian</a>.',
11
+ 'link-create.unknown-error.heading': 'Něco se pokazilo',
12
+ 'linkCreate.createForm.button.close': 'Zavřít',
13
+ 'linkCreate.createForm.button.create': 'Vytvořit',
14
+ 'linkCreate.modal.heading': 'Vytvořit novou položku'
15
+ };
@@ -0,0 +1,15 @@
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
+ //
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
11
+ 'link-create.unknown-error.heading': 'Something went wrong',
12
+ 'linkCreate.createForm.button.close': 'Close',
13
+ 'linkCreate.createForm.button.create': 'Create',
14
+ 'linkCreate.modal.heading': 'Create new'
15
+ };
@@ -0,0 +1,15 @@
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
+ //English (United Kingdom)
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
11
+ 'link-create.unknown-error.heading': 'Something went wrong',
12
+ 'linkCreate.createForm.button.close': 'Close',
13
+ 'linkCreate.createForm.button.create': 'Create',
14
+ 'linkCreate.modal.heading': 'Create new'
15
+ };
@@ -0,0 +1,15 @@
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
+ //
9
+ export default {
10
+ 'link-create.unknown-error.description': '⁣⁢Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.⁠‌؜⁡‍‌⁡؜⁠‌؜⁠⁣⁤',
11
+ 'link-create.unknown-error.heading': '⁣⁢Something went wrong‍‍⁡⁡‌‌⁠⁠‌⁡⁣⁤',
12
+ 'linkCreate.createForm.button.close': '⁣⁢Close‌‌‌⁡‍⁡⁡؜‌‍⁣⁤',
13
+ 'linkCreate.createForm.button.create': '⁣⁢Create‍⁡‌؜⁡؜‍‌‌⁣⁤',
14
+ 'linkCreate.modal.heading': '⁣⁢Create new‌‌⁠⁡؜‌⁠⁠⁣⁤'
15
+ };
@@ -0,0 +1,15 @@
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
+ //Korean
9
+ export default {
10
+ 'link-create.unknown-error.description': '페이지를 새로 고치거나 문제가 계속 발생하는 경우 <a>Atlassian 고객 지원 팀</a>에 문의하세요.',
11
+ 'link-create.unknown-error.heading': '문제가 발생했습니다',
12
+ 'linkCreate.createForm.button.close': '닫기',
13
+ 'linkCreate.createForm.button.create': '만들기',
14
+ 'linkCreate.modal.heading': '새로 만들기'
15
+ };
@@ -0,0 +1,15 @@
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
+ //Dutch (Netherlands)
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Vernieuw de pagina of neem contact op met <a>Atlassian-support</a> als dit blijft gebeuren.',
11
+ 'link-create.unknown-error.heading': 'Er is iets misgegaan',
12
+ 'linkCreate.createForm.button.close': 'Sluiten',
13
+ 'linkCreate.createForm.button.create': 'Aanmaken',
14
+ 'linkCreate.modal.heading': 'Nieuwe aanmaken'
15
+ };
@@ -0,0 +1,15 @@
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
+ //Chinese (Simplified)
9
+ export default {
10
+ 'link-create.unknown-error.description': '如果此问题依然存在,请刷新页面或联系 <a>Atlassian 支持团队</a>。',
11
+ 'link-create.unknown-error.heading': '出错了',
12
+ 'linkCreate.createForm.button.close': '关闭',
13
+ 'linkCreate.createForm.button.create': '创建',
14
+ 'linkCreate.modal.heading': '新建'
15
+ };
@@ -1,3 +1,2 @@
1
1
  export { default, TextField, CreateForm, AsyncSelect, CreateFormLoader } from './ui/index';
2
- export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
3
- export { FormContextProvider, useFormContext } from './controllers/form-context';
2
+ export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "sideEffects": false
5
5
  }
@@ -0,0 +1,15 @@
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
+ //Czech
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Obnovte stránku nebo, pokud problém přetrvává, kontaktujte <a>podporu Atlassian</a>.',
11
+ 'link-create.unknown-error.heading': 'Něco se pokazilo',
12
+ 'linkCreate.createForm.button.close': 'Zavřít',
13
+ 'linkCreate.createForm.button.create': 'Vytvořit',
14
+ 'linkCreate.modal.heading': 'Vytvořit novou položku'
15
+ };
@@ -0,0 +1,15 @@
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
+ //
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
11
+ 'link-create.unknown-error.heading': 'Something went wrong',
12
+ 'linkCreate.createForm.button.close': 'Close',
13
+ 'linkCreate.createForm.button.create': 'Create',
14
+ 'linkCreate.modal.heading': 'Create new'
15
+ };
@@ -0,0 +1,15 @@
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
+ //English (United Kingdom)
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
11
+ 'link-create.unknown-error.heading': 'Something went wrong',
12
+ 'linkCreate.createForm.button.close': 'Close',
13
+ 'linkCreate.createForm.button.create': 'Create',
14
+ 'linkCreate.modal.heading': 'Create new'
15
+ };
@@ -0,0 +1,15 @@
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
+ //
9
+ export default {
10
+ 'link-create.unknown-error.description': '⁣⁢Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.⁠‌؜⁡‍‌⁡؜⁠‌؜⁠⁣⁤',
11
+ 'link-create.unknown-error.heading': '⁣⁢Something went wrong‍‍⁡⁡‌‌⁠⁠‌⁡⁣⁤',
12
+ 'linkCreate.createForm.button.close': '⁣⁢Close‌‌‌⁡‍⁡⁡؜‌‍⁣⁤',
13
+ 'linkCreate.createForm.button.create': '⁣⁢Create‍⁡‌؜⁡؜‍‌‌⁣⁤',
14
+ 'linkCreate.modal.heading': '⁣⁢Create new‌‌⁠⁡؜‌⁠⁠⁣⁤'
15
+ };
@@ -0,0 +1,15 @@
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
+ //Korean
9
+ export default {
10
+ 'link-create.unknown-error.description': '페이지를 새로 고치거나 문제가 계속 발생하는 경우 <a>Atlassian 고객 지원 팀</a>에 문의하세요.',
11
+ 'link-create.unknown-error.heading': '문제가 발생했습니다',
12
+ 'linkCreate.createForm.button.close': '닫기',
13
+ 'linkCreate.createForm.button.create': '만들기',
14
+ 'linkCreate.modal.heading': '새로 만들기'
15
+ };
@@ -0,0 +1,15 @@
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
+ //Dutch (Netherlands)
9
+ export default {
10
+ 'link-create.unknown-error.description': 'Vernieuw de pagina of neem contact op met <a>Atlassian-support</a> als dit blijft gebeuren.',
11
+ 'link-create.unknown-error.heading': 'Er is iets misgegaan',
12
+ 'linkCreate.createForm.button.close': 'Sluiten',
13
+ 'linkCreate.createForm.button.create': 'Aanmaken',
14
+ 'linkCreate.modal.heading': 'Nieuwe aanmaken'
15
+ };
@@ -0,0 +1,15 @@
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
+ //Chinese (Simplified)
9
+ export default {
10
+ 'link-create.unknown-error.description': '如果此问题依然存在,请刷新页面或联系 <a>Atlassian 支持团队</a>。',
11
+ 'link-create.unknown-error.heading': '出错了',
12
+ 'linkCreate.createForm.button.close': '关闭',
13
+ 'linkCreate.createForm.button.create': '创建',
14
+ 'linkCreate.modal.heading': '新建'
15
+ };
package/dist/esm/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export { default, TextField, CreateForm, AsyncSelect, CreateFormLoader } from './ui/index';
2
- export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
3
- export { FormContextProvider, useFormContext } from './controllers/form-context';
2
+ export { useLinkCreateCallback, LinkCreateCallbackProvider } from './controllers/callback-context';
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "sideEffects": false
5
5
  }
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -2,5 +2,4 @@ export type { CreateFormProps } from './ui/index';
2
2
  export type { LinkCreateProps, LinkCreatePlugin, LinkCreateWithModalProps, CreatePayload, } from './common/types';
3
3
  export { default, TextField, CreateForm, AsyncSelect, CreateFormLoader, } from './ui/index';
4
4
  export { useLinkCreateCallback, LinkCreateCallbackProvider, } from './controllers/callback-context';
5
- export { FormContextProvider, useFormContext, } from './controllers/form-context';
6
5
  export type { Validator, ValidatorMap } from './common/types';
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -0,0 +1,14 @@
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.unknown-error.description': string;
9
+ 'link-create.unknown-error.heading': string;
10
+ 'linkCreate.createForm.button.close': string;
11
+ 'linkCreate.createForm.button.create': string;
12
+ 'linkCreate.modal.heading': string;
13
+ };
14
+ export default _default;
@@ -2,5 +2,4 @@ export type { CreateFormProps } from './ui/index';
2
2
  export type { LinkCreateProps, LinkCreatePlugin, LinkCreateWithModalProps, CreatePayload, } from './common/types';
3
3
  export { default, TextField, CreateForm, AsyncSelect, CreateFormLoader, } from './ui/index';
4
4
  export { useLinkCreateCallback, LinkCreateCallbackProvider, } from './controllers/callback-context';
5
- export { FormContextProvider, useFormContext, } from './controllers/form-context';
6
5
  export type { Validator, ValidatorMap } from './common/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/select": "^16.5.0",
44
44
  "@atlaskit/spinner": "^15.4.0",
45
45
  "@atlaskit/textfield": "^5.5.0",
46
- "@atlaskit/tokens": "^1.9.0",
46
+ "@atlaskit/tokens": "^1.11.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@emotion/react": "^11.7.1"
49
49
  },
@@ -54,13 +54,13 @@
54
54
  "devDependencies": {
55
55
  "@atlaskit/docs": "*",
56
56
  "@atlaskit/link-picker": "^1.25.0",
57
- "@atlaskit/link-test-helpers": "^4.0.0",
58
- "@atlaskit/popup": "^1.7.0",
57
+ "@atlaskit/link-test-helpers": "^4.1.0",
58
+ "@atlaskit/popup": "^1.8.0",
59
59
  "@atlaskit/visual-regression": "*",
60
60
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
61
- "@atlassian/link-create-confluence": "^8.0.0",
62
- "@atlassian/link-create-presets": "^6.0.0",
63
- "@atlassian/link-picker-atlassian-plugin": "^34.0.0",
61
+ "@atlassian/link-create-confluence": "^10.0.0",
62
+ "@atlassian/link-create-presets": "^7.0.0",
63
+ "@atlassian/link-picker-atlassian-plugin": "^34.1.0",
64
64
  "@testing-library/react": "^12.1.5",
65
65
  "@testing-library/user-event": "^14.4.3",
66
66
  "fetch-mock": "^8.0.0",
@@ -101,6 +101,9 @@
101
101
  "styling": [
102
102
  "static",
103
103
  "emotion"
104
+ ],
105
+ "imports": [
106
+ "import-no-extraneous-disable-for-examples-and-docs"
104
107
  ]
105
108
  }
106
109
  },
package/report.api.md CHANGED
@@ -94,21 +94,6 @@ export type CreatePayload = {
94
94
  data?: Record<string, unknown>;
95
95
  };
96
96
 
97
- // @public (undocumented)
98
- export const FormContextProvider: React_2.FC<{}>;
99
-
100
- // @public (undocumented)
101
- interface FormContextType {
102
- // (undocumented)
103
- assignValidator: (name: string, validators: Validator[]) => void;
104
- // (undocumented)
105
- formErrorMessage?: string;
106
- // (undocumented)
107
- getValidators: () => ValidatorMap;
108
- // (undocumented)
109
- setFormErrorMessage: (errorMessage?: string) => void;
110
- }
111
-
112
97
  // @public (undocumented)
113
98
  interface Group {
114
99
  icon: string;
@@ -175,9 +160,6 @@ type TextFieldProps = Omit<TextFieldProps_2, 'name'> & {
175
160
  validators?: Validator[];
176
161
  };
177
162
 
178
- // @public (undocumented)
179
- export const useFormContext: () => FormContextType;
180
-
181
163
  // @public (undocumented)
182
164
  export const useLinkCreateCallback: () => LinkCreateCallbackProviderProps;
183
165
 
@@ -63,21 +63,6 @@ export type CreatePayload = {
63
63
  data?: Record<string, unknown>;
64
64
  };
65
65
 
66
- // @public (undocumented)
67
- export const FormContextProvider: React_2.FC<{}>;
68
-
69
- // @public (undocumented)
70
- interface FormContextType {
71
- // (undocumented)
72
- assignValidator: (name: string, validators: Validator[]) => void;
73
- // (undocumented)
74
- formErrorMessage?: string;
75
- // (undocumented)
76
- getValidators: () => ValidatorMap;
77
- // (undocumented)
78
- setFormErrorMessage: (errorMessage?: string) => void;
79
- }
80
-
81
66
  // @public (undocumented)
82
67
  interface Group {
83
68
  icon: string;
@@ -134,9 +119,6 @@ type TextFieldProps = Omit<TextFieldProps_2, 'name'> & {
134
119
  validators?: Validator[];
135
120
  };
136
121
 
137
- // @public (undocumented)
138
- export const useFormContext: () => FormContextType;
139
-
140
122
  // @public (undocumented)
141
123
  export const useLinkCreateCallback: () => LinkCreateCallbackProviderProps;
142
124