@atlaskit/link-create 0.5.3 → 0.5.5
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/analytics.spec.yaml +2 -2
- package/dist/cjs/common/utils/analytics/analytics.codegen.js +1 -1
- package/dist/cjs/ui/main.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/common/utils/analytics/analytics.codegen.js +1 -1
- package/dist/es2019/ui/main.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/common/utils/analytics/analytics.codegen.js +1 -1
- package/dist/esm/ui/main.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/common/utils/analytics/analytics.codegen.d.ts +3 -3
- package/dist/types-ts4.5/common/utils/analytics/analytics.codegen.d.ts +3 -3
- package/package.json +2 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/link-create
|
|
2
2
|
|
|
3
|
+
## 0.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7b5fb18bb63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b5fb18bb63) - Update screen event to UI
|
|
8
|
+
|
|
9
|
+
## 0.5.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
|
|
14
|
+
|
|
3
15
|
## 0.5.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/analytics.spec.yaml
CHANGED
|
@@ -49,8 +49,8 @@ events:
|
|
|
49
49
|
<<: *PackageMetaDataContext
|
|
50
50
|
<<: *LinkCreateAnalyticContext
|
|
51
51
|
|
|
52
|
-
-
|
|
53
|
-
type:
|
|
52
|
+
- modalDialog closed (linkCreate):
|
|
53
|
+
type: ui
|
|
54
54
|
description: fired when the link create component is unmounted/dismissed for any reason
|
|
55
55
|
attributes:
|
|
56
56
|
<<: *PackageMetaDataContext
|
|
@@ -11,7 +11,7 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
11
11
|
*
|
|
12
12
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
13
13
|
*
|
|
14
|
-
* @codegen <<SignedSource::
|
|
14
|
+
* @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
|
|
15
15
|
* @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
|
|
16
16
|
*/
|
|
17
17
|
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -66,7 +66,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(props) {
|
|
|
66
66
|
createAnalyticsEvent((0, _analytics2.default)('screen.linkCreateScreen.viewed', {})).fire(_constants.ANALYTICS_CHANNEL);
|
|
67
67
|
}, [createAnalyticsEvent]);
|
|
68
68
|
var handleCloseComplete = (0, _react.useCallback)(function () {
|
|
69
|
-
createAnalyticsEvent((0, _analytics2.default)('
|
|
69
|
+
createAnalyticsEvent((0, _analytics2.default)('ui.modalDialog.closed.linkCreate', {})).fire(_constants.ANALYTICS_CHANNEL);
|
|
70
70
|
}, [createAnalyticsEvent]);
|
|
71
71
|
return (0, _react2.jsx)(_modalDialog.ModalTransition, null, !!active && (0, _react2.jsx)(_modalDialog.default, {
|
|
72
72
|
onClose: onCancel,
|
package/dist/cjs/version.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
|
|
8
8
|
*/
|
|
9
9
|
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -56,7 +56,7 @@ const LinkCreateWithModal = props => {
|
|
|
56
56
|
createAnalyticsEvent(createEventPayload('screen.linkCreateScreen.viewed', {})).fire(ANALYTICS_CHANNEL);
|
|
57
57
|
}, [createAnalyticsEvent]);
|
|
58
58
|
const handleCloseComplete = useCallback(() => {
|
|
59
|
-
createAnalyticsEvent(createEventPayload('
|
|
59
|
+
createAnalyticsEvent(createEventPayload('ui.modalDialog.closed.linkCreate', {})).fire(ANALYTICS_CHANNEL);
|
|
60
60
|
}, [createAnalyticsEvent]);
|
|
61
61
|
return jsx(ModalTransition, null, !!active && jsx(Modal, {
|
|
62
62
|
onClose: onCancel,
|
package/dist/es2019/version.json
CHANGED
|
@@ -4,7 +4,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
4
4
|
*
|
|
5
5
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
6
6
|
*
|
|
7
|
-
* @codegen <<SignedSource::
|
|
7
|
+
* @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
|
|
8
8
|
* @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
|
|
9
9
|
*/
|
|
10
10
|
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -55,7 +55,7 @@ var LinkCreateWithModal = function LinkCreateWithModal(props) {
|
|
|
55
55
|
createAnalyticsEvent(createEventPayload('screen.linkCreateScreen.viewed', {})).fire(ANALYTICS_CHANNEL);
|
|
56
56
|
}, [createAnalyticsEvent]);
|
|
57
57
|
var handleCloseComplete = useCallback(function () {
|
|
58
|
-
createAnalyticsEvent(createEventPayload('
|
|
58
|
+
createAnalyticsEvent(createEventPayload('ui.modalDialog.closed.linkCreate', {})).fire(ANALYTICS_CHANNEL);
|
|
59
59
|
}, [createAnalyticsEvent]);
|
|
60
60
|
return jsx(ModalTransition, null, !!active && jsx(Modal, {
|
|
61
61
|
onClose: onCancel,
|
package/dist/esm/version.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -20,7 +20,7 @@ export type LinkCreateAnalyticsContextType = {
|
|
|
20
20
|
export type LinkCreateScreenViewedAttributesType = {};
|
|
21
21
|
export type ButtonClickedCreateAttributesType = {};
|
|
22
22
|
export type ButtonClickedCancelAttributesType = {};
|
|
23
|
-
export type
|
|
23
|
+
export type ModalDialogClosedLinkCreateAttributesType = {};
|
|
24
24
|
export type LinkCreateUnhandledErrorCaughtAttributesType = {
|
|
25
25
|
browserInfo: string;
|
|
26
26
|
error: string;
|
|
@@ -34,7 +34,7 @@ type AnalyticsEventAttributes = {
|
|
|
34
34
|
'screen.linkCreateScreen.viewed': LinkCreateScreenViewedAttributesType;
|
|
35
35
|
'ui.button.clicked.create': ButtonClickedCreateAttributesType;
|
|
36
36
|
'ui.button.clicked.cancel': ButtonClickedCancelAttributesType;
|
|
37
|
-
'
|
|
37
|
+
'ui.modalDialog.closed.linkCreate': ModalDialogClosedLinkCreateAttributesType;
|
|
38
38
|
'operational.linkCreate.unhandledErrorCaught': LinkCreateUnhandledErrorCaughtAttributesType;
|
|
39
39
|
'track.object.created.linkCreate': ObjectCreatedLinkCreateAttributesType;
|
|
40
40
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Generates Typescript types for analytics events from analytics.spec.yaml
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
6
|
+
* @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
|
|
7
7
|
* @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
|
|
8
8
|
*/
|
|
9
9
|
export type PackageMetaDataType = {
|
|
@@ -20,7 +20,7 @@ export type LinkCreateAnalyticsContextType = {
|
|
|
20
20
|
export type LinkCreateScreenViewedAttributesType = {};
|
|
21
21
|
export type ButtonClickedCreateAttributesType = {};
|
|
22
22
|
export type ButtonClickedCancelAttributesType = {};
|
|
23
|
-
export type
|
|
23
|
+
export type ModalDialogClosedLinkCreateAttributesType = {};
|
|
24
24
|
export type LinkCreateUnhandledErrorCaughtAttributesType = {
|
|
25
25
|
browserInfo: string;
|
|
26
26
|
error: string;
|
|
@@ -34,7 +34,7 @@ type AnalyticsEventAttributes = {
|
|
|
34
34
|
'screen.linkCreateScreen.viewed': LinkCreateScreenViewedAttributesType;
|
|
35
35
|
'ui.button.clicked.create': ButtonClickedCreateAttributesType;
|
|
36
36
|
'ui.button.clicked.cancel': ButtonClickedCancelAttributesType;
|
|
37
|
-
'
|
|
37
|
+
'ui.modalDialog.closed.linkCreate': ModalDialogClosedLinkCreateAttributesType;
|
|
38
38
|
'operational.linkCreate.unhandledErrorCaught': LinkCreateUnhandledErrorCaughtAttributesType;
|
|
39
39
|
'track.object.created.linkCreate': ObjectCreatedLinkCreateAttributesType;
|
|
40
40
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/link-create",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "The driver component of meta creation flow",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/empty-state": "^7.5.0",
|
|
40
40
|
"@atlaskit/form": "^8.11.0",
|
|
41
41
|
"@atlaskit/icon": "^21.12.0",
|
|
42
|
-
"@atlaskit/modal-dialog": "^12.
|
|
42
|
+
"@atlaskit/modal-dialog": "^12.6.0",
|
|
43
43
|
"@atlaskit/select": "^16.5.0",
|
|
44
44
|
"@atlaskit/spinner": "^15.4.0",
|
|
45
45
|
"@atlaskit/textfield": "^5.5.0",
|
|
@@ -54,19 +54,13 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@atlaskit/docs": "*",
|
|
56
56
|
"@atlaskit/link-picker": "^1.22.0",
|
|
57
|
-
"@atlaskit/link-provider": "^1.6.0",
|
|
58
57
|
"@atlaskit/link-test-helpers": "^4.0.0",
|
|
59
58
|
"@atlaskit/popup": "^1.6.0",
|
|
60
|
-
"@atlaskit/ssr": "*",
|
|
61
59
|
"@atlaskit/visual-regression": "*",
|
|
62
|
-
"@atlaskit/webdriver-runner": "*",
|
|
63
60
|
"@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
|
|
64
61
|
"@atlassian/link-create-confluence": "^6.1.0",
|
|
65
62
|
"@atlassian/link-create-presets": "^4.0.0",
|
|
66
63
|
"@atlassian/link-picker-atlassian-plugin": "^32.1.0",
|
|
67
|
-
"@atlassian/link-picker-plugins": "^22.1.0",
|
|
68
|
-
"@atlassian/recent-work-client": "^1.8.0",
|
|
69
|
-
"@atlassian/search-client": "^0.10.0",
|
|
70
64
|
"@testing-library/react": "^12.1.5",
|
|
71
65
|
"@testing-library/user-event": "^14.4.3",
|
|
72
66
|
"fetch-mock": "^8.0.0",
|