@atlaskit/link-create 6.8.1 → 6.8.3

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 (29) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/common/constants.js +1 -1
  3. package/dist/cjs/common/ui/error-boundary-ui/error-svg/index.js +1 -1
  4. package/dist/cjs/common/ui/icon/index.js +1 -1
  5. package/dist/cjs/common/ui/message/index.js +1 -1
  6. package/dist/cjs/common/utils/errors/index.js +2 -2
  7. package/dist/cjs/controllers/create-field/main.js +1 -1
  8. package/dist/cjs/ui/create-form/form-footer/main.js +1 -1
  9. package/dist/cjs/ui/create-form/form-loader/main.js +1 -1
  10. package/dist/cjs/ui/create-form/main.js +1 -1
  11. package/dist/es2019/common/constants.js +1 -1
  12. package/dist/es2019/common/ui/error-boundary-ui/error-svg/index.js +1 -1
  13. package/dist/es2019/common/ui/icon/index.js +1 -1
  14. package/dist/es2019/common/ui/message/index.js +1 -1
  15. package/dist/es2019/common/utils/errors/index.js +1 -1
  16. package/dist/es2019/controllers/create-field/main.js +1 -1
  17. package/dist/es2019/ui/create-form/form-footer/main.js +1 -1
  18. package/dist/es2019/ui/create-form/form-loader/main.js +1 -1
  19. package/dist/es2019/ui/create-form/main.js +1 -1
  20. package/dist/esm/common/constants.js +1 -1
  21. package/dist/esm/common/ui/error-boundary-ui/error-svg/index.js +1 -1
  22. package/dist/esm/common/ui/icon/index.js +1 -1
  23. package/dist/esm/common/ui/message/index.js +1 -1
  24. package/dist/esm/common/utils/errors/index.js +1 -1
  25. package/dist/esm/controllers/create-field/main.js +1 -1
  26. package/dist/esm/ui/create-form/form-footer/main.js +1 -1
  27. package/dist/esm/ui/create-form/form-loader/main.js +1 -1
  28. package/dist/esm/ui/create-form/main.js +1 -1
  29. package/package.json +10 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 6.8.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 6.8.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 6.8.1
4
16
 
5
17
  ### 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: "6.8.0" || '',
19
+ packageVersion: "6.8.2" || '',
20
20
  component: COMPONENT_NAME,
21
21
  componentName: COMPONENT_NAME
22
22
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.getNetworkFields = exports.getErrorType = void 0;
8
8
  var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
