@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.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/common/constants.js +1 -1
- package/dist/cjs/common/ui/error-boundary-ui/error-svg/index.js +1 -1
- package/dist/cjs/common/ui/icon/index.js +1 -1
- package/dist/cjs/common/ui/message/index.js +1 -1
- package/dist/cjs/common/utils/errors/index.js +2 -2
- package/dist/cjs/controllers/create-field/main.js +1 -1
- package/dist/cjs/ui/create-form/form-footer/main.js +1 -1
- package/dist/cjs/ui/create-form/form-loader/main.js +1 -1
- package/dist/cjs/ui/create-form/main.js +1 -1
- package/dist/es2019/common/constants.js +1 -1
- package/dist/es2019/common/ui/error-boundary-ui/error-svg/index.js +1 -1
- package/dist/es2019/common/ui/icon/index.js +1 -1
- package/dist/es2019/common/ui/message/index.js +1 -1
- package/dist/es2019/common/utils/errors/index.js +1 -1
- package/dist/es2019/controllers/create-field/main.js +1 -1
- package/dist/es2019/ui/create-form/form-footer/main.js +1 -1
- package/dist/es2019/ui/create-form/form-loader/main.js +1 -1
- package/dist/es2019/ui/create-form/main.js +1 -1
- package/dist/esm/common/constants.js +1 -1
- package/dist/esm/common/ui/error-boundary-ui/error-svg/index.js +1 -1
- package/dist/esm/common/ui/icon/index.js +1 -1
- package/dist/esm/common/ui/message/index.js +1 -1
- package/dist/esm/common/utils/errors/index.js +1 -1
- package/dist/esm/controllers/create-field/main.js +1 -1
- package/dist/esm/ui/create-form/form-footer/main.js +1 -1
- package/dist/esm/ui/create-form/form-loader/main.js +1 -1
- package/dist/esm/ui/create-form/main.js +1 -1
- package/package.json +10 -6
package/CHANGELOG.md
CHANGED
|
@@ -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.
|
|
19
|
+
packageVersion: "6.8.2" || '',
|
|
20
20
|
component: COMPONENT_NAME,
|
|
21
21
|
componentName: COMPONENT_NAME
|
|
22
22
|
};
|
|
@@ -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
|
|
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,
|
|
20
|
+
traceId: (0, _getTraceId.getTraceId)(error),
|
|
21
21
|
status: error.status,
|
|
22
22
|
path: getUrlPath(error.url)
|
|
23
23
|
};
|
|
@@ -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.
|
|
13
|
+
packageVersion: "6.8.2" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -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.
|
|
13
|
+
packageVersion: "6.8.2" || '',
|
|
14
14
|
component: COMPONENT_NAME,
|
|
15
15
|
componentName: COMPONENT_NAME
|
|
16
16
|
};
|
|
@@ -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
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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": "^
|
|
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='
|
|
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
|
}
|