@atlaskit/link-create 0.5.4 → 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 CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 0.5.4
4
10
 
5
11
  ### Patch Changes
@@ -49,8 +49,8 @@ events:
49
49
  <<: *PackageMetaDataContext
50
50
  <<: *LinkCreateAnalyticContext
51
51
 
52
- - linkCreateScreen closed:
53
- type: screen
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::1c6720e63161d16bb99fc183b17d1944>>
14
+ * @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
15
15
  * @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
16
16
  */
17
17
 
@@ -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)('screen.linkCreateScreen.closed', {})).fire(_constants.ANALYTICS_CHANNEL);
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,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::1c6720e63161d16bb99fc183b17d1944>>
6
+ * @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
7
7
  * @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
8
8
  */
9
9
 
@@ -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('screen.linkCreateScreen.closed', {})).fire(ANALYTICS_CHANNEL);
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,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "sideEffects": false
5
5
  }
@@ -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::1c6720e63161d16bb99fc183b17d1944>>
7
+ * @codegen <<SignedSource::6c4bc6f47b1cf9cb3a9a70cac9a93775>>
8
8
  * @codegenCommand yarn workspace @atlaskit/link-create run codegen-analytics
9
9
  */
10
10
 
@@ -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('screen.linkCreateScreen.closed', {})).fire(ANALYTICS_CHANNEL);
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,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "sideEffects": false
5
5
  }
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Generates Typescript types for analytics events from analytics.spec.yaml
5
5
  *
6
- * @codegen <<SignedSource::1c6720e63161d16bb99fc183b17d1944>>
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 LinkCreateScreenClosedAttributesType = {};
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
- 'screen.linkCreateScreen.closed': LinkCreateScreenClosedAttributesType;
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::1c6720e63161d16bb99fc183b17d1944>>
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 LinkCreateScreenClosedAttributesType = {};
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
- 'screen.linkCreateScreen.closed': LinkCreateScreenClosedAttributesType;
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.4",
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.5.0",
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",