9
- var _utils = require("@atlaskit/linking-common/utils");
9
+ var _getTraceId = require("@atlaskit/linking-common/utils/get-trace-id");
10
10
  var getUrlPath = function getUrlPath(url) {
11
11
  try {
12
12
  return new URL(url).pathname;
@@ -17,7 +17,7 @@ var getUrlPath = function getUrlPath(url) {
17
17
  var getNetworkFields = exports.getNetworkFields = function getNetworkFields(error) {
18
18
  if (error instanceof Response) {
19
19
  return {
20
- traceId: (0, _utils.getTraceId)(error),
20
+ traceId: (0, _getTraceId.getTraceId)(error),
21
21
  status: error.status,
22
22
  path: getUrlPath(error.url)
23
23
  };
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -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: "6.8.0" || '',
13
+ packageVersion: "6.8.2" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- import { getTraceId } from '@atlaskit/linking-common/utils';
1
+ import { getTraceId } from '@atlaskit/linking-common/utils/get-trace-id';
2
2
  const getUrlPath = url => {
3
3
  try {
4
4
  return new URL(url).pathname;
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -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: "6.8.0" || '',
13
+ packageVersion: "6.8.2" || '',
14
14
  component: COMPONENT_NAME,
15
15
  componentName: COMPONENT_NAME
16
16
  };
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./index.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* index.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,5 +1,5 @@
1
1
  import _typeof from "@babel/runtime/helpers/typeof";
2
- import { getTraceId } from '@atlaskit/linking-common/utils';
2
+ import { getTraceId } from '@atlaskit/linking-common/utils/get-trace-id';
3
3
  var getUrlPath = function getUrlPath(url) {
4
4
  try {
5
5
  return new URL(url).pathname;
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./main.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* main.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* main.tsx generated by @compiled/babel-plugin v3.0.2 */
2
2
  import _typeof from "@babel/runtime/helpers/typeof";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "6.8.1",
3
+ "version": "6.8.3",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -17,6 +17,9 @@
17
17
  },
18
18
  "team": "Navigation Experiences - Linking Platform",
19
19
  "website": {
20
+ "tags": [
21
+ "platform-labs"
22
+ ],
20
23
  "name": "LinkCreate"
21
24
  },
22
25
  "i18n": true
@@ -33,16 +36,16 @@
33
36
  "dependencies": {
34
37
  "@atlaskit/afm-i18n-platform-linking-platform-link-create": "2.242.0",
35
38
  "@atlaskit/analytics-next": "^12.5.0",
36
- "@atlaskit/atlassian-context": "^1.1.0",
39
+ "@atlaskit/atlassian-context": "^1.2.0",
37
40
  "@atlaskit/button": "^25.3.0",
38
41
  "@atlaskit/css": "^1.1.0",
39
42
  "@atlaskit/empty-state": "^12.2.0",
40
43
  "@atlaskit/form": "^17.2.0",
41
- "@atlaskit/icon": "^37.6.0",
44
+ "@atlaskit/icon": "^37.7.0",
42
45
  "@atlaskit/icon-file-type": "^8.3.0",
43
46
  "@atlaskit/intl-messages-provider": "^4.3.0",
44
47
  "@atlaskit/link": "^5.1.0",
45
- "@atlaskit/linking-common": "^12.1.0",
48
+ "@atlaskit/linking-common": "^12.3.0",
46
49
  "@atlaskit/modal-dialog": "^16.6.0",
47
50
  "@atlaskit/object": "^2.3.0",
48
51
  "@atlaskit/platform-feature-flags": "^2.2.0",
@@ -54,7 +57,7 @@
54
57
  "@atlaskit/spinner": "^20.4.0",
55
58
  "@atlaskit/textfield": "^10.2.0",
56
59
  "@atlaskit/theme": "^28.2.0",
57
- "@atlaskit/tokens": "^16.11.0",
60
+ "@atlaskit/tokens": "^18.0.0",
58
61
  "@babel/runtime": "^7.0.0",
59
62
  "@compiled/react": "^1.0.2",
60
63
  "debounce-promise": "^3.1.2",
@@ -76,6 +79,7 @@
76
79
  "@atlassian/a11y-jest-testing": "^0.17.0",
77
80
  "@atlassian/feature-flags-test-utils": "^1.3.0",
78
81
  "@atlassian/structured-docs-types": "workspace:^",
82
+ "@atlassian/workbench": "workspace:*",
79
83
  "@testing-library/react": "^16.3.0",
80
84
  "@testing-library/user-event": "^14.4.3",
81
85
  "@types/debounce-promise": "^3.1.2",
@@ -86,7 +90,7 @@
86
90
  "wait-for-expect": "^1.2.0"
87
91
  },
88
92
  "scripts": {
89
- "codegen-analytics": "yarn run ts-analytics-codegen --command='yarn workspace @atlaskit/link-create run codegen-analytics'"
93
+ "codegen-analytics": "yarn run ts-analytics-codegen --command='afm workspace @atlaskit/link-create codegen-analytics'"
90
94
  },
91
95
  "compassUnitTestMetricSourceId": "ari:cloud:compass:a436116f-02ce-4520-8fbb-7301462a1674:metric-source/c5751cc6-3513-4070-9deb-af31e86aed34/5ebc0bfb-9b6d-4ec0-adbe-e4d5e88ace44"
92
96
  }